1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-18 08:38:41 +09:00

[Client] Fix i18n

Closes #3192
This commit is contained in:
syuilo 2018-11-11 19:13:10 +09:00
parent 625eb376ae
commit 3826a820bb
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -23,8 +23,8 @@ export default async function($root: any, force = false, silent = false) {
if (!silent) { if (!silent) {
$root.$dialog({ $root.$dialog({
title: '%i18n:common.update-available-title%', title: $root.$t('@.update-available-title'),
text: '%i18n:common.update-available%'.replace('{newer}', newer).replace('{current}', current) text: $root.$t('@.update-available', { newer, current })
}); });
} }