Преглед изворни кода

fix(install): update steps translation when language changes

Jacky пре 2 дана
родитељ
комит
22e8446030
1 измењених фајлова са 12 додато и 10 уклоњено
  1. 12 10
      app/src/views/install/components/InstallView.vue

+ 12 - 10
app/src/views/install/components/InstallView.vue

@@ -54,16 +54,18 @@ const canProceed = computed(() => {
   return !installTimeout.value && !hasError.value
 })
 
-const steps = [
-  {
-    title: $gettext('System Check'),
-    description: $gettext('Verify system requirements'),
-  },
-  {
-    title: $gettext('Installation'),
-    description: $gettext('Setup your Nginx UI'),
-  },
-]
+const steps = computed(() => {
+  return [
+    {
+      title: $gettext('System Check'),
+      description: $gettext('Verify system requirements'),
+    },
+    {
+      title: $gettext('Installation'),
+      description: $gettext('Setup your Nginx UI'),
+    },
+  ]
+})
 </script>
 
 <template>