Make string 'Refresh' and 'New update available' translatable (#524)

* Make string 'Refresh' and 'New update available' translatable

* Fix change password string
This commit is contained in:
zierbeek authored and GitHub committed 2021-06-16 10:30:46 -08:00
1 parent 5a8555dd61
commit 81fd224d88
3 files changed
+6 -4

No files matched your search

+2 -2
View File
@@ -112,8 +112,8 @@ export default {
// The new service worker is installed, but not yet active.
// Store the ServiceWorkerRegistration instance for later use.
this.registration = e.detail;
this.snackBtnText = "Refresh";
this.snackWithBtnText = "New version available!";
this.snackBtnText = this.$t("events.refresh");
this.snackWithBtnText = this.$t("events.new-version");
this.snackWithButtons = true;
},
refreshApp() {
+3 -1
View File
@@ -44,7 +44,9 @@
"scheduled": "Scheduled",
"something-went-wrong": "Something Went Wrong!",
"subscribed-events": "Subscribed Events",
"test-message-sent": "Test Message Sent"
"test-message-sent": "Test Message Sent",
"refresh": "Refresh",
"new-version": "New version available!"
},
"general": {
"apply": "Apply",
@@ -29,7 +29,7 @@
<template v-slot:open="{ open }">
<v-btn color="info" class="mr-1" small @click="open">
<v-icon left>mdi-lock</v-icon>
Change Password
{{$t('settings.change-password')}}
</v-btn>
</template>