Issue/1078 (#1079)

* Externalize property of deletion messages (Collection) #1078

* Externalize property of deletion messages (folder) #1078

* Externalize property of deletion messages (request) #1078

* Externalize property of deletion messages (environment) #1078

* Externalize property (fr-FR.json) of deletion messages (collection, folder, request, environment) #1078

* Externalize property (pt-PT.json) of deletion messages (collection, folder, request, environment) #1078

* Externalize property (pt-BR.json) of deletion messages (collection, folder, request, environment) #1078

* Updating the Spanish file  (es-ES)
This commit is contained in:
Joel Camus Bueno
2020-08-15 17:00:00 +02:00
committed by GitHub
parent 5f47cdb763
commit 18a2fb38d1
9 changed files with 34 additions and 14 deletions

View File

@@ -127,7 +127,7 @@ 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,
})

View File

@@ -103,7 +103,7 @@ 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,

View File

@@ -68,7 +68,7 @@ export default {
this.$store.commit("postwoman/selectRequest", { request: this.request })
},
removeRequest() {
if (!confirm("Are you sure you want to remove this request?")) return
if (!confirm( this.$t("are_you_sure_remove_request"))) return
this.$store.commit("postwoman/removeRequest", {
collectionIndex: this.collectionIndex,
folderIndex: this.folderIndex,

View File

@@ -62,7 +62,7 @@ export default {
}
},
removeEnvironment() {
if (!confirm("Are you sure you want to remove this environment?")) return
if (!confirm(this.$t("are_you_sure_remove_environment"))) return
this.$store.commit("postwoman/removeEnvironment", this.environmentIndex)
this.syncEnvironments()
},