diff --git a/landing/components/hero/CyberHeroFeatureStrip.vue b/landing/components/hero/CyberHeroFeatureStrip.vue index 2e7eab41..7f1dc4a4 100644 --- a/landing/components/hero/CyberHeroFeatureStrip.vue +++ b/landing/components/hero/CyberHeroFeatureStrip.vue @@ -20,10 +20,10 @@ const props = defineProps<{ reducedMotion?: boolean; }>(); -const { locale } = useI18n(); +const { t, locale } = useI18n(); const localizedHeroFeatureRail = computed(() => getLocalizedHeroFeatureRail(locale.value)); const localizedHeroReviewerFeatureCard = computed(() => getLocalizedHeroReviewerFeatureCard(locale.value)); -const statusLabel = computed(() => locale.value === "ru" ? "Статус:" : "Status:"); +const statusLabel = computed(() => t("common.statusLabel")); const icons = [ mdiRobotOutline, diff --git a/landing/components/hero/CyberHeroRobot.vue b/landing/components/hero/CyberHeroRobot.vue index d6547404..0490bd18 100644 --- a/landing/components/hero/CyberHeroRobot.vue +++ b/landing/components/hero/CyberHeroRobot.vue @@ -7,12 +7,12 @@ const props = defineProps<{ activeReceiver?: HeroAgentRole | "video" | null; }>(); -const { locale } = useI18n(); +const { t } = useI18n(); const isSender = computed(() => props.activeSender === props.agent.id); const isReceiver = computed(() => props.activeReceiver === props.agent.id); const imageLoading = computed(() => (props.agent.priority ? "eager" : "lazy")); const imageFetchPriority = computed(() => (props.agent.priority ? "high" : "auto")); -const statusLabel = computed(() => locale.value === "ru" ? "Статус:" : "Status:"); +const statusLabel = computed(() => t("common.statusLabel")); const rootStyle = computed(() => ({ "--agent-x": String(props.agent.desktop.x), diff --git a/landing/components/hero/CyberHeroVideoFrame.vue b/landing/components/hero/CyberHeroVideoFrame.vue index 89724f91..68cbb030 100644 --- a/landing/components/hero/CyberHeroVideoFrame.vue +++ b/landing/components/hero/CyberHeroVideoFrame.vue @@ -1,6 +1,5 @@