[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
1 changed files with 2 additions and 2 deletions

View File

@ -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 })
});
}