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
2021-06-16 20:30:46 +02:00
committed by GitHub
parent 5a8555dd61
commit 81fd224d88
3 changed files with 6 additions and 4 deletions

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() {