-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Conversation
spanish translation updated with commit f8af165
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pixelead0 thanks for the PR. It looks like there are some syntax errors in the translation:
``
SyntaxError: hospitalrun/locales/es/translations.js: Unexpected token (344:4)
anesthesia: 'Anestesia',
procedures: 'Procedimiento'
procedures: 'Procedimientos',
number: 'Número',
billDate: 'Fecha Factura',
balanceDue: 'Saldo Vencido',
You can verify these locally by running `ember test`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There may be other missing commas, but these are the two that I found!
provider: 'Proveedor', | ||
with: 'con', | ||
allDay: 'Todo el dia', | ||
allDay: 'Todo el día', | ||
physician: 'Médico', | ||
assisting: 'Asistencia', | ||
anesthesia: 'Anestesia', | ||
procedures: 'Procedimiento' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're missing a comma after procedures: 'Procedimiento'
. Change to procedures: 'Procedimiento',
and it should work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't procedures
be Procedimientos
?
@@ -320,18 +407,39 @@ export default { | |||
dispense: 'Repartir', | |||
newItem: '+ nuevo elemento', | |||
newRequestPlus: '+ nuevo pedido', | |||
addVisit: 'Adicionar visita', | |||
addVisit: 'Agregar visita', | |||
search: 'Buscar' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, you'll need a comma after search: 'Buscar'
@@ -1,55 +1,94 @@ | |||
export default { | |||
dashboard: { | |||
title: 'Que deseas hacer?' | |||
title: '¿Qué deseas hacer?' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps use desea
instead of deseas
. The former is more formal (usted
vs tu
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is better to use formal writing in software.
purchaseSaved: 'Compras de Inventario Guardadas', | ||
quickAddTitle: 'Nuevo Eelemento de Inventario', | ||
removeItem: 'Remover Elemento', | ||
requestFulfilled: 'Pedido Cumplido', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Complido
-> Completo
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in "Eelemento" -> Elemento
}, | ||
messages: { | ||
noCompleted: 'No de items encontrados.' | ||
delete: 'Esta seguro de que desea eliminar esta solicitud de radiografía ?', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
¿Está seguro...
Also, no space before ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In spanish, we use opening question mark ¿
, so in delete, is missing
savedMessage: 'El pedido de radiografia ha sido guardado.' | ||
completedTitle: 'Pedido de radiografía completado', | ||
completedMessage: 'El pedido de radiografía ha sido completado.', | ||
savedTitle: 'Pedido de radiografía salvado', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean guardado
?
Salvado
doesn't mean what you think it does:
http:https://dle.rae.es/?id=X7tj9JF
quantityDistributed: 'Cantidad Distribuida', | ||
quantityToReturn: 'Cantidad a Devolver', | ||
returnLocation: 'Retornar Ubicación', | ||
returnAisle: 'Devolve Pasillo', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Devolve
-> Devolver
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regresar sounds better than Retornar
savedMessage: 'La elemento de medicación ha sido guardado.', | ||
fulfilledTitle: 'Pedido de medicación cumplido' | ||
returnedTitle: 'Medicamento Devuelto', | ||
returnedMessage: 'El medicamento ha sido marcado para devolver.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove double space
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Devuelto
shouldn't be capitalized, since its a noun
height: 'Altura', | ||
sbp: 'SBP', | ||
dbp: 'DBP', | ||
heartRate: 'Ritmo Cardiaco', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cardiaco
-> Cardíaco
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, Cardíaco
shouldn't be capitalized
Also, I'm unsure about the constant change of casing. It appears to be inconsistent. Here is what RAE says about it:
|
invalid: 'es invalido', | ||
confirmation: '{{attribute}} no corresponde', | ||
accepted: 'debe ser aceptado', | ||
empty: 'no puede ser vacío', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"estar" instead of "ser"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reviewed the file and this corrections need to be done.
confirmation: '{{attribute}} no corresponde', | ||
accepted: 'debe ser aceptado', | ||
empty: 'no puede ser vacío', | ||
blank: 'no puede ser en blanco', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"estar" instead of "ser"
accepted: 'debe ser aceptado', | ||
empty: 'no puede ser vacío', | ||
blank: 'no puede ser en blanco', | ||
present: 'puede ser blanco', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
based on the english text: 'must be blank' the translation should be 'debe estar en blanco'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if the same pattern aplies to the same context here, present
should be debe estar presente
since puede
indicates "maybe"
otherThan: 'debe ser diferente a {{count}}', | ||
odd: 'debe ser impar', | ||
even: 'debe ser par', | ||
invalidNumber: 'número no válido', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is more proper to use 'inválido'
admittedPatients: 'Pacientes Admitidos', | ||
missed: 'Perdido', | ||
userRoles: 'Perfiles de Usuarios', | ||
workflow: 'Workflow' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flujo de trabajo
}, | ||
loaddb: { | ||
progressMessage: 'Por favor espere mientras la base de datos es cargada.', | ||
progressTitle: 'Cargando ase de datos', | ||
progressTitle: 'Cargando base de datos', | ||
displayAlertTitle: 'Seleccione un archivo para cargar', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cargar -> importar
to be consistent with other translated strings
status: 'Estatus del Paciente', | ||
externalPatientId: 'Número de Identificación del Paciente Externo', | ||
bloodType: 'Tipo de Sangre', | ||
clinic: 'Sitio Clinico', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clinico -> Clínico
charges: 'cargos' | ||
}, | ||
takePhoto: { | ||
how: '¿Como desea agregar una foto?', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Como -> Cómo
}, | ||
errors: { | ||
inclusion: 'no está incluido en la lista', | ||
exclusion: 'es reservado', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'es' -> está
@@ -443,31 +552,31 @@ export default { | |||
purchaseSaved: 'La compra de inventario ha sido salvada.', | |||
noRequests: 'No se encontraron pedidos.', | |||
noItems: 'No se encontraron elementos.', | |||
quantity: 'La cantidad total <strong>({{quantity}})</strong> no encaja con la cantidad total en las ubicaciones <strong>({{locationQuantity}})</strong>.', | |||
quantity: 'La cantidad total <strong>({{quantity}})</strong> no concuerda con la cantidad total en las ubicaciones <strong>({{locationQuantity}})</strong>.', | |||
removeItem: 'Esta seguro de eliminar este elemento de la factura?', | |||
removeItemRequest: 'Seguro que quiere eliminar este elemento del pedido?', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'¿Está seguro...'
deleteValueVisitTypeAdmissionTitle: 'No se puede eliminar admisión tipo visita', | ||
deleteValueVisitTypeAdmissionMessage: 'Tipo de visita es necesaria para el módulo de admisiones.', | ||
deleteValueVisitTypeImagingTitle: 'No se puede eliminar el tipo radiografía', | ||
deleteValueVisitTypeImagingMessage: 'No se puede eliminar por que es necesario para el módulo de radiografías.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'por que' -> porque
I already posted some fixes that should be done with the translation. If you need further help let me know @pixelead0 . I am a native Spanish speaker, and I have studied professional Spanish at college. |
@pixelead0 we refactored the translation file to make it more maintainable. Are you amenable to updating and resubmitting this? |
@pixelead0 reply back if you're intending to try to respond to the feedback on this PR, even if the timeline is extended. That's fine. It's volunteer work. I just don't want to leave this open if it's not going anywhere. |
Spanish translation updated based commit f8af165
Changes proposed in this pull request:
Note: pull requests without proper descriptions may simply be closed without further discussion. We appreciate your contributions, but need to know what you are offering in clearly described format. Thanks! (you can delete this text)
cc @HospitalRun/core-maintainers