mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-31 14:34:42 -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.
|
// The new service worker is installed, but not yet active.
|
||||||
// Store the ServiceWorkerRegistration instance for later use.
|
// Store the ServiceWorkerRegistration instance for later use.
|
||||||
this.registration = e.detail;
|
this.registration = e.detail;
|
||||||
this.snackBtnText = "Refresh";
|
this.snackBtnText = this.$t("events.refresh");
|
||||||
this.snackWithBtnText = "New version available!";
|
this.snackWithBtnText = this.$t("events.new-version");
|
||||||
this.snackWithButtons = true;
|
this.snackWithButtons = true;
|
||||||
},
|
},
|
||||||
refreshApp() {
|
refreshApp() {
|
||||||
|
@ -44,7 +44,9 @@
|
|||||||
"scheduled": "Scheduled",
|
"scheduled": "Scheduled",
|
||||||
"something-went-wrong": "Something Went Wrong!",
|
"something-went-wrong": "Something Went Wrong!",
|
||||||
"subscribed-events": "Subscribed Events",
|
"subscribed-events": "Subscribed Events",
|
||||||
"test-message-sent": "Test Message Sent"
|
"test-message-sent": "Test Message Sent",
|
||||||
|
"refresh": "Refresh",
|
||||||
|
"new-version": "New version available!"
|
||||||
},
|
},
|
||||||
"general": {
|
"general": {
|
||||||
"apply": "Apply",
|
"apply": "Apply",
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
<template v-slot:open="{ open }">
|
<template v-slot:open="{ open }">
|
||||||
<v-btn color="info" class="mr-1" small @click="open">
|
<v-btn color="info" class="mr-1" small @click="open">
|
||||||
<v-icon left>mdi-lock</v-icon>
|
<v-icon left>mdi-lock</v-icon>
|
||||||
Change Password
|
{{$t('settings.change-password')}}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user