mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
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:
parent
5a8555dd61
commit
81fd224d88
@ -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() {
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user