summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/scripts/check-for-update.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/scripts/check-for-update.ts b/src/client/app/common/scripts/check-for-update.ts
index ac0b5d09c8..377eccc6b5 100644
--- a/src/client/app/common/scripts/check-for-update.ts
+++ b/src/client/app/common/scripts/check-for-update.ts
@@ -23,8 +23,8 @@ export default async function($root: any, force = false, silent = false) {
if (!silent) {
$root.$dialog({
- title: '%i18n:common.update-available-title%',
- text: '%i18n:common.update-available%'.replace('{newer}', newer).replace('{current}', current)
+ title: $root.$t('@.update-available-title'),
+ text: $root.$t('@.update-available', { newer, current })
});
}