Add missing translations for LocationsContent, Notifications, KYCFormRussia, TopBar
Some checks failed
Build Docker Image / build (push) Failing after 47s
Some checks failed
Build Docker Image / build (push) Failing after 47s
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
<Stack gap="8">
|
||||
<!-- My addresses (for authenticated users) -->
|
||||
<Stack v-if="isAuthenticated && teamAddresses?.length" gap="4">
|
||||
<PageHeader title="My addresses">
|
||||
<PageHeader :title="t('locations.myAddresses')">
|
||||
<template #actions>
|
||||
<NuxtLink
|
||||
:to="localePath('/clientarea/addresses')"
|
||||
class="btn btn-sm btn-ghost gap-2"
|
||||
>
|
||||
<Icon name="lucide:settings" size="16" />
|
||||
Manage
|
||||
{{ t('locations.manage') }}
|
||||
</NuxtLink>
|
||||
</template>
|
||||
</PageHeader>
|
||||
@@ -26,7 +26,7 @@
|
||||
<Stack direction="row" align="center" gap="2">
|
||||
<Icon name="lucide:map-pin" size="18" class="text-primary" />
|
||||
<Text size="base" weight="semibold">{{ addr.name }}</Text>
|
||||
<Pill v-if="addr.isDefault" variant="outline" size="sm">Default</Pill>
|
||||
<Pill v-if="addr.isDefault" variant="outline" size="sm">{{ t('locations.default') }}</Pill>
|
||||
</Stack>
|
||||
<Text tone="muted" size="sm">{{ addr.address }}</Text>
|
||||
</Stack>
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<!-- Terminals and logistics hubs -->
|
||||
<Stack gap="4">
|
||||
<PageHeader title="Terminals and logistics hubs" />
|
||||
<PageHeader :title="t('locations.terminalsAndHubs')" />
|
||||
|
||||
<div v-if="pending" class="flex items-center justify-center p-8">
|
||||
<span class="loading loading-spinner loading-lg" />
|
||||
@@ -44,15 +44,15 @@
|
||||
|
||||
<Alert v-else-if="error" variant="error">
|
||||
<Stack gap="2">
|
||||
<Heading :level="4" weight="semibold">Load error</Heading>
|
||||
<Button @click="refresh()">Try again</Button>
|
||||
<Heading :level="4" weight="semibold">{{ t('locations.loadError') }}</Heading>
|
||||
<Button @click="refresh()">{{ t('locations.tryAgain') }}</Button>
|
||||
</Stack>
|
||||
</Alert>
|
||||
|
||||
<EmptyState
|
||||
v-else-if="!locationsData?.length"
|
||||
title="No locations"
|
||||
description="Logistics hubs not added yet"
|
||||
:title="t('locations.noLocations')"
|
||||
:description="t('locations.noHubsDescription')"
|
||||
/>
|
||||
|
||||
<Grid v-else :cols="1" :md="2" :lg="3" :gap="4">
|
||||
@@ -71,6 +71,7 @@
|
||||
<script setup lang="ts">
|
||||
import { GetNodesDocument } from '~/composables/graphql/public/geo-generated'
|
||||
|
||||
const { t } = useI18n()
|
||||
const searchStore = useSearchStore()
|
||||
const { isAuthenticated } = useAuth()
|
||||
const localePath = useLocalePath()
|
||||
|
||||
Reference in New Issue
Block a user