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): 优化 EXIF 值翻译,新增香港繁体中文翻译
Timothy Yin985d1337b1ce
diff --git a/.vscode/settings.json b/.vscode/settings.jsonindex 3ffa2f11..d72e2920 100644--- a/.vscode/settings.json+++ b/.vscode/settings.json@@ -20,7 +20,7 @@"i18n","i18n/locales"],- "i18n-ally.sourceLanguage": "zh-Hans",+ "i18n-ally.sourceLanguage": "en","i18n-ally.keystyle": "nested","i18n-ally.extract.autoDetect": true,"i18n-ally.extract.ignoredByFiles": {@@ -51,6 +51,9 @@"Author's avatar","Mems rest within the lens.","UCheckbox",- "${title} - TimoYin's mems"+ "${title} - TimoYin's mems",+ "繁体中文(台湾)",+ "繁体中文(香港)",+ "English"]}\ No newline at end of filediff --git a/app/app.vue b/app/app.vueindex d5934281..cf7068a0 100644--- a/app/app.vue+++ b/app/app.vue@@ -1,5 +1,6 @@<script setup lang="ts">import dayjsLocale_zhCN from 'dayjs/locale/zh-cn'+import dayjsLocale_zhTW from 'dayjs/locale/zh-tw'import dayjsLocale_zhHK from 'dayjs/locale/zh-hk'const config = useRuntimeConfig()const { locale } = useI18n()@@ -14,7 +15,8 @@ const photos = computed(() => (data.value as Photo[]) || [])watchEffect(() => {dayjs.locale('zh-Hans', dayjsLocale_zhCN)- dayjs.locale('zh-Hant', dayjsLocale_zhHK)+ dayjs.locale('zh-Hant-TW', dayjsLocale_zhTW)+ dayjs.locale('zh-Hant-HK', dayjsLocale_zhHK)dayjs.locale(locale.value)})diff --git a/app/components/photo/InfoPanel.vue b/app/components/photo/InfoPanel.vueindex bc7ffe8b..7bb2e353 100644--- a/app/components/photo/InfoPanel.vue+++ b/app/components/photo/InfoPanel.vue@@ -146,7 +146,7 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {props.exifData?.ColorSpace? {label: $t('exif.colorSpace.title'),- value: localizeExif('ColorSpace', props.exifData.ColorSpace),+ value: localizeExif('colorSpace', props.exifData.ColorSpace),icon: 'tabler:palette',}: null,@@ -294,7 +294,7 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {props.exifData?.WhiteBalance? {label: $t('exif.wb.title'),- value: localizeExif('WhiteBalance', props.exifData.WhiteBalance),+ value: localizeExif('whiteBalance', props.exifData.WhiteBalance),icon: 'mdi:white-balance-auto',}: null,@@ -329,42 +329,42 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {props.exifData?.ExposureProgram? {label: $t('exif.exposure.program'),- value: localizeExif('ExposureProgram', props.exifData.ExposureProgram),+ value: localizeExif('exposureProgram', props.exifData.ExposureProgram),icon: 'tabler:exposure',}: null,props.exifData?.ExposureMode? {label: $t('exif.exposure.mode'),- value: localizeExif('ExposureMode', props.exifData.ExposureMode),+ value: localizeExif('exposureMode', props.exifData.ExposureMode),icon: 'tabler:exposure-filled',}: null,props.exifData?.MeteringMode? {label: $t('exif.metering.title'),- value: localizeExif('MeteringMode', props.exifData.MeteringMode),+ value: localizeExif('meteringMode', props.exifData.MeteringMode),icon: 'tabler:focus-auto',}: null,props.exifData?.Flash? {label: $t('exif.flash.title'),- value: localizeExif('Flash', props.exifData.Flash),+ value: localizeExif('flash', props.exifData.Flash),icon: 'material-symbols:flash-on-rounded',}: null,props.exifData?.FlashMeteringMode? {label: $t('exif.flash.meteringMode'),- value: localizeExif('FlashMeteringMode', props.exifData.FlashMeteringMode),+ value: localizeExif('meteringMode', props.exifData.FlashMeteringMode),icon: 'material-symbols:flash-on-rounded',}: null,props.exifData?.SceneCaptureType? {label: $t('exif.scene.captureType'),- value: localizeExif('SceneCaptureType', props.exifData.SceneCaptureType),+ value: localizeExif('sceneCaptureType', props.exifData.SceneCaptureType),icon: 'material-symbols:scene',}: null,@@ -387,7 +387,7 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {props.exifData?.SensingMethod? {label: $t('exif.sensing.method'),- value: localizeExif('SensingMethod', props.exifData.SensingMethod),+ value: localizeExif('sensingMethod', props.exifData.SensingMethod),icon: 'tabler:photo-sensor',}: null,diff --git a/app/composables/useExifLocalization.ts b/app/composables/useExifLocalization.tsindex 3793be29..a0767b44 100644--- a/app/composables/useExifLocalization.ts+++ b/app/composables/useExifLocalization.ts@@ -1,20 +1,23 @@-import { localizeExifValue } from '~/utils/exif-localization'+import { translateExifValue } from '~/utils/exif-localization'/**- * EXIF本地化的Composable+ * EXIF 本地化的 Composable* 提供在组件中使用的便捷方法*/export function useExifLocalization() {const { $i18n } = useNuxtApp()/**- * 本地化EXIF字段值- * @param fieldName EXIF字段名+ * 本地化 EXIF 字段值+ * @param category EXIF 字段名* @param value 原始值* @returns 本地化后的值*/- const localizeExif = (fieldName: string, value: string | number | undefined): string => {- return localizeExifValue(fieldName, value, $i18n.t)+ const localizeExif = (+ category: ExifCategory,+ value: string | number | undefined,+ ): string => {+ return translateExifValue(category, value, $i18n.t)}return {diff --git a/app/pages/dashboard/photos.vue b/app/pages/dashboard/photos.vueindex a1af0631..c76c49a7 100644--- a/app/pages/dashboard/photos.vue+++ b/app/pages/dashboard/photos.vue@@ -386,7 +386,7 @@ const columns: TableColumn<Photo>[] = [{accessorKey: 'exif.ColorSpace',header: '颜色空间',- cell: (info) => localizeExif('ColorSpace', info.getValue() as string),+ cell: (info) => localizeExif('colorSpace', info.getValue() as string),},{accessorKey: 'actions',diff --git a/app/utils/exif-localization.ts b/app/utils/exif-localization.tsindex c10cd893..c1b861b1 100644--- a/app/utils/exif-localization.ts+++ b/app/utils/exif-localization.ts@@ -1,187 +1,43 @@-/**- * EXIF 字段值本地化工具函数- * 用于将EXIF中的英文枚举值转换为本地化的显示文本- */--// 曝光程序映射-export const exposureProgramMap: Record<string, string> = {- 'Manual': 'exif.values.exposureProgram.manual',- 'Program AE': 'exif.values.exposureProgram.programAE',- 'Aperture Priority': 'exif.values.exposureProgram.aperturePriority',- 'Aperture-priority AE': 'exif.values.exposureProgram.aperturePriority',- 'Shutter Priority': 'exif.values.exposureProgram.shutterPriority',- 'Shutter-priority AE': 'exif.values.exposureProgram.shutterPriority',- 'Creative Program': 'exif.values.exposureProgram.creative',- 'Action Program': 'exif.values.exposureProgram.action',- 'Portrait Mode': 'exif.values.exposureProgram.portrait',- 'Landscape Mode': 'exif.values.exposureProgram.landscape',- 'Bulb': 'exif.values.exposureProgram.bulb',-}--// 曝光模式映射-export const exposureModeMap: Record<string, string> = {- 'Auto': 'exif.values.exposureMode.auto',- 'Manual': 'exif.values.exposureMode.manual',- 'Auto bracket': 'exif.values.exposureMode.autoBracket',- 'Auto Exposure Bracketing': 'exif.values.exposureMode.autoBracket',-}--// 闪光灯状态映射-export const flashMap: Record<string, string> = {- 'No Flash': 'exif.values.flash.noFlash',- 'Off, Did not fire': 'exif.values.flash.offDidNotFire',- 'Flash did not fire': 'exif.values.flash.didNotFire',- 'Flash fired': 'exif.values.flash.fired',- 'Flash fired, auto mode': 'exif.values.flash.firedAuto',- 'Flash fired, auto mode, return light not detected': 'exif.values.flash.firedAutoNoReturn',- 'Flash fired, auto mode, return light detected': 'exif.values.flash.firedAutoReturn',- 'Flash fired, compulsory flash mode': 'exif.values.flash.firedCompulsory',- 'Flash fired, compulsory flash mode, return light not detected': 'exif.values.flash.firedCompulsoryNoReturn',- 'Flash fired, compulsory flash mode, return light detected': 'exif.values.flash.firedCompulsoryReturn',- 'Flash did not fire, auto mode': 'exif.values.flash.didNotFireAuto',- 'Flash did not fire, compulsory flash mode': 'exif.values.flash.didNotFireCompulsory',- 'No flash function': 'exif.values.flash.noFunction',- 'Flash fired, red-eye reduction mode': 'exif.values.flash.firedRedEye',- 'Flash fired, red-eye reduction mode, return light not detected': 'exif.values.flash.firedRedEyeNoReturn',- 'Flash fired, red-eye reduction mode, return light detected': 'exif.values.flash.firedRedEyeReturn',-}--// 测光模式映射-export const meteringModeMap: Record<string, string> = {- 'Unknown': 'exif.values.meteringMode.unknown',- 'Average': 'exif.values.meteringMode.average',- 'Center-weighted average': 'exif.values.meteringMode.centerWeighted',- 'Spot': 'exif.values.meteringMode.spot',- 'Multi-spot': 'exif.values.meteringMode.multiSpot',- 'Multi-segment': 'exif.values.meteringMode.multiSegment',- 'Pattern': 'exif.values.meteringMode.pattern',- 'Partial': 'exif.values.meteringMode.partial',- 'Other': 'exif.values.meteringMode.other',-}--// 白平衡映射-export const whiteBalanceMap: Record<string, string> = {- 'Auto': 'exif.values.whiteBalance.auto',- 'Manual': 'exif.values.whiteBalance.manual',- 'Daylight': 'exif.values.whiteBalance.daylight',- 'Cloudy': 'exif.values.whiteBalance.cloudy',- 'Shade': 'exif.values.whiteBalance.shade',- 'Tungsten': 'exif.values.whiteBalance.tungsten',- 'Fluorescent': 'exif.values.whiteBalance.fluorescent',- 'Flash': 'exif.values.whiteBalance.flash',- 'Fine Weather': 'exif.values.whiteBalance.fineWeather',- 'Cloudy Weather': 'exif.values.whiteBalance.cloudyWeather',- 'Tungsten (Incandescent)': 'exif.values.whiteBalance.tungsten',- 'White Fluorescent': 'exif.values.whiteBalance.whiteFluorescent',- 'Cool White Fluorescent': 'exif.values.whiteBalance.coolWhiteFluorescent',- 'Day White Fluorescent': 'exif.values.whiteBalance.dayWhiteFluorescent',- 'Daylight Fluorescent': 'exif.values.whiteBalance.daylightFluorescent',- 'Underwater': 'exif.values.whiteBalance.underwater',-}--// 闪光灯测光模式映射-export const flashMeteringModeMap: Record<string, string> = {- 'TTL': 'exif.values.flashMeteringMode.ttl',- 'Average': 'exif.values.flashMeteringMode.average',- 'Matrix': 'exif.values.flashMeteringMode.matrix',- 'Center-weighted': 'exif.values.flashMeteringMode.centerWeighted',- 'Spot': 'exif.values.flashMeteringMode.spot',- 'Multi-spot': 'exif.values.flashMeteringMode.multiSpot',- 'Other': 'exif.values.flashMeteringMode.other',-}--// 场景捕捉类型映射-export const sceneCaptureTypeMap: Record<string, string> = {- 'Standard': 'exif.values.sceneCaptureType.standard',- 'Landscape': 'exif.values.sceneCaptureType.landscape',- 'Portrait': 'exif.values.sceneCaptureType.portrait',- 'Night': 'exif.values.sceneCaptureType.night',- 'Night Scene': 'exif.values.sceneCaptureType.night',- 'Other': 'exif.values.sceneCaptureType.other',-}--// 感光方式映射-export const sensingMethodMap: Record<string, string> = {- 'Not defined': 'exif.values.sensingMethod.notDefined',- 'One-chip color area': 'exif.values.sensingMethod.oneChipColor',- 'Two-chip color area': 'exif.values.sensingMethod.twoChipColor',- 'Three-chip color area': 'exif.values.sensingMethod.threeChipColor',- 'Color sequential area': 'exif.values.sensingMethod.colorSequential',- 'Trilinear': 'exif.values.sensingMethod.trilinear',- 'Color sequential linear': 'exif.values.sensingMethod.colorSequentialLinear',-}--// 色彩空间映射-export const colorSpaceMap: Record<string, string> = {- 'sRGB': 'exif.values.colorSpace.sRGB',- 'Adobe RGB': 'exif.values.colorSpace.adobeRGB',- 'Uncalibrated': 'exif.values.colorSpace.uncalibrated',- 'ProPhoto RGB': 'exif.values.colorSpace.proPhotoRGB',+import type localeFile from '~/../i18n/locales/en.json'++export type ExifCategory = keyof typeof localeFile.exif.values++export function toCamelCaseKey(label: string): string {+ return (+ label+ // 去掉非字母数字的符号(保留空格用于分词)+ .replace(/[^a-zA-Z0-9 ]+/g, ' ')+ // 分割单词+ .trim()+ .split(/\s+/)+ // 转换为 camelCase+ .map((word, index) => {+ const lower = word.toLowerCase()+ return index === 0+ ? lower+ : lower.charAt(0).toUpperCase() + lower.slice(1)+ })+ .join('')+ )}/**- * 本地化EXIF字段值- * @param fieldName EXIF字段名+ * 本地化 EXIF 字段值+ * @param category EXIF 字段名* @param value 原始值* @param $t 翻译函数* @returns 本地化后的值或原始值*/-export function localizeExifValue(- fieldName: string,+export function translateExifValue(+ category: ExifCategory,value: string | number | undefined,$t: (key: string) => string,): string {if (!value) return ''const stringValue = String(value)+ const camelCaseKey = toCamelCaseKey(stringValue)+ const translationKey = `exif.values.${category}.${camelCaseKey}`- switch (fieldName) {- case 'ExposureProgram':- return exposureProgramMap[stringValue]- ? $t(exposureProgramMap[stringValue])- : stringValue-- case 'ExposureMode':- return exposureModeMap[stringValue]- ? $t(exposureModeMap[stringValue])- : stringValue-- case 'Flash':- return flashMap[stringValue]- ? $t(flashMap[stringValue])- : stringValue-- case 'FlashMeteringMode':- return flashMeteringModeMap[stringValue]- ? $t(flashMeteringModeMap[stringValue])- : stringValue-- case 'MeteringMode':- return meteringModeMap[stringValue]- ? $t(meteringModeMap[stringValue])- : stringValue-- case 'WhiteBalance':- return whiteBalanceMap[stringValue]- ? $t(whiteBalanceMap[stringValue])- : stringValue-- case 'SceneCaptureType':- return sceneCaptureTypeMap[stringValue]- ? $t(sceneCaptureTypeMap[stringValue])- : stringValue-- case 'SensingMethod':- return sensingMethodMap[stringValue]- ? $t(sensingMethodMap[stringValue])- : stringValue-- case 'ColorSpace':- return colorSpaceMap[stringValue]- ? $t(colorSpaceMap[stringValue])- : stringValue-- default:- return stringValue- }+ return $t(translationKey)}diff --git a/i18n/i18n.config.ts b/i18n/i18n.config.tsindex 63676991..b2167db6 100644--- a/i18n/i18n.config.ts+++ b/i18n/i18n.config.ts@@ -1,5 +1,11 @@export default defineI18nConfig(() => {return {- fallbackLocale: 'en',+ fallbackLocale: {+ 'zh-Hant': ['zh-Hant-TW', 'zh-Hant-HK'],+ 'zh-TW': ['zh-Hant-TW'],+ 'zh-HK': ['zh-Hant-HK'],+ 'zh': ['zh-Hans'],+ 'default': ['en'],+ },}})diff --git a/i18n/locales/en.json b/i18n/locales/en.jsonindex 28627257..afb48615 100644--- a/i18n/locales/en.json+++ b/i18n/locales/en.json@@ -150,97 +150,88 @@},"values": {"exposureProgram": {+ "notDefined": "Not Defined","manual": "Manual",- "programAE": "Program AE",- "aperturePriority": "Aperture Priority",- "shutterPriority": "Shutter Priority",- "creative": "Creative Program",- "action": "Action Program",- "portrait": "Portrait Mode",- "landscape": "Landscape Mode",+ "programAe": "Program AE",+ "aperturePriorityAe": "Aperture-priority AE",+ "shutterSpeedPriorityAe": "Shutter speed priority AE",+ "creativeSlowSpeed": "Creative (Slow speed)",+ "actionHighSpeed": "Action (High speed)",+ "portrait": "Portrait",+ "landscape": "Landscape","bulb": "Bulb"},"exposureMode": {- "auto": "Auto Exposure",- "manual": "Manual Exposure",- "autoBracket": "Auto Exposure Bracketing"+ "auto": "Auto",+ "manual": "Manual",+ "autoBracket": "Auto bracket"},"flash": {"noFlash": "No Flash",- "didNotFire": "Flash did not fire",- "offDidNotFire": "Off",- "fired": "Flash fired",- "firedAuto": "Flash fired, auto mode",- "firedAutoNoReturn": "Flash fired, auto mode, return light not detected",- "firedAutoReturn": "Flash fired, auto mode, return light detected",- "firedCompulsory": "Flash fired, compulsory flash mode",- "firedCompulsoryNoReturn": "Flash fired, compulsory flash mode, return light not detected",- "firedCompulsoryReturn": "Flash fired, compulsory flash mode, return light detected",- "didNotFireAuto": "Flash did not fire, auto mode",- "didNotFireCompulsory": "Flash did not fire, compulsory flash mode",- "noFunction": "No flash function",- "firedRedEye": "Flash fired, red-eye reduction mode",- "firedRedEyeNoReturn": "Flash fired, red-eye reduction mode, return light not detected",- "firedRedEyeReturn": "Flash fired, red-eye reduction mode, return light detected"- },- "flashMeteringMode": {- "ttl": "TTL",- "average": "Average",- "matrix": "Matrix",- "centerWeighted": "Center-weighted",- "spot": "Spot",- "multiSpot": "Multi-spot",- "other": "Other"+ "fired": "Fired",+ "firedReturnNotDetected": "Fired, Return not detected",+ "firedReturnDetected": "Fired, Return detected",+ "onDidNotFire": "On, Did not fire",+ "onFired": "On, Fired",+ "onReturnNotDetected": "On, Return not detected",+ "onReturnDetected": "On, Return detected",+ "offDidNotFire": "Off, Did not fire",+ "offDidNotFireReturnNotDetected": "Off, Did not fire, Return not detected",+ "autoDidNotFire": "Auto, Did not fire",+ "autoFired": "Auto, Fired",+ "autoFiredReturnNotDetected": "Auto, Fired, Return not detected",+ "autoFiredReturnDetected": "Auto, Fired, Return detected",+ "noFlashFunction": "No flash function",+ "offNoFlashFunction": "Off, No flash function",+ "firedRedEyeReduction": "Fired, Red-eye reduction",+ "firedRedEyeReductionReturnNotDetected": "Fired, Red-eye reduction, Return not detected",+ "firedRedEyeReductionReturnDetected": "Fired, Red-eye reduction, Return detected",+ "onRedEyeReduction": "On, Red-eye reduction",+ "onRedEyeReductionReturnNotDetected": "On, Red-eye reduction, Return not detected",+ "onRedEyeReductionReturnDetected": "On, Red-eye reduction, Return detected",+ "offRedEyeReduction": "Off, Red-eye reduction",+ "autoDidNotFireRedEyeReduction": "Auto, Did not fire, Red-eye reduction",+ "autoFiredRedEyeReduction": "Auto, Fired, Red-eye reduction",+ "autoFiredRedEyeReductionReturnNotDetected": "Auto, Fired, Red-eye reduction, Return not detected",+ "autoFiredRedEyeReductionReturnDetected": "Auto, Fired, Red-eye reduction, Return detected"},"meteringMode": {"unknown": "Unknown","average": "Average",- "centerWeighted": "Center-weighted average",+ "centerWeightedAverage": "Center-weighted average","spot": "Spot","multiSpot": "Multi-spot","multiSegment": "Multi-segment",- "pattern": "Pattern","partial": "Partial","other": "Other"},"whiteBalance": {- "auto": "Auto White Balance",- "manual": "Manual White Balance",- "daylight": "Daylight",- "cloudy": "Cloudy",- "shade": "Shade",- "tungsten": "Tungsten",- "fluorescent": "Fluorescent",- "flash": "Flash",- "fineWeather": "Fine Weather",- "cloudyWeather": "Cloudy Weather",- "whiteFluorescent": "White Fluorescent",- "coolWhiteFluorescent": "Cool White Fluorescent",- "dayWhiteFluorescent": "Day White Fluorescent",- "daylightFluorescent": "Daylight Fluorescent",- "underwater": "Underwater"+ "auto": "Auto",+ "manual": "Manual"},"sceneCaptureType": {"standard": "Standard","landscape": "Landscape","portrait": "Portrait",- "night": "Night Scene",+ "night": "Night","other": "Other"},"sensingMethod": {- "notDefined": "Not defined",- "oneChipColor": "One-chip color area sensor",- "twoChipColor": "Two-chip color area sensor",- "threeChipColor": "Three-chip color area sensor",- "colorSequential": "Color sequential area sensor",- "trilinear": "Trilinear sensor",- "colorSequentialLinear": "Color sequential linear sensor"+ "monochromeArea": "Monochrome area",+ "oneChipColorArea": "One-chip color area",+ "twoChipColorArea": "Two-chip color area",+ "threeChipColorArea": "Three-chip color area",+ "colorSequentialArea": "Color sequential area",+ "monochromeLinear": "Monochrome linear",+ "trilinear": "Trilinear",+ "colorSequentialLinear": "Color sequential linear"},"colorSpace": {- "sRGB": "sRGB",- "adobeRGB": "Adobe RGB",- "uncalibrated": "Uncalibrated",- "proPhotoRGB": "ProPhoto RGB"+ "srgb": "sRGB",+ "adobeRgb": "Adobe RGB",+ "wideGamutRgb": "Wide Gamut RGB",+ "iccProfile": "ICC Profile",+ "uncalibrated": "Uncalibrated"}}},@@ -253,4 +244,4 @@"photos": "Photos","locations": "Locations"}-}+}\ No newline at end of filediff --git a/i18n/locales/zh-Hans.json b/i18n/locales/zh-Hans.jsonindex ae608ed9..c3043480 100644--- a/i18n/locales/zh-Hans.json+++ b/i18n/locales/zh-Hans.json@@ -147,75 +147,64 @@},"values": {"exposureProgram": {+ "notDefined": "未定义","manual": "手动",- "programAE": "程序自动",- "aperturePriority": "光圈优先",- "shutterPriority": "快门优先",- "creative": "创意程序",- "action": "运动程序",- "portrait": "人像模式",- "landscape": "风景模式",+ "programAe": "程序自动曝光",+ "aperturePriorityAe": "光圈优先自动曝光",+ "shutterSpeedPriorityAe": "快门优先自动曝光",+ "creativeSlowSpeed": "创意(慢速)",+ "actionHighSpeed": "动作(高速)",+ "portrait": "人像",+ "landscape": "风景","bulb": "B门"},"exposureMode": {- "auto": "自动曝光",- "manual": "手动曝光",+ "auto": "自动",+ "manual": "手动","autoBracket": "自动包围曝光"},"flash": {- "noFlash": "无闪光灯",- "didNotFire": "闪光灯未启用",- "offDidNotFire": "关闭",- "fired": "闪光灯启用",- "firedAuto": "闪光灯启用,自动模式",- "firedAutoNoReturn": "闪光灯启用,自动模式,未检测到返回光",- "firedAutoReturn": "闪光灯启用,自动模式,检测到返回光",- "firedCompulsory": "闪光灯启用,强制模式",- "firedCompulsoryNoReturn": "闪光灯启用,强制模式,未检测到返回光",- "firedCompulsoryReturn": "闪光灯启用,强制模式,检测到返回光",- "didNotFireAuto": "闪光灯未启用,自动模式",- "didNotFireCompulsory": "闪光灯未启用,强制模式",- "noFunction": "无闪光灯功能",- "firedRedEye": "闪光灯启用,防红眼模式",- "firedRedEyeNoReturn": "闪光灯启用,防红眼模式,未检测到返回光",- "firedRedEyeReturn": "闪光灯启用,防红眼模式,检测到返回光"- },- "flashMeteringMode": {- "ttl": "TTL",- "average": "平均测光",- "matrix": "矩阵测光",- "centerWeighted": "中央重点测光",- "spot": "点测光",- "multiSpot": "多点测光",- "other": "其他"+ "noFlash": "未闪光",+ "fired": "已闪光",+ "firedReturnNotDetected": "已闪光,未检测到回光",+ "firedReturnDetected": "已闪光,检测到回光",+ "onDidNotFire": "开启,未闪光",+ "onFired": "开启,已闪光",+ "onReturnNotDetected": "开启,未检测到回光",+ "onReturnDetected": "开启,检测到回光",+ "offDidNotFire": "关闭,未闪光",+ "offDidNotFireReturnNotDetected": "关闭,未闪光,未检测到回光",+ "autoDidNotFire": "自动,未闪光",+ "autoFired": "自动,已闪光",+ "autoFiredReturnNotDetected": "自动,已闪光,未检测到回光",+ "autoFiredReturnDetected": "自动,已闪光,检测到回光",+ "noFlashFunction": "无闪光功能",+ "offNoFlashFunction": "关闭,无闪光功能",+ "firedRedEyeReduction": "已闪光,防红眼",+ "firedRedEyeReductionReturnNotDetected": "已闪光,防红眼,未检测到回光",+ "firedRedEyeReductionReturnDetected": "已闪光,防红眼,检测到回光",+ "onRedEyeReduction": "开启,防红眼",+ "onRedEyeReductionReturnNotDetected": "开启,防红眼,未检测到回光",+ "onRedEyeReductionReturnDetected": "开启,防红眼,检测到回光",+ "offRedEyeReduction": "关闭,防红眼",+ "autoDidNotFireRedEyeReduction": "自动,未闪光,防红眼",+ "autoFiredRedEyeReduction": "自动,已闪光,防红眼",+ "autoFiredRedEyeReductionReturnNotDetected": "自动,已闪光,防红眼,未检测到回光",+ "autoFiredRedEyeReductionReturnDetected": "自动,已闪光,防红眼,检测到回光"},"meteringMode": {"unknown": "未知","average": "平均测光",- "centerWeighted": "中央重点测光",+ "centerWeightedAverage": "中央重点平均测光","spot": "点测光","multiSpot": "多点测光",- "multiSegment": "多区域测光",- "pattern": "矩阵测光",+ "multiSegment": "矩阵测光","partial": "局部测光","other": "其他"},"whiteBalance": {- "auto": "自动白平衡",- "manual": "手动白平衡",- "daylight": "日光",- "cloudy": "阴天",- "shade": "阴影",- "tungsten": "钨丝灯",- "fluorescent": "荧光灯",- "flash": "闪光灯",- "fineWeather": "晴天",- "cloudyWeather": "阴天",- "whiteFluorescent": "白色荧光灯",- "coolWhiteFluorescent": "冷白色荧光灯",- "dayWhiteFluorescent": "日光白色荧光灯",- "daylightFluorescent": "日光色荧光灯",- "underwater": "水下"+ "auto": "自动",+ "manual": "手动"},"sceneCaptureType": {"standard": "标准",@@ -225,19 +214,21 @@"other": "其他"},"sensingMethod": {- "notDefined": "未定义",- "oneChipColor": "单芯片彩色传感器",- "twoChipColor": "双芯片彩色传感器",- "threeChipColor": "三芯片彩色传感器",- "colorSequential": "彩色顺序传感器",+ "monochromeArea": "单色区域传感器",+ "oneChipColorArea": "单片彩色区域传感器",+ "twoChipColorArea": "双片彩色区域传感器",+ "threeChipColorArea": "三片彩色区域传感器",+ "colorSequentialArea": "顺序彩色区域传感器",+ "monochromeLinear": "单色线性传感器","trilinear": "三线性传感器",- "colorSequentialLinear": "彩色顺序线性传感器"+ "colorSequentialLinear": "顺序彩色线性传感器"},"colorSpace": {- "sRGB": "sRGB",- "adobeRGB": "Adobe RGB",- "uncalibrated": "未校准",- "proPhotoRGB": "ProPhoto RGB"+ "srgb": "sRGB",+ "adobeRgb": "Adobe RGB",+ "wideGamutRgb": "广色域 RGB",+ "iccProfile": "ICC 配置文件",+ "uncalibrated": "未校准"}}},@@ -253,4 +244,4 @@"locations": "位置管理","photos": "照片库"}-}+}\ No newline at end of filediff --git a/i18n/locales/zh-Hant-HK.json b/i18n/locales/zh-Hant-HK.jsonnew file mode 100644index 00000000..c7b34861--- /dev/null+++ b/i18n/locales/zh-Hant-HK.json@@ -0,0 +1,247 @@+{+ "map": {+ "cluster": {+ "details": "點擊圖片查看詳情",+ "nearbyPhotos": "附近有 {0} 張相片"+ }+ },+ "ui": {+ "livePhoto": "Live 實況",+ "action": {+ "dashboard": {+ "tooltip": "控制台"+ },+ "explore": {+ "tooltip": "探索地圖"+ },+ "filter": {+ "empty": {+ "cameras": "沒有相機資料",+ "cities": "沒有城市資料",+ "lenses": "沒有鏡頭資料",+ "tags": "沒有標籤"+ },+ "rating": {+ "showAll": "顯示所有相片",+ "showStarsAndAbove": "顯示 {count} 星或以上的相片"+ },+ "tabs": {+ "cameras": "相機",+ "cities": "城市",+ "lenses": "鏡頭",+ "ratings": "評分",+ "tags": "標籤"+ },+ "title": "篩選相片",+ "tooltip": "篩選相片",+ "clearAll": "全部清除"+ },+ "logout": {+ "tooltip": "登出"+ },+ "sort": {+ "options": {+ "dateTakenAsc": "日期(最舊的在前)",+ "dateTakenDesc": "日期(最新的在前)",+ "fileSizeAsc": "檔案大小(升冪)",+ "fileSizeDesc": "檔案大小(降冪)",+ "titleAsc": "標題(A-Z)",+ "titleDesc": "標題(Z-A)"+ },+ "title": "排序方式",+ "tooltip": "相片排序"+ },+ "theme": {+ "tooltip": "色彩主題"+ }+ },+ "stats": {+ "totalPhotosWithRange": "{range},共 @:plural.photo"+ }+ },+ "minimap": {+ "loading": "載入小地圖..."+ },+ "viewer": {+ "hint": {+ "livePhoto": {+ "mobile": "長按播放 Live 實況相片 · 點兩下或兩指縮放",+ "desktop": "滑鼠移到左上角播放 · 點兩下/滾輪縮放"+ },+ "mobile": "點兩下或兩指縮放",+ "desktop": "點兩下或用滑鼠滾輪縮放"+ }+ },+ "exif": {+ "sections": {+ "basic": "基本資料",+ "deviceInfomation": "裝置資料",+ "specification": "技術參數",+ "rating": "評分",+ "tags": "標籤",+ "histogram": "直方圖",+ "capture": {},+ "shooting": {+ "parameters": "拍攝參數",+ "mode": "拍攝模式"+ }+ },+ "aperture": "光圈",+ "filename": "檔名",+ "fileSize": "檔案大小",+ "resolution": "解像度",+ "pixels": "像素",+ "dateTaken": {+ "title": "拍攝時間"+ },+ "colorSpace": {+ "title": "色彩空間"+ },+ "artist": "攝影師",+ "software": "軟件",+ "tz": "時區",+ "country": "國家/地區",+ "city": "城市",+ "gps": {+ "title": "座標"+ },+ "focal": {+ "length": {+ "actual": "焦距",+ "equivalent": "35mm 等效"+ },+ "plane": {+ "resolution": "焦平面解像度"+ }+ },+ "exposure": {+ "time": "曝光時間",+ "program": "曝光程式",+ "mode": "曝光模式"+ },+ "camera": "相機",+ "lens": "鏡頭",+ "maxAperture": "最大光圈",+ "wb": {+ "title": "白平衡",+ "shiftAB": "白平衡偏移(琥珀-藍)",+ "shiftGM": "白平衡偏移(綠-洋紅)",+ "bias": "白平衡偏移",+ "fineTune": "白平衡微調"+ },+ "metering": {+ "title": "測光模式"+ },+ "flash": {+ "title": "閃光燈",+ "meteringMode": "閃光燈測光模式"+ },+ "scene": {+ "captureType": "場景拍攝類型"+ },+ "brightness": {+ "value": "亮度"+ },+ "sensing": {+ "method": "感光方式"+ },+ "values": {+ "exposureProgram": {+ "notDefined": "未定義",+ "manual": "手動",+ "programAe": "程式自動曝光",+ "aperturePriorityAe": "光圈先決自動曝光",+ "shutterSpeedPriorityAe": "快門先決自動曝光",+ "creativeSlowSpeed": "創意(慢速)",+ "actionHighSpeed": "動作(高速)",+ "portrait": "人像",+ "landscape": "風景",+ "bulb": "B 快門"+ },+ "exposureMode": {+ "auto": "自動",+ "manual": "手動",+ "autoBracket": "自動包圍曝光"+ },+ "flash": {+ "noFlash": "未閃光",+ "fired": "已閃光",+ "firedReturnNotDetected": "已閃光,未檢測到回光",+ "firedReturnDetected": "已閃光,檢測到回光",+ "onDidNotFire": "開啟,未閃光",+ "onFired": "開啟,已閃光",+ "onReturnNotDetected": "開啟,未檢測到回光",+ "onReturnDetected": "開啟,檢測到回光",+ "offDidNotFire": "關閉,未閃光",+ "offDidNotFireReturnNotDetected": "關閉,未閃光,未檢測到回光",+ "autoDidNotFire": "自動,未閃光",+ "autoFired": "自動,已閃光",+ "autoFiredReturnNotDetected": "自動,已閃光,未檢測到回光",+ "autoFiredReturnDetected": "自動,已閃光,檢測到回光",+ "noFlashFunction": "無閃光功能",+ "offNoFlashFunction": "關閉,無閃光功能",+ "firedRedEyeReduction": "已閃光,防紅眼",+ "firedRedEyeReductionReturnNotDetected": "已閃光,防紅眼,未檢測到回光",+ "firedRedEyeReductionReturnDetected": "已閃光,防紅眼,檢測到回光",+ "onRedEyeReduction": "開啟,防紅眼",+ "onRedEyeReductionReturnNotDetected": "開啟,防紅眼,未檢測到回光",+ "onRedEyeReductionReturnDetected": "開啟,防紅眼,檢測到回光",+ "offRedEyeReduction": "關閉,防紅眼",+ "autoDidNotFireRedEyeReduction": "自動,未閃光,防紅眼",+ "autoFiredRedEyeReduction": "自動,已閃光,防紅眼",+ "autoFiredRedEyeReductionReturnNotDetected": "自動,已閃光,防紅眼,未檢測到回光",+ "autoFiredRedEyeReductionReturnDetected": "自動,已閃光,防紅眼,檢測到回光"+ },+ "meteringMode": {+ "unknown": "未知",+ "average": "平均測光",+ "centerWeightedAverage": "中央重點平均測光",+ "spot": "點測光",+ "multiSpot": "多點測光",+ "multiSegment": "矩陣測光",+ "partial": "局部測光",+ "other": "其他"+ },+ "whiteBalance": {+ "auto": "自動",+ "manual": "手動"+ },+ "sceneCaptureType": {+ "standard": "標準",+ "landscape": "風景",+ "portrait": "人像",+ "night": "夜景",+ "other": "其他"+ },+ "sensingMethod": {+ "monochromeArea": "單色區域感測器",+ "oneChipColorArea": "單晶片彩色區域感測器",+ "twoChipColorArea": "雙晶片彩色區域感測器",+ "threeChipColorArea": "三晶片彩色區域感測器",+ "colorSequentialArea": "順序彩色區域感測器",+ "monochromeLinear": "單色線性感測器",+ "trilinear": "三線性感測器",+ "colorSequentialLinear": "順序彩色線性感測器"+ },+ "colorSpace": {+ "srgb": "sRGB",+ "adobeRgb": "Adobe RGB",+ "wideGamutRgb": "廣色域 RGB",+ "iccProfile": "ICC 設定檔",+ "uncalibrated": "未校正"+ }+ }+ },+ "plural": {+ "photo": "沒有相片 | 一張相片 | {count} 張相片"+ },+ "title": {+ "dashboard": "控制台",+ "fallback": {+ "photo": "相片"+ },+ "locations": "位置管理",+ "photos": "相片庫",+ "gallery": "相片集"+ }+}\ No newline at end of filediff --git a/i18n/locales/zh-Hant-TW.json b/i18n/locales/zh-Hant-TW.jsonnew file mode 100644index 00000000..09f7900a--- /dev/null+++ b/i18n/locales/zh-Hant-TW.json@@ -0,0 +1,247 @@+{+ "map": {+ "cluster": {+ "details": "點選圖片查看詳細資訊",+ "nearbyPhotos": "附近有 {0} 張相片"+ }+ },+ "ui": {+ "livePhoto": "實況",+ "action": {+ "dashboard": {+ "tooltip": "儀表板"+ },+ "explore": {+ "tooltip": "探索地圖"+ },+ "filter": {+ "empty": {+ "cameras": "沒有相機資訊",+ "cities": "沒有城市資訊",+ "lenses": "沒有鏡頭資訊",+ "tags": "沒有標籤"+ },+ "rating": {+ "showAll": "顯示所有相片",+ "showStarsAndAbove": "顯示 {count} 星以上的相片"+ },+ "tabs": {+ "cameras": "相機",+ "cities": "城市",+ "lenses": "鏡頭",+ "ratings": "評分",+ "tags": "標籤"+ },+ "title": "篩選相片",+ "tooltip": "篩選相片",+ "clearAll": "清除全部"+ },+ "logout": {+ "tooltip": "登出"+ },+ "sort": {+ "options": {+ "dateTakenAsc": "日期(最舊的在前)",+ "dateTakenDesc": "日期(最新的在前)",+ "fileSizeAsc": "檔案大小(升冪)",+ "fileSizeDesc": "檔案大小(降冪)",+ "titleAsc": "標題(A-Z)",+ "titleDesc": "標題(Z-A)"+ },+ "title": "排序方式",+ "tooltip": "相片排序"+ },+ "theme": {+ "tooltip": "色彩主題"+ }+ },+ "stats": {+ "totalPhotosWithRange": "{range},共 @:plural.photo"+ }+ },+ "minimap": {+ "loading": "正在載入小地圖..."+ },+ "viewer": {+ "hint": {+ "livePhoto": {+ "mobile": "長按播放實況照片 · 點兩下或雙指縮放",+ "desktop": "游標移到左上角播放 · 點兩下/滾輪縮放"+ },+ "mobile": "點兩下或雙指縮放",+ "desktop": "點兩下或使用滑鼠滾輪縮放"+ }+ },+ "exif": {+ "sections": {+ "basic": "基本資訊",+ "deviceInfomation": "裝置資訊",+ "specification": "技術參數",+ "rating": "評分",+ "tags": "標籤",+ "histogram": "直方圖",+ "capture": {},+ "shooting": {+ "parameters": "拍攝參數",+ "mode": "拍攝模式"+ }+ },+ "aperture": "光圈",+ "filename": "檔名",+ "fileSize": "檔案大小",+ "resolution": "解析度",+ "pixels": "像素",+ "dateTaken": {+ "title": "拍攝時間"+ },+ "colorSpace": {+ "title": "色彩空間"+ },+ "artist": "攝影師",+ "software": "軟體",+ "tz": "時區",+ "country": "國家",+ "city": "城市",+ "gps": {+ "title": "座標"+ },+ "focal": {+ "length": {+ "actual": "焦距",+ "equivalent": "35mm 等效"+ },+ "plane": {+ "resolution": "焦平面解析度"+ }+ },+ "exposure": {+ "time": "曝光時間",+ "program": "曝光程式",+ "mode": "曝光模式"+ },+ "camera": "相機",+ "lens": "鏡頭",+ "maxAperture": "最大光圈",+ "wb": {+ "title": "白平衡",+ "shiftAB": "白平衡偏移(琥珀–藍)",+ "shiftGM": "白平衡偏移(綠–洋紅)",+ "bias": "白平衡偏移",+ "fineTune": "白平衡微調"+ },+ "metering": {+ "title": "測光模式"+ },+ "flash": {+ "title": "閃光燈",+ "meteringMode": "閃光燈測光模式"+ },+ "scene": {+ "captureType": "場景拍攝類型"+ },+ "brightness": {+ "value": "亮度"+ },+ "sensing": {+ "method": "感光方式"+ },+ "values": {+ "exposureProgram": {+ "notDefined": "未定義",+ "manual": "手動",+ "programAe": "程式自動曝光",+ "aperturePriorityAe": "光圈先決自動曝光",+ "shutterSpeedPriorityAe": "快門先決自動曝光",+ "creativeSlowSpeed": "創意(慢速)",+ "actionHighSpeed": "動作(高速)",+ "portrait": "人像",+ "landscape": "風景",+ "bulb": "B 快門"+ },+ "exposureMode": {+ "auto": "自動",+ "manual": "手動",+ "autoBracket": "自動包圍曝光"+ },+ "flash": {+ "noFlash": "未閃光",+ "fired": "已閃光",+ "firedReturnNotDetected": "已閃光,未偵測到回光",+ "firedReturnDetected": "已閃光,偵測到回光",+ "onDidNotFire": "開啟,未閃光",+ "onFired": "開啟,已閃光",+ "onReturnNotDetected": "開啟,未偵測到回光",+ "onReturnDetected": "開啟,偵測到回光",+ "offDidNotFire": "關閉,未閃光",+ "offDidNotFireReturnNotDetected": "關閉,未閃光,未偵測到回光",+ "autoDidNotFire": "自動,未閃光",+ "autoFired": "自動,已閃光",+ "autoFiredReturnNotDetected": "自動,已閃光,未偵測到回光",+ "autoFiredReturnDetected": "自動,已閃光,偵測到回光",+ "noFlashFunction": "無閃光功能",+ "offNoFlashFunction": "關閉,無閃光功能",+ "firedRedEyeReduction": "已閃光,防紅眼",+ "firedRedEyeReductionReturnNotDetected": "已閃光,防紅眼,未偵測到回光",+ "firedRedEyeReductionReturnDetected": "已閃光,防紅眼,偵測到回光",+ "onRedEyeReduction": "開啟,防紅眼",+ "onRedEyeReductionReturnNotDetected": "開啟,防紅眼,未偵測到回光",+ "onRedEyeReductionReturnDetected": "開啟,防紅眼,偵測到回光",+ "offRedEyeReduction": "關閉,防紅眼",+ "autoDidNotFireRedEyeReduction": "自動,未閃光,防紅眼",+ "autoFiredRedEyeReduction": "自動,已閃光,防紅眼",+ "autoFiredRedEyeReductionReturnNotDetected": "自動,已閃光,防紅眼,未偵測到回光",+ "autoFiredRedEyeReductionReturnDetected": "自動,已閃光,防紅眼,偵測到回光"+ },+ "meteringMode": {+ "unknown": "未知",+ "average": "平均測光",+ "centerWeightedAverage": "中央重點平均測光",+ "spot": "點測光",+ "multiSpot": "多點測光",+ "multiSegment": "矩陣測光",+ "partial": "局部測光",+ "other": "其他"+ },+ "whiteBalance": {+ "auto": "自動",+ "manual": "手動"+ },+ "sceneCaptureType": {+ "standard": "標準",+ "landscape": "風景",+ "portrait": "人像",+ "night": "夜景",+ "other": "其他"+ },+ "sensingMethod": {+ "monochromeArea": "單色區域感測器",+ "oneChipColorArea": "單晶片彩色區域感測器",+ "twoChipColorArea": "雙晶片彩色區域感測器",+ "threeChipColorArea": "三晶片彩色區域感測器",+ "colorSequentialArea": "順序彩色區域感測器",+ "monochromeLinear": "單色線性感測器",+ "trilinear": "三線性感測器",+ "colorSequentialLinear": "順序彩色線性感測器"+ },+ "colorSpace": {+ "srgb": "sRGB",+ "adobeRgb": "Adobe RGB",+ "wideGamutRgb": "廣色域 RGB",+ "iccProfile": "ICC 設定檔",+ "uncalibrated": "未校正"+ }+ }+ },+ "plural": {+ "photo": "沒有相片 | 一張相片 | {count} 張相片"+ },+ "title": {+ "dashboard": "儀表板",+ "fallback": {+ "photo": "相片"+ },+ "locations": "位置管理",+ "photos": "相片庫",+ "gallery": "相片集"+ }+}\ No newline at end of filediff --git a/i18n/locales/zh-Hant.json b/i18n/locales/zh-Hant.jsondeleted file mode 100644index 0eadd78e..00000000--- a/i18n/locales/zh-Hant.json+++ /dev/null@@ -1,256 +0,0 @@-{- "map": {- "cluster": {- "details": "點擊圖片查看詳情",- "nearbyPhotos": "附近有 {0} 張照片"- }- },- "ui": {- "livePhoto": "實況",- "action": {- "dashboard": {- "tooltip": "控制台"- },- "explore": {- "tooltip": "探索地圖"- },- "filter": {- "empty": {- "cameras": "沒有相機信息",- "cities": "沒有城市信息",- "lenses": "沒有鏡頭信息",- "tags": "沒有標籤"- },- "rating": {- "showAll": "展示所有照片",- "showStarsAndAbove": "展示 {count} 星以上的照片"- },- "tabs": {- "cameras": "相機",- "cities": "城市",- "lenses": "鏡頭",- "ratings": "評分",- "tags": "標籤"- },- "title": "篩選照片",- "tooltip": "篩選照片",- "clearAll": "清除全部"- },- "logout": {- "tooltip": "登出"- },- "sort": {- "options": {- "dateTakenAsc": "日期(最旧的在前)",- "dateTakenDesc": "日期(最新的在前)",- "fileSizeAsc": "文件大小(升序)",- "fileSizeDesc": "文件大小(降序)",- "titleAsc": "標題(A-Z)",- "titleDesc": "標題(Z-A)"- },- "title": "排序方式",- "tooltip": "照片排序"- },- "theme": {- "tooltip": "顏色主題"- }- },- "stats": {- "totalPhotosWithRange": "{range}, 共 @:plural.photo"- }- },- "minimap": {- "loading": "加載小地圖..."- },- "viewer": {- "hint": {- "livePhoto": {- "mobile": "長按播放實況照片 · 雙擊或捏合縮放",- "desktop": "懸停左上播放 · 雙擊/滾輪縮放"- },- "mobile": "雙擊或捏合縮放",- "desktop": "雙擊或用鼠標滾輪縮放"- }- },- "exif": {- "sections": {- "basic": "基本信息",- "deviceInfomation": "設備信息",- "specification": "技術參數",- "rating": "評分",- "tags": "標籤",- "histogram": "直方圖",- "capture": {},- "shooting": {- "parameters": "拍攝參數",- "mode": "拍攝模式"- }- },- "aperture": "光圈",- "filename": "文件名",- "fileSize": "文件大小",- "resolution": "分辨率",- "pixels": "像素",- "dateTaken": {- "title": "拍攝時間"- },- "colorSpace": {- "title": "色彩空間"- },- "artist": "藝術家",- "software": "軟體",- "tz": "時區",- "country": "國家",- "city": "城市",- "gps": {- "title": "坐標"- },- "focal": {- "length": {- "actual": "焦距",- "equivalent": "35mm 等效"- },- "plane": {- "resolution": "焦平面分辨率"- }- },- "exposure": {- "time": "曝光時間",- "program": "曝光程序",- "mode": "曝光模式"- },- "camera": "相機",- "lens": "鏡頭",- "maxAperture": "最大光圈",- "wb": {- "title": "白平衡",- "shiftAB": "白平衡偏移(琥珀-藍)",- "shiftGM": "白平衡偏移(綠-品紅)",- "bias": "白平衡偏移",- "fineTune": "白平衡微調"- },- "metering": {- "title": "測光模式"- },- "flash": {- "title": "閃光燈",- "meteringMode": "閃光燈測光模式"- },- "scene": {- "captureType": "場景捕捉類型"- },- "brightness": {- "value": "亮度"- },- "sensing": {- "method": "感光方式"- },- "values": {- "exposureProgram": {- "manual": "手動",- "programAE": "程序自動",- "aperturePriority": "光圈優先",- "shutterPriority": "快門優先",- "creative": "創意程序",- "action": "運動程序",- "portrait": "人像模式",- "landscape": "風景模式",- "bulb": "B門"- },- "exposureMode": {- "auto": "自動曝光",- "manual": "手動曝光",- "autoBracket": "自動包圍曝光"- },- "flash": {- "noFlash": "無閃光燈",- "didNotFire": "閃光燈未啟用",- "offDidNotFire": "關閉",- "fired": "閃光燈啟用",- "firedAuto": "閃光燈啟用,自動模式",- "firedAutoNoReturn": "閃光燈啟用,自動模式,未檢測到返回光",- "firedAutoReturn": "閃光燈啟用,自動模式,檢測到返回光",- "firedCompulsory": "閃光燈啟用,強制模式",- "firedCompulsoryNoReturn": "閃光燈啟用,強制模式,未檢測到返回光",- "firedCompulsoryReturn": "閃光燈啟用,強制模式,檢測到返回光",- "didNotFireAuto": "閃光燈未啟用,自動模式",- "didNotFireCompulsory": "閃光燈未啟用,強制模式",- "noFunction": "無閃光燈功能",- "firedRedEye": "閃光燈啟用,防紅眼模式",- "firedRedEyeNoReturn": "閃光燈啟用,防紅眼模式,未檢測到返回光",- "firedRedEyeReturn": "閃光燈啟用,防紅眼模式,檢測到返回光"- },- "flashMeteringMode": {- "ttl": "TTL",- "average": "平均測光",- "matrix": "矩陣測光",- "centerWeighted": "中央重點測光",- "spot": "點測光",- "multiSpot": "多點測光",- "other": "其他"- },- "meteringMode": {- "unknown": "未知",- "average": "平均測光",- "centerWeighted": "中央重點測光",- "spot": "點測光",- "multiSpot": "多點測光",- "multiSegment": "多區域測光",- "pattern": "矩陣測光",- "partial": "局部測光",- "other": "其他"- },- "whiteBalance": {- "auto": "自動白平衡",- "manual": "手動白平衡",- "daylight": "日光",- "cloudy": "陰天",- "shade": "陰影",- "tungsten": "鎢絲燈",- "fluorescent": "螢光燈",- "flash": "閃光燈",- "fineWeather": "晴天",- "cloudyWeather": "陰天",- "whiteFluorescent": "白色螢光燈",- "coolWhiteFluorescent": "冷白色螢光燈",- "dayWhiteFluorescent": "日光白色螢光燈",- "daylightFluorescent": "日光色螢光燈",- "underwater": "水下"- },- "sceneCaptureType": {- "standard": "標準",- "landscape": "風景",- "portrait": "人像",- "night": "夜景",- "other": "其他"- },- "sensingMethod": {- "notDefined": "未定義",- "oneChipColor": "單晶片彩色傳感器",- "twoChipColor": "雙晶片彩色傳感器",- "threeChipColor": "三晶片彩色傳感器",- "colorSequential": "彩色順序傳感器",- "trilinear": "三線性傳感器",- "colorSequentialLinear": "彩色順序線性傳感器"- },- "colorSpace": {- "sRGB": "sRGB",- "adobeRGB": "Adobe RGB",- "uncalibrated": "未校準",- "proPhotoRGB": "ProPhoto RGB"- }- }- },- "plural": {- "photo": "沒有照片 | 一張照片 | {count} 張照片"- },- "title": {- "dashboard": "儀表板",- "fallback": {- "photo": "照片"- },- "locations": "位置管理",- "photos": "照片庫",- "gallery": "畫廊"- }-}diff --git a/nuxt.config.ts b/nuxt.config.tsindex 1a3f84c0..45000fef 100644--- a/nuxt.config.ts+++ b/nuxt.config.ts@@ -69,9 +69,10 @@ export default defineNuxtConfig({},strategy: 'no_prefix',locales: [- { code: 'zh-Hans', name: '简体中文', file: 'zh-Hans.json' },- { code: 'zh-Hant', name: '繁体中文', file: 'zh-Hant.json' },- { code: 'en', name: 'English', file: 'en.json' },+ { code: 'zh-Hans', name: '简体中文', file: 'zh-Hans.json', language: 'zh' },+ { code: 'zh-Hant-TW', name: '繁体中文(台湾)', file: 'zh-Hant-TW.json', language: 'zh-TW' },+ { code: 'zh-Hant-HK', name: '繁体中文(香港)', file: 'zh-Hant-HK.json', language: 'zh-HK' },+ { code: 'en', name: 'English', file: 'en.json', language: 'en' },],},