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

View File

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

View File

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