From 099bcfbb8b5b2f4057391df10fa5984ba5566077 Mon Sep 17 00:00:00 2001 From: axolotle Date: Sat, 26 Nov 2022 13:46:50 +0100 Subject: [PATCH] SystemUpdate: fix i18n key --- app/src/i18n/locales/en.json | 8 ++++---- app/src/views/update/SystemUpdate.vue | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/i18n/locales/en.json b/app/src/i18n/locales/en.json index 125f7229..a01186a0 100644 --- a/app/src/i18n/locales/en.json +++ b/app/src/i18n/locales/en.json @@ -114,12 +114,12 @@ "continue": "Continue to next app", "notifs": { "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": { - "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" diff --git a/app/src/views/update/SystemUpdate.vue b/app/src/views/update/SystemUpdate.vue index a025e2d6..6a947117 100644 --- a/app/src/views/update/SystemUpdate.vue +++ b/app/src/views/update/SystemUpdate.vue @@ -184,7 +184,7 @@ export default { this.apps = this.apps.filter((a) => app.id !== a.id) 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, { title: this.$i18n.t('app.upgrade.notifs.post.title', { name: app.name }), okTitle: this.$i18n.t(isLast ? 'ok' : 'app.upgrade.continue'),