summaryrefslogtreecommitdiff
path: root/src/client/app/common/scripts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-16 07:07:32 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-16 07:07:32 +0900
commit08ce6b895cb437e7bc9e1f816cec2119dd3299e0 (patch)
tree107b93bbda446fbd44afbb1854c891b3bfaf5573 /src/client/app/common/scripts
parentFix #1483 (diff)
downloadsharkey-08ce6b895cb437e7bc9e1f816cec2119dd3299e0.tar.gz
sharkey-08ce6b895cb437e7bc9e1f816cec2119dd3299e0.tar.bz2
sharkey-08ce6b895cb437e7bc9e1f816cec2119dd3299e0.zip
Fix bug
Diffstat (limited to 'src/client/app/common/scripts')
-rw-r--r--src/client/app/common/scripts/check-for-update.ts2
-rw-r--r--src/client/app/common/scripts/streaming/home.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/scripts/check-for-update.ts b/src/client/app/common/scripts/check-for-update.ts
index 81c1eb9812..20ce64ea85 100644
--- a/src/client/app/common/scripts/check-for-update.ts
+++ b/src/client/app/common/scripts/check-for-update.ts
@@ -23,7 +23,7 @@ export default async function(mios: MiOS, force = false, silent = false) {
}
if (!silent) {
- alert('%i18n:common.update-available%'.replace('{newer}', newer).replace('{current}', current));
+ alert('%i18n:!common.update-available%'.replace('{newer}', newer).replace('{current}', current));
}
return newer;
diff --git a/src/client/app/common/scripts/streaming/home.ts b/src/client/app/common/scripts/streaming/home.ts
index e085801e15..73f2c5302c 100644
--- a/src/client/app/common/scripts/streaming/home.ts
+++ b/src/client/app/common/scripts/streaming/home.ts
@@ -30,7 +30,7 @@ export class HomeStream extends Stream {
// トークンが再生成されたとき
// このままではAPIが利用できないので強制的にサインアウトさせる
this.on('my_token_regenerated', () => {
- alert('%i18n:common.my-token-regenerated%');
+ alert('%i18n:!common.my-token-regenerated%');
os.signout();
});
}