From 49296aac3845e77a8255576a1800a8af899154af Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 2 Apr 2017 03:34:36 +0900 Subject: wip #332 --- src/web/app/common/scripts/check-for-update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/app/common/scripts/check-for-update.js') 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)); } }); }); -- cgit v1.3.1-freya