summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/check-for-update.js
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-04-02 03:34:36 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-04-02 03:34:36 +0900
commit49296aac3845e77a8255576a1800a8af899154af (patch)
treeed1697d668945602e870b0ece26fae658c4be6a5 /src/web/app/common/scripts/check-for-update.js
parent[Client] :art: (diff)
downloadmisskey-49296aac3845e77a8255576a1800a8af899154af.tar.gz
misskey-49296aac3845e77a8255576a1800a8af899154af.tar.bz2
misskey-49296aac3845e77a8255576a1800a8af899154af.zip
wip #332
Diffstat (limited to 'src/web/app/common/scripts/check-for-update.js')
-rw-r--r--src/web/app/common/scripts/check-for-update.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/common/scripts/check-for-update.js b/src/web/app/common/scripts/check-for-update.js
index 7f4c1cdee8..b004d33f89 100644
--- a/src/web/app/common/scripts/check-for-update.js
+++ b/src/web/app/common/scripts/check-for-update.js
@@ -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));
}
});
});