This commit is contained in:
syuilo 2017-04-02 03:35:34 +09:00
parent 49296aac38
commit 23a3239190

View File

@ -7,7 +7,7 @@ export default function() {
res.json().then(meta => { res.json().then(meta => {
if (meta.version != VERSION) { if (meta.version != VERSION) {
localStorage.setItem('should-refresh', 'true'); localStorage.setItem('should-refresh', 'true');
alert('%i18n:common:update-available%'.replace('{newer}', meta.version).replace('{current}', VERSION)); alert('%i18n:common.update-available%'.replace('{newer}', meta.version).replace('{current}', VERSION));
} }
}); });
}); });