Skip to content

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

fix(i18n): localize hardcoded onboarding/globe/upload texts

Timothy Yin6e4aecc3d538
diff --git a/app/components/ui/UploadQueueItem.vue b/app/components/ui/UploadQueueItem.vue
index 1501d963..d2b2693b 100644
--- a/app/components/ui/UploadQueueItem.vue
+++ b/app/components/ui/UploadQueueItem.vue
@@ -78,37 +78,39 @@ const statusColor = computed(() => {
const statusText = computed(() => {
switch (props.uploadingFile.status) {
case 'waiting':
- return '等待上传'
+ return $t('dashboard.photos.uploadQueueItem.status.waiting')
case 'preparing':
- return '准备中'
+ return $t('dashboard.photos.uploadQueueItem.status.preparing')
case 'uploading':
- return `上传中 ${props.uploadingFile.progress || 0}%`
+ return $t('dashboard.photos.uploadQueueItem.status.uploading', [
+ props.uploadingFile.progress || 0,
+ ])
case 'processing':
return props.uploadingFile.stage
? getStageText(props.uploadingFile.stage)
- : '等待处理'
+ : $t('dashboard.photos.uploadQueueItem.status.pendingProcessing')
case 'completed':
- return '完成'
+ return $t('dashboard.photos.uploadQueueItem.status.completed')
case 'error':
- return '错误'
+ return $t('dashboard.photos.uploadQueueItem.status.error')
case 'skipped':
- return '已跳过'
+ return $t('dashboard.photos.uploadQueueItem.status.skipped')
case 'blocked':
- return '被阻止'
+ return $t('dashboard.photos.uploadQueueItem.status.blocked')
default:
- return '未知'
+ return $t('dashboard.photos.uploadQueueItem.status.unknown')
}
})
// 获取处理阶段文本
const getStageText = (stage: string) => {
const stageMap: Record<string, string> = {
- preprocessing: '预处理中',
- metadata: '提取元数据',
- thumbnail: '生成缩略图',
- exif: '处理 EXIF',
- 'reverse-geocoding': '地理解析',
- 'live-photo': '检测 LivePhoto',
+ preprocessing: $t('dashboard.photos.uploadQueueItem.stage.preprocessing'),
+ metadata: $t('dashboard.photos.uploadQueueItem.stage.metadata'),
+ thumbnail: $t('dashboard.photos.uploadQueueItem.stage.thumbnail'),
+ exif: $t('dashboard.photos.uploadQueueItem.stage.exif'),
+ 'reverse-geocoding': $t('dashboard.photos.uploadQueueItem.stage.reverseGeocoding'),
+ 'live-photo': $t('dashboard.photos.uploadQueueItem.stage.livePhoto'),
}
return stageMap[stage] || stage
}
@@ -356,7 +358,7 @@ const generateParticleStyle = (index: number) => {
icon="tabler:x"
@click="uploadingFile.abortUpload?.()"
>
- 中止
+ {{ $t('dashboard.photos.uploadQueueItem.actions.abort') }}
</UButton>
</motion.div>
@@ -379,7 +381,7 @@ const generateParticleStyle = (index: number) => {
icon="tabler:x"
@click="emit('removeFile', fileId)"
>
- 清除
+ {{ $t('dashboard.photos.uploadQueueItem.actions.clear') }}
</UButton>
</motion.div>
</div>
@@ -405,7 +407,7 @@ const generateParticleStyle = (index: number) => {
>
<div class="flex justify-between items-center">
<span class="text-xs text-neutral-600 dark:text-neutral-400">
- 上传进度
+ {{ $t('dashboard.photos.uploadQueueItem.progress.upload') }}
</span>
<span
class="text-xs font-mono text-neutral-600 dark:text-neutral-400"
@@ -430,7 +432,7 @@ const generateParticleStyle = (index: number) => {
v-if="uploadingFile.uploadProgress?.timeRemainingText"
class="text-xs text-neutral-500 dark:text-neutral-400"
>
- 剩余时间: {{ uploadingFile.uploadProgress.timeRemainingText }}
+ {{ $t('dashboard.photos.uploadQueueItem.progress.remainingTime', [uploadingFile.uploadProgress.timeRemainingText]) }}
</div>
</div>
@@ -441,7 +443,7 @@ const generateParticleStyle = (index: number) => {
>
<div class="flex justify-between items-center">
<span class="text-xs text-neutral-600 dark:text-neutral-400">
- 处理状态
+ {{ $t('dashboard.photos.uploadQueueItem.progress.processing') }}
</span>
<motion.span
class="text-xs text-info-600 dark:text-info-400"
@@ -546,7 +548,7 @@ const generateParticleStyle = (index: number) => {
class="mt-3"
>
<UAlert
- description="大文件处理时间较长,为正常现象"
+ :description="$t('dashboard.photos.uploadQueueItem.alerts.longProcessing')"
color="info"
variant="soft"
icon="tabler:info-circle"
@@ -575,7 +577,7 @@ const generateParticleStyle = (index: number) => {
class="mt-3"
>
<UAlert
- description="文件已成功上传并处理"
+ :description="$t('dashboard.photos.uploadQueueItem.alerts.success')"
color="success"
variant="soft"
icon="tabler:circle-check"
diff --git a/app/layouts/onboarding.vue b/app/layouts/onboarding.vue
index bed71d11..fa60d7d3 100644
--- a/app/layouts/onboarding.vue
+++ b/app/layouts/onboarding.vue
@@ -3,17 +3,17 @@ import { motion } from 'motion-v'
const route = useRoute()
-const steps = [
- { label: '欢迎', route: 'onboarding' },
- { label: '管理员账户', route: 'onboarding-admin' },
- { label: '站点信息', route: 'onboarding-site' },
- { label: '存储配置', route: 'onboarding-storage' },
- { label: '地图服务', route: 'onboarding-map' },
- { label: '完成', route: 'onboarding-complete' },
-]
+const steps = computed(() => [
+ { label: $t('onboarding.layout.steps.welcome'), route: 'onboarding' },
+ { label: $t('onboarding.layout.steps.admin'), route: 'onboarding-admin' },
+ { label: $t('onboarding.layout.steps.site'), route: 'onboarding-site' },
+ { label: $t('onboarding.layout.steps.storage'), route: 'onboarding-storage' },
+ { label: $t('onboarding.layout.steps.map'), route: 'onboarding-map' },
+ { label: $t('onboarding.layout.steps.complete'), route: 'onboarding-complete' },
+])
const currentStepIndex = computed(() => {
- return steps.findIndex((s) => s.route === route.name)
+ return steps.value.findIndex((s) => s.route === route.name)
})
</script>
@@ -185,7 +185,7 @@ const currentStepIndex = computed(() => {
v-if="index === currentStepIndex"
class="text-xs text-primary-400/80 font-medium"
>
- 当前进行
+ {{ $t('onboarding.layout.current') }}
</span>
</div>
</div>
@@ -215,7 +215,7 @@ const currentStepIndex = computed(() => {
<span class="font-bold">ChronoFrame</span>
</div>
<div class="text-sm text-neutral-400">
- Step {{ currentStepIndex + 1 }}/{{ steps.length }}
+ {{ $t('onboarding.layout.stepCounter', [currentStepIndex + 1, steps.length]) }}
</div>
</div>
diff --git a/app/pages/globe.vue b/app/pages/globe.vue
index 0ed1c900..7af67340 100644
--- a/app/pages/globe.vue
+++ b/app/pages/globe.vue
@@ -240,47 +240,47 @@ const parameterAnnotationOpen = ref(false)
const analysisModeOptions = [
{
value: 'none',
- label: '默认',
+ label: $t('globe.analysis.mode.none.label'),
icon: 'tabler:circle-off',
- description: '关闭标注',
+ description: $t('globe.analysis.mode.none.description'),
},
{
value: 'focalLength',
- label: '焦段',
+ label: $t('globe.analysis.mode.focalLength.label'),
icon: 'tabler:zoom-scan',
- description: '广角 / 标准 / 长焦',
+ description: $t('globe.analysis.mode.focalLength.description'),
},
{
value: 'shutterSpeed',
- label: '快门',
+ label: $t('globe.analysis.mode.shutterSpeed.label'),
icon: 'tabler:clock-hour-4',
- description: '高速 / 中速 / 低速',
+ description: $t('globe.analysis.mode.shutterSpeed.description'),
},
{
value: 'altitude',
- label: '海拔',
+ label: $t('globe.analysis.mode.altitude.label'),
icon: 'tabler:mountain',
- description: '低 / 中 / 高海拔',
+ description: $t('globe.analysis.mode.altitude.description'),
},
] as const
const analysisLegend = computed(() => {
if (analysisMode.value === 'focalLength') {
return {
- title: '焦段分布',
+ title: $t('globe.analysis.legend.focalLength.title'),
items: [
{
- label: '广角',
+ label: $t('globe.analysis.legend.focalLength.wide'),
range: '<35mm',
color: 'bg-cyan-500',
},
{
- label: '标准',
+ label: $t('globe.analysis.legend.focalLength.standard'),
range: '35-85mm',
color: 'bg-amber-500',
},
{
- label: '长焦',
+ label: $t('globe.analysis.legend.focalLength.telephoto'),
range: '>85mm',
color: 'bg-rose-500',
},
@@ -290,20 +290,20 @@ const analysisLegend = computed(() => {
if (analysisMode.value === 'shutterSpeed') {
return {
- title: '快门分布',
+ title: $t('globe.analysis.legend.shutterSpeed.title'),
items: [
{
- label: '高速',
+ label: $t('globe.analysis.legend.shutterSpeed.fast'),
range: '≤1/250s',
color: 'bg-emerald-500',
},
{
- label: '中速',
+ label: $t('globe.analysis.legend.shutterSpeed.medium'),
range: '1/250-1/30s',
color: 'bg-amber-500',
},
{
- label: '低速',
+ label: $t('globe.analysis.legend.shutterSpeed.slow'),
range: '>1/30s',
color: 'bg-indigo-500',
},
@@ -313,20 +313,20 @@ const analysisLegend = computed(() => {
if (analysisMode.value === 'altitude') {
return {
- title: '海拔分布',
+ title: $t('globe.analysis.legend.altitude.title'),
items: [
{
- label: '低海拔',
+ label: $t('globe.analysis.legend.altitude.low'),
range: '<200m',
color: 'bg-lime-500',
},
{
- label: '中海拔',
+ label: $t('globe.analysis.legend.altitude.medium'),
range: '200-1500m',
color: 'bg-orange-500',
},
{
- label: '高海拔',
+ label: $t('globe.analysis.legend.altitude.high'),
range: '>1500m',
color: 'bg-fuchsia-500',
},
@@ -547,7 +547,7 @@ onBeforeUnmount(() => {
<div class="absolute top-4 right-4 z-10 flex flex-col items-end">
<div class="relative">
<UTooltip
- text="拍摄参数标注"
+ :text="$t('globe.analysis.annotation')"
:delay-duration="0"
>
<GlassButton
@@ -574,10 +574,10 @@ onBeforeUnmount(() => {
name="tabler:adjustments-horizontal"
class="size-4 text-primary"
/>
- <span>拍摄参数标注</span>
+ <span>{{ $t('globe.analysis.annotation') }}</span>
</div>
<p class="mt-1 text-[11px] text-neutral-600 dark:text-white/60">
- 按拍摄参数查看地理分布
+ {{ $t('globe.analysis.annotationDescription') }}
</p>
</div>
@@ -654,7 +654,7 @@ onBeforeUnmount(() => {
<div class="mt-2 relative">
<UTooltip
- text="启用/关闭时间回溯"
+ :text="$t('globe.timeline.toggle')"
:delay-duration="0"
>
<GlassButton
@@ -696,7 +696,7 @@ onBeforeUnmount(() => {
>
<div class="flex items-center gap-2">
<UTooltip
- text="播放/暂停时间回溯"
+ :text="$t('globe.timeline.playPause')"
:delay-duration="0"
>
<GlassButton
@@ -712,7 +712,7 @@ onBeforeUnmount(() => {
</UTooltip>
<div class="min-w-0 flex-1">
<div class="flex items-center justify-between gap-2 text-[11px]">
- <span class="font-medium">时间回溯</span>
+ <span class="font-medium">{{ $t('globe.timeline.title') }}</span>
<span class="text-neutral-600 dark:text-white/60">
{{ filteredPhotosWithLocation.length }}/{{ photosWithLocation.length }}
</span>
diff --git a/app/pages/onboarding/admin.vue b/app/pages/onboarding/admin.vue
index 4723b8ed..ac337ce5 100644
--- a/app/pages/onboarding/admin.vue
+++ b/app/pages/onboarding/admin.vue
@@ -38,8 +38,8 @@ function onSubmit() {
<template>
<WizardStep
- title="管理员账户"
- description="创建一个管理员账户"
+ :title="$t('onboarding.admin.title')"
+ :description="$t('onboarding.admin.description')"
>
<div
v-if="fetchingSchema"
@@ -88,7 +88,7 @@ function onSubmit() {
:disabled="fetchingSchema"
trailing-icon="tabler:arrow-right"
>
- 下一步
+ {{ $t('onboarding.actions.next') }}
</WizardButton>
</template>
</WizardStep>
diff --git a/app/pages/onboarding/complete.vue b/app/pages/onboarding/complete.vue
index 12b50a7e..d7075ff5 100644
--- a/app/pages/onboarding/complete.vue
+++ b/app/pages/onboarding/complete.vue
@@ -68,8 +68,8 @@ async function onComplete() {
} catch (error: any) {
console.error(error)
toast.add({
- title: 'Setup Failed',
- description: error.data?.message || 'Failed to complete setup',
+ title: $t('onboarding.complete.setupFailedTitle'),
+ description: error.data?.message || $t('onboarding.complete.setupFailedDescription'),
color: 'error',
})
} finally {
@@ -80,8 +80,8 @@ async function onComplete() {
<template>
<WizardStep
- title="即将完成!"
- description="您的 ChronoFrame 画廊已准备好使用。"
+ :title="$t('onboarding.complete.title')"
+ :description="$t('onboarding.complete.description')"
>
<div
class="flex flex-col items-center justify-center py-12 space-y-8 text-center"
@@ -102,7 +102,7 @@ async function onComplete() {
<div class="max-w-md text-neutral-300 text-lg">
<p>
- 您已完成了所有基本配置。现在可以使用管理员账户登录并开始上传照片。
+ {{ $t('onboarding.complete.body') }}
</p>
</div>
@@ -113,7 +113,7 @@ async function onComplete() {
class="px-6 py-3 text-base font-bold shadow-xl shadow-primary-500/20 hover:shadow-primary-500/40 transition-all duration-300"
@click="onComplete"
>
- 前往仪表盘
+ {{ $t('onboarding.complete.goToDashboard') }}
</WizardButton>
</div>
</WizardStep>
diff --git a/app/pages/onboarding/index.vue b/app/pages/onboarding/index.vue
index 948aeaa0..cc8d58da 100644
--- a/app/pages/onboarding/index.vue
+++ b/app/pages/onboarding/index.vue
@@ -6,14 +6,13 @@ definePageMeta({
<template>
<WizardStep
- title="欢迎使用 ChronoFrame"
- description="跟随向导,在几分钟内设置好您的画廊。"
+ :title="$t('onboarding.welcome.title')"
+ :description="$t('onboarding.welcome.description')"
>
<div class="space-y-6">
<div class="text-neutral-300 text-base leading-relaxed">
<p>
- ChronoFrame
- 是一款多功能个人画廊应用程序。在您开始上传照片之前,我们需要先配置一些内容:
+ {{ $t('onboarding.welcome.intro') }}
</p>
</div>
@@ -30,8 +29,8 @@ definePageMeta({
/>
</div>
<div>
- <h3 class="font-medium text-white">管理员账户</h3>
- <p class="text-sm text-neutral-400 mt-1">用于登录管理后台</p>
+ <h3 class="font-medium text-white">{{ $t('onboarding.welcome.cards.admin.title') }}</h3>
+ <p class="text-sm text-neutral-400 mt-1">{{ $t('onboarding.welcome.cards.admin.description') }}</p>
</div>
</div>
@@ -47,8 +46,8 @@ definePageMeta({
/>
</div>
<div>
- <h3 class="font-medium text-white">站点信息</h3>
- <p class="text-sm text-neutral-400 mt-1">个性化您的画廊</p>
+ <h3 class="font-medium text-white">{{ $t('onboarding.welcome.cards.site.title') }}</h3>
+ <p class="text-sm text-neutral-400 mt-1">{{ $t('onboarding.welcome.cards.site.description') }}</p>
</div>
</div>
@@ -64,9 +63,9 @@ definePageMeta({
/>
</div>
<div>
- <h3 class="font-medium text-white">存储</h3>
+ <h3 class="font-medium text-white">{{ $t('onboarding.welcome.cards.storage.title') }}</h3>
<p class="text-sm text-neutral-400 mt-1">
- 将您的照片存储在本地或云端
+ {{ $t('onboarding.welcome.cards.storage.description') }}
</p>
</div>
</div>
@@ -83,9 +82,9 @@ definePageMeta({
/>
</div>
<div>
- <h3 class="font-medium text-white">地图服务</h3>
+ <h3 class="font-medium text-white">{{ $t('onboarding.welcome.cards.map.title') }}</h3>
<p class="text-sm text-neutral-400 mt-1">
- 位置可视化、照片拍摄地标记
+ {{ $t('onboarding.welcome.cards.map.description') }}
</p>
</div>
</div>
@@ -95,7 +94,7 @@ definePageMeta({
<template #actions>
<div class="w-full flex justify-between items-center">
<p class="text-xs text-neutral-500 font-medium">
- ChronoFrame 不会收集您的任何数据。
+ {{ $t('onboarding.welcome.privacyNotice') }}
</p>
<WizardButton
to="/onboarding/admin"
@@ -103,7 +102,7 @@ definePageMeta({
size="lg"
trailing-icon="tabler:arrow-right"
>
- 开始吧
+ {{ $t('onboarding.welcome.start') }}
</WizardButton>
</div>
</template>
diff --git a/app/pages/onboarding/map.vue b/app/pages/onboarding/map.vue
index b8ba7576..ae27d6c8 100644
--- a/app/pages/onboarding/map.vue
+++ b/app/pages/onboarding/map.vue
@@ -44,8 +44,8 @@ function onSubmit() {
<template>
<WizardStep
- title="地图服务"
- description="为地球仪视图以及照片详情中的小地图配置地图服务"
+ :title="$t('onboarding.map.title')"
+ :description="$t('onboarding.map.description')"
>
<div
v-if="fetchingSchema"
@@ -117,7 +117,7 @@ function onSubmit() {
:disabled="fetchingSchema"
trailing-icon="tabler:arrow-right"
>
- 完成设置
+ {{ $t('onboarding.actions.completeSetup') }}
</WizardButton>
</template>
</WizardStep>
diff --git a/app/pages/onboarding/site.vue b/app/pages/onboarding/site.vue
index ae297dbf..a4a3cc8d 100644
--- a/app/pages/onboarding/site.vue
+++ b/app/pages/onboarding/site.vue
@@ -30,8 +30,8 @@ function onSubmit() {
<template>
<WizardStep
- title="站点信息"
- description="配置站点基本信息"
+ :title="$t('onboarding.site.title')"
+ :description="$t('onboarding.site.description')"
>
<div
v-if="fetchingSchema"
@@ -80,7 +80,7 @@ function onSubmit() {
:disabled="fetchingSchema"
trailing-icon="tabler:arrow-right"
>
- 下一步
+ {{ $t('onboarding.actions.next') }}
</WizardButton>
</template>
</WizardStep>
diff --git a/app/pages/onboarding/storage.vue b/app/pages/onboarding/storage.vue
index a63b2bdd..9390cb28 100644
--- a/app/pages/onboarding/storage.vue
+++ b/app/pages/onboarding/storage.vue
@@ -67,8 +67,8 @@ function onSubmit() {
<template>
<WizardStep
- title="存储配置"
- description="选择将您的照片存储在何处"
+ :title="$t('onboarding.storage.title')"
+ :description="$t('onboarding.storage.description')"
>
<div
v-if="fetchingSchema"
@@ -146,7 +146,7 @@ function onSubmit() {
:disabled="fetchingSchema"
trailing-icon="tabler:arrow-right"
>
- 下一步
+ {{ $t('onboarding.actions.next') }}
</WizardButton>
</template>
</WizardStep>
diff --git a/app/pages/signin.vue b/app/pages/signin.vue
index f6e41389..86a54577 100644
--- a/app/pages/signin.vue
+++ b/app/pages/signin.vue
@@ -35,10 +35,8 @@ const onAuthSubmit = async (event: any) => {
console.error('Login error:', error)
toast.add({
color: 'error',
- title: 'Login Failed',
- description:
- error?.data?.message ||
- 'An unexpected error occurred. Please try again.',
+ title: $t('auth.messages.loginFailed.title'),
+ description: error?.data?.message || $t('auth.messages.loginFailed.description'),
})
})
.finally(() => {
diff --git a/i18n/locales/en.json b/i18n/locales/en.json
index 5b2cd662..99dc4188 100644
--- a/i18n/locales/en.json
+++ b/i18n/locales/en.json
@@ -386,6 +386,12 @@
"email": "Email",
"password": "Password"
}
+ },
+ "messages": {
+ "loginFailed": {
+ "title": "Login Failed",
+ "description": "An unexpected error occurred. Please try again."
+ }
}
},
"common": {
@@ -699,6 +705,40 @@
"cancel": "Cancel",
"save": "Save changes"
}
+ },
+ "uploadQueueItem": {
+ "status": {
+ "waiting": "Waiting",
+ "preparing": "Preparing",
+ "uploading": "Uploading {0}%",
+ "pendingProcessing": "Waiting to process",
+ "completed": "Completed",
+ "error": "Error",
+ "skipped": "Skipped",
+ "blocked": "Blocked",
+ "unknown": "Unknown"
+ },
+ "stage": {
+ "preprocessing": "Preprocessing",
+ "metadata": "Extracting metadata",
+ "thumbnail": "Generating thumbnail",
+ "exif": "Processing EXIF",
+ "reverseGeocoding": "Reverse geocoding",
+ "livePhoto": "Detecting Live Photo"
+ },
+ "actions": {
+ "abort": "Abort",
+ "clear": "Clear"
+ },
+ "progress": {
+ "upload": "Upload Progress",
+ "remainingTime": "Time remaining: {0}",
+ "processing": "Processing Status"
+ },
+ "alerts": {
+ "longProcessing": "Large files may take longer to process, which is expected.",
+ "success": "File uploaded and processed successfully"
+ }
}
},
"albums": {
@@ -1179,5 +1219,121 @@
}
}
}
+ },
+ "onboarding": {
+ "layout": {
+ "steps": {
+ "welcome": "Welcome",
+ "admin": "Admin Account",
+ "site": "Site Info",
+ "storage": "Storage",
+ "map": "Map Service",
+ "complete": "Complete"
+ },
+ "current": "In Progress",
+ "stepCounter": "Step {0} / {1}"
+ },
+ "actions": {
+ "next": "Next",
+ "completeSetup": "Complete Setup"
+ },
+ "welcome": {
+ "title": "Welcome to ChronoFrame",
+ "description": "Follow the wizard to set up your gallery in a few minutes.",
+ "intro": "ChronoFrame is a versatile personal gallery app. Before uploading photos, we need to configure a few essentials:",
+ "cards": {
+ "admin": {
+ "title": "Admin Account",
+ "description": "Used to sign in to the admin console"
+ },
+ "site": {
+ "title": "Site Info",
+ "description": "Personalize your gallery"
+ },
+ "storage": {
+ "title": "Storage",
+ "description": "Store your photos locally or in the cloud"
+ },
+ "map": {
+ "title": "Map Service",
+ "description": "Visualize locations and mark shooting spots"
+ }
+ },
+ "privacyNotice": "ChronoFrame does not collect any of your data.",
+ "start": "Get Started"
+ },
+ "admin": {
+ "title": "Admin Account",
+ "description": "Create an administrator account"
+ },
+ "site": {
+ "title": "Site Info",
+ "description": "Configure basic site information"
+ },
+ "storage": {
+ "title": "Storage",
+ "description": "Choose where your photos are stored"
+ },
+ "map": {
+ "title": "Map Service",
+ "description": "Configure map service for globe view and photo minimap"
+ },
+ "complete": {
+ "title": "Almost Done!",
+ "description": "Your ChronoFrame gallery is ready to use.",
+ "body": "You have completed all essential setup steps. You can now sign in with your admin account and start uploading photos.",
+ "goToDashboard": "Go to Dashboard",
+ "setupFailedTitle": "Setup Failed",
+ "setupFailedDescription": "Failed to complete setup"
+ }
+ },
+ "globe": {
+ "analysis": {
+ "annotation": "Shooting Parameter Annotation",
+ "annotationDescription": "View geographic distribution by shooting parameters",
+ "mode": {
+ "none": {
+ "label": "Default",
+ "description": "Disable annotation"
+ },
+ "focalLength": {
+ "label": "Focal Length",
+ "description": "Wide / Standard / Telephoto"
+ },
+ "shutterSpeed": {
+ "label": "Shutter Speed",
+ "description": "Fast / Medium / Slow"
+ },
+ "altitude": {
+ "label": "Altitude",
+ "description": "Low / Medium / High"
+ }
+ },
+ "legend": {
+ "focalLength": {
+ "title": "Focal Length Distribution",
+ "wide": "Wide",
+ "standard": "Standard",
+ "telephoto": "Telephoto"
+ },
+ "shutterSpeed": {
+ "title": "Shutter Speed Distribution",
+ "fast": "Fast",
+ "medium": "Medium",
+ "slow": "Slow"
+ },
+ "altitude": {
+ "title": "Altitude Distribution",
+ "low": "Low Altitude",
+ "medium": "Mid Altitude",
+ "high": "High Altitude"
+ }
+ }
+ },
+ "timeline": {
+ "toggle": "Enable/Disable Timeline",
+ "playPause": "Play/Pause Timeline",
+ "title": "Timeline"
+ }
}
}
diff --git a/i18n/locales/ja.json b/i18n/locales/ja.json
index 7e2a88b6..dde6919c 100644
--- a/i18n/locales/ja.json
+++ b/i18n/locales/ja.json
@@ -380,6 +380,12 @@
"email": "メール",
"password": "パスワード"
}
+ },
+ "messages": {
+ "loginFailed": {
+ "title": "ログインに失敗しました",
+ "description": "予期しないエラーが発生しました。もう一度お試しください。"
+ }
}
},
"common": {
@@ -634,6 +640,40 @@
"cancel": "キャンセル",
"save": "変更を保存"
}
+ },
+ "uploadQueueItem": {
+ "status": {
+ "waiting": "アップロード待機",
+ "preparing": "準備中",
+ "uploading": "アップロード中 {0}%",
+ "pendingProcessing": "処理待ち",
+ "completed": "完了",
+ "error": "エラー",
+ "skipped": "スキップ",
+ "blocked": "ブロック",
+ "unknown": "不明"
+ },
+ "stage": {
+ "preprocessing": "前処理中",
+ "metadata": "メタデータ抽出",
+ "thumbnail": "サムネイル生成",
+ "exif": "EXIF 処理",
+ "reverseGeocoding": "逆ジオコーディング",
+ "livePhoto": "Live Photo 検出"
+ },
+ "actions": {
+ "abort": "中止",
+ "clear": "クリア"
+ },
+ "progress": {
+ "upload": "アップロード進捗",
+ "remainingTime": "残り時間: {0}",
+ "processing": "処理状態"
+ },
+ "alerts": {
+ "longProcessing": "大きなファイルは処理に時間がかかることがあります。",
+ "success": "ファイルのアップロードと処理が完了しました"
+ }
}
},
"albums": {
@@ -1114,5 +1154,121 @@
}
}
}
+ },
+ "onboarding": {
+ "layout": {
+ "steps": {
+ "welcome": "ようこそ",
+ "admin": "管理者アカウント",
+ "site": "サイト情報",
+ "storage": "ストレージ設定",
+ "map": "地図サービス",
+ "complete": "完了"
+ },
+ "current": "進行中",
+ "stepCounter": "ステップ {0} / {1}"
+ },
+ "actions": {
+ "next": "次へ",
+ "completeSetup": "設定を完了"
+ },
+ "welcome": {
+ "title": "ChronoFrame へようこそ",
+ "description": "ウィザードに従って、数分でギャラリーを設定できます。",
+ "intro": "ChronoFrame は多機能な個人ギャラリーアプリです。写真をアップロードする前に、いくつかの項目を設定しましょう。",
+ "cards": {
+ "admin": {
+ "title": "管理者アカウント",
+ "description": "管理コンソールへのログインに使用します"
+ },
+ "site": {
+ "title": "サイト情報",
+ "description": "ギャラリーをパーソナライズします"
+ },
+ "storage": {
+ "title": "ストレージ",
+ "description": "写真をローカルまたはクラウドに保存します"
+ },
+ "map": {
+ "title": "地図サービス",
+ "description": "位置の可視化と撮影地点の表示"
+ }
+ },
+ "privacyNotice": "ChronoFrame はあなたのデータを収集しません。",
+ "start": "はじめる"
+ },
+ "admin": {
+ "title": "管理者アカウント",
+ "description": "管理者アカウントを作成します"
+ },
+ "site": {
+ "title": "サイト情報",
+ "description": "サイトの基本情報を設定します"
+ },
+ "storage": {
+ "title": "ストレージ設定",
+ "description": "写真の保存先を選択します"
+ },
+ "map": {
+ "title": "地図サービス",
+ "description": "グローブ表示と写真詳細のミニマップ向けに地図サービスを設定します"
+ },
+ "complete": {
+ "title": "まもなく完了です!",
+ "description": "ChronoFrame ギャラリーの準備ができました。",
+ "body": "基本設定はすべて完了しました。管理者アカウントでログインして写真のアップロードを開始できます。",
+ "goToDashboard": "ダッシュボードへ",
+ "setupFailedTitle": "セットアップ失敗",
+ "setupFailedDescription": "セットアップの完了に失敗しました"
+ }
+ },
+ "globe": {
+ "analysis": {
+ "annotation": "撮影パラメータ注釈",
+ "annotationDescription": "撮影パラメータ別に地理分布を表示",
+ "mode": {
+ "none": {
+ "label": "デフォルト",
+ "description": "注釈を無効化"
+ },
+ "focalLength": {
+ "label": "焦点距離",
+ "description": "広角 / 標準 / 望遠"
+ },
+ "shutterSpeed": {
+ "label": "シャッター速度",
+ "description": "高速 / 中速 / 低速"
+ },
+ "altitude": {
+ "label": "標高",
+ "description": "低 / 中 / 高標高"
+ }
+ },
+ "legend": {
+ "focalLength": {
+ "title": "焦点距離分布",
+ "wide": "広角",
+ "standard": "標準",
+ "telephoto": "望遠"
+ },
+ "shutterSpeed": {
+ "title": "シャッター速度分布",
+ "fast": "高速",
+ "medium": "中速",
+ "slow": "低速"
+ },
+ "altitude": {
+ "title": "標高分布",
+ "low": "低標高",
+ "medium": "中標高",
+ "high": "高標高"
+ }
+ }
+ },
+ "timeline": {
+ "toggle": "タイムラインの有効/無効",
+ "playPause": "タイムライン再生/一時停止",
+ "title": "タイムライン"
+ }
}
}
diff --git a/i18n/locales/zh-Hans.json b/i18n/locales/zh-Hans.json
index 7280a52d..17a73f4d 100644
--- a/i18n/locales/zh-Hans.json
+++ b/i18n/locales/zh-Hans.json
@@ -388,6 +388,12 @@
"email": "电子邮箱",
"password": "密码"
}
+ },
+ "messages": {
+ "loginFailed": {
+ "title": "登录失败",
+ "description": "发生未知错误,请重试。"
+ }
}
},
"common": {
@@ -701,6 +707,40 @@
"cancel": "取消",
"save": "保存更改"
}
+ },
+ "uploadQueueItem": {
+ "status": {
+ "waiting": "等待上传",
+ "preparing": "准备中",
+ "uploading": "上传中 {0}%",
+ "pendingProcessing": "等待处理",
+ "completed": "完成",
+ "error": "错误",
+ "skipped": "已跳过",
+ "blocked": "被阻止",
+ "unknown": "未知"
+ },
+ "stage": {
+ "preprocessing": "预处理中",
+ "metadata": "提取元数据",
+ "thumbnail": "生成缩略图",
+ "exif": "处理 EXIF",
+ "reverseGeocoding": "地理解析",
+ "livePhoto": "检测 LivePhoto"
+ },
+ "actions": {
+ "abort": "中止",
+ "clear": "清除"
+ },
+ "progress": {
+ "upload": "上传进度",
+ "remainingTime": "剩余时间: {0}",
+ "processing": "处理状态"
+ },
+ "alerts": {
+ "longProcessing": "大文件处理时间较长,为正常现象",
+ "success": "文件已成功上传并处理"
+ }
}
},
"albums": {
@@ -1183,5 +1223,121 @@
}
}
}
+ },
+ "onboarding": {
+ "layout": {
+ "steps": {
+ "welcome": "欢迎",
+ "admin": "管理员账户",
+ "site": "站点信息",
+ "storage": "存储配置",
+ "map": "地图服务",
+ "complete": "完成"
+ },
+ "current": "当前进行",
+ "stepCounter": "第 {0} 步 / 共 {1} 步"
+ },
+ "actions": {
+ "next": "下一步",
+ "completeSetup": "完成设置"
+ },
+ "welcome": {
+ "title": "欢迎使用 ChronoFrame",
+ "description": "跟随向导,在几分钟内设置好您的画廊。",
+ "intro": "ChronoFrame 是一款多功能个人画廊应用程序。在您开始上传照片之前,我们需要先配置一些内容:",
+ "cards": {
+ "admin": {
+ "title": "管理员账户",
+ "description": "用于登录管理后台"
+ },
+ "site": {
+ "title": "站点信息",
+ "description": "个性化您的画廊"
+ },
+ "storage": {
+ "title": "存储",
+ "description": "将您的照片存储在本地或云端"
+ },
+ "map": {
+ "title": "地图服务",
+ "description": "位置可视化、照片拍摄地标记"
+ }
+ },
+ "privacyNotice": "ChronoFrame 不会收集您的任何数据。",
+ "start": "开始吧"
+ },
+ "admin": {
+ "title": "管理员账户",
+ "description": "创建一个管理员账户"
+ },
+ "site": {
+ "title": "站点信息",
+ "description": "配置站点基本信息"
+ },
+ "storage": {
+ "title": "存储配置",
+ "description": "选择将您的照片存储在何处"
+ },
+ "map": {
+ "title": "地图服务",
+ "description": "为地球仪视图以及照片详情中的小地图配置地图服务"
+ },
+ "complete": {
+ "title": "即将完成!",
+ "description": "您的 ChronoFrame 画廊已准备好使用。",
+ "body": "您已完成了所有基本配置。现在可以使用管理员账户登录并开始上传照片。",
+ "goToDashboard": "前往仪表盘",
+ "setupFailedTitle": "设置失败",
+ "setupFailedDescription": "完成设置失败"
+ }
+ },
+ "globe": {
+ "analysis": {
+ "annotation": "拍摄参数标注",
+ "annotationDescription": "按拍摄参数查看地理分布",
+ "mode": {
+ "none": {
+ "label": "默认",
+ "description": "关闭标注"
+ },
+ "focalLength": {
+ "label": "焦段",
+ "description": "广角 / 标准 / 长焦"
+ },
+ "shutterSpeed": {
+ "label": "快门",
+ "description": "高速 / 中速 / 低速"
+ },
+ "altitude": {
+ "label": "海拔",
+ "description": "低 / 中 / 高海拔"
+ }
+ },
+ "legend": {
+ "focalLength": {
+ "title": "焦段分布",
+ "wide": "广角",
+ "standard": "标准",
+ "telephoto": "长焦"
+ },
+ "shutterSpeed": {
+ "title": "快门分布",
+ "fast": "高速",
+ "medium": "中速",
+ "slow": "低速"
+ },
+ "altitude": {
+ "title": "海拔分布",
+ "low": "低海拔",
+ "medium": "中海拔",
+ "high": "高海拔"
+ }
+ }
+ },
+ "timeline": {
+ "toggle": "启用/关闭时间回溯",
+ "playPause": "播放/暂停时间回溯",
+ "title": "时间回溯"
+ }
}
}
diff --git a/i18n/locales/zh-Hant-HK.json b/i18n/locales/zh-Hant-HK.json
index eff2340c..1e768c46 100644
--- a/i18n/locales/zh-Hant-HK.json
+++ b/i18n/locales/zh-Hant-HK.json
@@ -380,6 +380,12 @@
"email": "電子郵箱",
"password": "密碼"
}
+ },
+ "messages": {
+ "loginFailed": {
+ "title": "登入失敗",
+ "description": "發生未預期錯誤,請稍後再試。"
+ }
}
},
"common": {
@@ -634,6 +640,40 @@
"cancel": "取消",
"save": "儲存變更"
}
+ },
+ "uploadQueueItem": {
+ "status": {
+ "waiting": "等待上傳",
+ "preparing": "準備中",
+ "uploading": "上傳中 {0}%",
+ "pendingProcessing": "等待處理",
+ "completed": "完成",
+ "error": "錯誤",
+ "skipped": "已跳過",
+ "blocked": "已阻止",
+ "unknown": "未知"
+ },
+ "stage": {
+ "preprocessing": "預處理中",
+ "metadata": "擷取中繼資料",
+ "thumbnail": "產生縮圖",
+ "exif": "處理 EXIF",
+ "reverseGeocoding": "地理解析",
+ "livePhoto": "偵測 Live Photo"
+ },
+ "actions": {
+ "abort": "中止",
+ "clear": "清除"
+ },
+ "progress": {
+ "upload": "上傳進度",
+ "remainingTime": "剩餘時間: {0}",
+ "processing": "處理狀態"
+ },
+ "alerts": {
+ "longProcessing": "大型檔案處理時間較長,屬正常現象。",
+ "success": "檔案已成功上傳並完成處理"
+ }
}
},
"albums": {
@@ -1114,5 +1154,121 @@
}
}
}
+ },
+ "onboarding": {
+ "layout": {
+ "steps": {
+ "welcome": "歡迎",
+ "admin": "管理員帳號",
+ "site": "站點資訊",
+ "storage": "存儲設定",
+ "map": "地圖服務",
+ "complete": "完成"
+ },
+ "current": "進行中",
+ "stepCounter": "第 {0} 步 / 共 {1} 步"
+ },
+ "actions": {
+ "next": "下一步",
+ "completeSetup": "完成設定"
+ },
+ "welcome": {
+ "title": "歡迎使用 ChronoFrame",
+ "description": "跟著精靈,在幾分鐘內完成畫廊設定。",
+ "intro": "ChronoFrame 是多功能個人畫廊應用程式。開始上傳照片前,請先完成以下設定:",
+ "cards": {
+ "admin": {
+ "title": "管理員帳號",
+ "description": "用於登入管理後台"
+ },
+ "site": {
+ "title": "站點資訊",
+ "description": "打造你的專屬畫廊"
+ },
+ "storage": {
+ "title": "存儲",
+ "description": "將照片存儲在本機或雲端"
+ },
+ "map": {
+ "title": "地圖服務",
+ "description": "位置可視化與拍攝地標記"
+ }
+ },
+ "privacyNotice": "ChronoFrame 不會收集你的任何資料。",
+ "start": "開始吧"
+ },
+ "admin": {
+ "title": "管理員帳號",
+ "description": "建立管理員帳號"
+ },
+ "site": {
+ "title": "站點資訊",
+ "description": "設定站點基本資訊"
+ },
+ "storage": {
+ "title": "存儲設定",
+ "description": "選擇照片存儲位置"
+ },
+ "map": {
+ "title": "地圖服務",
+ "description": "為地球儀檢視與照片詳情小地圖設定地圖服務"
+ },
+ "complete": {
+ "title": "即將完成!",
+ "description": "你的 ChronoFrame 畫廊已可使用。",
+ "body": "你已完成所有基本設定。現在可使用管理員帳號登入並開始上傳照片。",
+ "goToDashboard": "前往儀表板",
+ "setupFailedTitle": "設定失敗",
+ "setupFailedDescription": "完成設定失敗"
+ }
+ },
+ "globe": {
+ "analysis": {
+ "annotation": "拍攝參數標註",
+ "annotationDescription": "依拍攝參數查看地理分布",
+ "mode": {
+ "none": {
+ "label": "預設",
+ "description": "關閉標註"
+ },
+ "focalLength": {
+ "label": "焦段",
+ "description": "廣角 / 標準 / 長焦"
+ },
+ "shutterSpeed": {
+ "label": "快門",
+ "description": "高速 / 中速 / 低速"
+ },
+ "altitude": {
+ "label": "海拔",
+ "description": "低 / 中 / 高海拔"
+ }
+ },
+ "legend": {
+ "focalLength": {
+ "title": "焦段分布",
+ "wide": "廣角",
+ "standard": "標準",
+ "telephoto": "長焦"
+ },
+ "shutterSpeed": {
+ "title": "快門分布",
+ "fast": "高速",
+ "medium": "中速",
+ "slow": "低速"
+ },
+ "altitude": {
+ "title": "海拔分布",
+ "low": "低海拔",
+ "medium": "中海拔",
+ "high": "高海拔"
+ }
+ }
+ },
+ "timeline": {
+ "toggle": "啟用/關閉時間回溯",
+ "playPause": "播放/暫停時間回溯",
+ "title": "時間回溯"
+ }
}
}
diff --git a/i18n/locales/zh-Hant-TW.json b/i18n/locales/zh-Hant-TW.json
index e883d0ec..96d79ab2 100644
--- a/i18n/locales/zh-Hant-TW.json
+++ b/i18n/locales/zh-Hant-TW.json
@@ -380,6 +380,12 @@
"email": "電子郵箱",
"password": "密碼"
}
+ },
+ "messages": {
+ "loginFailed": {
+ "title": "登入失敗",
+ "description": "發生未預期錯誤,請稍後再試。"
+ }
}
},
"common": {
@@ -634,6 +640,40 @@
"cancel": "取消",
"save": "儲存變更"
}
+ },
+ "uploadQueueItem": {
+ "status": {
+ "waiting": "等待上傳",
+ "preparing": "準備中",
+ "uploading": "上傳中 {0}%",
+ "pendingProcessing": "等待處理",
+ "completed": "完成",
+ "error": "錯誤",
+ "skipped": "已跳過",
+ "blocked": "已阻止",
+ "unknown": "未知"
+ },
+ "stage": {
+ "preprocessing": "預處理中",
+ "metadata": "擷取中繼資料",
+ "thumbnail": "產生縮圖",
+ "exif": "處理 EXIF",
+ "reverseGeocoding": "地理解析",
+ "livePhoto": "偵測 Live Photo"
+ },
+ "actions": {
+ "abort": "中止",
+ "clear": "清除"
+ },
+ "progress": {
+ "upload": "上傳進度",
+ "remainingTime": "剩餘時間: {0}",
+ "processing": "處理狀態"
+ },
+ "alerts": {
+ "longProcessing": "大型檔案處理時間較長,屬正常現象。",
+ "success": "檔案已成功上傳並完成處理"
+ }
}
},
"albums": {
@@ -1114,5 +1154,121 @@
}
}
}
+ },
+ "onboarding": {
+ "layout": {
+ "steps": {
+ "welcome": "歡迎",
+ "admin": "管理員帳號",
+ "site": "站點資訊",
+ "storage": "儲存設定",
+ "map": "地圖服務",
+ "complete": "完成"
+ },
+ "current": "進行中",
+ "stepCounter": "第 {0} 步 / 共 {1} 步"
+ },
+ "actions": {
+ "next": "下一步",
+ "completeSetup": "完成設定"
+ },
+ "welcome": {
+ "title": "歡迎使用 ChronoFrame",
+ "description": "跟著精靈,在幾分鐘內完成畫廊設定。",
+ "intro": "ChronoFrame 是多功能個人畫廊應用程式。開始上傳照片前,請先完成以下設定:",
+ "cards": {
+ "admin": {
+ "title": "管理員帳號",
+ "description": "用於登入管理後台"
+ },
+ "site": {
+ "title": "站點資訊",
+ "description": "打造你的專屬畫廊"
+ },
+ "storage": {
+ "title": "儲存",
+ "description": "將照片儲存在本機或雲端"
+ },
+ "map": {
+ "title": "地圖服務",
+ "description": "位置可視化與拍攝地標記"
+ }
+ },
+ "privacyNotice": "ChronoFrame 不會收集你的任何資料。",
+ "start": "開始吧"
+ },
+ "admin": {
+ "title": "管理員帳號",
+ "description": "建立管理員帳號"
+ },
+ "site": {
+ "title": "站點資訊",
+ "description": "設定站點基本資訊"
+ },
+ "storage": {
+ "title": "儲存設定",
+ "description": "選擇照片儲存位置"
+ },
+ "map": {
+ "title": "地圖服務",
+ "description": "為地球儀檢視與照片詳情小地圖設定地圖服務"
+ },
+ "complete": {
+ "title": "即將完成!",
+ "description": "你的 ChronoFrame 畫廊已可使用。",
+ "body": "你已完成所有基本設定。現在可使用管理員帳號登入並開始上傳照片。",
+ "goToDashboard": "前往儀表板",
+ "setupFailedTitle": "設定失敗",
+ "setupFailedDescription": "完成設定失敗"
+ }
+ },
+ "globe": {
+ "analysis": {
+ "annotation": "拍攝參數標註",
+ "annotationDescription": "依拍攝參數查看地理分布",
+ "mode": {
+ "none": {
+ "label": "預設",
+ "description": "關閉標註"
+ },
+ "focalLength": {
+ "label": "焦段",
+ "description": "廣角 / 標準 / 長焦"
+ },
+ "shutterSpeed": {
+ "label": "快門",
+ "description": "高速 / 中速 / 低速"
+ },
+ "altitude": {
+ "label": "海拔",
+ "description": "低 / 中 / 高海拔"
+ }
+ },
+ "legend": {
+ "focalLength": {
+ "title": "焦段分布",
+ "wide": "廣角",
+ "standard": "標準",
+ "telephoto": "長焦"
+ },
+ "shutterSpeed": {
+ "title": "快門分布",
+ "fast": "高速",
+ "medium": "中速",
+ "slow": "低速"
+ },
+ "altitude": {
+ "title": "海拔分布",
+ "low": "低海拔",
+ "medium": "中海拔",
+ "high": "高海拔"
+ }
+ }
+ },
+ "timeline": {
+ "toggle": "啟用/關閉時間回溯",
+ "playPause": "播放/暫停時間回溯",
+ "title": "時間回溯"
+ }
}
}