From fdaa7dfb62419594caded466e8b490d6802d419d Mon Sep 17 00:00:00 2001 From: cutls Date: Thu, 8 Dec 2022 01:07:04 +0900 Subject: [PATCH] easy tweetdeck add --- app/js/login/login.js | 3 ++- app/view/make/language/en/main.json | 1 + app/view/make/language/ja-KS/main.json | 1 + app/view/make/language/ja/main.json | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/js/login/login.js b/app/js/login/login.js index a91acfc6..911c08ed 100644 --- a/app/js/login/login.js +++ b/app/js/login/login.js @@ -611,8 +611,9 @@ function multiSelector(parseC) { $('#add-acct-sel').append( '${webview ? `` : ''}` + `` ) + if (!webview) $('#webview-add').append(`
${lang.lang_setting_webview_warn}`) $('#dir-acct-sel').append('') } $('select').formSelect() diff --git a/app/view/make/language/en/main.json b/app/view/make/language/en/main.json index 0ee4fcc8..788ef9a7 100644 --- a/app/view/make/language/en/main.json +++ b/app/view/make/language/en/main.json @@ -166,6 +166,7 @@ "lang_spotify_acct": "Connect TheDesk to Spotify", "lang_spotify_np": "Done:templete of NowPlaying", "lang_setting_npprovide": "NowPlaying provider:{{set}}", + "lang_setting_webview_warn": "Please turn WebView on at System Preferences of TheDesk to add TweetDeck as a column", "lang_hisdata_frcreq": "Required Mastodon 2.4.3 and above", "lang_hisdata_frcwarn": "Unfollow accounts will be shown.", "lang_hisdata_taketime": "It will take 30s ~ several minutes", diff --git a/app/view/make/language/ja-KS/main.json b/app/view/make/language/ja-KS/main.json index 2f2e8eea..b05f4b2a 100644 --- a/app/view/make/language/ja-KS/main.json +++ b/app/view/make/language/ja-KS/main.json @@ -165,6 +165,7 @@ "lang_spotify_acct": "まずアカウント連携をしてな", "lang_spotify_np": "NowPlayingするときのやつを変えたで", "lang_setting_npprovide": "NowPlayingのソースを{{set}}にしたで", + "lang_setting_webview_warn": "TweetDeckをカラムとして追加するには、TheDeskの環境設定でWebViewをオンにする必要があります。", "lang_hisdata_frcreq": "Mastodon 2.4.3~だけやで", "lang_hisdata_frcwarn": "非フォローやけど絡みある人らや。", "lang_hisdata_taketime": "30秒から数分かかることがあるで", diff --git a/app/view/make/language/ja/main.json b/app/view/make/language/ja/main.json index 2fd63646..20818bd5 100644 --- a/app/view/make/language/ja/main.json +++ b/app/view/make/language/ja/main.json @@ -167,6 +167,7 @@ "lang_spotify_acct": "アカウント連携をしてください。", "lang_spotify_np": "NowPlaying文書を更新しました。", "lang_setting_npprovide": "NowPlayingのソースを{{set}}に設定しました。", + "lang_setting_webview_warn": "TweetDeckをカラムとして追加するには、TheDeskの環境設定でWebViewをオンにする必要があります。", "lang_hisdata_frcreq": "Mastodon 2.4.3~が必要です", "lang_hisdata_frcwarn": "非フォローだけど絡みがある時に表示されます。", "lang_hisdata_taketime": "30秒から数分かかります",