Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

fix(i18n): add missing keys, fix casing, complete locale parity

Alexander Sysoevf51c11f7c539
diff --git a/i18n/locales/en.json b/i18n/locales/en.json
index 5c42911b..044681ac 100644
--- a/i18n/locales/en.json
+++ b/i18n/locales/en.json
@@ -108,7 +108,8 @@
}
},
"backtotop": {
- "tooltip": "Back to Top"
+ "tooltip": "Back to Top",
+ "ariaLabel": "Back to top"
}
},
"stats": {
@@ -121,7 +122,8 @@
"noImage": "Empty Album",
"emptyAlbumTip": "Add photos to get started",
"noDescription": "No description"
- }
+ },
+ "loading": "Loading"
},
"album": {
"notFound": "Album not found",
@@ -365,13 +367,15 @@
"generalSettings": "General Settings",
"appearanceSettings": "Appearance Settings",
"privacySettings": "Privacy Settings",
- "mapAndLocation": "Map & Location"
+ "mapAndLocation": "Map & Location",
+ "storageSettings": "Storage Settings",
+ "systemSettings": "System Settings"
},
"auth": {
"form": {
"errors": {
"invalidEmail": "Invalid email address",
- "invalidPassword": ""
+ "invalidPassword": "Password must be at least 6 characters"
},
"signin": {
"title": "Sign In",
@@ -650,7 +654,10 @@
"eraseLocationQueued": "Erase location info task queued",
"eraseLocationFailed": "Failed to queue erase location info task",
"batchEraseLocationQueued": "Queued {count} erase-location task(s)",
- "batchEraseLocationFailed": "Failed to queue batch erase-location tasks"
+ "batchEraseLocationFailed": "Failed to queue batch erase-location tasks",
+ "taskSubmitFailed": "Failed to submit task",
+ "taskStatusCheckFailed": "Failed to check task status",
+ "uploadFailed": "Upload failed"
},
"errors": {
"noSelection": "Please select photos to upload",
@@ -758,7 +765,9 @@
"selectPhotos": "Select Photos",
"editPhotos": "Edit photo selection",
"selectedCount": "Selected {count} photos",
- "clearAll": "Clear all"
+ "clearAll": "Clear all",
+ "isHidden": "Hide album",
+ "isHiddenHint": "Photos in hidden albums are not shown on the home page"
},
"table": {
"columns": {
diff --git a/i18n/locales/ja.json b/i18n/locales/ja.json
index 5ac7441a..4f7353a4 100644
--- a/i18n/locales/ja.json
+++ b/i18n/locales/ja.json
@@ -108,7 +108,8 @@
}
},
"backtotop": {
- "tooltip": "ページの先頭に戻る"
+ "tooltip": "ページの先頭に戻る",
+ "ariaLabel": "トップへ戻る"
}
},
"stats": {
@@ -120,7 +121,9 @@
"noImage": "空のアルバム",
"emptyAlbumTip": "写真を追加して開始しましょう",
"noDescription": "説明がありません"
- }
+ },
+ "loading": "読み込み中",
+ "indexPanelCountCity": "他 {count} 都市"
},
"album": {
"notFound": "アルバムが見つかりません",
@@ -364,7 +367,9 @@
"appearanceSettings": "外観設定",
"privacySettings": "プライバシー設定",
"mapAndLocation": "地図と場所",
- "location": "位置情報サービス"
+ "location": "位置情報サービス",
+ "storageSettings": "ストレージ設定",
+ "systemSettings": "システム設定"
},
"auth": {
"form": {
@@ -374,11 +379,16 @@
},
"action": {
"or": "または",
- "continue": "続く"
+ "continue": "続く",
+ "backToHome": "ホームに戻る"
},
"labels": {
"email": "メール",
"password": "パスワード"
+ },
+ "errors": {
+ "invalidPassword": "パスワードは6文字以上で入力してください",
+ "invalidEmail": "無効なメールアドレスです"
}
},
"messages": {
@@ -423,7 +433,8 @@
"data": "{0}が{1}枚の写真を撮影しました",
"noData": "{0}は写真がありません"
}
- }
+ },
+ "unknown": "不明"
},
"dashboard": {
"photos": {
@@ -507,6 +518,14 @@
"eraseLocation": {
"label": "アップロード時に位置情報を抹消",
"description": "このアップロードではシステム既定値を上書きでき、いつでもオン/オフを切り替えできます。"
+ },
+ "duplicateCheck": {
+ "label": "重複ファイルの処理方法",
+ "descriptionEnabled": "重複検出が有効です。アップロード時に同名ファイルは選択した処理モードに従います。",
+ "descriptionDisabled": "重複検出が無効です。同名ファイルはそのままアップロードされます。",
+ "enabled": "検出が有効",
+ "disabled": "検出が無効",
+ "currentMode": "現在のモード:{mode}"
}
},
"buttons": {
@@ -585,7 +604,10 @@
"eraseLocationQueued": "位置情報の抹消タスクをキューに追加しました",
"eraseLocationFailed": "位置情報の抹消タスクの追加に失敗しました",
"batchEraseLocationQueued": "{count} 件の位置情報抹消タスクをキューに追加しました",
- "batchEraseLocationFailed": "位置情報抹消タスクの一括追加に失敗しました"
+ "batchEraseLocationFailed": "位置情報抹消タスクの一括追加に失敗しました",
+ "taskSubmitFailed": "タスクの送信に失敗しました",
+ "taskStatusCheckFailed": "タスク状態の確認に失敗しました",
+ "uploadFailed": "アップロードに失敗しました"
},
"errors": {
"noSelection": "アップロードする写真を選択してください",
@@ -693,7 +715,9 @@
"selectPhotos": "写真を選択",
"editPhotos": "写真の選択を編集",
"selectedCount": "{count}枚の写真を選択しました",
- "clearAll": "すべてクリア"
+ "clearAll": "すべてクリア",
+ "isHidden": "アルバムを非表示",
+ "isHiddenHint": "非表示のアルバム内の写真はホームページに表示されません"
},
"table": {
"columns": {
@@ -1275,5 +1299,55 @@
"playPause": "タイムライン再生/一時停止",
"title": "タイムライン"
}
+ },
+ "upload": {
+ "duplicate": {
+ "block": {
+ "title": "ファイルは既に存在します",
+ "message": "写真「{fileName}」は既に存在し、重複アップロードは許可されていません",
+ "suggestion": "対処方法:1) ファイル名を変更して再アップロードする 2) 設定で「警告モード」に切り替えて上書きを許可する"
+ },
+ "skip": {
+ "title": "重複ファイルをスキップしました",
+ "message": "写真「{fileName}」は既に存在するため、自動的にスキップされました",
+ "info": "既存の写真の撮影日:{dateTaken}"
+ },
+ "warn": {
+ "title": "重複ファイルを検出しました",
+ "message": "写真「{fileName}」は既に存在します。続行すると既存の写真を上書きします",
+ "warning": "既存の写真ファイルを上書きします",
+ "info": "既存の写真:{title}、撮影日:{dateTaken}"
+ }
+ },
+ "success": {
+ "upload": {
+ "single": "写真のアップロードが完了しました。処理中...",
+ "multiple": "{count} 枚の写真のアップロードが完了しました。処理中..."
+ },
+ "check": {
+ "title": "チェック完了",
+ "message": "{total} 個のファイルをチェックし、{duplicates} 個の重複が見つかりました"
+ }
+ },
+ "error": {
+ "required": {
+ "title": "必須パラメータがありません",
+ "message": "{field} パラメータを指定してください"
+ },
+ "invalidType": {
+ "title": "サポートされていないファイル形式",
+ "message": "サポートされていないメディアタイプ:{type}",
+ "suggestion": "許可されている形式:{allowed}"
+ },
+ "tooLarge": {
+ "title": "ファイルサイズが大きすぎます",
+ "message": "ファイルサイズ {size}MB が上限を超えています",
+ "suggestion": "最大許容サイズ:{maxSize}MB"
+ },
+ "uploadFailed": {
+ "title": "アップロードに失敗しました",
+ "message": "アップロード中にエラーが発生しました。しばらくしてから再試行してください"
+ }
+ }
}
}
diff --git a/i18n/locales/zh-Hans.json b/i18n/locales/zh-Hans.json
index 1f1eff35..a73bd210 100644
--- a/i18n/locales/zh-Hans.json
+++ b/i18n/locales/zh-Hans.json
@@ -112,7 +112,8 @@
}
},
"backtotop": {
- "tooltip": "回到顶部"
+ "tooltip": "回到顶部",
+ "ariaLabel": "回到顶部"
}
},
"stats": {
@@ -124,7 +125,8 @@
"noImage": "空相簿",
"emptyAlbumTip": "添加照片开始吧",
"noDescription": "无描述"
- }
+ },
+ "loading": "加载中"
},
"album": {
"notFound": "相簿未找到",
@@ -652,7 +654,10 @@
"eraseLocationQueued": "已加入抹除位置信息任务",
"eraseLocationFailed": "抹除位置信息任务添加失败",
"batchEraseLocationQueued": "已加入 {count} 条抹除位置信息任务",
- "batchEraseLocationFailed": "批量抹除位置信息任务添加失败"
+ "batchEraseLocationFailed": "批量抹除位置信息任务添加失败",
+ "taskSubmitFailed": "提交任务失败",
+ "taskStatusCheckFailed": "检查任务状态失败",
+ "uploadFailed": "上传失败"
},
"errors": {
"noSelection": "请选择要上传的照片",
diff --git a/i18n/locales/zh-Hant-HK.json b/i18n/locales/zh-Hant-HK.json
index 8d7c14f7..112f21cd 100644
--- a/i18n/locales/zh-Hant-HK.json
+++ b/i18n/locales/zh-Hant-HK.json
@@ -112,7 +112,8 @@
}
},
"backtotop": {
- "tooltip": "回到頂部"
+ "tooltip": "回到頂部",
+ "ariaLabel": "回到頂部"
}
},
"stats": {
@@ -123,7 +124,9 @@
"noImage": "空相簿",
"emptyAlbumTip": "新增相片開始啦",
"noDescription": "無描述"
- }
+ },
+ "loading": "載入中",
+ "indexPanelCountCity": "等 {count} 個城市"
},
"album": {
"notFound": "搵唔到相簿",
@@ -364,7 +367,9 @@
"appearanceSettings": "外觀設置",
"privacySettings": "隱私設置",
"mapAndLocation": "地圖和位置",
- "location": "位置服務"
+ "location": "位置服務",
+ "storageSettings": "儲存設定",
+ "systemSettings": "系統設定"
},
"auth": {
"form": {
@@ -374,11 +379,16 @@
},
"action": {
"or": "或",
- "continue": "繼續"
+ "continue": "繼續",
+ "backToHome": "回到首頁"
},
"labels": {
"email": "電子郵箱",
"password": "密碼"
+ },
+ "errors": {
+ "invalidPassword": "密碼至少需要 6 個字元",
+ "invalidEmail": "無效的電郵地址"
}
},
"messages": {
@@ -423,7 +433,8 @@
"data": "{0}拍咗 {1} 張相",
"noData": "{0}冇相"
}
- }
+ },
+ "unknown": "未知"
},
"dashboard": {
"photos": {
@@ -507,6 +518,14 @@
"eraseLocation": {
"label": "上傳時抹除位置資訊",
"description": "本次上傳可覆蓋系統預設值,您可隨時切換開啟或關閉。"
+ },
+ "duplicateCheck": {
+ "label": "重複檔案處理策略",
+ "descriptionEnabled": "目前已啟用重複偵測,上傳時會按所選模式處理同名檔案。",
+ "descriptionDisabled": "目前已關閉重複偵測,同名檔案將直接進入上傳流程。",
+ "enabled": "偵測已開啟",
+ "disabled": "偵測已關閉",
+ "currentMode": "目前模式:{mode}"
}
},
"buttons": {
@@ -585,7 +604,10 @@
"eraseLocationQueued": "已新增抹除位置資訊任務",
"eraseLocationFailed": "抹除位置資訊任務新增失敗",
"batchEraseLocationQueued": "已新增 {count} 條抹除位置資訊任務",
- "batchEraseLocationFailed": "批量抹除位置資訊任務新增失敗"
+ "batchEraseLocationFailed": "批量抹除位置資訊任務新增失敗",
+ "taskSubmitFailed": "提交任務失敗",
+ "taskStatusCheckFailed": "檢查任務狀態失敗",
+ "uploadFailed": "上傳失敗"
},
"errors": {
"noSelection": "請選擇相片進行上傳",
@@ -693,7 +715,9 @@
"selectPhotos": "選擇相片",
"editPhotos": "修改相片選擇",
"selectedCount": "已選擇 {count} 張相片",
- "clearAll": "全部清除"
+ "clearAll": "全部清除",
+ "isHidden": "隱藏相簿",
+ "isHiddenHint": "隱藏相簿中的照片不會在首頁顯示"
},
"table": {
"columns": {
@@ -1275,5 +1299,55 @@
"playPause": "播放/暫停時間回溯",
"title": "時間回溯"
}
+ },
+ "upload": {
+ "duplicate": {
+ "block": {
+ "title": "檔案已存在",
+ "message": "相片「{fileName}」已存在,無法上傳重複檔案",
+ "suggestion": "您可以:1) 重新命名檔案後再次上傳;2) 在設定中切換為「警告模式」以允許覆寫"
+ },
+ "skip": {
+ "title": "已跳過重複檔案",
+ "message": "相片「{fileName}」已存在,已自動跳過上傳",
+ "info": "現有相片拍攝於 {dateTaken}"
+ },
+ "warn": {
+ "title": "偵測到重複檔案",
+ "message": "相片「{fileName}」已存在,繼續上傳將會覆寫現有相片",
+ "warning": "覆寫已存在的相片檔案",
+ "info": "現有相片:{title},拍攝於 {dateTaken}"
+ }
+ },
+ "success": {
+ "upload": {
+ "single": "相片已成功上傳,正在處理中...",
+ "multiple": "已成功上傳 {count} 張相片,正在處理中..."
+ },
+ "check": {
+ "title": "檢查完成",
+ "message": "已檢查 {total} 個檔案,發現 {duplicates} 個重複檔案"
+ }
+ },
+ "error": {
+ "required": {
+ "title": "缺少必填參數",
+ "message": "請提供 {field} 參數"
+ },
+ "invalidType": {
+ "title": "不支援的檔案類型",
+ "message": "不支援的媒體類型:{type}",
+ "suggestion": "允許的類型:{allowed}"
+ },
+ "tooLarge": {
+ "title": "檔案太大",
+ "message": "檔案大小 {size}MB 超過限制",
+ "suggestion": "最大允許 {maxSize}MB"
+ },
+ "uploadFailed": {
+ "title": "上傳失敗",
+ "message": "上傳過程中發生錯誤,請稍後再試"
+ }
+ }
}
}
diff --git a/i18n/locales/zh-Hant-TW.json b/i18n/locales/zh-Hant-TW.json
index 9237e476..3dd79a19 100644
--- a/i18n/locales/zh-Hant-TW.json
+++ b/i18n/locales/zh-Hant-TW.json
@@ -111,8 +111,9 @@
"prefix": "來看看這張相片:"
}
},
- "backToTop": {
- "tooltip": "回到頂部"
+ "backtotop": {
+ "tooltip": "回到頂部",
+ "ariaLabel": "回到頂部"
}
},
"stats": {
@@ -123,7 +124,9 @@
"noImage": "空相簿",
"emptyAlbumTip": "新增相片開始吧",
"noDescription": "無描述"
- }
+ },
+ "loading": "載入中",
+ "indexPanelCountCity": "等 {count} 個城市"
},
"album": {
"notFound": "找不到相簿",
@@ -364,7 +367,9 @@
"appearanceSettings": "外觀設置",
"privacySettings": "隱私設置",
"mapAndLocation": "地圖和位置",
- "location": "位置服務"
+ "location": "位置服務",
+ "storageSettings": "儲存設定",
+ "systemSettings": "系統設定"
},
"auth": {
"form": {
@@ -374,11 +379,16 @@
},
"action": {
"or": "或",
- "continue": "繼續"
+ "continue": "繼續",
+ "backToHome": "回到首頁"
},
"labels": {
"email": "電子郵箱",
"password": "密碼"
+ },
+ "errors": {
+ "invalidPassword": "密碼至少需要 6 個字元",
+ "invalidEmail": "無效的電子郵件地址"
}
},
"messages": {
@@ -423,7 +433,8 @@
"data": "{0}拍攝了 {1} 張照片",
"noData": "{0}沒有照片"
}
- }
+ },
+ "unknown": "未知"
},
"dashboard": {
"photos": {
@@ -507,6 +518,14 @@
"eraseLocation": {
"label": "上傳時抹除位置資訊",
"description": "本次上傳可覆蓋系統預設值,您可隨時切換開啟或關閉。"
+ },
+ "duplicateCheck": {
+ "label": "重複檔案處理策略",
+ "descriptionEnabled": "目前已啟用重複偵測,上傳時會依所選模式處理同名檔案。",
+ "descriptionDisabled": "目前已關閉重複偵測,同名檔案將直接進入上傳流程。",
+ "enabled": "偵測已開啟",
+ "disabled": "偵測已關閉",
+ "currentMode": "目前模式:{mode}"
}
},
"buttons": {
@@ -585,7 +604,10 @@
"eraseLocationQueued": "已新增抹除位置資訊任務",
"eraseLocationFailed": "抹除位置資訊任務新增失敗",
"batchEraseLocationQueued": "已新增 {count} 條抹除位置資訊任務",
- "batchEraseLocationFailed": "批量抹除位置資訊任務新增失敗"
+ "batchEraseLocationFailed": "批量抹除位置資訊任務新增失敗",
+ "taskSubmitFailed": "提交任務失敗",
+ "taskStatusCheckFailed": "檢查任務狀態失敗",
+ "uploadFailed": "上傳失敗"
},
"errors": {
"noSelection": "請選擇照片進行上傳",
@@ -693,7 +715,9 @@
"selectPhotos": "選擇照片",
"editPhotos": "修改照片選擇",
"selectedCount": "已選擇 {count} 張照片",
- "clearAll": "全部清除"
+ "clearAll": "全部清除",
+ "isHidden": "隱藏相簿",
+ "isHiddenHint": "隱藏相簿中的照片不會在首頁顯示"
},
"table": {
"columns": {
@@ -1275,5 +1299,55 @@
"playPause": "播放/暫停時間回溯",
"title": "時間回溯"
}
+ },
+ "upload": {
+ "duplicate": {
+ "block": {
+ "title": "檔案已存在",
+ "message": "照片「{fileName}」已存在,無法上傳重複檔案",
+ "suggestion": "您可以:1) 重新命名檔案後再次上傳;2) 在設定中切換為「警告模式」以允許覆寫"
+ },
+ "skip": {
+ "title": "已跳過重複檔案",
+ "message": "照片「{fileName}」已存在,已自動跳過上傳",
+ "info": "現有照片拍攝於 {dateTaken}"
+ },
+ "warn": {
+ "title": "偵測到重複檔案",
+ "message": "照片「{fileName}」已存在,繼續上傳將會覆寫現有照片",
+ "warning": "覆寫已存在的照片檔案",
+ "info": "現有照片:{title},拍攝於 {dateTaken}"
+ }
+ },
+ "success": {
+ "upload": {
+ "single": "照片已成功上傳,正在處理中...",
+ "multiple": "已成功上傳 {count} 張照片,正在處理中..."
+ },
+ "check": {
+ "title": "檢查完成",
+ "message": "已檢查 {total} 個檔案,發現 {duplicates} 個重複檔案"
+ }
+ },
+ "error": {
+ "required": {
+ "title": "缺少必填參數",
+ "message": "請提供 {field} 參數"
+ },
+ "invalidType": {
+ "title": "不支援的檔案類型",
+ "message": "不支援的媒體類型:{type}",
+ "suggestion": "允許的類型:{allowed}"
+ },
+ "tooLarge": {
+ "title": "檔案太大",
+ "message": "檔案大小 {size}MB 超過限制",
+ "suggestion": "最大允許 {maxSize}MB"
+ },
+ "uploadFailed": {
+ "title": "上傳失敗",
+ "message": "上傳過程中發生錯誤,請稍後再試"
+ }
+ }
}
}