SystemUpdate: fix i18n key

This commit is contained in:
axolotle 2022-11-26 13:46:50 +01:00
parent 187b8cf455
commit 099bcfbb8b
2 changed files with 5 additions and 5 deletions

View file

@ -114,12 +114,12 @@
"continue": "Continue to next app", "continue": "Continue to next app",
"notifs": { "notifs": {
"pre": { "pre": {
"title": "Be warned!", "alert": "You should check those notifications before upgrading, there might be important stuff to know.",
"alert": "You should check those notifications before upgrading, there might be important stuff to know." "title": "Be warned!"
}, },
"post": { "post": {
"title": "Post upgrade information for '{name}'", "alert": "It seems that the upgrade went well!\n Here is some notifications that the packager considers important to know about this upgrade.\nYou can read it again in the app info page.",
"alert": "It seems that the upgrade went well!\n Here is some notifications that the packager considers important to know about this upgrade.\nYou can read it again in the app info page." "title": "Post-upgrade notifications for '{name}'"
} }
}, },
"stop": "Cancel next app upgrades" "stop": "Cancel next app upgrades"

View file

@ -184,7 +184,7 @@ export default {
this.apps = this.apps.filter((a) => app.id !== a.id) this.apps = this.apps.filter((a) => app.id !== a.id)
if (postMessage) { if (postMessage) {
const message = this.$i18n.t('app.upgrade.notifs.post.success') + '\n\n' + postMessage const message = this.$i18n.t('app.upgrade.notifs.post.alert') + '\n\n' + postMessage
return this.$askMdConfirmation(message, { return this.$askMdConfirmation(message, {
title: this.$i18n.t('app.upgrade.notifs.post.title', { name: app.name }), title: this.$i18n.t('app.upgrade.notifs.post.title', { name: app.name }),
okTitle: this.$i18n.t(isLast ? 'ok' : 'app.upgrade.continue'), okTitle: this.$i18n.t(isLast ? 'ok' : 'app.upgrade.continue'),