add: translation of OlapQueries.vue
fix: optimization of translation
This commit is contained in:
@@ -87,14 +87,14 @@
|
||||
route.path === '/olap/columns' ? 'bg-primary-50 text-primary-700' : 'text-gray-700',
|
||||
sidebarCollapsed ? 'justify-center p-2' : 'px-4 py-3 space-x-3'
|
||||
]"
|
||||
:title="sidebarCollapsed ? t('app.olapColumns') : ''"
|
||||
:title="sidebarCollapsed ? t('olapColumns.title') : ''"
|
||||
>
|
||||
<!-- OLAP Columns icon (grid / columns) -->
|
||||
<svg class="w-5 h-5 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16a2 2 0 012 2v8a2 2 0 01-2 2H4a2 2 0 01-2-2V8a2 2 0 012-2z" />
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 6v12M16 6v12" />
|
||||
</svg>
|
||||
<span v-if="!sidebarCollapsed" class="truncate">{{ t('app.olapColumns') }}</span>
|
||||
<span v-if="!sidebarCollapsed" class="truncate">{{ t('olapColumns.title') }}</span>
|
||||
</router-link>
|
||||
|
||||
<router-link
|
||||
@@ -105,14 +105,13 @@
|
||||
route.path === '/olap/queries' ? 'bg-primary-50 text-primary-700' : 'text-gray-700',
|
||||
sidebarCollapsed ? 'justify-center p-2' : 'px-4 py-3 space-x-3'
|
||||
]"
|
||||
:title="sidebarCollapsed ? 'OLAP Запросы' : ''"
|
||||
:title="sidebarCollapsed ? t('olapQueries.title') : ''"
|
||||
>
|
||||
<!-- Queries icon (magnifying glass over database) or document with lines -->
|
||||
<svg class="w-5 h-5 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 10h8M8 14h5" />
|
||||
</svg>
|
||||
<span v-if="!sidebarCollapsed" class="truncate">OLAP запросы</span>
|
||||
<span v-if="!sidebarCollapsed" class="truncate">{{ t('olapQueries.title') }}</span>
|
||||
</router-link>
|
||||
|
||||
<router-link
|
||||
|
||||
Reference in New Issue
Block a user