diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index abcc2a1bd..1d1b29f4f 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -91,6 +91,15 @@ export default { log: 'Historial', parkingList: 'Listado de parkings', }, + worker: 'Trabajador', + vehicle: 'VehĂ­culo', + hourStarted: 'Hora inicio', + hourFinished: 'Hora fin', + newRoute: 'Nueva Ruta', + StatingDate: 'Fecha de inicio', + Cancel: 'Cancelar', + Clone: 'Clonar', + ID: 'ID', }, errors: { statusUnauthorized: 'Acceso denegado', diff --git a/src/pages/Route/RouteList.vue b/src/pages/Route/RouteList.vue index 9fa6f58d8..2bb66df53 100644 --- a/src/pages/Route/RouteList.vue +++ b/src/pages/Route/RouteList.vue @@ -29,7 +29,7 @@ const { validate } = useValidator(); const quasar = useQuasar(); const session = useSession(); const { viewSummary } = useSummaryDialog(); - +const visibleColumns = ref([]); const selectedRows = ref([]); const columns = computed(() => [ { @@ -139,8 +139,8 @@ const columns = computed(() => [ }, }, { - name: 'started', - label: t('Hour started'), + name: 'hourStarted', + label: t('hourStarted'), field: (row) => toHour(row.started), sortable: true, align: 'left', @@ -152,8 +152,8 @@ const columns = computed(() => [ }, }, { - name: 'finished', - label: t('Hour finished'), + name: 'hourFinished', + label: t('hourFinished'), field: (row) => toHour(row.finished), sortable: true, align: 'left', @@ -328,7 +328,7 @@ onUnmounted(() => (stateStore.rightDrawer = false)); class="LeftIcon" :all-columns="allColumnNames" table-code="routesList" - labels-traductions-path="route.list" + labels-traductions-path="globals" @on-config-saved="visibleColumns = [...$event]" /> @@ -385,7 +385,7 @@ onUnmounted(() => (stateStore.rightDrawer = false)); hide-pagination :no-data-label="t('globals.noResults')" > -