[Update] Config Window: Add description to DeepL Auth Key Section.
This commit is contained in:
@@ -131,6 +131,7 @@ config_window:
|
||||
|
||||
deepl_auth_key:
|
||||
label: DeepL Auth Key
|
||||
desc: Please select %{translator} on the main screen with DeepL_API when using. ※Some languages may not be supported.
|
||||
|
||||
mic_host:
|
||||
label: Mic Host/Driver
|
||||
|
||||
@@ -128,6 +128,7 @@ config_window:
|
||||
|
||||
deepl_auth_key:
|
||||
label: DeepL 認証キー
|
||||
desc: "使用の際は、メイン画面にある %{translator} をDeepL_APIに変更してください。\n※対応していない言語もあります。"
|
||||
|
||||
mic_host:
|
||||
label: マイク(ホスト/ドライバー)
|
||||
|
||||
9
view.py
9
view.py
@@ -282,8 +282,13 @@ class View():
|
||||
CALLBACK_SET_CTRANSLATE2_WEIGHT_TYPE=None,
|
||||
VAR_CTRANSLATE2_WEIGHT_TYPE=StringVar(value=self.getSelectableCtranslate2WeightTypeDict()[config.WEIGHT_TYPE]),
|
||||
|
||||
VAR_LABEL_DEEPL_AUTH_KEY=StringVar(value=i18n.t("config_window.deepl_auth_key.label")),
|
||||
VAR_DESC_DEEPL_AUTH_KEY=None,
|
||||
VAR_LABEL_DEEPL_AUTH_KEY=StringVar(value=i18n.t( "config_window.deepl_auth_key.label")),
|
||||
VAR_DESC_DEEPL_AUTH_KEY=StringVar(
|
||||
value=i18n.t(
|
||||
"config_window.deepl_auth_key.desc",
|
||||
translator=i18n.t("main_window.translator")
|
||||
)
|
||||
),
|
||||
CALLBACK_SET_DEEPL_AUTH_KEY=None,
|
||||
VAR_DEEPL_AUTH_KEY=StringVar(value=config.AUTH_KEYS["DeepL_API"]),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user