refactor: use localizable string
This commit is contained in:
@@ -60,7 +60,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
saveCollection() {
|
saveCollection() {
|
||||||
if (!this.$data.name) {
|
if (!this.$data.name) {
|
||||||
this.$toast.info("Please provide a valid name for the collection");
|
this.$toast.info($t("invalid_collection_name"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const collectionUpdated = {
|
const collectionUpdated = {
|
||||||
|
|||||||
@@ -140,6 +140,7 @@ export default {
|
|||||||
deleted: "Deleted",
|
deleted: "Deleted",
|
||||||
undo: "Undo",
|
undo: "Undo",
|
||||||
collection_empty: "Collection is empty",
|
collection_empty: "Collection is empty",
|
||||||
|
invalid_collection_name: "Please provide a valid name for the collection",
|
||||||
new_collection: "New Collection",
|
new_collection: "New Collection",
|
||||||
my_new_collection: "My New Collection",
|
my_new_collection: "My New Collection",
|
||||||
edit_collection: "Edit Collection",
|
edit_collection: "Edit Collection",
|
||||||
|
|||||||
Reference in New Issue
Block a user