mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
fixed version notifier
This commit is contained in:
parent
d1fe1f44b8
commit
d0f9917c6f
3 changed files with 27 additions and 11 deletions
|
@ -95,7 +95,8 @@
|
||||||
"new-version-available": "En ny version af Mealie er tilgængelig. <a {aContents}> Besøg repoen </a>",
|
"new-version-available": "En ny version af Mealie er tilgængelig. <a {aContents}> Besøg repoen </a>",
|
||||||
"set-new-time": "Indstil ny tid",
|
"set-new-time": "Indstil ny tid",
|
||||||
"swatches": "Prøver",
|
"swatches": "Prøver",
|
||||||
"version-latest": "Version: {current} | Seneste: {latest}",
|
"current": "Version:",
|
||||||
|
"latest": "Seneste:",
|
||||||
"theme": {
|
"theme": {
|
||||||
"accent": "Accent",
|
"accent": "Accent",
|
||||||
"dark-mode": "Mørk tilstand",
|
"dark-mode": "Mørk tilstand",
|
||||||
|
@ -130,4 +131,4 @@
|
||||||
"import-themes": "Importer temaer"
|
"import-themes": "Importer temaer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -73,7 +73,8 @@
|
||||||
"swatches": "Swatches",
|
"swatches": "Swatches",
|
||||||
"add-a-new-theme": "Add a New Theme",
|
"add-a-new-theme": "Add a New Theme",
|
||||||
"set-new-time": "Set New Time",
|
"set-new-time": "Set New Time",
|
||||||
"version-latest": "Version: { current } | Latest: { latest }",
|
"current": "Version:",
|
||||||
|
"latest": "Latest",
|
||||||
"explore-the-docs": "Explore the Docs",
|
"explore-the-docs": "Explore the Docs",
|
||||||
"contribute": "Contribute",
|
"contribute": "Contribute",
|
||||||
"backup-and-exports": "Backup and Exports",
|
"backup-and-exports": "Backup and Exports",
|
||||||
|
@ -130,4 +131,4 @@
|
||||||
"failed-imports": "Failed Imports",
|
"failed-imports": "Failed Imports",
|
||||||
"upload-an-archive": "Upload an Archive"
|
"upload-an-archive": "Upload an Archive"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,23 +1,37 @@
|
||||||
<template>
|
<template>
|
||||||
<v-container>
|
<v-container>
|
||||||
<v-alert v-if="newVersion" color="green" type="success" outlined v-html="$t('settings.new-version-available', { aContents: 'target=\'_blank\' href=\'https://github.com/hay-kot/mealie\' class=\'green--text\''})">
|
<v-alert
|
||||||
|
v-if="newVersion"
|
||||||
|
color="green"
|
||||||
|
type="success"
|
||||||
|
outlined
|
||||||
|
v-html="
|
||||||
|
$t('settings.new-version-available', {
|
||||||
|
aContents:
|
||||||
|
'target=\'_blank\' href=\'https://github.com/hay-kot/mealie\' class=\'green--text\'',
|
||||||
|
})
|
||||||
|
"
|
||||||
|
>
|
||||||
</v-alert>
|
</v-alert>
|
||||||
<Theme />
|
<Theme />
|
||||||
<Backup class="mt-2" />
|
<Backup class="mt-2" />
|
||||||
<Webhooks class="mt-2" />
|
<Webhooks class="mt-2" />
|
||||||
<Migration class="mt-2" />
|
<Migration class="mt-2" />
|
||||||
<p class="text-center my-2">
|
<p class="text-center my-2">
|
||||||
{{$t('settings.version-latest', {current: version, latest: latestVersion})}} ·
|
{{ $t("settings.current") }}
|
||||||
|
{{ version }} |
|
||||||
|
{{ $t("settings.latest") }}
|
||||||
|
{{ latestVersion }}
|
||||||
|
·
|
||||||
<a href="https://hay-kot.github.io/mealie/" target="_blank">
|
<a href="https://hay-kot.github.io/mealie/" target="_blank">
|
||||||
{{$t('settings.explore-the-docs')}}
|
{{ $t("settings.explore-the-docs") }}
|
||||||
</a>
|
</a>
|
||||||
·
|
·
|
||||||
<a
|
<a
|
||||||
href="https://hay-kot.github.io/mealie/2.1%20-%20Contributions/"
|
href="https://hay-kot.github.io/mealie/contributors/non-coders/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
{{$t('settings.contribute')}}
|
{{ $t("settings.contribute") }}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
</v-container>
|
</v-container>
|
||||||
|
@ -40,7 +54,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
latestVersion: null,
|
latestVersion: null,
|
||||||
version: "v0.0.2",
|
version: "v0.1.0",
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue