From 08ce6b895cb437e7bc9e1f816cec2119dd3299e0 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 16 Apr 2018 07:07:32 +0900 Subject: Fix bug --- src/client/app/common/scripts/check-for-update.ts | 2 +- src/client/app/common/scripts/streaming/home.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/app/common/scripts') 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(); }); } -- cgit v1.2.3-freya