Update zh-tw localization (#1631)

* Fill missing zh-tw fields
* Replace "Merge" verb hard string with i18n impl
This commit is contained in:
Still Hsu 2021-08-11 09:26:30 +09:00 committed by GitHub
parent c5e1a3ed72
commit 53489106a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 55 additions and 11 deletions

View file

@ -219,7 +219,10 @@ export const Tag: React.FC = () => {
function renderMergeButton() {
return (
<Dropdown drop="up">
<Dropdown.Toggle variant="secondary">Merge...</Dropdown.Toggle>
<Dropdown.Toggle variant="secondary">
<FormattedMessage id="actions.merge" />
...
</Dropdown.Toggle>
<Dropdown.Menu className="bg-secondary text-white" id="tag-merge-menu">
<Dropdown.Item
className="bg-secondary text-white"

View file

@ -75,7 +75,10 @@ export const TagMergeModal: React.FC<ITagMergeModalProps> = ({
show={show}
header={title}
icon={mergeType === "from" ? "sign-in-alt" : "sign-out-alt"}
accept={{ text: "Merge", onClick: () => onMerge() }}
accept={{
text: intl.formatMessage({ id: "actions.merge" }),
onClick: () => onMerge(),
}}
disabled={!canMerge()}
cancel={{
variant: "secondary",

View file

@ -75,7 +75,11 @@
},
"temp_disable": "暫時關閉…",
"temp_enable": "暫時啟用…",
"view_random": "隨機開啟"
"view_random": "隨機開啟",
"merge_from": "與其他項目合併",
"save_filter": "儲存過濾條件",
"set_as_default": "設為預設",
"merge_into": "合併至其他項目"
},
"actions_name": "動作",
"age": "年齡",
@ -118,7 +122,9 @@
"hash_matches": "{hash_type} 符合資料庫中的雜湊值",
"match_failed_already_tagged": "短片先前已標記完畢",
"match_failed_no_result": "未找到結果",
"match_success": "已成功標記短片"
"match_success": "已成功標記短片",
"duration_off": "片長差至少 {number} 秒",
"duration_unknown": "未知片長"
},
"verb_match_fp": "特徵碼辨別",
"verb_matched": "符合",
@ -235,7 +241,9 @@
"scrapers": "爬蟲",
"search_by_name": "透過名稱搜尋",
"supported_types": "支援類型",
"supported_urls": "支援網址"
"supported_urls": "支援網址",
"excluded_tag_patterns_head": "排除符合正則表達式的標籤",
"excluded_tag_patterns_desc": "自爬蟲結果中,排除符合以下正則表達式的標籤"
},
"stashbox": {
"add_instance": "新增 Stash-box 端點",
@ -342,7 +350,18 @@
"description": "幻燈片功能僅適用於「圖庫」種類下的預覽牆模式",
"heading": "幻燈片延遲"
},
"title": "使用者介面"
"title": "使用者介面",
"performers": {
"options": {
"image_location": {
"description": "自訂演員圖像路徑,留空以使用內建預設。",
"heading": "自訂演員圖像路徑"
}
}
}
},
"plugins": {
"triggers_on": "觸發於"
}
},
"configuration": "設定",
@ -413,7 +432,12 @@
"scrape_results_existing": "現有資訊",
"scrape_results_scraped": "爬取資訊",
"set_image_url_title": "圖片連結",
"unsaved_changes": "尚有未保存的更改。你確定要離開嗎?"
"unsaved_changes": "尚有未保存的更改。你確定要離開嗎?",
"merge_tags": {
"source": "來源",
"destination": "目的地"
},
"overwrite_filter_confirm": "您確定要覆蓋現有的條件 {entityName} 嗎?"
},
"dimensions": "解析度",
"director": "導演",
@ -498,7 +522,8 @@
"age_context": "這齣戲裡面 {age} {years_old}"
},
"stream": "串流連結",
"video_codec": "影片編碼"
"video_codec": "影片編碼",
"phash": "PHash"
},
"movie": "電影",
"movie_scene_number": "電影短片編號",
@ -538,7 +563,8 @@
"search_filter": {
"add_filter": "新增篩選",
"name": "篩選",
"update_filter": "更新篩選"
"update_filter": "更新篩選",
"saved_filters": "已儲存的過濾條件"
},
"seconds": "秒",
"settings": "設定",
@ -560,12 +586,24 @@
"generating_screenshot": "產生截圖中…",
"rescanning_entity": "重新掃描{singularEntity}中…",
"started_auto_tagging": "已開始自動套用標籤",
"updated_entity": "已更新{entity}"
"updated_entity": "已更新{entity}",
"merged_tags": "已合併的標籤",
"create_entity": "已建立 {entity}",
"default_filter_set": "已設定預設過濾選項",
"saved_entity": "已儲存 {entity}"
},
"total": "總計",
"up-dir": "往上一層",
"updated_at": "更新於",
"url": "連結",
"weight": "體重",
"years_old": "歲"
"years_old": "歲",
"twitter": "Twitter",
"stash_id": "Stash ID",
"instagram": "Instagram",
"filters": "過濾條件",
"filter": "過濾",
"filter_name": "過濾條件名稱",
"detail": "詳情",
"include_child_studios": "包含子工作室"
}