From 3826a820bbd593debec12d2eda05ef20bd9f714b Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 11 Nov 2018 19:13:10 +0900 Subject: [PATCH] [Client] Fix i18n Closes #3192 --- src/client/app/common/scripts/check-for-update.ts | 4 ++-- 1 file 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 ac0b5d09c..377eccc6b 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 }) }); }