refs #4774 changes traductions
This commit is contained in:
parent
f041e0837f
commit
deb1948873
|
@ -1,3 +1,5 @@
|
||||||
|
import TraductionsVn from 'src/pages/Worker/TraductionsVn.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
globals: {
|
globals: {
|
||||||
lang: {
|
lang: {
|
||||||
|
@ -889,6 +891,13 @@ export default {
|
||||||
},
|
},
|
||||||
imageNotFound: 'No se ha encontrado la imagen',
|
imageNotFound: 'No se ha encontrado la imagen',
|
||||||
},
|
},
|
||||||
|
TraductionsVn: {
|
||||||
|
pageTitles: {
|
||||||
|
TraductionsVn: 'Traducciones',
|
||||||
|
},
|
||||||
|
OriginalLanguage: 'Idioma Original',
|
||||||
|
SecondLanguage: 'Idioma Secundario',
|
||||||
|
},
|
||||||
wagon: {
|
wagon: {
|
||||||
pageTitles: {
|
pageTitles: {
|
||||||
wagons: 'Vagones',
|
wagons: 'Vagones',
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
import { useStateStore } from 'src/stores/useStateStore';
|
import { useStateStore } from 'src/stores/useStateStore';
|
||||||
import { computed } from 'vue';
|
import { computed } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
import VnSelectFilter from 'src/components/common/VnSelectFilter.vue';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const columns = computed(() => [
|
const columns = computed(() => [
|
||||||
|
@ -20,28 +21,29 @@ const columns = computed(() => [
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<QDrawer v-model="useStateStore.rightDrawer" side="right" :width="300" show-if-above>
|
<QDrawer v-model="useStateStore.rightDrawer" side="right" :width="300" show-if-above>
|
||||||
<QSelect
|
<VnSelectFilter
|
||||||
class="q-mb-md q-mt-md"
|
class="q-mb-md q-mt-xl"
|
||||||
outlined
|
outlined
|
||||||
v-model="model"
|
v-model="model"
|
||||||
:options="options"
|
:options="options"
|
||||||
label="t('Table')"
|
:label="t('Table')"
|
||||||
/>
|
/>
|
||||||
<QSelect
|
<VnSelectFilter
|
||||||
class="q-mb-md"
|
class="q-mb-md"
|
||||||
outlined
|
outlined
|
||||||
v-model="model"
|
v-model="model"
|
||||||
:options="options"
|
:options="options"
|
||||||
label="t('Language')"
|
:label="t('Language')"
|
||||||
/>
|
/>
|
||||||
<QSelect outlined v-model="model" :options="options" label="t('Table')" />
|
<VnSelectFilter outlined v-model="model" :options="options" :label="t('Table')" />
|
||||||
</QDrawer>
|
</QDrawer>
|
||||||
<QTable
|
<QTable
|
||||||
:columns="columns"
|
|
||||||
:rows="rows"
|
:rows="rows"
|
||||||
|
:columns="columns"
|
||||||
|
row-key="id"
|
||||||
|
class="full-width q-mt-md"
|
||||||
:grid="$q.screen.lt.md"
|
:grid="$q.screen.lt.md"
|
||||||
:pagination="{ rowsPerPage: 0 }"
|
:no-data-label="t('globals.noResults')"
|
||||||
:hide-bottom="true"
|
|
||||||
>
|
>
|
||||||
</QTable>
|
</QTable>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue