[Client] Fix i18n

Closes #3192
This commit is contained in:
syuilo 2018-11-11 19:13:10 +09:00
parent 90279766be
commit 29aa6f5e5b

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