-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Update Spanish Translation #2673
base: master
Are you sure you want to change the base?
Conversation
New Spanish translation, old one was incomplete. Before approving this PR, make sure this merges correctly. I was unable to get the locales files through Git, so there may be issues when merging.
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/hospitalrun/hospitalrun-frontend/7zu3QqGzv75c7LcmPZdygComb3RT |
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.
Everything looks good on my end! Two things:
- Not sure if you have to re-clone the repository or simply do something like a
git pull
, but the files should be located withinsrc/shared/locales/es.
Most of the files actually already exist, although you may need to create some new files in order to complete all of the translations and stay up to date with the most recent version of the front-end. - I would just look again at all of the translations, if you get the time. All in all, though, these look great!
new: 'Nuevo', | ||
list: 'Enumerar', | ||
search: 'Buscar', | ||
confirmDelete: 'Borrar Confirmación', |
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.
Not sure how many translations you want to add, but looking strictly at the English translations, it appears as though you are missing a couple within actions/index.ts
. Specifically, look at:
- next
- previous
- page
- add
- view
- logout
import sex from './sex' | ||
import labs from './labs' | ||
|
||
export default { |
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.
Similar to earlier issue, but if we are talking strictly in terms of being comprehensive, I believe you are missing a couple of translation folders. Specifically, terms such as bloodType
and medications
are missing. I would also refer to the full English translations here: https://github.com/HospitalRun/hospitalrun-frontend/blob/master/src/shared/locales/enUs/translations/index.ts.
@@ -0,0 +1,30 @@ | |||
export default { | |||
labs: { | |||
label: 'Pruebas de laboratorio', |
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 may leave a comment on a couple of these to link you to the English translation files in shared/locales
to point you to any incompleted fields :)
https://github.com/HospitalRun/hospitalrun-frontend/blob/master/src/shared/locales/enUs/translations/labs/index.ts
@morrme Any other thoughts on this PR? |
New Spanish translation, old one was incomplete.
Before approving this PR, make sure this merges correctly. I was unable to get the locales files through Git, so there may be issues when merging.
Changes proposed in this pull request:
Newly added dependencies with Bundlephobia links:
n/a, did not modify code.