This commit is contained in:
syuilo
2017-04-02 03:34:36 +09:00
parent f8505562ac
commit 49296aac38
3 changed files with 5 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ export default function() {
res.json().then(meta => {
if (meta.version != VERSION) {
localStorage.setItem('should-refresh', 'true');
alert(`Misskeyの新しいバージョンがあります(${meta.version}。現在${VERSION}を利用中)。\nページを再度読み込みすると更新が適用されます。`);
alert('%i18n:common:update-available%'.replace('{newer}', meta.version).replace('{current}', VERSION));
}
});
});