Skip to content

Commit

Permalink
add #147
Browse files Browse the repository at this point in the history
Signed-off-by: ふぁ <yuki@yuki0311.com>
  • Loading branch information
fa0311 committed Nov 28, 2024
1 parent f1de76c commit 948ce61
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DMMGamePlayerFastLauncher/tab/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ def create(self):
text = i18n.t("app.account.filename")
tooltip = i18n.t("app.account.filename_tooltip")
EntryComponent(self, text=text, tooltip=tooltip, required=True, variable=self.name, alnum_only=True).create()
OptionMenuComponent(self, text=i18n.t("app.import_browser_select"), values=["Chrome", "Edge", "Firefox"], variable=self.browser).create()
text = i18n.t("app.account.browser_select")
tooltip = i18n.t("app.account.browser_select_tooltip")
OptionMenuComponent(self, text=text, tooltip=tooltip, values=["Chrome", "Edge", "Firefox"], variable=self.browser).create()
CTkButton(self, text=i18n.t("app.account.import_browser"), command=self.callback).pack(fill=ctk.X, pady=10)
return self

Expand Down
10 changes: 10 additions & 0 deletions assets/i18n/app.en_US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ en_US:
launch_create: Fast Launch GamePlayer
launch_edit: Edit Fast Launch GamePlayer
import: Import
import_browser: Import from Browser
device: Register Device
device_list: Device List

Expand Down Expand Up @@ -111,6 +112,15 @@ en_US:

file_select: Select File

import_browser_detail: |-
Launch the browser to import account information from DMMGamePlayer.
Do not use accounts imported with this feature for the `GamePlayer Acceleration` settings.
browser_select: Select Browser
browser_select_tooltip: |-
Choose your preferred browser.
The specified browser will launch and open the login screen.
import_browser: Import

edit_detail: |-
Edit your account information.
This is an advanced operation.
Expand Down
10 changes: 10 additions & 0 deletions assets/i18n/app.ja_JP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ja_JP:
launch_create: GamePlayerの高速化
launch_edit: GamePlayer高速化の編集
import: インポート
import_browser: ブラウザからインポート
device: デバイスの登録
device_list: デバイスの一覧

Expand Down Expand Up @@ -109,6 +110,15 @@ ja_JP:

file_select: ファイルの選択

import_browser_detail: |-
ブラウザを起動してDMMGamePlayerのアカウント情報をインポートします。
この機能を使用してインポートしたアカウントは `GamePlayerの高速化` 設定に使用しないでください。
browser_select: ブラウザの選択
browser_select_tooltip: |-
お好みのブラウザを選択してください。
指定されたブラウザを起動してログイン画面を開きます。
import_browser: インポート

edit_detail: |-
アカウント情報を編集します。
これは非常に高度な操作になります。
Expand Down
10 changes: 10 additions & 0 deletions assets/i18n/app.zh_CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ zh_CN:
launch_create: 快速启动 GamePlayer
launch_edit: 编辑快速启动 GamePlayer
import: 导入
import_browser: 从浏览器导入
device: 注册设备
device_list: 设备列表

Expand Down Expand Up @@ -110,6 +111,15 @@ zh_CN:

file_select: 选择文件

import_browser_detail: |-
启动浏览器以从DMMGamePlayer导入帐户信息。
请不要将使用此功能导入的帐户用于 `GamePlayer加速` 设置。
browser_select: 选择浏览器
browser_select_tooltip: |-
选择您喜欢的浏览器。
系统将启动指定的浏览器并打开登录页面。
import_browser: 导入

edit_detail: |-
编辑您的帐户信息。
这是一项高级操作。
Expand Down
10 changes: 10 additions & 0 deletions assets/i18n/app.zh_TW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ zh_TW:
launch_create: 快速啟動 GamePlayer
launch_edit: 編輯快速啟動 GamePlayer
import: 匯入
import_browser: 從瀏覽器匯入
device: 註冊設備
device_list: 設備清單

Expand Down Expand Up @@ -109,6 +110,15 @@ zh_TW:

file_select: 選擇檔案

import_browser_detail: |-
啟動瀏覽器以從DMMGamePlayer匯入帳號資訊。
請勿將使用此功能匯入的帳號用於 `GamePlayer加速` 設定。
browser_select: 選擇瀏覽器
browser_select_tooltip: |-
選擇您偏好的瀏覽器。
系統將啟動指定的瀏覽器並開啟登入畫面。
import_browser: 匯入

edit_detail: |-
編輯您的帳戶資訊。
這是一項高級操作。
Expand Down

0 comments on commit 948ce61

Please sign in to comment.