0
0
Fork 0

Add states translations

This commit is contained in:
William Buezas 2024-04-18 09:19:15 -03:00
parent 5f01e5c705
commit 7165e48bff
1 changed files with 6 additions and 3 deletions

View File

@ -164,9 +164,9 @@ const confirmRequest = async (request) => {
};
const getState = (isOk) => {
if (isOk === null) return 'Pending';
else if (isOk) return 'Accepted';
else return 'Denied';
if (isOk === null) return t('Pending');
else if (isOk) return t('Accepted');
else return t('Denied');
};
const showDenyRequestForm = (requestId, rowIndex) => {
@ -354,4 +354,7 @@ onBeforeMount(() => {
es:
Discard: Descartar
You can search by Id or alias: Buscar peticiones por identificador o alias
Denied: Denegada
Accepted: Aceptada
Pending: Pendiente
</i18n>