diff --git a/TRANSLATIONS.md b/TRANSLATIONS.md index 6a84d1142..1236f37ec 100644 --- a/TRANSLATIONS.md +++ b/TRANSLATIONS.md @@ -28,7 +28,7 @@ If there's not, then today is your day to lead this effort! Here's how to start: code: 'es', name: 'Español', iso: 'es-ES', - file: 'es-ES.js' + file: 'es-ES.json' } ] } diff --git a/components/collections/collection.vue b/components/collections/collection.vue index 1c0e8c4c2..85165f0cc 100644 --- a/components/collections/collection.vue +++ b/components/collections/collection.vue @@ -127,9 +127,12 @@ export default { this.showChildren = !this.showChildren }, removeCollection() { - if (!confirm("Are you sure you want to remove this Collection?")) return + if (!confirm( this.$t("are_you_sure_remove_collection") )) return this.$store.commit("postwoman/removeCollection", { collectionIndex: this.collectionIndex, + }) + this.$toast.error(this.$t("deleted"), { + icon: "delete", }) this.syncCollections() }, diff --git a/components/collections/folder.vue b/components/collections/folder.vue index 332a0d5fe..777d403d8 100644 --- a/components/collections/folder.vue +++ b/components/collections/folder.vue @@ -103,12 +103,15 @@ export default { this.$store.commit("postwoman/selectRequest", { request }) }, removeFolder() { - if (!confirm("Are you sure you want to remove this folder?")) return + if (!confirm( this.$t("are_you_sure_remove_folder"))) return this.$store.commit("postwoman/removeFolder", { collectionIndex: this.collectionIndex, folderIndex: this.folderIndex, }) this.syncCollections() + this.$toast.error(this.$t("deleted"), { + icon: "delete", + }) }, editFolder() { this.$emit("edit-folder") diff --git a/components/collections/index.vue b/components/collections/index.vue index 41e6eeb2d..aeb8e0ac0 100644 --- a/components/collections/index.vue +++ b/components/collections/index.vue @@ -62,7 +62,7 @@ TODO:

- help_outline Create new collection + help_outline {{ $t("create_new_collection") }}

- help_outline Create new environment + help_outline {{ $t("create_new_environment") }}