Skip to content

Commit 5295b10

Browse files
authored
fix: missing i18n/icon for camera&lens filter (#77)
1 parent 86b1028 commit 5295b10

8 files changed

Lines changed: 72 additions & 6 deletions

File tree

apps/web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
"devDependencies": {
8686
"@egoist/tailwindcss-icons": "catalog:",
8787
"@iconify-json/mingcute": "catalog:",
88+
"@iconify-json/ri": "^1.2.5",
8889
"@tailwindcss/postcss": "catalog:",
8990
"@tailwindcss/typography": "catalog:",
9091
"@tailwindcss/vite": "4.1.11",

apps/web/src/components/gallery/FilterPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export const FilterPanel = () => {
211211
{
212212
id: 'lenses' as const,
213213
label: t('action.lens.filter'),
214-
icon: 'i-mingcute-camera-lens-line',
214+
icon: 'i-ri-camera-lens-line',
215215
count: gallerySetting.selectedLenses.length,
216216
data: allLenses.map((lens) => lens.displayName),
217217
filteredData: filteredLenses,

locales/app/jp.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
{
22
"action.auto": "自動",
3+
"action.camera.clear": "クリア",
4+
"action.camera.empty": "カメラがありません",
5+
"action.camera.filter": "カメラフィルター",
6+
"action.camera.not-found": "検索に一致するカメラがありません",
7+
"action.camera.search": "カメラ検索",
38
"action.columns.setting": "列設定",
9+
"action.filter.title": "写真をフィルター",
10+
"action.lens.clear": "クリア",
11+
"action.lens.empty": "レンズがありません",
12+
"action.lens.filter": "レンズフィルター",
13+
"action.lens.not-found": "検索に一致するレンズがありません",
14+
"action.lens.search": "レンズ検索",
415
"action.map.explore": "マップ探索",
516
"action.sort.mode": "ソートモード",
617
"action.sort.newest.first": "新しい順",
@@ -283,4 +294,4 @@
283294
"video.conversion.webcodecs.not.supported": "このブラウザは WebCodecs をサポートしていません",
284295
"video.format.mov.not.supported": "ブラウザが MOV 形式をサポートしていないため、変換が必要です",
285296
"video.format.mov.supported": "ブラウザが MOV 形式をネイティブでサポートしているため、変換をスキップします"
286-
}
297+
}

locales/app/ko.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
{
22
"action.auto": "자동",
3+
"action.camera.clear": "지우기",
4+
"action.camera.empty": "카메라가 없습니다",
5+
"action.camera.filter": "카메라 필터",
6+
"action.camera.not-found": "검색과 일치하는 카메라가 없습니다",
7+
"action.camera.search": "카메라 검색",
38
"action.columns.setting": "열 설정",
9+
"action.filter.title": "사진 필터",
10+
"action.lens.clear": "지우기",
11+
"action.lens.empty": "렌즈가 없습니다",
12+
"action.lens.filter": "렌즈 필터",
13+
"action.lens.not-found": "검색과 일치하는 렌즈가 없습니다",
14+
"action.lens.search": "렌즈 검색",
415
"action.map.explore": "지도 탐색",
516
"action.sort.mode": "정렬 모드",
617
"action.sort.newest.first": "최신순",
@@ -283,4 +294,4 @@
283294
"video.conversion.webcodecs.not.supported": "이 브라우저는 WebCodecs 를 지원하지 않습니다",
284295
"video.format.mov.not.supported": "브라우저가 MOV 형식을 지원하지 않아 변환이 필요합니다.",
285296
"video.format.mov.supported": "브라우저가 MOV 형식을 기본적으로 지원하므로 변환을 건너뜁니다."
286-
}
297+
}

locales/app/zh-CN.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
{
22
"action.auto": "自动",
3+
"action.camera.clear": "清除",
4+
"action.camera.empty": "暂无相机",
5+
"action.camera.filter": "相机筛选",
6+
"action.camera.not-found": "没有相机匹配您的搜索",
7+
"action.camera.search": "搜索相机",
38
"action.columns.setting": "列设置",
9+
"action.filter.title": "筛选照片",
10+
"action.lens.clear": "清除",
11+
"action.lens.empty": "暂无镜头",
12+
"action.lens.filter": "镜头筛选",
13+
"action.lens.not-found": "没有镜头匹配您的搜索",
14+
"action.lens.search": "搜索镜头",
415
"action.map.explore": "地图探索",
516
"action.sort.mode": "排序模式",
617
"action.sort.newest.first": "最新优先",
@@ -287,4 +298,4 @@
287298
"video.conversion.webcodecs.not.supported": "此浏览器不支持 WebCodecs",
288299
"video.format.mov.not.supported": "浏览器不支持 MOV 格式,需要转换",
289300
"video.format.mov.supported": "浏览器原生支持 MOV 格式,跳过转换"
290-
}
301+
}

locales/app/zh-HK.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
{
22
"action.auto": "自動",
3+
"action.camera.clear": "清除",
4+
"action.camera.empty": "暫無相機",
5+
"action.camera.filter": "相機篩選",
6+
"action.camera.not-found": "沒有相機符合您的搜尋",
7+
"action.camera.search": "搜尋相機",
38
"action.columns.setting": "欄位設定",
9+
"action.filter.title": "篩選照片",
10+
"action.lens.clear": "清除",
11+
"action.lens.empty": "暫無鏡頭",
12+
"action.lens.filter": "鏡頭篩選",
13+
"action.lens.not-found": "沒有鏡頭符合您的搜尋",
14+
"action.lens.search": "搜尋鏡頭",
415
"action.map.explore": "地圖探索",
516
"action.sort.mode": "排序模式",
617
"action.sort.newest.first": "最新優先",
@@ -283,4 +294,4 @@
283294
"video.conversion.webcodecs.not.supported": "此瀏覽器不支援 WebCodecs",
284295
"video.format.mov.not.supported": "瀏覽器不支援 MOV 格式,需要轉換",
285296
"video.format.mov.supported": "瀏覽器原生支援 MOV 格式,跳過轉換"
286-
}
297+
}

locales/app/zh-TW.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
{
22
"action.auto": "自動",
3+
"action.camera.clear": "清除",
4+
"action.camera.empty": "暫無相機",
5+
"action.camera.filter": "相機篩選",
6+
"action.camera.not-found": "沒有相機符合您的搜尋",
7+
"action.camera.search": "搜尋相機",
38
"action.columns.setting": "欄位設定",
9+
"action.filter.title": "篩選照片",
10+
"action.lens.clear": "清除",
11+
"action.lens.empty": "暫無鏡頭",
12+
"action.lens.filter": "鏡頭篩選",
13+
"action.lens.not-found": "沒有鏡頭符合您的搜尋",
14+
"action.lens.search": "搜尋鏡頭",
415
"action.map.explore": "地圖探索",
516
"action.sort.mode": "排序模式",
617
"action.sort.newest.first": "最新優先",
@@ -282,4 +293,4 @@
282293
"video.conversion.webcodecs.not.supported": "此瀏覽器不支援 WebCodecs",
283294
"video.format.mov.not.supported": "瀏覽器不支援 MOV 格式,需要轉換",
284295
"video.format.mov.supported": "瀏覽器原生支援 MOV 格式,跳過轉換"
285-
}
296+
}

pnpm-lock.yaml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)