Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
feat(i18n): internationalize hardcoded user-facing strings
Alexander Sysoevc440ee65a35b
diff --git a/I18N_AUDIT.md b/I18N_AUDIT.mdnew file mode 100644index 00000000..1efcc59d--- /dev/null+++ b/I18N_AUDIT.md@@ -0,0 +1,136 @@+# ChronoFrame i18n Audit++Generated during an i18n remediation pass. The app uses `@nuxtjs/i18n` with locale files in+`i18n/locales/{en,ja,zh-Hans,zh-Hant-TW,zh-Hant-HK}.json`, accessed via `$t('key')` (templates)+and `t('key')` / `i18n.t('key')` (scripts).++There are two classes of problems:++- **Key-level bugs** in the locale JSON (broken/missing keys, casing, incomplete locales).+- **Hardcoded strings** in source never wired to i18n (~150 spots, largely hardcoded **Chinese**, so+ untranslatable for English/Japanese users).++`server/` uses zero i18n; server responses are not localized by design and are out of scope.++---++## A. Broken keys — referenced in code but unresolved (raw key shown to users)++| Key | Status | Used in |+|---|---|---|+| `dashboard.photos.messages.taskStatusCheckFailed` | missing in ALL locales | `app/pages/dashboard/photos.vue` |+| `dashboard.photos.messages.taskSubmitFailed` | missing in ALL locales | `app/pages/dashboard/photos.vue` |+| `dashboard.photos.messages.uploadFailed` | missing in ALL locales | `app/pages/dashboard/photos.vue` |+| `ui.action.backtotop.ariaLabel` | missing in ALL locales | `masonry/Root.vue`, `albums/[albumId].vue` |+| `ui.loading` | missing in ALL locales | `albums/[albumId].vue`, `layouts/masonry.vue` |+| `dashboard.albums.form.isHidden` | only in `zh-Hans` | `dashboard/albums.vue` |+| `dashboard.albums.form.isHiddenHint` | only in `zh-Hans` | `dashboard/albums.vue` |+| `title.storageSettings` | only in `zh-Hans` | `layouts/dashboard.vue`, `settings/storage.vue` |+| `title.systemSettings` | only in `zh-Hans` | `layouts/dashboard.vue`, `settings/system.vue` |++Bonus: `auth.form.errors.invalidPassword` exists in `en.json` but is an **empty string** `""`.++## B. Casing bug++`zh-Hant-TW.json` defines `ui.action.backToTop` (camelCase); every other locale and all code use+`ui.action.backtotop`. The zh-Hant-TW tooltip never resolves. Fix: rename to `backtotop`.++## C. Locale parity gaps (post casing-fix; canonical key count = 813)++| Locale | Missing |+|---|---|+| `en` | 4 (`dashboard.albums.form.isHidden`, `…isHiddenHint`, `title.storageSettings`, `title.systemSettings`) + empty `invalidPassword` |+| `zh-Hans` | 0 |+| `ja` | 39 |+| `zh-Hant-TW` | 39 |+| `zh-Hant-HK` | 39 |++The 39 keys missing from `ja` / `zh-Hant-TW` / `zh-Hant-HK` (identical set):++```+auth.form.action.backToHome+auth.form.errors.invalidEmail+auth.form.errors.invalidPassword+common.unknown+dashboard.albums.form.isHidden+dashboard.albums.form.isHiddenHint+dashboard.photos.slideover.options.duplicateCheck.{label,descriptionEnabled,descriptionDisabled,enabled,disabled,currentMode}+title.storageSettings+title.systemSettings+ui.indexPanelCountCity+upload.duplicate.block.{title,message,suggestion}+upload.duplicate.skip.{title,message,info}+upload.duplicate.warn.{title,message,warning,info}+upload.success.upload.{single,multiple}+upload.success.check.{title,message}+upload.error.required.{title,message}+upload.error.invalidType.{title,message,suggestion}+upload.error.tooLarge.{title,message,suggestion}+upload.error.uploadFailed.{title,message}+```++## D. Hardcoded strings not wired to i18n (~150 spots)++Worst offenders are hardcoded **Chinese** (broken for non-zh users).++### Pages+- **`dashboard/settings/storage.vue`** (~28): section descriptions, all column headers, every form+ label/placeholder, all toast titles (`设置已保存`, `保存设置时出错`, `存储方案已创建`, `创建存储方案时出错`,+ `存储方案已删除`, `删除存储方案失败`), modal text, provider option labels (`AWS S3 兼容存储`, `本地存储`),+ buttons (`重置`, `保存设置`, `取消`, `继续`, `添加存储`, `创建存储`, `删除`, `变更存储方案`, `选择存储方案`,+ `存储名称`, `存储类型`, `选择存储类型`, `当前默认存储`, `存储方案`, `存储方案管理`, `创建存储方案`, `注意`).+- **`dashboard/logs.vue`** (~15): `{{ connectionStatus }}` is rendered directly and its values are Chinese+ literals (`正在连接...`, `加载历史日志...`, `实时`, `连接错误`) — also used as a sentinel via+ `connectionStatus.value.includes('实时')` (logic must be refactored to a state enum). Placeholders+ (`搜索日志内容...`, `过滤级别`, `筛选 Tag`), empty states (`等待日志数据...`, `没有匹配的日志条目`),+ labels (`总条数/展示:`, `Tag:`), aria-label `Clear search input`.+- **`dashboard/settings/{general,map,privacy,system}.vue`**: repeated `重置` / `保存设置` buttons + a Chinese+ section description per page.+- **`dashboard/index.vue`**: `Share Your Site`, `分享你的站点`, `memory info not available`.+- **`dashboard/albums.vue`**: `张` count suffix.+- **`dashboard/photos.vue`**: aria-labels `Select all`/`Select row`, alt `Photo Thumbnail`, `Untitled`,+ `Photo Preview`, and three referenced-but-missing message keys (see A).+- **`dashboard/queue.vue`**: toast descriptions (`清除了 N 个任务`, `清理任务失败`, `重试了 N 个任务`,+ `批量重试失败`, `删除任务失败`), aria-label `Expand`, `队列任务列表`, detail labels `PhotoId`/`Payload`.+- **`albums/[albumId].vue`**: `Album not found`/`Album Not Found`, `Created: …` tooltip, Chinese fallbacks+ `'回到顶部'` on backtotop tooltip/aria-label, `ui.loading` (`LOADING`).+- **`albums/index.vue`**: alt fallback `Photo`.+- **`[...slug].vue`**: OG image headline `PHOTO`.+- **`signin.vue`**: `GitHub` (proper noun — low priority).++### Layouts+- **`layouts/dashboard.vue`**: `Please login to view dashboard`, `Sorry, you do not have access to this page.`,+ `Sign In`, nav `Documentation` (GitHub/Discord proper nouns kept).+- **`layouts/masonry.vue`**: `LOADING`.+- **`layouts/onboarding.vue`**: alt `ChronoFrame Logo` (brand text kept).++### Components+- **`ui/UploadQueuePanel.vue`** (~12): `文件上传队列`, stat suffixes (`等待`/`进行中`/`完成`/`失败`/`跳过`/`被阻止`),+ summary row, buttons (`清除已完成`/`清除全部`/`队列管理`).+- **`ui/CalendarHeatmap`**: English-only month/day/`Less`/`More`/`on`/`contributions` constants — should consume+ `common.months` / `common.days` / `common.heatmap`.+- **`ui/ThumbImage.vue`**: `加载图片失败`. **`ui/AuthForm.vue`**: alt `App Logo`. **`Histogram.vue`**: `Rendering`,+ `直方图加载失败`.+- **`photo/Viewer.vue`**: reaction toasts (`表态失败`, `操作过于频繁,请稍后再试`, `未知错误`).+ **`photo/ProgressiveImage.vue`**: `图片加载失败`, alt default `Image`. **`photo/GalleryThumbnail.vue`**: alt+ `Photo thumbnail`. **`photo/InfoPanel.vue`**: `ISO` label (only EXIF label not using `$t`).+ **`photo/ShareModal.vue`**: `Unknown error` toast fallbacks (×3).+- **`map/PhotoPin.vue`** & **`map/ClusterPin.vue`**: Chinese alt/title fallbacks (`照片 {id}`, `聚类 {id}`, `未知`).+- **`masonry/Root.vue`**: `'回到顶部'` fallbacks on backtotop tooltip/aria-label.+- **`overlay/FilterPanel.vue`**: `搜索文件名等...`, `打乱列表`.+- **`loader/Avatar.vue`**: alt `Loading...`.+- **`Wizard/ProviderSelector.vue`** & **`setting/SettingField.vue`**: `$t(key) || rawKey` fallback pattern+ (raw key leaks if translation missing; also `$t` used in script context in SettingField).+- **`setting/SettingSection.vue`**: `submitLabel ?? '保存设置'` Chinese fallback.++### Composables+- **`useUpload.ts`** (~20): entire HTTP error map hardcoded Chinese (`网络连接失败`, `客户端错误`, `服务器错误`,+ `上传超时`, `上传已中止`, `请求格式错误`, `未授权访问`, `访问被拒绝`, `上传接口不存在`, `文件冲突`, `文件过大`,+ `不支持的文件类型`, `上传频率过高`, `服务器内部错误`, `服务器暂时不可用`, `HTTP 错误`), plus `计算中...`, `{n}秒`.+- **`useSettingsForm.ts`**: toast titles `加载设置失败` / `设置已保存` / `保存设置失败`.+- **`useWizardForm.ts`**: `Failed to load wizard schema`.+- **`usePhotoSort.ts`**: fallback label `拍摄时间(新到旧)`.+- **`useImageLoader.ts`**: `载入图片失败`.++### Intentionally left (proper nouns / brand)+`GitHub`, `Discord`, `ChronoFrame`, EXIF technical tokens.diff --git a/app/components/Histogram.vue b/app/components/Histogram.vueindex acd18484..c7f63262 100644--- a/app/components/Histogram.vue+++ b/app/components/Histogram.vue@@ -115,7 +115,7 @@ onUnmounted(cleanup)name="tabler:loader"class="text-xl animate-spin"/>- <span class="text-xs font-medium">Rendering</span>+ <span class="text-xs font-medium">{{ $t('ui.histogram.rendering') }}</span></div></Transition><Transition name="fade">@@ -127,7 +127,7 @@ onUnmounted(cleanup)name="tabler:alert-triangle"class="text-xl"/>- <span class="text-xs font-medium">直方图加载失败</span>+ <span class="text-xs font-medium">{{ $t('ui.histogram.loadError') }}</span></div></Transition><Transition name="fade">diff --git a/app/components/Wizard/ProviderSelector.vue b/app/components/Wizard/ProviderSelector.vueindex 02978038..9cdd3707 100644--- a/app/components/Wizard/ProviderSelector.vue+++ b/app/components/Wizard/ProviderSelector.vue@@ -58,13 +58,13 @@ defineEmits<{</div><h3 class="font-medium text-white mb-1">- {{ $t(option.label) || option.label }}+ {{ $t(option.label) }}</h3><pv-if="option.description"class="text-xs text-neutral-400 leading-relaxed">- {{ $t(option.description) || option.description }}+ {{ $t(option.description) }}</p></div></div>diff --git a/app/components/loader/Avatar.vue b/app/components/loader/Avatar.vueindex 6471e1ab..dd2bbf6f 100644--- a/app/components/loader/Avatar.vue+++ b/app/components/loader/Avatar.vue@@ -13,13 +13,13 @@v-if="getSetting('app:avatarUrl')"class="w-full h-full object-cover":src="getSetting('app:avatarUrl')?.toString()"- alt="Loading..."+ :alt="$t('ui.loading')"/><imgv-elseclass="w-full h-full object-cover"src="/web-app-manifest-192x192.png"- alt="Loading..."+ :alt="$t('ui.loading')"/></div></div>diff --git a/app/components/map/ClusterPin.vue b/app/components/map/ClusterPin.vueindex 8038870c..bb39acb3 100644--- a/app/components/map/ClusterPin.vue+++ b/app/components/map/ClusterPin.vue@@ -76,7 +76,7 @@ const sizeDelta = computed(() => {<ThumbImage:src="representativePhoto.thumbnailUrl!":alt="- representativePhoto.title || `聚类 ${representativePhoto.id}`+ representativePhoto.title || $t('map.cluster.altFallback', { id: representativePhoto.id })":thumbhash="representativePhoto.thumbnailHash":threshold="0.1"@@ -175,7 +175,7 @@ const sizeDelta = computed(() => {><ThumbImage:src="photo.thumbnailUrl!"- :alt="photo.title || `照片 ${photo.id}`"+ :alt="photo.title || $t('map.photo.altFallback', { id: photo.id })":thumbhash="photo.thumbnailHash":threshold="0.1"root-margin="200px"diff --git a/app/components/map/PhotoPin.vue b/app/components/map/PhotoPin.vueindex 3591980e..98e5952e 100644--- a/app/components/map/PhotoPin.vue+++ b/app/components/map/PhotoPin.vue@@ -302,7 +302,7 @@ const onClick = () => {<div class="absolute inset-0 overflow-hidden rounded-full"><ThumbImage:src="marker.thumbnailUrl!"- :alt="marker.title || `照片 ${marker.id}`"+ :alt="marker.title || $t('map.photo.altFallback', { id: marker.id })":thumbhash="marker.thumbnailHash":threshold="0.1"root-margin="100px"@@ -387,7 +387,7 @@ const onClick = () => {<div class="relative h-36 overflow-hidden"><ThumbImage:src="marker.thumbnailUrl!"- :alt="marker.title || `照片 ${marker.id}`"+ :alt="marker.title || $t('map.photo.altFallback', { id: marker.id })":thumbhash="marker.thumbnailHash":threshold="0.1"root-margin="200px"@@ -403,7 +403,7 @@ const onClick = () => {class="flex items-center gap-2 text-neutral-900 dark:text-white group/link"><h3 class="flex-1 text-lg font-semibold truncate">- {{ marker.title || `照片 ${marker.id}` }}+ {{ marker.title || $t('map.photo.altFallback', { id: marker.id }) }}</h3><Iconname="tabler:external-link"@@ -461,12 +461,12 @@ const onClick = () => {{{marker.exif?.GPSLatitude? `${Math.abs(Number(marker.exif?.GPSLatitude)).toFixed(4)}°${marker.exif?.GPSLatitudeRef}`- : '未知'+ : $t('map.photo.unknownCoord')}},{{marker.exif?.GPSLongitude? `${Math.abs(Number(marker.exif?.GPSLongitude)).toFixed(4)}°${marker.exif?.GPSLongitudeRef}`- : '未知'+ : $t('map.photo.unknownCoord')}}</span></div>diff --git a/app/components/masonry/Root.vue b/app/components/masonry/Root.vueindex c054f658..8bcfeb4b 100644--- a/app/components/masonry/Root.vue+++ b/app/components/masonry/Root.vue@@ -381,14 +381,14 @@ watch(currentPhotoIndex, (newIndex) => {:exit="{ opacity: 0, scale: 0.8 }":transition="{ duration: 0.2 }">- <UTooltip :text="$t('ui.action.backtotop.tooltip') || '回到顶部'">+ <UTooltip :text="$t('ui.action.backtotop.tooltip')"><UButtonvariant="soft"color="neutral"class="cursor-pointer bg-white/80 dark:bg-neutral-900/80 backdrop-blur-sm flex justify-center items-center rounded-full shadow-lg hover:bg-white dark:hover:bg-neutral-800 transition-all duration-300 border border-neutral-200/50 dark:border-neutral-700/50"icon="tabler:arrow-up"size="lg"- :aria-label="$t('ui.action.backtotop.ariaLabel') || '回到顶部'"+ :aria-label="$t('ui.action.backtotop.ariaLabel')"@click="scrollToTop"/></UTooltip>diff --git a/app/components/overlay/FilterPanel.vue b/app/components/overlay/FilterPanel.vueindex 57451cc1..dc7fe388 100644--- a/app/components/overlay/FilterPanel.vue+++ b/app/components/overlay/FilterPanel.vue@@ -109,7 +109,7 @@ const onShuffle = () => {v-model="searchQuery"size="sm"icon="tabler:search"- placeholder="搜索文件名等..."+ :placeholder="$t('ui.action.filter.searchPlaceholder')"class="w-32"@keydown.escape="isSearchMode = false"/>@@ -134,7 +134,7 @@ const onShuffle = () => {icon="tabler:search"@click="isSearchMode = true"/>- <UTooltip text="打乱列表">+ <UTooltip :text="$t('ui.action.filter.shuffleTooltip')"><UButtonsize="sm"variant="ghost"diff --git a/app/components/photo/GalleryThumbnail.vue b/app/components/photo/GalleryThumbnail.vueindex f5be38a6..074da2f7 100644--- a/app/components/photo/GalleryThumbnail.vue+++ b/app/components/photo/GalleryThumbnail.vue@@ -178,7 +178,7 @@ watch(isMobile, scrollToActiveThumbnail)<imgv-if="photo.thumbnailUrl":src="photo.thumbnailUrl"- :alt="photo.title || 'Photo thumbnail'"+ :alt="photo.title || $t('ui.photo.altFallback')"class="absolute inset-0 w-full h-full object-cover"loading="lazy"/>diff --git a/app/components/photo/InfoPanel.vue b/app/components/photo/InfoPanel.vueindex a11d9de5..2747a546 100644--- a/app/components/photo/InfoPanel.vue+++ b/app/components/photo/InfoPanel.vue@@ -248,7 +248,7 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {: null,props.exifData?.ISO? {- label: 'ISO',+ label: $t('exif.iso'),value: props.exifData.ISO.toString(),icon: 'tabler:sun-electricity',}diff --git a/app/components/photo/ProgressiveImage.vue b/app/components/photo/ProgressiveImage.vueindex b6b295cd..e3d4484f 100644--- a/app/components/photo/ProgressiveImage.vue+++ b/app/components/photo/ProgressiveImage.vue@@ -179,7 +179,7 @@ onUnmounted(() => {v-if="showThumbnail":src="thumbnailSrc":thumbhash="thumbhash"- :alt="alt"+ :alt="alt || $t('ui.photo.altFallback')"class="absolute inset-0 w-full h-full object-contain"thumbhash-class="opacity-50"image-contain@@ -217,7 +217,7 @@ onUnmounted(() => {name="tabler:photo-off"class="w-12 h-12"/>- <p class="text-sm">图片加载失败</p>+ <p class="text-sm">{{ $t('photo.image.loadError') }}</p></div></div></template>diff --git a/app/components/photo/ShareModal.vue b/app/components/photo/ShareModal.vueindex 5a62bf56..211a6bc5 100644--- a/app/components/photo/ShareModal.vue+++ b/app/components/photo/ShareModal.vue@@ -203,7 +203,7 @@ const copyLink = async () => {} catch (error) {toast.add({title: $t('ui.action.share.error.linkCopyFailed'),- description: (error as Error)?.message || 'Unknown error',+ description: (error as Error)?.message || $t('common.unknownError'),color: 'error',icon: 'tabler:x',duration: 3000,@@ -255,7 +255,7 @@ const downloadOgImage = async () => {} catch (error) {toast.add({title: $t('ui.action.share.error.ogImageDownloadFailed'),- description: (error as Error)?.message || 'Unknown error',+ description: (error as Error)?.message || $t('common.unknownError'),color: 'error',icon: 'tabler:x',duration: 3000,@@ -293,7 +293,7 @@ const downloadOriginalImage = async () => {} catch (error) {toast.add({title: $t('ui.action.share.error.originalImageDownloadFailed'),- description: (error as Error)?.message || 'Unknown error',+ description: (error as Error)?.message || $t('common.unknownError'),color: 'error',icon: 'tabler:x',duration: 3000,diff --git a/app/components/photo/Viewer.vue b/app/components/photo/Viewer.vueindex a7a75dc2..a8710b14 100644--- a/app/components/photo/Viewer.vue+++ b/app/components/photo/Viewer.vue@@ -467,15 +467,15 @@ const handleReactionSelect = async (reactionId: string, iconName: string) => {if (error?.statusCode === 429) {toast.add({icon: 'tabler:alert-circle',- title: '表态失败',- description: '操作过于频繁,请稍后再试',+ title: $t('viewer.reaction.error.title'),+ description: $t('viewer.reaction.error.rateLimited'),color: 'warning',})} else {toast.add({icon: 'tabler:alert-circle',- title: '表态失败',- description: error instanceof Error ? error.message : '未知错误',+ title: $t('viewer.reaction.error.title'),+ description: error instanceof Error ? error.message : $t('common.unknownError'),color: 'warning',})}diff --git a/app/components/setting/SettingField.vue b/app/components/setting/SettingField.vueindex 731fe056..bb03fd45 100644--- a/app/components/setting/SettingField.vue+++ b/app/components/setting/SettingField.vue@@ -90,7 +90,7 @@ const getComponentProps = (): Record<string, any> => {case 'tabs':propsMap.items = props.field.ui.options? Array.from(props.field.ui.options).map((opt: any) => ({- label: $t(opt.label) || opt.label,+ label: $t(opt.label),value: opt.value,icon: opt.icon,}))diff --git a/app/components/setting/SettingSection.vue b/app/components/setting/SettingSection.vueindex e722060a..42cdbbf7 100644--- a/app/components/setting/SettingSection.vue+++ b/app/components/setting/SettingSection.vue@@ -82,7 +82,7 @@ const handleSubmit = async (event: any) => {:loading="loading":disabled="loading">- {{ submitLabel ?? '保存设置' }}+ {{ submitLabel ?? $t('common.actions.saveSettings') }}</UButton></template></UCard>diff --git a/app/components/ui/AuthForm.vue b/app/components/ui/AuthForm.vueindex c7c628d8..5fa4078b 100644--- a/app/components/ui/AuthForm.vue+++ b/app/components/ui/AuthForm.vue@@ -62,7 +62,7 @@ const onSubmit = async (event: FormSubmitEvent<Schema>) => {<div class="mb-2"><imgsrc="/web-app-manifest-192x192.png"- alt="App Logo"+ :alt="$t('ui.authForm.logoAlt')"class="size-24 rounded-full object-cover"/></div>diff --git a/app/components/ui/CalendarHeatmap/CalendarHeatmap.vue b/app/components/ui/CalendarHeatmap/CalendarHeatmap.vueindex b892d281..18ae27ad 100644--- a/app/components/ui/CalendarHeatmap/CalendarHeatmap.vue+++ b/app/components/ui/CalendarHeatmap/CalendarHeatmap.vue@@ -35,7 +35,7 @@ const props = withDefaults(defineProps<Props>(), {rangeColor: undefined,locale: undefined,tooltip: true,- tooltipUnit: 'contributions',+ tooltipUnit: undefined,tooltipFormatter: undefined,vertical: false,tooltipNoDataFormatter: undefined,@@ -52,26 +52,39 @@ interface Emits {const emit = defineEmits<Emits>()-const DEFAULT_LOCALE: Locale = {+const { t } = useI18n()++const i18nLocale = computed<Locale>(() => ({months: [- 'Jan',- 'Feb',- 'Mar',- 'Apr',- 'May',- 'Jun',- 'Jul',- 'Aug',- 'Sep',- 'Oct',- 'Nov',- 'Dec',+ t('common.months.jan'),+ t('common.months.feb'),+ t('common.months.mar'),+ t('common.months.apr'),+ t('common.months.may'),+ t('common.months.jun'),+ t('common.months.jul'),+ t('common.months.aug'),+ t('common.months.sep'),+ t('common.months.oct'),+ t('common.months.nov'),+ t('common.months.dec'),],- days: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],- on: 'on',- less: 'Less',- more: 'More',-}+ days: [+ t('common.days.sun'),+ t('common.days.mon'),+ t('common.days.tue'),+ t('common.days.wed'),+ t('common.days.thu'),+ t('common.days.fri'),+ t('common.days.sat'),+ ],+ on: t('ui.calendarHeatmap.on'),+ less: t('common.heatmap.legend.less'),+ more: t('common.heatmap.legend.more'),+}))++const effectiveTooltipUnit = computed(() => props.tooltipUnit ?? t('ui.calendarHeatmap.contributions'))+const BASE_SQUARE_SIZE = 10const DAYS_IN_WEEK = 7@@ -101,7 +114,7 @@ const legendViewbox = ref('0 0 0 0')const daysLabelWrapperTransform = ref('')const monthsLabelWrapperTransform = ref('')const legendWrapperTransform = ref('')-const lo = ref<Locale>(DEFAULT_LOCALE)+const lo = ref<Locale>(i18nLocale.value)const rangeColor = ref<string[]>(props.rangeColor || [@@ -131,13 +144,13 @@ function tooltipOptions(day: CalendarItem): string | undefined {if (props.tooltip) {if (day.count !== undefined) {if (props.tooltipFormatter) {- return props.tooltipFormatter(day, props.tooltipUnit)+ return props.tooltipFormatter(day, effectiveTooltipUnit.value)}- return `<b>${day.count} ${props.tooltipUnit}</b> ${lo.value.on} ${lo.value.months[day.date.getMonth()]} ${day.date.getDate()}, ${day.date.getFullYear()}`+ return `<b>${day.count} ${effectiveTooltipUnit.value}</b> ${lo.value.on} ${lo.value.months[day.date.getMonth()]} ${day.date.getDate()}, ${day.date.getFullYear()}`} else if (props.tooltipNoDataFormatter) {return props.tooltipNoDataFormatter(day.date)} else {- return `<b>No ${props.tooltipUnit}</b> ${lo.value.on} ${lo.value.months[day.date.getMonth()]} ${day.date.getDate()}, ${day.date.getFullYear()}`+ return `<b>No ${effectiveTooltipUnit.value}</b> ${lo.value.on} ${lo.value.months[day.date.getMonth()]} ${day.date.getDate()}, ${day.date.getFullYear()}`}}return undefined@@ -280,9 +293,9 @@ watch()watch(- () => props.locale,- (l) => {- lo.value = l ? { ...DEFAULT_LOCALE, ...l } : DEFAULT_LOCALE+ [() => props.locale, i18nLocale],+ ([l, base]) => {+ lo.value = l ? { ...base, ...l } : base},{ immediate: true },)@@ -298,7 +311,7 @@ watch(watch([() => props.values,- () => props.tooltipUnit,+ effectiveTooltipUnit,() => props.tooltipFormatter,() => props.tooltipNoDataFormatter,() => props.max,diff --git a/app/components/ui/ThumbImage.vue b/app/components/ui/ThumbImage.vueindex cc6367a2..ca5fbd10 100644--- a/app/components/ui/ThumbImage.vue+++ b/app/components/ui/ThumbImage.vue@@ -106,7 +106,7 @@ const onError = () => {class="size-6 text-neutral-400"/><p class="mt-2 text-sm text-neutral-500 dark:text-neutral-400">- 加载图片失败+ {{ $t('ui.photo.loadError') }}</p></div></div>diff --git a/app/components/ui/UploadQueuePanel.vue b/app/components/ui/UploadQueuePanel.vueindex 2f5aa84f..7468e879 100644--- a/app/components/ui/UploadQueuePanel.vue+++ b/app/components/ui/UploadQueuePanel.vue@@ -176,7 +176,7 @@ const clearAllFiles = () => {<h3class="font-semibold text-sm text-neutral-900 dark:text-neutral-100">- 文件上传队列+ {{ $t('dashboard.photos.uploadQueuePanel.title') }}<span class="text-neutral-500 dark:text-neutral-400">({{ stats.total }})</span>@@ -189,37 +189,37 @@ const clearAllFiles = () => {v-if="stats.waiting > 0"class="text-neutral-600 dark:text-neutral-400">- {{ stats.waiting }} 等待+ {{ stats.waiting }} {{ $t('dashboard.photos.uploadQueuePanel.stats.waiting') }}</span><spanv-if="stats.active > 0"class="text-blue-600 dark:text-blue-400">- {{ stats.active }} 进行中+ {{ stats.active }} {{ $t('dashboard.photos.uploadQueuePanel.stats.active') }}</span><spanv-if="stats.completed > 0"class="text-green-600 dark:text-green-400">- {{ stats.completed }} 完成+ {{ stats.completed }} {{ $t('dashboard.photos.uploadQueuePanel.stats.completed') }}</span><spanv-if="stats.error > 0"class="text-red-600 dark:text-red-400">- {{ stats.error }} 失败+ {{ stats.error }} {{ $t('dashboard.photos.uploadQueuePanel.stats.error') }}</span><spanv-if="stats.skipped > 0"class="text-yellow-600 dark:text-yellow-400">- {{ stats.skipped }} 跳过+ {{ stats.skipped }} {{ $t('dashboard.photos.uploadQueuePanel.stats.skipped') }}</span><spanv-if="stats.blocked > 0"class="text-red-600 dark:text-red-400">- {{ stats.blocked }} 被阻止+ {{ stats.blocked }} {{ $t('dashboard.photos.uploadQueuePanel.stats.blocked') }}</span></div></div>@@ -309,9 +309,7 @@ const clearAllFiles = () => {><div class="flex items-center justify-between gap-2"><div class="text-xs text-neutral-500 dark:text-neutral-400">- {{ stats.completed }} 完成, {{ stats.error }} 失败, {{- stats.skipped- }} 跳过, {{ stats.blocked }} 阻止+ {{ $t('dashboard.photos.uploadQueuePanel.summary', { completed: stats.completed, error: stats.error, skipped: stats.skipped, blocked: stats.blocked }) }}</div><div class="flex items-center gap-0.5">@@ -322,7 +320,7 @@ const clearAllFiles = () => {color="neutral"@click="clearCompletedFiles">- 清除已完成+ {{ $t('dashboard.photos.uploadQueuePanel.actions.clearCompleted') }}</UButton><UButton@@ -332,7 +330,7 @@ const clearAllFiles = () => {icon="tabler:trash"@click="clearAllFiles">- 清除全部+ {{ $t('dashboard.photos.uploadQueuePanel.actions.clearAll') }}</UButton><UButton@@ -342,7 +340,7 @@ const clearAllFiles = () => {icon="tabler:list-check"@click="emit('goToQueue')">- 队列管理+ {{ $t('dashboard.photos.uploadQueuePanel.actions.goToQueue') }}</UButton></div></div>diff --git a/app/composables/useImageLoader.ts b/app/composables/useImageLoader.tsindex 38c87fda..c1ec1da9 100644--- a/app/composables/useImageLoader.ts+++ b/app/composables/useImageLoader.ts@@ -15,6 +15,7 @@ export const useImageLoader = (updateHighResImageRendered?: (isRendered: boolean) => void,onImageLoaded?: () => void,) => {+ const { t } = useI18n()if (highResLoaded || !isCurrentImage || error) return nullconst loaderManager = new ImageLoaderManager()@@ -45,7 +46,7 @@ export const useImageLoader = (loadingIndicatorRef?.updateLoadingState({isVisible: true,isError: true,- message: '载入图片失败',+ message: t('viewer.photoload.loadError'),})}}diff --git a/app/composables/usePhotoSort.ts b/app/composables/usePhotoSort.tsindex 167bc464..f64439af 100644--- a/app/composables/usePhotoSort.ts+++ b/app/composables/usePhotoSort.ts@@ -133,7 +133,7 @@ export function usePhotoSort() {// 获取当前排序的显示标签const currentSortLabel = computed(- () => currentSortOption.value?.labelI18n || '拍摄时间(新到旧)',+ () => currentSortOption.value?.labelI18n || 'ui.action.sort.options.dateTakenDesc',)// 获取当前排序的显示图标diff --git a/app/composables/useSettingsForm.ts b/app/composables/useSettingsForm.tsindex 902d3428..69e53155 100644--- a/app/composables/useSettingsForm.ts+++ b/app/composables/useSettingsForm.ts@@ -15,6 +15,7 @@ import type {* const { fields, state, submit, loading } = useSettingsForm('app')*/export function useSettingsForm(namespace: string) {+ const { t } = useI18n()const toast = useToast()const fields = ref<FieldDescriptor[]>([])@@ -48,7 +49,7 @@ export function useSettingsForm(namespace: string) {const message = (err as Error).messageerror.value = messagetoast.add({- title: '加载设置失败',+ title: t('settings.form.loadFailed'),description: message,color: 'error',})@@ -89,14 +90,14 @@ export function useSettingsForm(namespace: string) {await fetchFields()toast.add({- title: '设置已保存',+ title: t('settings.form.saveSuccess'),color: 'success',})} catch (err) {const message = (err as Error).messageerror.value = messagetoast.add({- title: '保存设置失败',+ title: t('settings.form.saveFailed'),description: message,color: 'error',})diff --git a/app/composables/useUpload.ts b/app/composables/useUpload.tsindex b4ff575a..5b38be78 100644--- a/app/composables/useUpload.ts+++ b/app/composables/useUpload.ts@@ -33,6 +33,7 @@ export interface UseUploadOptions {}export function useUpload(options: UseUploadOptions = {}) {+ const { t } = useI18n()const {timeout = 0,withCredentials = false,@@ -186,13 +187,13 @@ export function useUpload(options: UseUploadOptions = {}) {if (xhr.status === 0) {// 状态码 0 通常表示网络连接失败、CORS 问题或服务器不可达- errorMessage = '网络连接失败'+ errorMessage = t('upload.runtimeError.networkFailed')} else if (xhr.status >= 400 && xhr.status < 500) {- errorMessage = `客户端错误 (${xhr.status})`+ errorMessage = t('upload.runtimeError.clientError', { status: xhr.status })} else if (xhr.status >= 500) {- errorMessage = `服务器错误 (${xhr.status})`+ errorMessage = t('upload.runtimeError.serverError', { status: xhr.status })} else {- errorMessage = `网络错误 (状态码: ${xhr.status})`+ errorMessage = t('upload.runtimeError.networkError', { status: xhr.status })}// 检查是否可以重试@@ -205,7 +206,11 @@ export function useUpload(options: UseUploadOptions = {}) {if (canRetry) {updateStatus({status: 'error',- error: `${errorMessage} (尝试 ${attempt}/${maxRetries})`,+ error: t('upload.runtimeError.retrying', {+ message: errorMessage,+ attempt,+ max: maxRetries,+ }),endTime,})callbacks.onRetry?.(attempt, maxRetries)@@ -227,7 +232,7 @@ export function useUpload(options: UseUploadOptions = {}) {// 超时处理xhr.addEventListener('timeout', () => {const endTime = Date.now()- const errorMessage = `上传超时 (${timeout}ms)`+ const errorMessage = t('upload.runtimeError.timeout', { timeout })// 检查是否可以重试(超时也可以重试)const canRetry = attempt < maxRetries@@ -235,7 +240,11 @@ export function useUpload(options: UseUploadOptions = {}) {if (canRetry) {updateStatus({status: 'error',- error: `${errorMessage} (尝试 ${attempt}/${maxRetries})`,+ error: t('upload.runtimeError.retrying', {+ message: errorMessage,+ attempt,+ max: maxRetries,+ }),endTime,})callbacks.onRetry?.(attempt, maxRetries)@@ -260,7 +269,7 @@ export function useUpload(options: UseUploadOptions = {}) {updateStatus({ status: 'aborted', endTime })callbacks.onStatusChange?.('aborted')callbacks.onAbort?.()- reject(new Error('上传已中止'))+ reject(new Error(t('upload.runtimeError.aborted')))})// 状态变化处理@@ -276,39 +285,39 @@ export function useUpload(options: UseUploadOptions = {}) {// 根据状态码提供更友好的错误信息switch (xhr.status) {case 400:- errorMessage = '请求格式错误'+ errorMessage = t('upload.runtimeError.badRequest')breakcase 401:- errorMessage = '未授权访问'+ errorMessage = t('upload.runtimeError.unauthorized')breakcase 403:- errorMessage = '访问被拒绝'+ errorMessage = t('upload.runtimeError.forbidden')breakcase 404:- errorMessage = '上传接口不存在'+ errorMessage = t('upload.runtimeError.notFound')breakcase 409:- errorMessage = '文件冲突'+ errorMessage = t('upload.runtimeError.conflict')breakcase 413:- errorMessage = '文件过大'+ errorMessage = t('upload.runtimeError.fileTooLarge')breakcase 415:- errorMessage = '不支持的文件类型'+ errorMessage = t('upload.runtimeError.unsupportedType')breakcase 429:- errorMessage = '上传频率过高'+ errorMessage = t('upload.runtimeError.rateLimited')breakcase 500:- errorMessage = '服务器内部错误'+ errorMessage = t('upload.runtimeError.internalServerError')breakcase 502:case 503:case 504:- errorMessage = '服务器暂时不可用'+ errorMessage = t('upload.runtimeError.serviceUnavailable')breakdefault:- errorMessage = `HTTP 错误: ${xhr.status}`+ errorMessage = t('upload.runtimeError.httpError', { status: xhr.status })}// 尝试获取服务器返回的详细错误信息@@ -373,7 +382,7 @@ export function useUpload(options: UseUploadOptions = {}) {// 格式化时间const formatTime = (seconds: number): string => {- if (!isFinite(seconds) || seconds < 0) return '计算中...'+ if (!isFinite(seconds) || seconds < 0) return t('upload.progress.calculating')const hours = Math.floor(seconds / 3600)const minutes = Math.floor((seconds % 3600) / 60)@@ -384,7 +393,7 @@ export function useUpload(options: UseUploadOptions = {}) {} else if (minutes > 0) {return `${minutes}:${secs.toString().padStart(2, '0')}`} else {- return `${secs}秒`+ return t('upload.progress.seconds', { seconds: secs })}}diff --git a/app/composables/useWizardForm.ts b/app/composables/useWizardForm.tsindex aa1599cd..9bb06c99 100644--- a/app/composables/useWizardForm.ts+++ b/app/composables/useWizardForm.ts@@ -11,6 +11,7 @@ import { useWizardStore } from '~/stores/wizard'* @param namespace Namespace for the wizard step (e.g. 'admin', 'storage')*/export function useWizardForm(namespace: string) {+ const { t } = useI18n()const toast = useToast()const fields = ref<FieldDescriptor[]>([])const loading = ref(false)@@ -80,7 +81,7 @@ export function useWizardForm(namespace: string) {} catch (e: any) {error.value = e.messagetoast.add({- title: 'Failed to load wizard schema',+ title: t('wizard.form.loadSchemaFailed'),description: e.message,color: 'error',})diff --git a/app/layouts/dashboard.vue b/app/layouts/dashboard.vueindex 8aec4ba1..0ffa525c 100644--- a/app/layouts/dashboard.vue+++ b/app/layouts/dashboard.vue@@ -79,7 +79,7 @@ const navItems = computed<NavigationMenuItem[][]>(() => [target: '_blank',},{- label: 'Documentation',+ label: $t('dashboard.nav.documentation'),icon: 'tabler:book',to: 'https://chronoframe.bh8.ga/',target: '_blank',@@ -119,11 +119,11 @@ const handleLogin = () => {<p class="text-gray-500 text-center">{{!user?.isAdmin- ? 'Please login to view dashboard'- : 'Sorry, you do not have access to this page.'+ ? $t('dashboard.access.pleaseLogin')+ : $t('dashboard.access.noAccess')}}</p>- <UButton @click="handleLogin">Sign In</UButton>+ <UButton @click="handleLogin">{{ $t('auth.form.signin.title') }}</UButton></div><UDashboardGroup v-else><UDashboardSidebardiff --git a/app/layouts/masonry.vue b/app/layouts/masonry.vueindex f6f9694f..7a22461e 100644--- a/app/layouts/masonry.vue+++ b/app/layouts/masonry.vue@@ -21,7 +21,7 @@ const { photos } = usePhotos()<LoaderAvatar /><span class="loading-scan-wrapper"><span class="text-base font-medium loading-scan-text">- LOADING+ {{ $t('ui.loading') }}</span></span></div>diff --git a/app/layouts/onboarding.vue b/app/layouts/onboarding.vueindex fa60d7d3..9f78dc73 100644--- a/app/layouts/onboarding.vue+++ b/app/layouts/onboarding.vue@@ -89,7 +89,7 @@ const currentStepIndex = computed(() => {<div class="flex items-center gap-3"><imgsrc="/favicon-96x96.png"- alt="ChronoFrame Logo"+ :alt="$t('onboarding.layout.logoAlt')"class="size-14 object-contain"/><span@@ -209,7 +209,7 @@ const currentStepIndex = computed(() => {<div class="flex items-center gap-3"><imgsrc="/favicon-96x96.png"- alt="ChronoFrame Logo"+ :alt="$t('onboarding.layout.logoAlt')"class="size-8 object-contain"/><span class="font-bold">ChronoFrame</span>diff --git a/app/pages/albums/[albumId].vue b/app/pages/albums/[albumId].vueindex 5799bbb0..87ce4a97 100644--- a/app/pages/albums/[albumId].vue+++ b/app/pages/albums/[albumId].vue@@ -21,7 +21,7 @@ const {if (error.value) {throw createError({statusCode: 404,- statusMessage: 'Album not found',+ statusMessage: $t('album.notFound'),})}@@ -145,7 +145,7 @@ onUnmounted(() => {onBeforeMount(() => {useHead({- title: albumData.value ? albumData.value.title : 'Album Not Found',+ title: albumData.value ? albumData.value.title : $t('album.notFound'),})})</script>@@ -255,7 +255,7 @@ onBeforeMount(() => {<!-- Created --><divclass="flex items-center gap-1"- :title="`Created: ${$dayjs(albumData.createdAt).format('YYYY-MM-DD HH:mm:ss')}`"+ :title="$t('album.createdTooltip', { date: $dayjs(albumData.createdAt).format('YYYY-MM-DD HH:mm:ss') })"><Iconname="tabler:clock-plus"@@ -362,14 +362,14 @@ onBeforeMount(() => {:exit="{ opacity: 0, scale: 0.8 }":transition="{ duration: 0.2 }">- <UTooltip :text="$t('ui.action.backtotop.tooltip') || '回到顶部'">+ <UTooltip :text="$t('ui.action.backtotop.tooltip')"><UButtonvariant="soft"color="neutral"class="cursor-pointer bg-white/80 dark:bg-neutral-900/80 backdrop-blur-sm flex justify-center items-center rounded-full shadow-lg hover:bg-white dark:hover:bg-neutral-800 transition-all duration-300 border border-neutral-200/50 dark:border-neutral-700/50"icon="tabler:arrow-up"size="lg"- :aria-label="$t('ui.action.backtotop.ariaLabel') || '回到顶部'"+ :aria-label="$t('ui.action.backtotop.ariaLabel')"@click="scrollToTop"/></UTooltip>diff --git a/app/pages/albums/index.vue b/app/pages/albums/index.vueindex 29e47fa8..2f4ec8ef 100644--- a/app/pages/albums/index.vue+++ b/app/pages/albums/index.vue@@ -161,7 +161,7 @@ const hoveredAlbum = ref<number | null>(null):lazy="false":src="photo.thumbnailUrl!":thumbhash="photo.thumbnailHash"- :alt="photo.exif?.ImageDescription || 'Photo'"+ :alt="photo.exif?.ImageDescription || $t('ui.photo.altFallback')":style="{aspectRatio: photo.aspectRatio || 1,}"diff --git a/app/pages/dashboard/albums.vue b/app/pages/dashboard/albums.vueindex 247f69ff..b72e28ce 100644--- a/app/pages/dashboard/albums.vue+++ b/app/pages/dashboard/albums.vue@@ -497,7 +497,7 @@ const columns: any[] = [variant="soft"color="neutral">- {{ (row.original as unknown as AlbumItem).photoCount || 0 }} 张+ {{ $t('dashboard.albums.photoCount', { count: (row.original as unknown as AlbumItem).photoCount || 0 }) }}</UBadge></template>@@ -1026,7 +1026,7 @@ const columns: any[] = [<pclass="truncate text-[10px] font-medium text-white/92">- {{ photo.title || photo.storageKey || 'Untitled' }}+ {{ photo.title || photo.storageKey || $t('ui.photo.untitled') }}</p><p class="truncate text-[9px] text-white/72">{{diff --git a/app/pages/dashboard/index.vue b/app/pages/dashboard/index.vueindex 01dbf410..1b8f1dcd 100644--- a/app/pages/dashboard/index.vue+++ b/app/pages/dashboard/index.vue@@ -247,7 +247,7 @@ const onShareSite = () => {</div> --><div><p class="text-sm text-neutral-500 dark:text-neutral-400">- Share Your Site+ {{ $t('dashboard.overview.shareSite.label') }}</p><p class="text-lg font-bold"><UButton@@ -258,7 +258,7 @@ const onShareSite = () => {trailing-icon="tabler:external-link"@click="onShareSite">- 分享你的站点+ {{ $t('dashboard.overview.shareSite.button') }}</UButton></p></div>@@ -385,7 +385,7 @@ const onShareSite = () => {{{dashboardStats?.memory? `${Math.round((dashboardStats.memory.used / 1024 / 1024 / 1024) * 100) / 100}GB / ${Math.round((dashboardStats.memory.total / 1024 / 1024 / 1024) * 100) / 100}GB`- : 'memory info not available'+ : $t('dashboard.overview.memoryUnavailable')}}</div><span>diff --git a/app/pages/dashboard/logs.vue b/app/pages/dashboard/logs.vueindex f6b6f68c..1a459728 100644--- a/app/pages/dashboard/logs.vue+++ b/app/pages/dashboard/logs.vue@@ -21,7 +21,7 @@ const selectedLevels = ref<string[]>([])const selectedTags = ref<string[]>([])const autoScroll = ref(true)const isConnected = ref(false)-const connectionStatus = ref('')+const connectionState = ref<'idle' | 'connecting' | 'loadingHistory' | 'live' | 'error'>('idle')const logContainer = ref<HTMLElement>()const isInitialLoading = ref(false)const loadingProgress = ref(0)@@ -265,11 +265,11 @@ const getLogLineStyle = (log: LogEntry) => {// 获取连接状态样式const getConnectionStatusClass = () => {- if (connectionStatus.value.includes('实时')) {+ if (connectionState.value === 'live') {return 'text-success'- } else if (connectionStatus.value.includes('连接')) {+ } else if (connectionState.value === 'connecting' || connectionState.value === 'loadingHistory') {return 'text-info'- } else if (connectionStatus.value.includes('错误')) {+ } else if (connectionState.value === 'error') {return 'text-error'}return 'text-warning'@@ -283,13 +283,13 @@ const getConnectionStatusColor = ():| 'secondary'| 'warning'| 'neutral' => {- if (connectionStatus.value.includes('实时')) {+ if (connectionState.value === 'live') {return 'success'}- if (connectionStatus.value.includes('连接')) {+ if (connectionState.value === 'connecting' || connectionState.value === 'loadingHistory') {return 'info'}- if (connectionStatus.value.includes('错误')) {+ if (connectionState.value === 'error') {return 'error'}return 'warning'@@ -362,7 +362,7 @@ const connectLogStream = () => {isInitialLoading.value = trueloadingProgress.value = 5- connectionStatus.value = '正在连接...'+ connectionState.value = 'connecting'eventSource = new EventSource(`/api/system/logs?initial=${INITIAL_LOG_LINES}`)let initialLoadCompleteTimer: NodeJS.Timeout | null = null@@ -370,7 +370,7 @@ const connectLogStream = () => {eventSource.onopen = () => {isConnected.value = true- connectionStatus.value = '加载历史日志...'+ connectionState.value = 'loadingHistory'}eventSource.onmessage = (event) => {@@ -391,7 +391,7 @@ const connectLogStream = () => {// 设置新的定时器,如果在指定时间内没有新消息,认为初始加载完成initialLoadCompleteTimer = setTimeout(() => {if (isInitialLoading.value) {- connectionStatus.value = '实时'+ connectionState.value = 'live'// 让加载指示器显示完成状态后再隐藏setTimeout(() => {isInitialLoading.value = false@@ -411,7 +411,7 @@ const connectLogStream = () => {eventSource.onerror = (error) => {isConnected.value = false- connectionStatus.value = '连接错误'+ connectionState.value = 'error'console.error('EventSource error:', error)}}@@ -480,35 +480,29 @@ onUnmounted(() => {app.log</h2><UBadge- v-if="connectionStatus"+ v-if="connectionState !== 'idle'"size="sm"variant="soft":color="getConnectionStatusColor()">- {{ connectionStatus }}+ {{ $t('dashboard.logs.connectionStatus.' + connectionState) }}</UBadge></div><divclass="mt-1 flex items-center gap-2 text-xs text-neutral-500 dark:text-neutral-400">- <span- >总条数/展示: {{ logs.length }}/{{- filteredLogs.length- }}</span- >- <span v-if="availableTags.length"- >Tag: {{ availableTags.length }}</span- >+ <span>{{ $t('dashboard.logs.countLabel', { total: logs.length, shown: filteredLogs.length }) }}</span>+ <span v-if="availableTags.length">{{ $t('dashboard.logs.tagCount', { count: availableTags.length }) }}</span></div></div><span- v-if="connectionStatus"+ v-if="connectionState !== 'idle'":class="['text-xs font-medium hidden sm:inline',getConnectionStatusClass(),]">- {{ connectionStatus }}+ {{ $t('dashboard.logs.connectionStatus.' + connectionState) }}</span></div>@@ -516,7 +510,7 @@ onUnmounted(() => {<!-- Search --><UInputv-model="searchQuery"- placeholder="搜索日志内容..."+ :placeholder="$t('dashboard.logs.search.placeholder')"size="sm"class="w-full sm:w-56 md:w-64"icon="tabler:search"@@ -531,7 +525,7 @@ onUnmounted(() => {variant="link"size="sm"icon="tabler:x"- aria-label="Clear search input"+ :aria-label="$t('dashboard.logs.search.clearAriaLabel')"@click="searchQuery = ''"/></template>@@ -547,7 +541,7 @@ onUnmounted(() => {"multiplesize="sm"- placeholder="过滤级别"+ :placeholder="$t('dashboard.logs.filter.levelPlaceholder')"class="w-28":clearable="false"/>@@ -556,7 +550,7 @@ onUnmounted(() => {:items="availableTags"multiplesize="sm"- placeholder="筛选 Tag"+ :placeholder="$t('dashboard.logs.filter.tagPlaceholder')"class="w-40 sm:w-52":clearable="false"/>@@ -595,7 +589,7 @@ onUnmounted(() => {/></div><div class="text-sm text-gray-600 dark:text-gray-400 mb-2">- 正在加载历史日志...+ {{ $t('dashboard.logs.connectionStatus.loadingHistory') }}</div><div class="w-64 bg-gray-200 dark:bg-gray-700 rounded-full h-2"><div@@ -683,8 +677,8 @@ onUnmounted(() => {v-if="filteredLogs.length === 0"class="text-center py-8 text-gray-500 dark:text-gray-400 absolute inset-0">- <div v-if="logs.length === 0">等待日志数据...</div>- <div v-else>没有匹配的日志条目</div>+ <div v-if="logs.length === 0">{{ $t('dashboard.logs.empty.waiting') }}</div>+ <div v-else>{{ $t('dashboard.logs.empty.noMatch') }}</div></div></div></div>diff --git a/app/pages/dashboard/photos.vue b/app/pages/dashboard/photos.vueindex 952bf062..87059009 100644--- a/app/pages/dashboard/photos.vue+++ b/app/pages/dashboard/photos.vue@@ -800,14 +800,14 @@ const columns: TableColumn<Photo>[] = [: table.getIsAllPageRowsSelected(),'onUpdate:modelValue': (value: boolean | 'indeterminate') =>table.toggleAllPageRowsSelected(!!value),- 'aria-label': 'Select all',+ 'aria-label': $t('dashboard.photos.table.selectAllAria'),}),cell: ({ row }) =>h(UCheckbox, {modelValue: row.getIsSelected(),'onUpdate:modelValue': (value: boolean | 'indeterminate') =>row.toggleSelected(!!value),- 'aria-label': 'Select row',+ 'aria-label': $t('dashboard.photos.table.selectRowAria'),}),enableHiding: false,},@@ -819,7 +819,7 @@ const columns: TableColumn<Photo>[] = [const url = row.original.thumbnailUrlreturn h(ThumbImage, {src: url || row.original.originalUrl || '',- alt: row.original.title || 'Photo Thumbnail',+ alt: row.original.title || $t('dashboard.photos.table.thumbnailAlt'),key: row.original.id,thumbhash: row.original.thumbnailHash || '',class: 'size-16 min-w-[100px] object-cover rounded-md shadow',@@ -2786,7 +2786,7 @@ onUnmounted(() => {<!-- 图片预览模态框 --><UModalv-model:open="isImagePreviewOpen"- title="Photo Preview"+ :title="$t('dashboard.photos.previewTitle')":description="previewingPhoto?.description || ''"><template #body>diff --git a/app/pages/dashboard/queue.vue b/app/pages/dashboard/queue.vueindex e4c43a93..536774c4 100644--- a/app/pages/dashboard/queue.vue+++ b/app/pages/dashboard/queue.vue@@ -71,7 +71,7 @@ const clearNonActiveTasks = async () => {toast.add({title: $t('dashboard.queue.messages.clearSuccess'),- description: `清除了 ${result.deletedCount} 个任务`,+ description: $t('dashboard.queue.messages.clearSuccessDescription', { count: result.deletedCount }),color: 'success',})@@ -80,7 +80,7 @@ const clearNonActiveTasks = async () => {console.error('Clear tasks failed:', error)toast.add({title: $t('dashboard.queue.messages.operationFailed'),- description: error?.message || '清理任务失败',+ description: error?.message || $t('dashboard.queue.messages.clearFailed'),color: 'error',})} finally {@@ -106,7 +106,7 @@ const retryTask = async (taskId: number) => {console.error('Retry task failed:', error)toast.add({title: $t('dashboard.queue.messages.operationFailed'),- description: error?.message || '重试任务失败',+ description: error?.message || $t('dashboard.queue.messages.retryFailed'),color: 'error',})}@@ -123,7 +123,7 @@ const retryAllFailedTasks = async () => {toast.add({title: $t('dashboard.queue.messages.batchRetrySuccess'),- description: `重试了 ${result.retriedCount} 个任务`,+ description: $t('dashboard.queue.messages.batchRetrySuccessDescription', { count: result.retriedCount }),color: 'success',})@@ -132,7 +132,7 @@ const retryAllFailedTasks = async () => {console.error('Batch retry failed:', error)toast.add({title: $t('dashboard.queue.messages.operationFailed'),- description: error?.message || '批量重试失败',+ description: error?.message || $t('dashboard.queue.messages.batchRetryFailed'),color: 'error',})} finally {@@ -157,7 +157,7 @@ const deleteTask = async (taskId: number) => {console.error('Delete task failed:', error)toast.add({title: $t('dashboard.queue.messages.operationFailed'),- description: error?.message || '删除任务失败',+ description: error?.message || $t('dashboard.queue.messages.deleteFailed'),color: 'error',})}@@ -221,7 +221,7 @@ const columns: TableColumn<any>[] = [variant: 'ghost',icon: 'tabler:chevron-down',square: true,- 'aria-label': 'Expand',+ 'aria-label': $t('dashboard.queue.table.expandAria'),ui: {leadingIcon: ['transition-transform',@@ -344,7 +344,7 @@ onBeforeUnmount(() => {<UCard><template #header><div class="flex items-center justify-between pb-2">- <h2 class="text-lg font-semibold">队列任务列表</h2>+ <h2 class="text-lg font-semibold">{{ $t('dashboard.queue.taskListTitle') }}</h2><div class="flex items-center gap-2"><USelectMenuv-model="statusFilter"@@ -476,7 +476,7 @@ onBeforeUnmount(() => {<!-- 任务ID和类型 --><div class="flex gap-4"><div>- <p class="text-xs text-neutral-500">PhotoId</p>+ <p class="text-xs text-neutral-500">{{ $t('dashboard.queue.table.detail.photoId') }}</p><p class="text-sm capitalize">{{ row.original.payload.photoId || '-' }}</p>@@ -524,7 +524,7 @@ onBeforeUnmount(() => {v-if="row.original.payload"class="mt-3">- <p class="text-xs text-gray-500 mb-1">Payload</p>+ <p class="text-xs text-gray-500 mb-1">{{ $t('dashboard.queue.table.detail.payload') }}</p><preclass="text-xs bg-neutral-100/50 dark:bg-neutral-800/50 p-2 rounded overflow-x-auto text-neutral-700 dark:text-neutral-300">{{diff --git a/app/pages/dashboard/settings/general.vue b/app/pages/dashboard/settings/general.vueindex 27adc08a..c75244a1 100644--- a/app/pages/dashboard/settings/general.vue+++ b/app/pages/dashboard/settings/general.vue@@ -88,7 +88,7 @@ const handleAppearanceSettingsSubmit = async () => {{{ $t('title.generalSettings') }}</h2><p class="text-sm text-neutral-600 dark:text-neutral-400">- 管理站点基础信息与展示外观。更改会立即影响控制台和前台展示。+ {{ $t('settings.general.description') }}</p></section>@@ -141,7 +141,7 @@ const handleAppearanceSettingsSubmit = async () => {:disabled="!isAppDirty"@click="resetAppSettings">- 重置+ {{ $t('common.actions.reset') }}</UButton><UButton:loading="loading"@@ -150,7 +150,7 @@ const handleAppearanceSettingsSubmit = async () => {:disabled="!isAppDirty"icon="tabler:device-floppy">- 保存设置+ {{ $t('common.actions.saveSettings') }}</UButton></div></footer>@@ -201,7 +201,7 @@ const handleAppearanceSettingsSubmit = async () => {:disabled="!isAppearanceDirty"@click="resetAppearanceSettings">- 重置+ {{ $t('common.actions.reset') }}</UButton><UButton:loading="loading"@@ -210,7 +210,7 @@ const handleAppearanceSettingsSubmit = async () => {:disabled="!isAppearanceDirty"icon="tabler:device-floppy">- 保存设置+ {{ $t('common.actions.saveSettings') }}</UButton></div></footer>diff --git a/app/pages/dashboard/settings/map.vue b/app/pages/dashboard/settings/map.vueindex 1b5f36c8..7423fc29 100644--- a/app/pages/dashboard/settings/map.vue+++ b/app/pages/dashboard/settings/map.vue@@ -101,7 +101,7 @@ const handleLocationSettingsSubmit = async () => {{{ $t('title.mapAndLocation') }}</h2><p class="text-sm text-neutral-600 dark:text-neutral-400">- 配置地图展示与地理编码服务。地图服务商会影响地图样式与访问凭证。+ {{ $t('settings.map.sectionDescription') }}</p></section>@@ -152,7 +152,7 @@ const handleLocationSettingsSubmit = async () => {:disabled="!isMapDirty"@click="resetMapSettings">- 重置+ {{ $t('common.actions.reset') }}</UButton><UButton:loading="mapLoading"@@ -161,7 +161,7 @@ const handleLocationSettingsSubmit = async () => {:disabled="!isMapDirty"icon="tabler:device-floppy">- 保存设置+ {{ $t('common.actions.saveSettings') }}</UButton></div></footer>@@ -214,7 +214,7 @@ const handleLocationSettingsSubmit = async () => {:disabled="!isLocationDirty"@click="resetLocationSettings">- 重置+ {{ $t('common.actions.reset') }}</UButton><UButton:loading="locationLoading"@@ -223,7 +223,7 @@ const handleLocationSettingsSubmit = async () => {:disabled="!isLocationDirty"icon="tabler:device-floppy">- 保存设置+ {{ $t('common.actions.saveSettings') }}</UButton></div></footer>diff --git a/app/pages/dashboard/settings/privacy.vue b/app/pages/dashboard/settings/privacy.vueindex 3e7811e0..ee74fa1c 100644--- a/app/pages/dashboard/settings/privacy.vue+++ b/app/pages/dashboard/settings/privacy.vue@@ -59,7 +59,7 @@ const handlePrivacySettingsSubmit = async () => {{{ $t('title.privacySettings') }}</h2><p class="text-sm text-neutral-600 dark:text-neutral-400">- 管理照片上传时的数据隐私策略。建议在公开站点启用位置信息抹除。+ {{ $t('settings.privacy.sectionDescription') }}</p></section>@@ -108,7 +108,7 @@ const handlePrivacySettingsSubmit = async () => {:disabled="!isPrivacyDirty"@click="resetPrivacySettings">- 重置+ {{ $t('common.actions.reset') }}</UButton><UButton:loading="privacyLoading"@@ -117,7 +117,7 @@ const handlePrivacySettingsSubmit = async () => {:disabled="!isPrivacyDirty"icon="tabler:device-floppy">- 保存设置+ {{ $t('common.actions.saveSettings') }}</UButton></div></footer>diff --git a/app/pages/dashboard/settings/storage.vue b/app/pages/dashboard/settings/storage.vueindex 16c00a8f..2801918f 100644--- a/app/pages/dashboard/settings/storage.vue+++ b/app/pages/dashboard/settings/storage.vue@@ -63,11 +63,11 @@ const availableStorageColumns: TableColumn<SettingStorageProvider>[] = [})},},- { accessorKey: 'name', header: '存储名称' },- { accessorKey: 'provider', header: '存储类型' },+ { accessorKey: 'name', header: $t('settings.storage.table.columns.name') },+ { accessorKey: 'provider', header: $t('settings.storage.table.columns.type') },{accessorKey: 'actions',- header: '操作',+ header: $t('settings.storage.table.columns.actions'),cell: (cell) => {return h('div', { class: 'flex items-center gap-2' }, [h(@@ -81,7 +81,7 @@ const availableStorageColumns: TableColumn<SettingStorageProvider>[] = [currentStorageProvider.value?.value === cell.row.original.id,onClick: () => onStorageDelete(cell.row.original.id),},- { default: () => '删除' },+ { default: () => $t('common.actions.delete') },),])},@@ -117,23 +117,23 @@ const handleStorageSettingsSubmit = async (close?: () => void) => {refreshCurrentStorageProvider()close?.()toast.add({- title: '设置已保存',+ title: $t('settings.storage.messages.saved'),color: 'success',})} catch (error) {toast.add({- title: '保存设置时出错',+ title: $t('settings.storage.messages.saveError'),description: (error as Error).message,color: 'error',})}}-const providerOptions = [- { label: 'AWS S3 兼容存储', value: 's3', icon: PROVIDER_ICON.s3 },- { label: '本地存储', value: 'local', icon: PROVIDER_ICON.local },- { label: 'OpenList', value: 'openlist', icon: PROVIDER_ICON.openlist },-]+const providerOptions = computed(() => [+ { label: $t('settings.storage.providers.s3'), value: 's3', icon: PROVIDER_ICON.s3 },+ { label: $t('settings.storage.providers.local'), value: 'local', icon: PROVIDER_ICON.local },+ { label: $t('settings.storage.providers.openlist'), value: 'openlist', icon: PROVIDER_ICON.openlist },+])const storageConfigState = reactive<{name: string@@ -317,7 +317,7 @@ const onStorageConfigSubmit = async (})refreshAvailableStorage()toast.add({- title: '存储方案已创建',+ title: $t('settings.storage.messages.created'),color: 'success',})// 重置表单@@ -327,7 +327,7 @@ const onStorageConfigSubmit = async (close?.()} catch (error) {toast.add({- title: '创建存储方案时出错',+ title: $t('settings.storage.messages.createError'),description: (error as Error).message,color: 'error',})@@ -341,12 +341,12 @@ const onStorageDelete = async (storageId: number) => {})refreshAvailableStorage()toast.add({- title: '存储方案已删除',+ title: $t('settings.storage.messages.deleted'),color: 'success',})} catch (error) {toast.add({- title: '删除存储方案失败',+ title: $t('settings.storage.messages.deleteError'),description: (error as Error).message,color: 'error',})@@ -367,14 +367,14 @@ const onStorageDelete = async (storageId: number) => {{{ $t('title.storageSettings') }}</h2><p class="text-sm text-neutral-600 dark:text-neutral-400">- 管理默认存储方案与可用存储提供者。此页面的设置仅影响后续上传文件。+ {{ $t('settings.storage.sectionDescription') }}</p></section><section class="rounded-md border border-neutral-200 bg-white dark:border-neutral-800 dark:bg-neutral-950"><header class="border-b border-neutral-200 px-5 py-4 dark:border-neutral-800"><h3 class="text-base font-semibold text-neutral-900 dark:text-neutral-100">- 当前默认存储+ {{ $t('settings.storage.sections.currentDefault') }}</h3></header>@@ -392,7 +392,7 @@ const onStorageDelete = async (storageId: number) => {><UFormFieldname="storageConfigId"- label="存储方案"+ :label="$t('settings.storage.form.schemeLabel')"required:ui="{container: 'w-full sm:max-w-sm *:w-full',@@ -417,7 +417,7 @@ const onStorageDelete = async (storageId: number) => {"label-key="label"value-key="value"- placeholder="选择存储方案"+ :placeholder="$t('settings.storage.form.schemePlaceholder')"/></UFormField></div>@@ -437,38 +437,38 @@ const onStorageDelete = async (storageId: number) => {:disabled="!isStorageDefaultDirty"@click="resetStorageDefault">- 重置+ {{ $t('common.actions.reset') }}</UButton><UModal- title="变更存储方案"+ :title="$t('settings.storage.changeModal.title')":ui="{ footer: 'justify-end' }"><UButton:disabled="!isStorageDefaultDirty"icon="tabler:device-floppy">- 保存设置+ {{ $t('common.actions.saveSettings') }}</UButton><template #body><UAlertcolor="neutral"variant="subtle"- title="注意"- description="变更存储方案之后上传的文件将会存储到新的存储方案中,原方案中已有文件不会被迁移。"+ :title="$t('settings.storage.changeModal.alertTitle')"+ :description="$t('settings.storage.changeModal.alertDescription')"icon="tabler:arrows-exchange"/></template><template #footer="{ close }"><UButton- label="取消"+ :label="$t('common.actions.cancel')"color="neutral"variant="outline"@click="close"/><UButton- label="继续"+ :label="$t('common.actions.continue')"variant="soft"icon="tabler:arrows-exchange"type="submit"@@ -484,11 +484,11 @@ const onStorageDelete = async (storageId: number) => {<section class="rounded-md border border-neutral-200 bg-white dark:border-neutral-800 dark:bg-neutral-950"><header class="flex w-full items-center justify-between border-b border-neutral-200 px-5 py-4 dark:border-neutral-800"><h3 class="text-base font-semibold text-neutral-900 dark:text-neutral-100">- 存储方案管理+ {{ $t('settings.storage.sections.management') }}</h3><div><USlideover- title="创建存储方案"+ :title="$t('settings.storage.slideover.title')":ui="{ footer: 'justify-end' }"><UButton@@ -496,14 +496,14 @@ const onStorageDelete = async (storageId: number) => {variant="soft"icon="tabler:plus">- 添加存储+ {{ $t('settings.storage.actions.add') }}</UButton><template #body="{ close }"><div class="space-y-4"><!-- Provider 选择 --><UFormField- label="存储类型"+ :label="$t('settings.storage.form.typeLabel')"class="w-full"required:ui="{@@ -520,7 +520,7 @@ const onStorageDelete = async (storageId: number) => {:items="providerOptions"label-key="label"value-key="value"- placeholder="选择存储类型"+ :placeholder="$t('settings.storage.form.typePlaceholder')"@update:model-value="(val: string) => {storageConfigState.provider = val@@ -532,7 +532,7 @@ const onStorageDelete = async (storageId: number) => {</UFormField><UFormField- label="存储名称"+ :label="$t('settings.storage.form.nameLabel')"required:ui="{container: 'sm:max-w-full',@@ -555,13 +555,13 @@ const onStorageDelete = async (storageId: number) => {<template #footer="{ close }"><UButton- label="取消"+ :label="$t('common.actions.cancel')"color="neutral"variant="outline"@click="close"/><UButton- label="创建存储"+ :label="$t('settings.storage.actions.create')"variant="soft"icon="tabler:check"type="submit"diff --git a/app/pages/dashboard/settings/system.vue b/app/pages/dashboard/settings/system.vueindex ee4ea02d..3fbc456f 100644--- a/app/pages/dashboard/settings/system.vue+++ b/app/pages/dashboard/settings/system.vue@@ -121,7 +121,7 @@ const handleSectionSettingsSubmit = async ({{ $t('title.systemSettings') }}</h2><p class="text-sm text-neutral-600 dark:text-neutral-400">- 配置系统级行为参数。这里的修改会影响全局上传和服务行为。+ {{ $t('settings.system.sectionDescription') }}</p></section>@@ -189,7 +189,7 @@ const handleSectionSettingsSubmit = async (:disabled="!isSectionDirty(section)"@click="resetSectionSettings(section)">- 重置+ {{ $t('common.actions.reset') }}</UButton><UButton:loading="systemLoading"@@ -198,7 +198,7 @@ const handleSectionSettingsSubmit = async (:disabled="!isSectionDirty(section)"icon="tabler:device-floppy">- 保存设置+ {{ $t('common.actions.saveSettings') }}</UButton></div></footer>diff --git a/i18n/locales/en.json b/i18n/locales/en.jsonindex 044681ac..8f257375 100644--- a/i18n/locales/en.json+++ b/i18n/locales/en.json@@ -24,7 +24,9 @@"rating": {"showAll": "Show all photos","showStarsAndAbove": "Show {count} star(s) and above photos"- }+ },+ "searchPlaceholder": "Search filenames, etc...",+ "shuffleTooltip": "Shuffle list"},"sort": {"tooltip": "Photo Sorting",@@ -117,13 +119,29 @@"noPhotosTip": "No photos yet, upload some now!"},"livePhoto": "Live Photo",- "indexPanelCountCity": "and more other cities",+ "indexPanelCountCity": "and {count} more cities","album": {"noImage": "Empty Album","emptyAlbumTip": "Add photos to get started","noDescription": "No description"},- "loading": "Loading"+ "loading": "Loading",+ "photo": {+ "untitled": "Untitled",+ "altFallback": "Photo",+ "loadError": "Failed to load image"+ },+ "authForm": {+ "logoAlt": "App Logo"+ },+ "histogram": {+ "rendering": "Rendering",+ "loadError": "Failed to load histogram"+ },+ "calendarHeatmap": {+ "on": "on",+ "contributions": "contributions"+ }},"album": {"notFound": "Album not found",@@ -142,12 +160,18 @@"photos": "Photos","dateRange": "Date Range","created": "Created"- }+ },+ "createdTooltip": "Created: {date}"},"map": {"cluster": {"details": "Click to view details",- "nearbyPhotos": "{0} photos nearby"+ "nearbyPhotos": "{0} photos nearby",+ "altFallback": "Cluster {id}"+ },+ "photo": {+ "altFallback": "Photo {id}",+ "unknownCoord": "Unknown"}},"minimap": {@@ -173,7 +197,11 @@"wow": "Whoa","sad": "Touching","fire": "Hype",- "sparkle": "Shine"+ "sparkle": "Shine",+ "error": {+ "title": "Reaction Failed",+ "rateLimited": "Too many requests, please try again later"+ }},"photoload": {"loadError": "Image loading failed",@@ -348,7 +376,8 @@"uncalibrated": "Uncalibrated","rgb": "RGB"}- }+ },+ "iso": "ISO"},"title": {"gallery": "Gallery",@@ -434,7 +463,16 @@"data": "{0} took {1} photos","noData": "{0} has no photos"}- }+ },+ "actions": {+ "save": "Save",+ "saveSettings": "Save Settings",+ "reset": "Reset",+ "cancel": "Cancel",+ "continue": "Continue",+ "delete": "Delete"+ },+ "unknownError": "Unknown error"},"upload": {"duplicate": {@@ -484,6 +522,30 @@"title": "Upload Failed","message": "An error occurred during upload, please try again later"}+ },+ "runtimeError": {+ "networkFailed": "Network connection failed",+ "clientError": "Client error ({status})",+ "serverError": "Server error ({status})",+ "networkError": "Network error (status: {status})",+ "timeout": "Upload timed out ({timeout}ms)",+ "aborted": "Upload aborted",+ "badRequest": "Bad request format",+ "unauthorized": "Unauthorized access",+ "forbidden": "Access forbidden",+ "notFound": "Upload endpoint not found",+ "conflict": "File conflict",+ "fileTooLarge": "File too large",+ "unsupportedType": "Unsupported file type",+ "rateLimited": "Upload rate limit exceeded",+ "internalServerError": "Internal server error",+ "serviceUnavailable": "Server temporarily unavailable",+ "httpError": "HTTP error: {status}",+ "retrying": "{message} (attempt {attempt}/{max})"+ },+ "progress": {+ "calculating": "Calculating...",+ "seconds": "{seconds}s"}},"dashboard": {@@ -544,7 +606,10 @@"columnVisibility": {"button": "Columns","description": "Toggle column visibility"- }+ },+ "selectAllAria": "Select all",+ "selectRowAria": "Select row",+ "thumbnailAlt": "Photo Thumbnail"},"actions": {"reprocess": "Reprocess",@@ -746,7 +811,25 @@"longProcessing": "Large files may take longer to process, which is expected.","success": "File uploaded and processed successfully"}- }+ },+ "uploadQueuePanel": {+ "title": "File Upload Queue",+ "stats": {+ "waiting": "waiting",+ "active": "in progress",+ "completed": "completed",+ "error": "failed",+ "skipped": "skipped",+ "blocked": "blocked"+ },+ "summary": "{completed} completed, {error} failed, {skipped} skipped, {blocked} blocked",+ "actions": {+ "clearCompleted": "Clear Completed",+ "clearAll": "Clear All",+ "goToQueue": "Queue Management"+ }+ },+ "previewTitle": "Photo Preview"},"albums": {"title": "Album Management",@@ -823,7 +906,8 @@"loadError": "Failed to load albums","loadDetailError": "Failed to load album details","loadPhotosError": "Failed to load photos"- }+ },+ "photoCount": "{count} photos"},"overview": {"title": "Overview",@@ -872,7 +956,12 @@"totalFailed": "Failure count","avgSuccessRate": "Success rate"}- }+ },+ "shareSite": {+ "label": "Share Your Site",+ "button": "Share Your Site"+ },+ "memoryUnavailable": "memory info not available"},"queue": {"title": "Queue Management",@@ -902,7 +991,12 @@"errorMessage": "Error Message","createdAt": "Created At","completedAt": "Completed At",- "actions": "Actions"+ "actions": "Actions",+ "expandAria": "Expand",+ "detail": {+ "photoId": "Photo ID",+ "payload": "Payload"+ }},"status": {"pending": "Pending",@@ -921,6 +1015,7 @@"metadata": "Metadata","thumbnail": "Thumbnail","exif": "EXIF Processing",+ "motion-photo": "Motion Photo Processing","reverse-geocoding": "Geocoding","live-photo": "LivePhoto Processing","location-erase": "Location Erasure"@@ -932,16 +1027,53 @@"messages": {"noTasks": "No tasks found","retrySuccess": "Task retry successful",+ "retryFailed": "Failed to retry task","deleteSuccess": "Task deleted successfully","batchRetrySuccess": "Batch retry successful","clearSuccess": "Clear completed",- "operationFailed": "Operation failed"+ "operationFailed": "Operation failed",+ "clearSuccessDescription": "Cleared {count} tasks",+ "clearFailed": "Failed to clear tasks",+ "batchRetrySuccessDescription": "Retried {count} tasks",+ "batchRetryFailed": "Batch retry failed",+ "deleteFailed": "Failed to delete task"},"filters": {"all": "All","status": "Filter by Status","type": "Filter by Type"+ },+ "taskListTitle": "Task Queue"+ },+ "logs": {+ "connectionStatus": {+ "idle": "Disconnected",+ "connecting": "Connecting...",+ "loadingHistory": "Loading history...",+ "live": "Live",+ "error": "Connection error"+ },+ "search": {+ "placeholder": "Search log content...",+ "clearAriaLabel": "Clear search input"+ },+ "filter": {+ "levelPlaceholder": "Filter level",+ "tagPlaceholder": "Filter Tag"+ },+ "countLabel": "Total/Shown: {total}/{shown}",+ "tagCount": "Tags: {count}",+ "empty": {+ "waiting": "Waiting for log data...",+ "noMatch": "No matching log entries"}+ },+ "access": {+ "pleaseLogin": "Please login to view dashboard",+ "noAccess": "Sorry, you do not have access to this page."+ },+ "nav": {+ "documentation": "Documentation"}},"settings": {@@ -1027,7 +1159,8 @@"description": "Client Secret of your GitHub OAuth app"}}- }+ },+ "sectionDescription": "Configure system-level behavior parameters. Changes here will affect global upload and service behavior."},"map": {"provider": {@@ -1055,7 +1188,8 @@"label": "MapLibre Style","description": "MapLibre map style URL"}- }+ },+ "sectionDescription": "Configure map display and geocoding services. The map provider affects map styles and access credentials."},"location": {"language": {@@ -1085,7 +1219,8 @@"description": "Automatically remove EXIF GPS metadata and clear geolocation fields while processing uploaded photos","help": "When enabled, location erasure will run asynchronously in the processing queue"}- }+ },+ "sectionDescription": "Manage data privacy policies for photo uploads. It is recommended to enable location data removal on public sites."},"storage": {"name": {@@ -1203,7 +1338,59 @@"label": "CDN URL","description": "Custom CDN URL for accessing images"}+ },+ "sectionDescription": "Manage the default storage scheme and available storage providers. Settings on this page only affect subsequent file uploads.",+ "table": {+ "columns": {+ "name": "Storage Name",+ "type": "Storage Type",+ "actions": "Actions"+ }+ },+ "messages": {+ "saved": "Settings saved",+ "saveError": "Error saving settings",+ "created": "Storage scheme created",+ "createError": "Error creating storage scheme",+ "deleted": "Storage scheme deleted",+ "deleteError": "Failed to delete storage scheme"+ },+ "providers": {+ "s3": "AWS S3 Compatible Storage",+ "local": "Local Storage",+ "openlist": "OpenList"+ },+ "sections": {+ "currentDefault": "Current Default Storage",+ "management": "Storage Scheme Management"+ },+ "form": {+ "schemeLabel": "Storage Scheme",+ "schemePlaceholder": "Select a storage scheme",+ "typeLabel": "Storage Type",+ "typePlaceholder": "Select a storage type",+ "nameLabel": "Storage Name"+ },+ "changeModal": {+ "title": "Change Storage Scheme",+ "alertTitle": "Note",+ "alertDescription": "Files uploaded after changing the storage scheme will be stored in the new scheme. Files already in the original scheme will not be migrated."+ },+ "slideover": {+ "title": "Create Storage Scheme"+ },+ "actions": {+ "add": "Add Storage",+ "create": "Create Storage"}+ },+ "general": {+ "description": "Manage the site's basic information and display appearance. Changes will immediately affect the dashboard and public-facing display."+ },+ "form": {+ "loadFailed": "Failed to load settings",+ "saveSuccess": "Settings saved",+ "saveFailed": "Failed to save settings"}},"wizard": {@@ -1232,6 +1419,9 @@"description": "Open-source fork of Mapbox GL JS."}}+ },+ "form": {+ "loadSchemaFailed": "Failed to load wizard schema"}},"onboarding": {@@ -1245,7 +1435,8 @@"complete": "Complete"},"current": "In Progress",- "stepCounter": "Step {0} / {1}"+ "stepCounter": "Step {0} / {1}",+ "logoAlt": "ChronoFrame Logo"},"actions": {"next": "Next",@@ -1349,5 +1540,10 @@"playPause": "Play/Pause Timeline","title": "Timeline"}+ },+ "photo": {+ "image": {+ "loadError": "Failed to load image"+ }}}diff --git a/i18n/locales/ja.json b/i18n/locales/ja.jsonindex 4f7353a4..76c72569 100644--- a/i18n/locales/ja.json+++ b/i18n/locales/ja.json@@ -24,7 +24,9 @@"rating": {"showAll": "すべての写真を表示","showStarsAndAbove": "{count} 星以上の写真を表示"- }+ },+ "searchPlaceholder": "ファイル名などで検索...",+ "shuffleTooltip": "リストをシャッフル"},"sort": {"tooltip": "写真の並び替え",@@ -123,7 +125,23 @@"noDescription": "説明がありません"},"loading": "読み込み中",- "indexPanelCountCity": "他 {count} 都市"+ "indexPanelCountCity": "他 {count} 都市",+ "photo": {+ "untitled": "無題",+ "altFallback": "写真",+ "loadError": "画像の読み込みに失敗しました"+ },+ "authForm": {+ "logoAlt": "アプリのロゴ"+ },+ "histogram": {+ "rendering": "レンダリング中",+ "loadError": "ヒストグラムの読み込みに失敗しました"+ },+ "calendarHeatmap": {+ "on": "に",+ "contributions": "件"+ }},"album": {"notFound": "アルバムが見つかりません",@@ -142,12 +160,18 @@"photos": "写真","dateRange": "日付範囲","created": "作成"- }+ },+ "createdTooltip": "作成日:{date}"},"map": {"cluster": {"details": "クリックして詳細を見る",- "nearbyPhotos": "近くに {0} 枚の写真"+ "nearbyPhotos": "近くに {0} 枚の写真",+ "altFallback": "クラスタ {id}"+ },+ "photo": {+ "altFallback": "写真 {id}",+ "unknownCoord": "不明"}},"minimap": {@@ -173,7 +197,11 @@"wow": "わお","sad": "感動","fire": "アツい",- "sparkle": "キラッ"+ "sparkle": "キラッ",+ "error": {+ "title": "リアクション失敗",+ "rateLimited": "操作が頻繁すぎます。しばらくしてからもう一度お試しください"+ }},"photoload": {"loadError": "画像の読み込みに失敗しました",@@ -348,7 +376,8 @@"uncalibrated": "未調整","rgb": "RGB"}- }+ },+ "iso": "ISO"},"title": {"gallery": "ギャラリー",@@ -434,7 +463,16 @@"noData": "{0}は写真がありません"}},- "unknown": "不明"+ "unknown": "不明",+ "actions": {+ "save": "保存",+ "saveSettings": "設定を保存",+ "reset": "リセット",+ "cancel": "キャンセル",+ "continue": "続行",+ "delete": "削除"+ },+ "unknownError": "不明なエラー"},"dashboard": {"photos": {@@ -494,7 +532,10 @@"columnVisibility": {"button": "列設定","description": "列の表示/非表示を切り替える"- }+ },+ "selectAllAria": "すべて選択",+ "selectRowAria": "行を選択",+ "thumbnailAlt": "写真サムネイル"},"actions": {"reprocess": "再処理",@@ -696,7 +737,25 @@"longProcessing": "大きなファイルは処理に時間がかかることがあります。","success": "ファイルのアップロードと処理が完了しました"}- }+ },+ "uploadQueuePanel": {+ "title": "ファイルアップロードキュー",+ "stats": {+ "waiting": "待機",+ "active": "処理中",+ "completed": "完了",+ "error": "失敗",+ "skipped": "スキップ",+ "blocked": "ブロック"+ },+ "summary": "{completed} 完了, {error} 失敗, {skipped} スキップ, {blocked} ブロック",+ "actions": {+ "clearCompleted": "完了済みを削除",+ "clearAll": "すべて削除",+ "goToQueue": "キュー管理"+ }+ },+ "previewTitle": "写真プレビュー"},"albums": {"title": "アルバム管理",@@ -773,7 +832,8 @@"loadError": "アルバムの読み込みに失敗しました","loadDetailError": "アルバムの詳細の読み込みに失敗しました","loadPhotosError": "写真の読み込みに失敗しました"- }+ },+ "photoCount": "{count} 枚"},"overview": {"title": "概要",@@ -822,7 +882,12 @@"totalFailed": "障害カウント","avgSuccessRate": "成功率"}- }+ },+ "shareSite": {+ "label": "サイトを共有",+ "button": "サイトを共有"+ },+ "memoryUnavailable": "メモリ情報を取得できません"},"queue": {"title": "キュー管理",@@ -852,7 +917,12 @@"errorMessage": "エラーメッセージ","createdAt": "作成日時","completedAt": "完了日時",- "actions": "操作"+ "actions": "操作",+ "expandAria": "展開",+ "detail": {+ "photoId": "写真ID",+ "payload": "ペイロード"+ }},"status": {"pending": "待機中",@@ -871,6 +941,7 @@"metadata": "メタデータ","thumbnail": "サムネイル","exif": "EXIF処理",+ "motion-photo": "モーションフォト処理","reverse-geocoding": "地理解析","live-photo": "LivePhoto処理","location-erase": "位置情報の抹消"@@ -882,16 +953,53 @@"messages": {"noTasks": "タスクが見つかりません","retrySuccess": "タスクの再試行が成功しました",+ "retryFailed": "タスクの再試行に失敗しました","deleteSuccess": "タスクの削除が成功しました","batchRetrySuccess": "バッチ再試行が成功しました","clearSuccess": "クリア完了",- "operationFailed": "操作に失敗しました"+ "operationFailed": "操作に失敗しました",+ "clearSuccessDescription": "{count} 件のタスクをクリアしました",+ "clearFailed": "タスクのクリアに失敗しました",+ "batchRetrySuccessDescription": "{count} 件のタスクを再試行しました",+ "batchRetryFailed": "一括再試行に失敗しました",+ "deleteFailed": "タスクの削除に失敗しました"},"filters": {"all": "すべて","status": "ステータスでフィルター","type": "タイプでフィルター"+ },+ "taskListTitle": "タスクキュー"+ },+ "logs": {+ "connectionStatus": {+ "idle": "未接続",+ "connecting": "接続中...",+ "loadingHistory": "履歴を読み込み中...",+ "live": "リアルタイム",+ "error": "接続エラー"+ },+ "search": {+ "placeholder": "ログ内容を検索...",+ "clearAriaLabel": "検索入力をクリア"+ },+ "filter": {+ "levelPlaceholder": "レベルで絞り込む",+ "tagPlaceholder": "タグで絞り込む"+ },+ "countLabel": "合計/表示: {total}/{shown}",+ "tagCount": "タグ: {count}",+ "empty": {+ "waiting": "ログデータを待機中...",+ "noMatch": "一致するログエントリがありません"}+ },+ "access": {+ "pleaseLogin": "ダッシュボードを表示するにはログインしてください",+ "noAccess": "申し訳ありませんが、このページにアクセスする権限がありません。"+ },+ "nav": {+ "documentation": "ドキュメント"}},"settings": {@@ -977,7 +1085,8 @@"description": "GitHub OAuth アプリの Client Secret"}}- }+ },+ "sectionDescription": "システムレベルの動作パラメーターを設定します。ここでの変更はグローバルなアップロードとサービスの動作に影響します。"},"map": {"provider": {@@ -1005,7 +1114,8 @@"label": "MapLibre スタイル","description": "MapLibre 地図スタイル URL"}- }+ },+ "sectionDescription": "地図の表示と地理コーディングサービスを設定します。地図プロバイダーは地図のスタイルとアクセス認証情報に影響します。"},"location": {"language": {@@ -1035,7 +1145,8 @@"description": "アップロード処理中に EXIF の GPS 情報と地理位置フィールドを自動的に削除します","help": "有効化すると、位置情報抹消はキューで非同期に実行されます"}- }+ },+ "sectionDescription": "写真アップロード時のデータプライバシーポリシーを管理します。公開サイトでは位置情報の削除を有効にすることをお勧めします。"},"storage": {"name": {@@ -1153,7 +1264,59 @@"label": "CDN URL","description": "画像にアクセスするためのカスタム CDN URL"}+ },+ "sectionDescription": "デフォルトのストレージ構成と利用可能なストレージプロバイダーを管理します。このページの設定は以降のファイルアップロードにのみ影響します。",+ "table": {+ "columns": {+ "name": "ストレージ名",+ "type": "ストレージ種別",+ "actions": "操作"+ }+ },+ "messages": {+ "saved": "設定を保存しました",+ "saveError": "設定の保存中にエラーが発生しました",+ "created": "ストレージ構成を作成しました",+ "createError": "ストレージ構成の作成中にエラーが発生しました",+ "deleted": "ストレージ構成を削除しました",+ "deleteError": "ストレージ構成の削除に失敗しました"+ },+ "providers": {+ "s3": "AWS S3 互換ストレージ",+ "local": "ローカルストレージ",+ "openlist": "OpenList"+ },+ "sections": {+ "currentDefault": "現在のデフォルトストレージ",+ "management": "ストレージ構成管理"+ },+ "form": {+ "schemeLabel": "ストレージ構成",+ "schemePlaceholder": "ストレージ構成を選択",+ "typeLabel": "ストレージ種別",+ "typePlaceholder": "ストレージ種別を選択",+ "nameLabel": "ストレージ名"+ },+ "changeModal": {+ "title": "ストレージ構成を変更",+ "alertTitle": "注意",+ "alertDescription": "ストレージ構成を変更した後にアップロードされたファイルは新しいストレージ構成に保存されます。元の構成にある既存のファイルは移行されません。"+ },+ "slideover": {+ "title": "ストレージ構成を作成"+ },+ "actions": {+ "add": "ストレージを追加",+ "create": "ストレージを作成"}+ },+ "general": {+ "description": "サイトの基本情報と表示外観を管理します。変更はダッシュボードと公開側の表示に即時反映されます。"+ },+ "form": {+ "loadFailed": "設定の読み込みに失敗しました",+ "saveSuccess": "設定が保存されました",+ "saveFailed": "設定の保存に失敗しました"}},"wizard": {@@ -1182,6 +1345,9 @@"description": "Mapbox GL JS のオープンソースフォーク。"}}+ },+ "form": {+ "loadSchemaFailed": "ウィザードスキーマの読み込みに失敗しました"}},"onboarding": {@@ -1195,7 +1361,8 @@"complete": "完了"},"current": "進行中",- "stepCounter": "ステップ {0} / {1}"+ "stepCounter": "ステップ {0} / {1}",+ "logoAlt": "ChronoFrame ロゴ"},"actions": {"next": "次へ",@@ -1348,6 +1515,35 @@"title": "アップロードに失敗しました","message": "アップロード中にエラーが発生しました。しばらくしてから再試行してください"}+ },+ "runtimeError": {+ "networkFailed": "ネットワーク接続に失敗しました",+ "clientError": "クライアントエラー ({status})",+ "serverError": "サーバーエラー ({status})",+ "networkError": "ネットワークエラー (ステータス: {status})",+ "timeout": "アップロードがタイムアウトしました ({timeout}ms)",+ "aborted": "アップロードが中止されました",+ "badRequest": "リクエスト形式エラー",+ "unauthorized": "認証されていません",+ "forbidden": "アクセスが拒否されました",+ "notFound": "アップロードエンドポイントが見つかりません",+ "conflict": "ファイルが競合しています",+ "fileTooLarge": "ファイルが大きすぎます",+ "unsupportedType": "サポートされていないファイル形式",+ "rateLimited": "アップロード頻度が高すぎます",+ "internalServerError": "サーバー内部エラー",+ "serviceUnavailable": "サーバーが一時的に利用できません",+ "httpError": "HTTPエラー: {status}",+ "retrying": "{message}(試行 {attempt}/{max})"+ },+ "progress": {+ "calculating": "計算中...",+ "seconds": "{seconds}秒"+ }+ },+ "photo": {+ "image": {+ "loadError": "画像の読み込み失敗"}}}diff --git a/i18n/locales/zh-Hans.json b/i18n/locales/zh-Hans.jsonindex a73bd210..70dac190 100644--- a/i18n/locales/zh-Hans.json+++ b/i18n/locales/zh-Hans.json@@ -2,7 +2,12 @@"map": {"cluster": {"details": "点击图片查看详情",- "nearbyPhotos": "附近有 {0} 张照片"+ "nearbyPhotos": "附近有 {0} 张照片",+ "altFallback": "聚类 {id}"+ },+ "photo": {+ "altFallback": "照片 {id}",+ "unknownCoord": "未知"}},"ui": {@@ -31,7 +36,9 @@},"title": "筛选照片","tooltip": "筛选照片",- "clearAll": "清除全部"+ "clearAll": "清除全部",+ "searchPlaceholder": "搜索文件名等...",+ "shuffleTooltip": "打乱列表"},"logout": {"tooltip": "登出"@@ -126,7 +133,23 @@"emptyAlbumTip": "添加照片开始吧","noDescription": "无描述"},- "loading": "加载中"+ "loading": "加载中",+ "photo": {+ "untitled": "未命名",+ "altFallback": "照片",+ "loadError": "加载图片失败"+ },+ "authForm": {+ "logoAlt": "应用 Logo"+ },+ "histogram": {+ "rendering": "渲染中",+ "loadError": "直方图加载失败"+ },+ "calendarHeatmap": {+ "on": "于",+ "contributions": "项贡献"+ }},"album": {"notFound": "相簿未找到",@@ -145,7 +168,8 @@"photos": "照片","dateRange": "日期范围","created": "创建"- }+ },+ "createdTooltip": "创建于:{date}"},"minimap": {"loading": "加载小地图..."@@ -170,7 +194,11 @@"wow": "哇塞","sad": "感动","fire": "助火",- "sparkle": "闪耀"+ "sparkle": "闪耀",+ "error": {+ "title": "表态失败",+ "rateLimited": "操作过于频繁,请稍后再试"+ }},"photoload": {"loadError": "图片加载失败",@@ -345,7 +373,8 @@"uncalibrated": "未校准","rgb": "RGB"}- }+ },+ "iso": "ISO"},"plural": {"photo": "没有照片 | 一张照片 | {count} 张照片"@@ -434,7 +463,16 @@"data": "{0}拍摄了 {1} 张照片","noData": "{0}没有照片"}- }+ },+ "actions": {+ "save": "保存",+ "saveSettings": "保存设置",+ "reset": "重置",+ "cancel": "取消",+ "continue": "继续",+ "delete": "删除"+ },+ "unknownError": "未知错误"},"upload": {"duplicate": {@@ -484,6 +522,30 @@"title": "上传失败","message": "上传过程中发生错误,请稍后重试"}+ },+ "runtimeError": {+ "networkFailed": "网络连接失败",+ "clientError": "客户端错误 ({status})",+ "serverError": "服务器错误 ({status})",+ "networkError": "网络错误 (状态码: {status})",+ "timeout": "上传超时 ({timeout}ms)",+ "aborted": "上传已中止",+ "badRequest": "请求格式错误",+ "unauthorized": "未授权访问",+ "forbidden": "访问被拒绝",+ "notFound": "上传接口不存在",+ "conflict": "文件冲突",+ "fileTooLarge": "文件过大",+ "unsupportedType": "不支持的文件类型",+ "rateLimited": "上传频率过高",+ "internalServerError": "服务器内部错误",+ "serviceUnavailable": "服务器暂时不可用",+ "httpError": "HTTP 错误: {status}",+ "retrying": "{message} (尝试 {attempt}/{max})"+ },+ "progress": {+ "calculating": "计算中...",+ "seconds": "{seconds}秒"}},"dashboard": {@@ -544,7 +606,10 @@"columnVisibility": {"button": "列设置","description": "切换列的显示/隐藏"- }+ },+ "selectAllAria": "全选",+ "selectRowAria": "选择行",+ "thumbnailAlt": "照片缩略图"},"actions": {"reprocess": "重新处理",@@ -746,7 +811,25 @@"longProcessing": "大文件处理时间较长,为正常现象","success": "文件已成功上传并处理"}- }+ },+ "uploadQueuePanel": {+ "title": "文件上传队列",+ "stats": {+ "waiting": "等待",+ "active": "进行中",+ "completed": "完成",+ "error": "失败",+ "skipped": "跳过",+ "blocked": "被阻止"+ },+ "summary": "{completed} 完成, {error} 失败, {skipped} 跳过, {blocked} 阻止",+ "actions": {+ "clearCompleted": "清除已完成",+ "clearAll": "清除全部",+ "goToQueue": "队列管理"+ }+ },+ "previewTitle": "照片预览"},"albums": {"title": "相簿管理",@@ -823,7 +906,8 @@"loadError": "加载相簿失败","loadDetailError": "加载相簿详情失败","loadPhotosError": "加载照片失败"- }+ },+ "photoCount": "{count} 张"},"overview": {"title": "仪表板概览",@@ -872,7 +956,12 @@"totalFailed": "失败计数","avgSuccessRate": "成功率"}- }+ },+ "shareSite": {+ "label": "分享你的站点",+ "button": "分享你的站点"+ },+ "memoryUnavailable": "无法获取内存信息"},"queue": {"title": "队列管理",@@ -902,7 +991,12 @@"errorMessage": "错误详情","createdAt": "创建时间","completedAt": "完成时间",- "actions": "操作"+ "actions": "操作",+ "expandAria": "展开",+ "detail": {+ "photoId": "照片 ID",+ "payload": "负载"+ }},"status": {"pending": "等待中",@@ -921,6 +1015,7 @@"metadata": "元数据","thumbnail": "缩略图","exif": "EXIF处理",+ "motion-photo": "动态照片处理","reverse-geocoding": "地理解析","live-photo": "LivePhoto处理","location-erase": "位置信息抹除"@@ -932,16 +1027,53 @@"messages": {"noTasks": "没有找到任务","retrySuccess": "任务重试成功",+ "retryFailed": "重试任务失败","deleteSuccess": "任务删除成功","batchRetrySuccess": "批量重试成功","clearSuccess": "清理完成",- "operationFailed": "操作失败"+ "operationFailed": "操作失败",+ "clearSuccessDescription": "清除了 {count} 个任务",+ "clearFailed": "清理任务失败",+ "batchRetrySuccessDescription": "重试了 {count} 个任务",+ "batchRetryFailed": "批量重试失败",+ "deleteFailed": "删除任务失败"},"filters": {"all": "全部","status": "按状态筛选","type": "按类型筛选"+ },+ "taskListTitle": "队列任务列表"+ },+ "logs": {+ "connectionStatus": {+ "idle": "未连接",+ "connecting": "正在连接...",+ "loadingHistory": "加载历史日志...",+ "live": "实时",+ "error": "连接错误"+ },+ "search": {+ "placeholder": "搜索日志内容...",+ "clearAriaLabel": "清除搜索内容"+ },+ "filter": {+ "levelPlaceholder": "过滤级别",+ "tagPlaceholder": "筛选 Tag"+ },+ "countLabel": "总条数/展示: {total}/{shown}",+ "tagCount": "Tag: {count}",+ "empty": {+ "waiting": "等待日志数据...",+ "noMatch": "没有匹配的日志条目"}+ },+ "access": {+ "pleaseLogin": "请登录以查看仪表盘",+ "noAccess": "抱歉,您没有访问此页面的权限。"+ },+ "nav": {+ "documentation": "文档"}},"settings": {@@ -1027,7 +1159,8 @@"description": "GitHub OAuth 应用的 Client Secret"}}- }+ },+ "sectionDescription": "配置系统级行为参数。这里的修改会影响全局上传和服务行为。"},"map": {"provider": {@@ -1055,7 +1188,8 @@"label": "MapLibre 样式","description": "MapLibre 地图样式 URL"}- }+ },+ "sectionDescription": "配置地图展示与地理编码服务。地图服务商会影响地图样式与访问凭证。"},"location": {"language": {@@ -1085,7 +1219,8 @@"description": "上传和处理照片时自动抹除 EXIF GPS 信息并清空地理位置字段","help": "启用后会将抹除位置信息操作放入队列异步执行"}- }+ },+ "sectionDescription": "管理照片上传时的数据隐私策略。建议在公开站点启用位置信息抹除。"},"storage": {"name": {@@ -1203,7 +1338,59 @@"label": "CDN URL","description": "用于访问图像的自定义 CDN URL"}+ },+ "sectionDescription": "管理默认存储方案与可用存储提供者。此页面的设置仅影响后续上传文件。",+ "table": {+ "columns": {+ "name": "存储名称",+ "type": "存储类型",+ "actions": "操作"+ }+ },+ "messages": {+ "saved": "设置已保存",+ "saveError": "保存设置时出错",+ "created": "存储方案已创建",+ "createError": "创建存储方案时出错",+ "deleted": "存储方案已删除",+ "deleteError": "删除存储方案失败"+ },+ "providers": {+ "s3": "AWS S3 兼容存储",+ "local": "本地存储",+ "openlist": "OpenList"+ },+ "sections": {+ "currentDefault": "当前默认存储",+ "management": "存储方案管理"+ },+ "form": {+ "schemeLabel": "存储方案",+ "schemePlaceholder": "选择存储方案",+ "typeLabel": "存储类型",+ "typePlaceholder": "选择存储类型",+ "nameLabel": "存储名称"+ },+ "changeModal": {+ "title": "变更存储方案",+ "alertTitle": "注意",+ "alertDescription": "变更存储方案之后上传的文件将会存储到新的存储方案中,原方案中已有文件不会被迁移。"+ },+ "slideover": {+ "title": "创建存储方案"+ },+ "actions": {+ "add": "添加存储",+ "create": "创建存储"}+ },+ "general": {+ "description": "管理站点基础信息与展示外观。更改会立即影响控制台和前台展示。"+ },+ "form": {+ "loadFailed": "加载设置失败",+ "saveSuccess": "设置已保存",+ "saveFailed": "保存设置失败"}},"wizard": {@@ -1232,6 +1419,9 @@"description": "Mapbox GL JS 的开源分支。"}}+ },+ "form": {+ "loadSchemaFailed": "向导配置加载失败"}},"onboarding": {@@ -1245,7 +1435,8 @@"complete": "完成"},"current": "当前进行",- "stepCounter": "第 {0} 步 / 共 {1} 步"+ "stepCounter": "第 {0} 步 / 共 {1} 步",+ "logoAlt": "ChronoFrame 标志"},"actions": {"next": "下一步",@@ -1349,5 +1540,10 @@"playPause": "播放/暂停时间回溯","title": "时间回溯"}+ },+ "photo": {+ "image": {+ "loadError": "图片加载失败"+ }}}diff --git a/i18n/locales/zh-Hant-HK.json b/i18n/locales/zh-Hant-HK.jsonindex 112f21cd..0caf4332 100644--- a/i18n/locales/zh-Hant-HK.json+++ b/i18n/locales/zh-Hant-HK.json@@ -2,7 +2,12 @@"map": {"cluster": {"details": "點擊圖片查看詳情",- "nearbyPhotos": "附近有 {0} 張相片"+ "nearbyPhotos": "附近有 {0} 張相片",+ "altFallback": "叢集 {id}"+ },+ "photo": {+ "altFallback": "相片 {id}",+ "unknownCoord": "未知"}},"ui": {@@ -31,7 +36,9 @@},"title": "篩選相片","tooltip": "篩選相片",- "clearAll": "全部清除"+ "clearAll": "全部清除",+ "searchPlaceholder": "搜尋檔名等...",+ "shuffleTooltip": "打亂清單"},"logout": {"tooltip": "登出"@@ -126,7 +133,23 @@"noDescription": "無描述"},"loading": "載入中",- "indexPanelCountCity": "等 {count} 個城市"+ "indexPanelCountCity": "等 {count} 個城市",+ "photo": {+ "untitled": "未命名",+ "altFallback": "相片",+ "loadError": "載入圖片失敗"+ },+ "authForm": {+ "logoAlt": "應用程式標誌"+ },+ "histogram": {+ "rendering": "繪製中",+ "loadError": "直方圖載入失敗"+ },+ "calendarHeatmap": {+ "on": "於",+ "contributions": "項貢獻"+ }},"album": {"notFound": "搵唔到相簿",@@ -145,7 +168,8 @@"photos": "相片","dateRange": "日期範圍","created": "建立"- }+ },+ "createdTooltip": "建立於:{date}"},"minimap": {"loading": "載入小地圖..."@@ -170,7 +194,11 @@"wow": "嘩塞","sad": "感動","fire": "助火",- "sparkle": "閃耀"+ "sparkle": "閃耀",+ "error": {+ "title": "表態失敗",+ "rateLimited": "操作過於頻繁,請稍後再試"+ }},"photoload": {"loadError": "圖片載入失敗",@@ -345,7 +373,8 @@"uncalibrated": "未校正","rgb": "RGB"}- }+ },+ "iso": "ISO"},"plural": {"photo": "沒有相片 | 一張相片 | {count} 張相片"@@ -434,7 +463,16 @@"noData": "{0}冇相"}},- "unknown": "未知"+ "unknown": "未知",+ "actions": {+ "save": "儲存",+ "saveSettings": "儲存設定",+ "reset": "重設",+ "cancel": "取消",+ "continue": "繼續",+ "delete": "刪除"+ },+ "unknownError": "未知錯誤"},"dashboard": {"photos": {@@ -494,7 +532,10 @@"columnVisibility": {"button": "列設定","description": "切換列的顯示/隱藏"- }+ },+ "selectAllAria": "全選",+ "selectRowAria": "選擇列",+ "thumbnailAlt": "相片縮圖"},"actions": {"reprocess": "重新處理",@@ -696,7 +737,25 @@"longProcessing": "大型檔案處理時間較長,屬正常現象。","success": "檔案已成功上傳並完成處理"}- }+ },+ "uploadQueuePanel": {+ "title": "檔案上傳佇列",+ "stats": {+ "waiting": "等待",+ "active": "進行中",+ "completed": "完成",+ "error": "失敗",+ "skipped": "跳過",+ "blocked": "被阻止"+ },+ "summary": "{completed} 完成, {error} 失敗, {skipped} 跳過, {blocked} 阻止",+ "actions": {+ "clearCompleted": "清除已完成",+ "clearAll": "清除全部",+ "goToQueue": "佇列管理"+ }+ },+ "previewTitle": "相片預覽"},"albums": {"title": "相簿管理",@@ -773,7 +832,8 @@"loadError": "載入相簿失敗","loadDetailError": "載入相簿詳情失敗","loadPhotosError": "載入相片失敗"- }+ },+ "photoCount": "{count} 張"},"overview": {"title": "儀表板概覽",@@ -822,7 +882,12 @@"totalFailed": "失敗計數","avgSuccessRate": "成功率"}- }+ },+ "shareSite": {+ "label": "分享你的網站",+ "button": "分享你的網站"+ },+ "memoryUnavailable": "無法取得記憶體資訊"},"queue": {"title": "隊列管理",@@ -852,7 +917,12 @@"errorMessage": "錯誤詳情","createdAt": "創建時間","completedAt": "完成時間",- "actions": "操作"+ "actions": "操作",+ "expandAria": "展開",+ "detail": {+ "photoId": "相片 ID",+ "payload": "酬載"+ }},"status": {"pending": "等待中",@@ -871,6 +941,7 @@"metadata": "元數據","thumbnail": "縮略圖","exif": "EXIF處理",+ "motion-photo": "動態相片處理","reverse-geocoding": "地理解析","live-photo": "LivePhoto處理","location-erase": "位置資訊抹除"@@ -882,16 +953,53 @@"messages": {"noTasks": "沒有找到任務","retrySuccess": "任務重試成功",+ "retryFailed": "重試任務失敗","deleteSuccess": "任務刪除成功","batchRetrySuccess": "批量重試成功","clearSuccess": "清理完成",- "operationFailed": "操作失敗"+ "operationFailed": "操作失敗",+ "clearSuccessDescription": "已清除 {count} 個任務",+ "clearFailed": "清理任務失敗",+ "batchRetrySuccessDescription": "已重試 {count} 個任務",+ "batchRetryFailed": "批次重試失敗",+ "deleteFailed": "刪除任務失敗"},"filters": {"all": "全部","status": "按狀態篩選","type": "按類型篩選"+ },+ "taskListTitle": "佇列任務列表"+ },+ "logs": {+ "connectionStatus": {+ "idle": "未連線",+ "connecting": "連線中...",+ "loadingHistory": "載入歷史紀錄...",+ "live": "即時",+ "error": "連線錯誤"+ },+ "search": {+ "placeholder": "搜尋日誌內容...",+ "clearAriaLabel": "清除搜尋內容"+ },+ "filter": {+ "levelPlaceholder": "篩選等級",+ "tagPlaceholder": "篩選 Tag"+ },+ "countLabel": "總筆數/顯示: {total}/{shown}",+ "tagCount": "Tag: {count}",+ "empty": {+ "waiting": "等待日誌資料...",+ "noMatch": "沒有符合的日誌條目"}+ },+ "access": {+ "pleaseLogin": "請登入以檢視儀表板",+ "noAccess": "抱歉,您沒有存取此頁面的權限。"+ },+ "nav": {+ "documentation": "文件"}},"settings": {@@ -977,7 +1085,8 @@"description": "GitHub OAuth 應用嘅 Client Secret"}}- }+ },+ "sectionDescription": "設定系統級行為參數。這裡的修改會影響全域上傳和服務行為。"},"map": {"provider": {@@ -1005,7 +1114,8 @@"label": "MapLibre 樣式","description": "MapLibre 地圖樣式 URL"}- }+ },+ "sectionDescription": "設定地圖展示與地理編碼服務。地圖服務商會影響地圖樣式與存取憑證。"},"location": {"language": {@@ -1035,7 +1145,8 @@"description": "在上傳與處理照片時自動抹除 EXIF GPS 資訊並清空地理位置欄位","help": "啟用後會將抹除位置資訊操作放入佇列非同步執行"}- }+ },+ "sectionDescription": "管理相片上傳時的資料隱私策略。建議在公開站點啟用位置資訊抹除。"},"storage": {"name": {@@ -1153,7 +1264,59 @@"label": "CDN URL","description": "用於訪問圖像嘅自訂 CDN URL"}+ },+ "sectionDescription": "管理預設儲存方案與可用儲存提供者。此頁面的設定僅影響後續上傳檔案。",+ "table": {+ "columns": {+ "name": "儲存名稱",+ "type": "儲存類型",+ "actions": "操作"+ }+ },+ "messages": {+ "saved": "設定已儲存",+ "saveError": "儲存設定時發生錯誤",+ "created": "儲存方案已建立",+ "createError": "建立儲存方案時發生錯誤",+ "deleted": "儲存方案已刪除",+ "deleteError": "刪除儲存方案失敗"+ },+ "providers": {+ "s3": "AWS S3 相容儲存",+ "local": "本地儲存",+ "openlist": "OpenList"+ },+ "sections": {+ "currentDefault": "目前預設儲存",+ "management": "儲存方案管理"+ },+ "form": {+ "schemeLabel": "儲存方案",+ "schemePlaceholder": "選擇儲存方案",+ "typeLabel": "儲存類型",+ "typePlaceholder": "選擇儲存類型",+ "nameLabel": "儲存名稱"+ },+ "changeModal": {+ "title": "變更儲存方案",+ "alertTitle": "注意",+ "alertDescription": "變更儲存方案之後上傳的檔案將會儲存到新的儲存方案中,原方案中已有檔案不會被遷移。"+ },+ "slideover": {+ "title": "建立儲存方案"+ },+ "actions": {+ "add": "新增儲存",+ "create": "建立儲存"}+ },+ "general": {+ "description": "管理站點基礎資訊與展示外觀。更改會立即影響控制台和前台展示。"+ },+ "form": {+ "loadFailed": "載入設定失敗",+ "saveSuccess": "設定已儲存",+ "saveFailed": "儲存設定失敗"}},"wizard": {@@ -1182,6 +1345,9 @@"description": "Mapbox GL JS 的開源分支。"}}+ },+ "form": {+ "loadSchemaFailed": "嚮導配置載入失敗"}},"onboarding": {@@ -1195,7 +1361,8 @@"complete": "完成"},"current": "進行中",- "stepCounter": "第 {0} 步 / 共 {1} 步"+ "stepCounter": "第 {0} 步 / 共 {1} 步",+ "logoAlt": "ChronoFrame 標誌"},"actions": {"next": "下一步",@@ -1348,6 +1515,35 @@"title": "上傳失敗","message": "上傳過程中發生錯誤,請稍後再試"}+ },+ "runtimeError": {+ "networkFailed": "網絡連線失敗",+ "clientError": "客戶端錯誤 ({status})",+ "serverError": "伺服器錯誤 ({status})",+ "networkError": "網絡錯誤 (狀態碼: {status})",+ "timeout": "上傳逾時 ({timeout}ms)",+ "aborted": "上傳已中止",+ "badRequest": "請求格式錯誤",+ "unauthorized": "未授權訪問",+ "forbidden": "訪問被拒絕",+ "notFound": "上傳介面不存在",+ "conflict": "檔案衝突",+ "fileTooLarge": "檔案過大",+ "unsupportedType": "不支援的檔案類型",+ "rateLimited": "上傳頻率過高",+ "internalServerError": "伺服器內部錯誤",+ "serviceUnavailable": "伺服器暫時不可用",+ "httpError": "HTTP 錯誤: {status}",+ "retrying": "{message} (嘗試 {attempt}/{max})"+ },+ "progress": {+ "calculating": "計算中...",+ "seconds": "{seconds}秒"+ }+ },+ "photo": {+ "image": {+ "loadError": "圖片載入失敗"}}}diff --git a/i18n/locales/zh-Hant-TW.json b/i18n/locales/zh-Hant-TW.jsonindex 3dd79a19..66538e2d 100644--- a/i18n/locales/zh-Hant-TW.json+++ b/i18n/locales/zh-Hant-TW.json@@ -2,7 +2,12 @@"map": {"cluster": {"details": "點選圖片查看詳細資訊",- "nearbyPhotos": "附近有 {0} 張相片"+ "nearbyPhotos": "附近有 {0} 張相片",+ "altFallback": "叢集 {id}"+ },+ "photo": {+ "altFallback": "照片 {id}",+ "unknownCoord": "未知"}},"ui": {@@ -31,7 +36,9 @@},"title": "篩選相片","tooltip": "篩選相片",- "clearAll": "清除全部"+ "clearAll": "清除全部",+ "searchPlaceholder": "搜尋檔名等...",+ "shuffleTooltip": "打亂清單"},"logout": {"tooltip": "登出"@@ -126,7 +133,23 @@"noDescription": "無描述"},"loading": "載入中",- "indexPanelCountCity": "等 {count} 個城市"+ "indexPanelCountCity": "等 {count} 個城市",+ "photo": {+ "untitled": "未命名",+ "altFallback": "照片",+ "loadError": "載入圖片失敗"+ },+ "authForm": {+ "logoAlt": "應用程式標誌"+ },+ "histogram": {+ "rendering": "繪製中",+ "loadError": "直方圖載入失敗"+ },+ "calendarHeatmap": {+ "on": "於",+ "contributions": "項貢獻"+ }},"album": {"notFound": "找不到相簿",@@ -145,7 +168,8 @@"photos": "相片","dateRange": "日期範圍","created": "建立"- }+ },+ "createdTooltip": "建立於:{date}"},"minimap": {"loading": "正在載入小地圖..."@@ -170,7 +194,11 @@"wow": "哇塞","sad": "感動","fire": "助火",- "sparkle": "閃耀"+ "sparkle": "閃耀",+ "error": {+ "title": "表態失敗",+ "rateLimited": "操作過於頻繁,請稍後再試"+ }},"photoload": {"loadError": "圖片載入失敗",@@ -345,7 +373,8 @@"uncalibrated": "未校正","rgb": "RGB"}- }+ },+ "iso": "ISO"},"plural": {"photo": "沒有相片 | 一張相片 | {count} 張相片"@@ -434,7 +463,16 @@"noData": "{0}沒有照片"}},- "unknown": "未知"+ "unknown": "未知",+ "actions": {+ "save": "儲存",+ "saveSettings": "儲存設定",+ "reset": "重設",+ "cancel": "取消",+ "continue": "繼續",+ "delete": "刪除"+ },+ "unknownError": "未知錯誤"},"dashboard": {"photos": {@@ -494,7 +532,10 @@"columnVisibility": {"button": "列設定","description": "切換列的顯示/隱藏"- }+ },+ "selectAllAria": "全選",+ "selectRowAria": "選擇列",+ "thumbnailAlt": "照片縮圖"},"actions": {"reprocess": "重新處理",@@ -696,7 +737,25 @@"longProcessing": "大型檔案處理時間較長,屬正常現象。","success": "檔案已成功上傳並完成處理"}- }+ },+ "uploadQueuePanel": {+ "title": "檔案上傳佇列",+ "stats": {+ "waiting": "等待",+ "active": "進行中",+ "completed": "完成",+ "error": "失敗",+ "skipped": "跳過",+ "blocked": "被阻止"+ },+ "summary": "{completed} 完成, {error} 失敗, {skipped} 跳過, {blocked} 阻止",+ "actions": {+ "clearCompleted": "清除已完成",+ "clearAll": "清除全部",+ "goToQueue": "佇列管理"+ }+ },+ "previewTitle": "照片預覽"},"albums": {"title": "相簿管理",@@ -773,7 +832,8 @@"loadError": "載入相簿失敗","loadDetailError": "載入相簿詳情失敗","loadPhotosError": "載入照片失敗"- }+ },+ "photoCount": "{count} 張"},"overview": {"title": "儀表板總覽",@@ -822,7 +882,12 @@"totalFailed": "失敗計數","avgSuccessRate": "成功率"}- }+ },+ "shareSite": {+ "label": "分享你的網站",+ "button": "分享你的網站"+ },+ "memoryUnavailable": "無法取得記憶體資訊"},"queue": {"title": "隊列管理",@@ -852,7 +917,12 @@"errorMessage": "錯誤詳情","createdAt": "建立時間","completedAt": "完成時間",- "actions": "操作"+ "actions": "操作",+ "expandAria": "展開",+ "detail": {+ "photoId": "照片 ID",+ "payload": "酬載"+ }},"status": {"pending": "等待中",@@ -871,6 +941,7 @@"metadata": "中繼資料","thumbnail": "縮圖","exif": "EXIF處理",+ "motion-photo": "動態相片處理","reverse-geocoding": "地理解析","live-photo": "LivePhoto處理","location-erase": "位置資訊抹除"@@ -882,16 +953,53 @@"messages": {"noTasks": "沒有找到任務","retrySuccess": "任務重試成功",+ "retryFailed": "重試任務失敗","deleteSuccess": "任務刪除成功","batchRetrySuccess": "批次重試成功","clearSuccess": "清理完成",- "operationFailed": "操作失敗"+ "operationFailed": "操作失敗",+ "clearSuccessDescription": "已清除 {count} 個任務",+ "clearFailed": "清理任務失敗",+ "batchRetrySuccessDescription": "已重試 {count} 個任務",+ "batchRetryFailed": "批次重試失敗",+ "deleteFailed": "刪除任務失敗"},"filters": {"all": "全部","status": "按狀態篩選","type": "按類型篩選"+ },+ "taskListTitle": "佇列任務列表"+ },+ "logs": {+ "connectionStatus": {+ "idle": "未連線",+ "connecting": "連線中...",+ "loadingHistory": "載入歷史紀錄...",+ "live": "即時",+ "error": "連線錯誤"+ },+ "search": {+ "placeholder": "搜尋日誌內容...",+ "clearAriaLabel": "清除搜尋內容"+ },+ "filter": {+ "levelPlaceholder": "篩選等級",+ "tagPlaceholder": "篩選 Tag"+ },+ "countLabel": "總筆數/顯示: {total}/{shown}",+ "tagCount": "Tag: {count}",+ "empty": {+ "waiting": "等待日誌資料...",+ "noMatch": "沒有符合的日誌條目"}+ },+ "access": {+ "pleaseLogin": "請登入以檢視儀表板",+ "noAccess": "抱歉,您沒有存取此頁面的權限。"+ },+ "nav": {+ "documentation": "文件"}},"settings": {@@ -977,7 +1085,8 @@"description": "GitHub OAuth 應用的 Client Secret"}}- }+ },+ "sectionDescription": "設定系統級行為參數。這裡的修改會影響全域上傳和服務行為。"},"map": {"provider": {@@ -1005,7 +1114,8 @@"label": "MapLibre 樣式","description": "MapLibre 地圖樣式 URL"}- }+ },+ "sectionDescription": "設定地圖展示與地理編碼服務。地圖服務商會影響地圖樣式與存取憑證。"},"location": {"language": {@@ -1035,7 +1145,8 @@"description": "在上傳與處理照片時自動抹除 EXIF GPS 資訊並清空地理位置欄位","help": "啟用後會將抹除位置資訊操作放入佇列非同步執行"}- }+ },+ "sectionDescription": "管理相片上傳時的資料隱私策略。建議在公開站點啟用位置資訊抹除。"},"storage": {"name": {@@ -1153,7 +1264,59 @@"label": "CDN URL","description": "用於訪問圖像的自訂 CDN URL"}+ },+ "sectionDescription": "管理預設儲存方案與可用儲存提供者。此頁面的設定僅影響後續上傳檔案。",+ "table": {+ "columns": {+ "name": "儲存名稱",+ "type": "儲存類型",+ "actions": "操作"+ }+ },+ "messages": {+ "saved": "設定已儲存",+ "saveError": "儲存設定時發生錯誤",+ "created": "儲存方案已建立",+ "createError": "建立儲存方案時發生錯誤",+ "deleted": "儲存方案已刪除",+ "deleteError": "刪除儲存方案失敗"+ },+ "providers": {+ "s3": "AWS S3 相容儲存",+ "local": "本地儲存",+ "openlist": "OpenList"+ },+ "sections": {+ "currentDefault": "目前預設儲存",+ "management": "儲存方案管理"+ },+ "form": {+ "schemeLabel": "儲存方案",+ "schemePlaceholder": "選擇儲存方案",+ "typeLabel": "儲存類型",+ "typePlaceholder": "選擇儲存類型",+ "nameLabel": "儲存名稱"+ },+ "changeModal": {+ "title": "變更儲存方案",+ "alertTitle": "注意",+ "alertDescription": "變更儲存方案之後上傳的檔案將會儲存到新的儲存方案中,原方案中已有檔案不會被遷移。"+ },+ "slideover": {+ "title": "建立儲存方案"+ },+ "actions": {+ "add": "新增儲存",+ "create": "建立儲存"}+ },+ "general": {+ "description": "管理站點基礎資訊與展示外觀。更改會立即影響控制台和前台展示。"+ },+ "form": {+ "loadFailed": "載入設定失敗",+ "saveSuccess": "設定已儲存",+ "saveFailed": "儲存設定失敗"}},"wizard": {@@ -1182,6 +1345,9 @@"description": "Mapbox GL JS 的開源分支。"}}+ },+ "form": {+ "loadSchemaFailed": "精靈配置載入失敗"}},"onboarding": {@@ -1195,7 +1361,8 @@"complete": "完成"},"current": "進行中",- "stepCounter": "第 {0} 步 / 共 {1} 步"+ "stepCounter": "第 {0} 步 / 共 {1} 步",+ "logoAlt": "ChronoFrame 標誌"},"actions": {"next": "下一步",@@ -1348,6 +1515,35 @@"title": "上傳失敗","message": "上傳過程中發生錯誤,請稍後再試"}+ },+ "runtimeError": {+ "networkFailed": "網路連線失敗",+ "clientError": "用戶端錯誤 ({status})",+ "serverError": "伺服器錯誤 ({status})",+ "networkError": "網路錯誤 (狀態碼: {status})",+ "timeout": "上傳逾時 ({timeout}ms)",+ "aborted": "上傳已中止",+ "badRequest": "請求格式錯誤",+ "unauthorized": "未授權存取",+ "forbidden": "存取被拒絕",+ "notFound": "上傳介面不存在",+ "conflict": "檔案衝突",+ "fileTooLarge": "檔案過大",+ "unsupportedType": "不支援的檔案類型",+ "rateLimited": "上傳頻率過高",+ "internalServerError": "伺服器內部錯誤",+ "serviceUnavailable": "伺服器暫時不可用",+ "httpError": "HTTP 錯誤: {status}",+ "retrying": "{message} (嘗試 {attempt}/{max})"+ },+ "progress": {+ "calculating": "計算中...",+ "seconds": "{seconds}秒"+ }+ },+ "photo": {+ "image": {+ "loadError": "圖片載入失敗"}}}