summaryrefslogtreecommitdiff
path: root/src/client/app/common/scripts/check-for-update.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-11-11 19:13:10 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-11-11 19:13:10 +0900
commit3826a820bbd593debec12d2eda05ef20bd9f714b (patch)
tree31e19e69f4ca44be1e7bc1650322b354f144b677 /src/client/app/common/scripts/check-for-update.ts
parentMerge branch 'develop' of https://github.com/syuilo/misskey into develop (diff)
downloadsharkey-3826a820bbd593debec12d2eda05ef20bd9f714b.tar.gz
sharkey-3826a820bbd593debec12d2eda05ef20bd9f714b.tar.bz2
sharkey-3826a820bbd593debec12d2eda05ef20bd9f714b.zip
[Client] Fix i18n
Closes #3192
Diffstat (limited to 'src/client/app/common/scripts/check-for-update.ts')
-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 })
});
}