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(globe): make analysis mode labels reactive to locale changes

copilot-swe-agent[bot]c2e90daa63d6
diff --git a/app/pages/globe.vue b/app/pages/globe.vue
index 7af67340..127bac08 100644
--- a/app/pages/globe.vue
+++ b/app/pages/globe.vue
@@ -237,7 +237,7 @@ const analysisMode = ref<'none' | 'focalLength' | 'shutterSpeed' | 'altitude'>(
)
const parameterAnnotationOpen = ref(false)
-const analysisModeOptions = [
+const analysisModeOptions = computed(() => [
{
value: 'none',
label: $t('globe.analysis.mode.none.label'),
@@ -262,7 +262,7 @@ const analysisModeOptions = [
icon: 'tabler:mountain',
description: $t('globe.analysis.mode.altitude.description'),
},
-] as const
+] as const)
const analysisLegend = computed(() => {
if (analysisMode.value === 'focalLength') {