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
i18n(exif): 新增 EXIF 字段值本地化
Timothy Yin0361ad551844
diff --git a/.vscode/settings.json b/.vscode/settings.jsonindex 2f0112f2..3ffa2f11 100644--- a/.vscode/settings.json+++ b/.vscode/settings.json@@ -20,7 +20,7 @@"i18n","i18n/locales"],- "i18n-ally.sourceLanguage": "en",+ "i18n-ally.sourceLanguage": "zh-Hans","i18n-ally.keystyle": "nested","i18n-ally.extract.autoDetect": true,"i18n-ally.extract.ignoredByFiles": {@@ -50,6 +50,7 @@"Author;s avatar","Author's avatar","Mems rest within the lens.",- "UCheckbox"+ "UCheckbox",+ "${title} - TimoYin's mems"]}\ No newline at end of filediff --git a/app/components/photo/InfoPanel.vue b/app/components/photo/InfoPanel.vueindex 043e9fbd..bc7ffe8b 100644--- a/app/components/photo/InfoPanel.vue+++ b/app/components/photo/InfoPanel.vue@@ -13,6 +13,7 @@ interface Props {const dayjs = useDayjs()const router = useRouter()+const { localizeExif } = useExifLocalization()const props = defineProps<Props>()@@ -145,7 +146,7 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {props.exifData?.ColorSpace? {label: $t('exif.colorSpace.title'),- value: props.exifData.ColorSpace,+ value: localizeExif('ColorSpace', props.exifData.ColorSpace),icon: 'tabler:palette',}: null,@@ -293,7 +294,7 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {props.exifData?.WhiteBalance? {label: $t('exif.wb.title'),- value: props.exifData.WhiteBalance,+ value: localizeExif('WhiteBalance', props.exifData.WhiteBalance),icon: 'mdi:white-balance-auto',}: null,@@ -328,42 +329,42 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {props.exifData?.ExposureProgram? {label: $t('exif.exposure.program'),- value: props.exifData.ExposureProgram,+ value: localizeExif('ExposureProgram', props.exifData.ExposureProgram),icon: 'tabler:exposure',}: null,props.exifData?.ExposureMode? {label: $t('exif.exposure.mode'),- value: props.exifData.ExposureMode,+ value: localizeExif('ExposureMode', props.exifData.ExposureMode),icon: 'tabler:exposure-filled',}: null,props.exifData?.MeteringMode? {label: $t('exif.metering.title'),- value: props.exifData.MeteringMode,+ value: localizeExif('MeteringMode', props.exifData.MeteringMode),icon: 'tabler:focus-auto',}: null,props.exifData?.Flash? {label: $t('exif.flash.title'),- value: 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: props.exifData.FlashMeteringMode,+ value: localizeExif('FlashMeteringMode', props.exifData.FlashMeteringMode),icon: 'material-symbols:flash-on-rounded',}: null,props.exifData?.SceneCaptureType? {label: $t('exif.scene.captureType'),- value: props.exifData.SceneCaptureType,+ value: localizeExif('SceneCaptureType', props.exifData.SceneCaptureType),icon: 'material-symbols:scene',}: null,@@ -386,7 +387,7 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {props.exifData?.SensingMethod? {label: $t('exif.sensing.method'),- value: 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.tsnew file mode 100644index 00000000..3793be29--- /dev/null+++ b/app/composables/useExifLocalization.ts@@ -0,0 +1,23 @@+import { localizeExifValue } from '~/utils/exif-localization'++/**+ * EXIF本地化的Composable+ * 提供在组件中使用的便捷方法+ */+export function useExifLocalization() {+ const { $i18n } = useNuxtApp()++ /**+ * 本地化EXIF字段值+ * @param fieldName EXIF字段名+ * @param value 原始值+ * @returns 本地化后的值+ */+ const localizeExif = (fieldName: string, value: string | number | undefined): string => {+ return localizeExifValue(fieldName, value, $i18n.t)+ }++ return {+ localizeExif,+ }+}diff --git a/app/layouts/dashboard.vue b/app/layouts/dashboard.vueindex e2f4926f..bf1db1d9 100644--- a/app/layouts/dashboard.vue+++ b/app/layouts/dashboard.vue@@ -4,17 +4,17 @@ import { motion } from 'motion-v'const items = ref<NavigationMenuItem[]>([{- label: '仪表盘',+ label: $t('title.dashboard'),icon: 'tabler:dashboard',to: '/dashboard',},{- label: '照片库',+ label: $t('title.photos'),icon: 'tabler:photo-cog',to: '/dashboard/photos',},{- label: '位置管理',+ label: $t('title.locations'),icon: 'tabler:map-pin-cog',to: '/dashboard/location',},@@ -23,11 +23,12 @@ const items = ref<NavigationMenuItem[]>([const isMobileMenuOpen = ref(false)useHead({- title: "Dashboard",+ title: $t('title.dashboard'),titleTemplate: (title) => `${title} - TimoYin's mems`,})const route = useRoute()+const config = useRuntimeConfig()const { loggedIn, user } = useUserSession()const isRouteActive = (itemPath: string) => {@@ -67,7 +68,7 @@ const closeMobileMenu = () => {to="/"class="text-lg font-medium text-nowrap">- TimoYin's mems+ {{ config.public.APP_TITLE }}</NuxtLink></div><UNavigationMenu@@ -93,7 +94,7 @@ const closeMobileMenu = () => {to="/"class="text-lg font-medium">- TimoYin's mems+ {{ config.public.APP_TITLE }}</NuxtLink></div><UButtondiff --git a/app/utils/exif-localization.ts b/app/utils/exif-localization.tsnew file mode 100644index 00000000..c10cd893--- /dev/null+++ b/app/utils/exif-localization.ts@@ -0,0 +1,187 @@+/**+ * 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',+}++/**+ * 本地化EXIF字段值+ * @param fieldName EXIF字段名+ * @param value 原始值+ * @param $t 翻译函数+ * @returns 本地化后的值或原始值+ */+export function localizeExifValue(+ fieldName: string,+ value: string | number | undefined,+ $t: (key: string) => string,+): string {+ if (!value) return ''++ const stringValue = String(value)++ 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+ }+}diff --git a/i18n/locales/en.json b/i18n/locales/en.jsonindex d3c416b4..28627257 100644--- a/i18n/locales/en.json+++ b/i18n/locales/en.json@@ -147,6 +147,101 @@},"sensing": {"method": "Sensing Method"+ },+ "values": {+ "exposureProgram": {+ "manual": "Manual",+ "programAE": "Program AE",+ "aperturePriority": "Aperture Priority",+ "shutterPriority": "Shutter Priority",+ "creative": "Creative Program",+ "action": "Action Program",+ "portrait": "Portrait Mode",+ "landscape": "Landscape Mode",+ "bulb": "Bulb"+ },+ "exposureMode": {+ "auto": "Auto Exposure",+ "manual": "Manual Exposure",+ "autoBracket": "Auto Exposure Bracketing"+ },+ "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"+ },+ "meteringMode": {+ "unknown": "Unknown",+ "average": "Average",+ "centerWeighted": "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"+ },+ "sceneCaptureType": {+ "standard": "Standard",+ "landscape": "Landscape",+ "portrait": "Portrait",+ "night": "Night Scene",+ "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"+ },+ "colorSpace": {+ "sRGB": "sRGB",+ "adobeRGB": "Adobe RGB",+ "uncalibrated": "Uncalibrated",+ "proPhotoRGB": "ProPhoto RGB"+ }}},"title": {diff --git a/i18n/locales/zh-Hans.json b/i18n/locales/zh-Hans.jsonindex 8181d2a0..ae608ed9 100644--- a/i18n/locales/zh-Hans.json+++ b/i18n/locales/zh-Hans.json@@ -144,6 +144,101 @@},"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": {@@ -155,7 +250,7 @@"photo": "照片"},"gallery": "相册",- "locations": "位置",- "photos": "照片"+ "locations": "位置管理",+ "photos": "照片库"}}diff --git a/i18n/locales/zh-Hant.json b/i18n/locales/zh-Hant.jsonindex dcc27f4e..0eadd78e 100644--- a/i18n/locales/zh-Hant.json+++ b/i18n/locales/zh-Hant.json@@ -144,6 +144,101 @@},"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": {@@ -154,8 +249,8 @@"fallback": {"photo": "照片"},- "locations": "位置",- "photos": "照片",+ "locations": "位置管理",+ "photos": "照片庫","gallery": "畫廊"}}