Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

refactor: use localizable string

jamesgeorge0076575d03f45a9
diff --git a/components/collections/addCollection.vue b/components/collections/addCollection.vue
index 0fa8bad33..9b173839b 100644
--- a/components/collections/addCollection.vue
+++ b/components/collections/addCollection.vue
@@ -58,7 +58,7 @@ export default {
methods: {
addNewCollection() {
if (!this.$data.name) {
- this.$toast.info("Please provide a valid name for the collection");
+ this.$toast.info($t("invalid_collection_name"));
return;
}
this.$store.commit("postwoman/addNewCollection", {