diff --git a/ui/v2.5/.vscode/settings.json b/ui/v2.5/.vscode/settings.json index 5265cba16..ba5be62ee 100644 --- a/ui/v2.5/.vscode/settings.json +++ b/ui/v2.5/.vscode/settings.json @@ -13,5 +13,14 @@ "src/locales" ], "i18n-ally.keystyle": "nested", - "i18n-ally.sourceLanguage": "en-GB" + "i18n-ally.sourceLanguage": "en-GB", + "spellright.language": [ + "en" + ], + "spellright.documentTypes": [ + "markdown", + "latex", + "plaintext", + "typescriptreact" + ] } \ No newline at end of file diff --git a/ui/v2.5/src/components/Performers/PerformerList.tsx b/ui/v2.5/src/components/Performers/PerformerList.tsx index d6019e81e..cdff5c00a 100644 --- a/ui/v2.5/src/components/Performers/PerformerList.tsx +++ b/ui/v2.5/src/components/Performers/PerformerList.tsx @@ -39,7 +39,7 @@ export const PerformerList: React.FC = ({ const otherOperations = [ { - text: "Open Random", + text: intl.formatMessage({ id: "actions.open_random" }), onClick: getRandom, }, { diff --git a/ui/v2.5/src/components/Settings/SettingsTasksPanel/DirectorySelectionDialog.tsx b/ui/v2.5/src/components/Settings/SettingsTasksPanel/DirectorySelectionDialog.tsx index d534e1001..0c5a4f179 100644 --- a/ui/v2.5/src/components/Settings/SettingsTasksPanel/DirectorySelectionDialog.tsx +++ b/ui/v2.5/src/components/Settings/SettingsTasksPanel/DirectorySelectionDialog.tsx @@ -35,12 +35,12 @@ export const DirectorySelectionDialog: React.FC show disabled={paths.length === 0} icon="pencil-alt" - header="Select folders" + header={intl.formatMessage({ id: "actions.select_folders" })} accept={{ onClick: () => { props.onClose(paths); }, - text: "Confirm", + text: intl.formatMessage({ id: "actions.confirm" }), }} cancel={{ onClick: () => props.onClose(), diff --git a/ui/v2.5/src/components/Shared/ImageInput.tsx b/ui/v2.5/src/components/Shared/ImageInput.tsx index aaea404a2..3417cb7c9 100644 --- a/ui/v2.5/src/components/Shared/ImageInput.tsx +++ b/ui/v2.5/src/components/Shared/ImageInput.tsx @@ -36,7 +36,9 @@ export const ImageInput: React.FC = ({ // just return the file input return ( - + = ({ show={!!isShowDialog} onHide={() => setIsShowDialog(false)} header={intl.formatMessage({ id: "dialogs.set_image_url_title" })} - accept={{ onClick: onConfirmURL, text: "Confirm" }} + accept={{ + onClick: onConfirmURL, + text: intl.formatMessage({ id: "actions.confirm" }), + }} >
diff --git a/ui/v2.5/src/locales/en-GB.json b/ui/v2.5/src/locales/en-GB.json index dfa998624..2ffd8cc45 100644 --- a/ui/v2.5/src/locales/en-GB.json +++ b/ui/v2.5/src/locales/en-GB.json @@ -79,7 +79,11 @@ }, "temp_disable": "Disable temporarily…", "temp_enable": "Enable temporarily…", - "view_random": "View Random" + "view_random": "View Random", + "confirm": "Confirm", + "select_folders": "Select folders", + "browse_for_image": "Browse for image…", + "open_random": "Open Random" }, "actions_name": "Actions", "age": "Age", diff --git a/ui/v2.5/src/locales/en-US.json b/ui/v2.5/src/locales/en-US.json index ecc49e3dd..dc2af732f 100644 --- a/ui/v2.5/src/locales/en-US.json +++ b/ui/v2.5/src/locales/en-US.json @@ -3,9 +3,11 @@ "favourite": "Favorite", "hair_color": "Hair Color", "organized": "Organized", - "tools": { - "scene_filename_parser": { - "ignore_organized": "Ignore organized scenes" + "config": { + "tools": { + "scene_filename_parser": { + "ignore_organized": "Ignore organized scenes" + } } } } diff --git a/ui/v2.5/src/locales/zh-TW.json b/ui/v2.5/src/locales/zh-TW.json index 935f1ba6e..24add9259 100644 --- a/ui/v2.5/src/locales/zh-TW.json +++ b/ui/v2.5/src/locales/zh-TW.json @@ -79,7 +79,11 @@ "merge_from": "與其他項目合併", "save_filter": "儲存過濾條件", "set_as_default": "設為預設", - "merge_into": "合併至其他項目" + "merge_into": "合併至其他項目", + "confirm": "確認", + "select_folders": "選擇資料夾", + "browse_for_image": "選擇圖像…", + "open_random": "隨機開啟" }, "actions_name": "動作", "age": "年齡", @@ -220,7 +224,7 @@ "maximum_streaming_transcode_size_head": "最大的串流轉碼解析度大小", "maximum_transcode_size_desc": "轉碼生成的影片最大大小", "maximum_transcode_size_head": "最大的轉碼解析度大小", - "number_of_parallel_task_for_scan_generation_desc": "設置為 0 以自動偵測。請注意,運行比使用 100% CPU 使用率所需的排成數量,可能會降低性能並導致其他問題。", + "number_of_parallel_task_for_scan_generation_desc": "設置為 0 以自動偵測。請注意,運行比使用 100% CPU 使用率所需的排程數量,可能會降低性能並導致其他問題。", "number_of_parallel_task_for_scan_generation_head": "掃描/生成的並行排程數量", "parallel_scan_head": "並行掃描/生成", "preview_generation": "預覽檔案生成", @@ -255,7 +259,7 @@ "title": "Stash-box 端點" }, "tasks": { - "added_job_to_queue": "已新增『{operation_name}』至作業排成", + "added_job_to_queue": "已將『{operation_name}』加入至工作排程", "auto_tag_based_on_filenames": "根據檔案名稱自動標記內容。", "auto_tagging": "自動套用標籤", "backing_up_database": "備份資料庫中", @@ -295,7 +299,8 @@ "select_parser_recipe": "選擇預設分析字串", "title": "短片名稱分析工具", "whitespace_chars": "空白字元", - "whitespace_chars_desc": "這些字元將在標題中被的空格替換" + "whitespace_chars_desc": "這些字元將在標題中被的空格替換", + "ignore_organized": "忽略已整理的短片" }, "scene_tools": "短片工具" }, @@ -390,7 +395,9 @@ "matches_regex": "符合正則表達式", "not_equals": "不是", "not_matches_regex": "不符合正則表達式", - "not_null": "不為空" + "not_null": "不為空", + "between": "與 ... 之間", + "not_between": "不與 ... 之間" }, "date": "日期", "death_date": "去世日期", @@ -580,12 +587,12 @@ "title": "標題", "toast": { "added_entity": "已新增{singularEntity}", - "added_generation_job_to_queue": "將生成作業新增至工作排程", + "added_generation_job_to_queue": "已將『生成作業』加入至工作排程", "delete_entity": "刪除{singularEntity}", "delete_past_tense": "已刪除{singularEntity}", "generating_screenshot": "產生截圖中…", "rescanning_entity": "重新掃描{singularEntity}中…", - "started_auto_tagging": "已開始自動套用標籤", + "started_auto_tagging": "已將『自動套用標籤』加入至工作排程", "updated_entity": "已更新{entity}", "merged_tags": "已合併的標籤", "create_entity": "已建立 {entity}", @@ -605,5 +612,18 @@ "filter": "過濾", "filter_name": "過濾條件名稱", "detail": "詳情", - "include_child_studios": "包含子工作室" + "include_child_studios": "包含子工作室", + "criterion": { + "greater_than": "大於", + "less_than": "小於", + "value": "數值" + }, + "custom": "自訂", + "frames_per_second": "{value} 幀/秒", + "megabits_per_second": "{value} megabits/秒", + "tools": { + "scene_filename_parser": { + "ignore_organized": "忽略已整理的短片" + } + } }