forked from FoundKeyGang/FoundKey
parent
625eb376ae
commit
3826a820bb
1 changed files with 2 additions and 2 deletions
|
@ -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 })
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue