Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Update Spanish Translation #2673

Open
wants to merge 104 commits into
base: master
Choose a base branch
from

Conversation

verygreentea
Copy link

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:

  • Updating the Spanish translation, which was incomplete. I wasn't sure of the UI context of all strings, but I will update the translation if and when necessary.

Newly added dependencies with Bundlephobia links:

n/a, did not modify code.

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.
@CLAassistant
Copy link

CLAassistant commented May 12, 2021

CLA assistant check
All committers have signed the CLA.

@vercel
Copy link

vercel bot commented May 12, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/hospitalrun/hospitalrun-frontend/7zu3QqGzv75c7LcmPZdygComb3RT
✅ Preview: https://hospitalrun-frontend-git-fork-verygreentea-master-hospitalrun.vercel.app

@matteovivona matteovivona requested review from a team, morrme and cpondoc and removed request for a team May 16, 2021 21:39
Copy link
Contributor

@cpondoc cpondoc left a 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 within src/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',
Copy link
Contributor

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 {
Copy link
Contributor

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',
Copy link
Contributor

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

@cpondoc
Copy link
Contributor

cpondoc commented May 27, 2021

@morrme Any other thoughts on this PR?

@matteovivona matteovivona added the in progress indicates that issue/pull request is currently being worked on label Oct 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in progress indicates that issue/pull request is currently being worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants