0
0
Fork 0

Reubicacion de textos i18n a global

This commit is contained in:
carlosfonseca 2023-12-04 12:54:40 -05:00
parent 9f3fe3665b
commit ce72b52e88
3 changed files with 17 additions and 17 deletions

View File

@ -39,6 +39,10 @@ export default {
},
noSelectedRows: `You don't have any line selected`,
downloadCSVSuccess: 'CSV downloaded successfully',
download: 'Download',
selectRows: 'Select all { numberRows } row(s)',
allRows: 'All { numberRows } row(s)',
markAll: 'Mark all',
},
errors: {
statusUnauthorized: 'Access denied',
@ -439,7 +443,7 @@ export default {
create: 'Create',
summary: 'Summary',
basicData: 'Basic Data',
log: 'Logs'
log: 'Logs',
},
list: {
parking: 'Parking',

View File

@ -39,6 +39,10 @@ export default {
},
noSelectedRows: `No tienes ninguna línea seleccionada`,
downloadCSVSuccess: 'Descarga de CSV exitosa',
download: 'Descargar',
selectRows: 'Seleccionar las { numberRows } filas(s)',
allRows: 'Todo { numberRows } filas(s)',
markAll: 'Marcar todo',
},
errors: {
statusUnauthorized: 'Acceso denegado',
@ -441,7 +445,7 @@ export default {
create: 'Crear',
summary: 'Resumen',
basicData: 'Datos básicos',
log: 'Registros de auditoría'
log: 'Registros de auditoría',
},
list: {
parking: 'Parking',

View File

@ -141,14 +141,14 @@ const downloadCsv = (rows) => {
class="q-mr-xl"
color="primary"
:disable="!manageCheckboxes && arrayElements.length < 1"
:label="t('download')"
:label="t('globals.download')"
v-if="!showSelect"
/>
<QBtnDropdown
class="q-mr-xl"
color="primary"
:disable="!manageCheckboxes && arrayElements.length < 1"
:label="t('download')"
:label="t('globals.download')"
v-else
>
<Qlist>
@ -156,8 +156,8 @@ const downloadCsv = (rows) => {
<QItemSection>
<QItemLabel>
{{
t('allRows', {
numberRows: t(rows.length),
t('globals.allRows', {
numberRows: rows.length,
})
}}
</QItemLabel>
@ -168,8 +168,8 @@ const downloadCsv = (rows) => {
<QItemSection>
<QItemLabel>
{{
t('selectRows', {
numberRows: t(rows.length),
t('globals.selectRows', {
numberRows: rows.length,
})
}}
</QItemLabel>
@ -180,7 +180,7 @@ const downloadCsv = (rows) => {
<QCheckbox
left-label
:label="t('markAll')"
:label="t('globals.markAll')"
v-model="manageCheckboxes"
@click="setShowSelect"
class="q-mr-md"
@ -266,17 +266,9 @@ en:
fileDenied: Browser denied file download...
fileAllowed: Successful download of CSV file
youCanSearchByInvoiceReference: You can search by invoice reference
download: Download
selectRows: Select all { numberRows } row(s)
allRows: All { numberRows } row(s)
markAll: Mark all
es:
searchInvoice: Buscar factura emitida
fileDenied: El navegador denegó la descarga de archivos...
fileAllowed: Descarga exitosa de archivo CSV
youCanSearchByInvoiceReference: Puedes buscar por referencia de la factura
download: Descargar
selectRows: Seleccionar las { numberRows } filas(s)
allRows: Todo { numberRows } filas(s)
markAll: Marcar todo
</i18n>