Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
refactor: use localizable string
jamesgeorge0076037daedcd93
diff --git a/components/collections/editCollection.vue b/components/collections/editCollection.vueindex 084bb78bf..9a48d1e1a 100644--- a/components/collections/editCollection.vue+++ b/components/collections/editCollection.vue@@ -60,7 +60,7 @@ export default {methods: {saveCollection() {if (!this.$data.name) {- this.$toast.info("Please provide a valid name for the collection");+ this.$toast.info($t("invalid_collection_name"));return;}const collectionUpdated = {diff --git a/lang/en-US.js b/lang/en-US.jsindex d1074e4bd..9191cec5f 100644--- a/lang/en-US.js+++ b/lang/en-US.js@@ -140,6 +140,7 @@ export default {deleted: "Deleted",undo: "Undo",collection_empty: "Collection is empty",+ invalid_collection_name: "Please provide a valid name for the collection",new_collection: "New Collection",my_new_collection: "My New Collection",edit_collection: "Edit Collection",