mirror of
https://github.com/Afilmory/afilmory
synced 2026-02-01 22:48:17 +00:00
fix(i18n): add missing translation key and remove hardcoded string (#60)
This commit is contained in:
@@ -41,7 +41,7 @@ const SortPanel = () => {
|
||||
onClick={() => setSortOrder('desc')}
|
||||
>
|
||||
<i className="i-mingcute-sort-descending-line" />
|
||||
<span>最新优先</span>
|
||||
<span>{t('action.sort.newest.first')}</span>
|
||||
{gallerySetting.sortOrder === 'desc' && (
|
||||
<i className="i-mingcute-check-line ml-auto" />
|
||||
)}
|
||||
@@ -53,7 +53,7 @@ const SortPanel = () => {
|
||||
onClick={() => setSortOrder('asc')}
|
||||
>
|
||||
<i className="i-mingcute-sort-ascending-line" />
|
||||
<span>最早优先</span>
|
||||
<span>{t('action.sort.oldest.first')}</span>
|
||||
{gallerySetting.sortOrder === 'asc' && (
|
||||
<i className="i-mingcute-check-line ml-auto" />
|
||||
)}
|
||||
@@ -97,14 +97,14 @@ const TagsPanel = () => {
|
||||
onClick={clearAllTags}
|
||||
className="absolute top-0 right-0 h-8 rounded-md px-2 text-xs"
|
||||
>
|
||||
清除
|
||||
{t('action.tag.clear')}
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{allTags.length === 0 ? (
|
||||
<div className="px-3 py-8 text-center text-sm text-gray-500 dark:text-gray-400">
|
||||
暂无标签
|
||||
{t('action.tag.empty')}
|
||||
</div>
|
||||
) : (
|
||||
<div className="pb-safe-offset-4 lg:pb-safe -mx-4 -mb-4 max-h-64 overflow-y-auto px-4 lg:mx-0 lg:mb-0 lg:px-0">
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
"action.columns.setting": "Column Settings",
|
||||
"action.map.explore": "Map Explore",
|
||||
"action.sort.mode": "Sort Mode",
|
||||
"action.sort.newest.first": "Newest First",
|
||||
"action.sort.oldest.first": "Oldest First",
|
||||
"action.tag.clear": "Clear",
|
||||
"action.tag.empty": "No tags available",
|
||||
"action.tag.filter": "Tag Filter",
|
||||
"action.view.github": "View GitHub Repository",
|
||||
"error.feedback": "Still having this issue? Please provide feedback on Github, thank you!",
|
||||
@@ -161,6 +165,7 @@
|
||||
"exif.raw.category.video": "Video/HEIF Properties",
|
||||
"exif.raw.category.whiteBalance": "White Balance",
|
||||
"exif.raw.description": "Complete EXIF metadata extracted from the image file",
|
||||
"exif.raw.loading": "Loading EXIF data...",
|
||||
"exif.raw.no.data": "No EXIF data available",
|
||||
"exif.raw.parse.error": "Failed to parse EXIF data",
|
||||
"exif.raw.title": "Raw EXIF Data",
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
"action.columns.setting": "列設定",
|
||||
"action.map.explore": "マップ探索",
|
||||
"action.sort.mode": "ソートモード",
|
||||
"action.sort.newest.first": "新しい順",
|
||||
"action.sort.oldest.first": "古い順",
|
||||
"action.tag.clear": "クリア",
|
||||
"action.tag.empty": "タグがありません",
|
||||
"action.tag.filter": "タグフィルター",
|
||||
"action.view.github": "GitHub リポジトリを表示",
|
||||
"error.feedback": "まだ問題が解決しませんか?GitHub でフィードバックをお願いします。",
|
||||
@@ -161,6 +165,7 @@
|
||||
"exif.raw.category.video": "動画/HEIF プロパティ",
|
||||
"exif.raw.category.whiteBalance": "ホワイトバランス",
|
||||
"exif.raw.description": "画像ファイルから抽出された完全な EXIF メタデータ",
|
||||
"exif.raw.loading": "EXIF データを読み込み中...",
|
||||
"exif.raw.no.data": "EXIF データがありません",
|
||||
"exif.raw.parse.error": "EXIF データの解析に失敗しました",
|
||||
"exif.raw.title": "生の EXIF データ",
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
"action.columns.setting": "열 설정",
|
||||
"action.map.explore": "지도 탐색",
|
||||
"action.sort.mode": "정렬 모드",
|
||||
"action.sort.newest.first": "최신순",
|
||||
"action.sort.oldest.first": "오래된순",
|
||||
"action.tag.clear": "지우기",
|
||||
"action.tag.empty": "태그가 없습니다",
|
||||
"action.tag.filter": "태그 필터",
|
||||
"action.view.github": "GitHub 리포지토리 보기",
|
||||
"error.feedback": "문제가 계속 발생하나요? GitHub 에 피드백을 남겨주세요. 감사합니다!",
|
||||
@@ -161,6 +165,7 @@
|
||||
"exif.raw.category.video": "비디오/HEIF 속성",
|
||||
"exif.raw.category.whiteBalance": "화이트 밸런스",
|
||||
"exif.raw.description": "이미지 파일에서 추출된 완전한 EXIF 메타데이터",
|
||||
"exif.raw.loading": "EXIF 데이터 로딩 중...",
|
||||
"exif.raw.no.data": "EXIF 데이터가 없습니다",
|
||||
"exif.raw.parse.error": "EXIF 데이터 분석에 실패했습니다",
|
||||
"exif.raw.title": "원시 EXIF 데이터",
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
"action.columns.setting": "列设置",
|
||||
"action.map.explore": "地图探索",
|
||||
"action.sort.mode": "排序模式",
|
||||
"action.sort.newest.first": "最新优先",
|
||||
"action.sort.oldest.first": "最早优先",
|
||||
"action.tag.clear": "清除",
|
||||
"action.tag.empty": "暂无标签",
|
||||
"action.tag.filter": "标签筛选",
|
||||
"action.view.github": "查看 GitHub 仓库",
|
||||
"error.feedback": "仍然存在此问题?请在 Github 中提供反馈,谢谢!",
|
||||
@@ -161,6 +165,7 @@
|
||||
"exif.raw.category.video": "视频/HEIF 属性",
|
||||
"exif.raw.category.whiteBalance": "白平衡",
|
||||
"exif.raw.description": "从图像文件中提取的完整 EXIF 元数据",
|
||||
"exif.raw.loading": "正在加载 EXIF 数据...",
|
||||
"exif.raw.no.data": "无 EXIF 数据",
|
||||
"exif.raw.parse.error": "解析 EXIF 数据失败",
|
||||
"exif.raw.title": "原始 EXIF 数据",
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
"action.columns.setting": "欄位設定",
|
||||
"action.map.explore": "地圖探索",
|
||||
"action.sort.mode": "排序模式",
|
||||
"action.sort.newest.first": "最新優先",
|
||||
"action.sort.oldest.first": "最早優先",
|
||||
"action.tag.clear": "清除",
|
||||
"action.tag.empty": "暫無標籤",
|
||||
"action.tag.filter": "標籤篩選",
|
||||
"action.view.github": "查看 GitHub 倉庫",
|
||||
"error.feedback": "仍然遇到此問題?請在 Github 中提供反饋,謝謝!",
|
||||
@@ -161,6 +165,7 @@
|
||||
"exif.raw.category.video": "影片/HEIF 屬性",
|
||||
"exif.raw.category.whiteBalance": "白平衡",
|
||||
"exif.raw.description": "從圖像檔案中提取的完整 EXIF 元數據",
|
||||
"exif.raw.loading": "正在載入 EXIF 資料...",
|
||||
"exif.raw.no.data": "無 EXIF 數據",
|
||||
"exif.raw.parse.error": "解析 EXIF 數據失敗",
|
||||
"exif.raw.title": "原始 EXIF 數據",
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
"action.columns.setting": "欄位設定",
|
||||
"action.map.explore": "地圖探索",
|
||||
"action.sort.mode": "排序模式",
|
||||
"action.sort.newest.first": "最新優先",
|
||||
"action.sort.oldest.first": "最早優先",
|
||||
"action.tag.clear": "清除",
|
||||
"action.tag.empty": "暫無標籤",
|
||||
"action.tag.filter": "標籤篩選",
|
||||
"action.view.github": "檢視 GitHub 存放庫",
|
||||
"error.feedback": "仍然遇到此問題?請在 Github 中提供回饋,謝謝!",
|
||||
@@ -161,6 +165,7 @@
|
||||
"exif.raw.category.video": "影片/HEIF 屬性",
|
||||
"exif.raw.category.whiteBalance": "白平衡",
|
||||
"exif.raw.description": "從圖像檔案中提取的完整 EXIF 元數據",
|
||||
"exif.raw.loading": "正在載入 EXIF 資料...",
|
||||
"exif.raw.no.data": "無 EXIF 數據",
|
||||
"exif.raw.parse.error": "解析 EXIF 數據失敗",
|
||||
"exif.raw.title": "原始 EXIF 數據",
|
||||
|
||||
Reference in New Issue
Block a user