-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
locales: add Spanish translations #2249
Conversation
lib/locales/es.js
Outdated
'Zoom out': 'Reducir', // components/modebar/buttons.js:130 | ||
'close:': 'cierre:', // traces/ohlc/transform.js:139 | ||
'high:': 'alza:', // traces/ohlc/transform.js:137 | ||
'incoming flow count:': 'flujo de entrada', // traces/sankey/plot.js:142 |
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.
trailing :
(also outgoing)
lib/locales/es.js
Outdated
'q3:': 'q3:', // traces/box/calc.js:131 | ||
'source:': 'fuente:', // traces/sankey/plot.js:140 | ||
'target:': 'destino:', // traces/sankey/plot.js:141 | ||
'trace': 'traza:', // plots/plots.js:305 |
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.
this one actually does not get a trailing quote - it's used in default trace names "trace 0" etc.
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 mean trailing colon)
'Taking snapshot - this may take a few seconds': 'Capturando una instantánea - podría tardar unos segundos', // components/modebar/buttons.js:57 | ||
'Toggle Spike Lines': 'Mostrar/Ocultar Guías', // components/modebar/buttons.js:547 | ||
'Toggle show closest data on hover': 'Activar/Desactivar mostrar el dato más cercano al pasar por encima', // components/modebar/buttons.js:352 | ||
'Turntable rotation': 'Rotación plana', // components/modebar/buttons.js:288 |
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.
Oh that's cool - it's like planar vs spherical rotation? That may be a good reference for other translators in the future 🏆
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.
For this translation, I followed Blender.
lib/locales/es.js
Outdated
dictionary: { | ||
'Autoscale': 'Autoescalar', // components/modebar/buttons.js:139 | ||
'Box Select': 'Seleccionar Caja', // components/modebar/buttons.js:103 | ||
'Click to enter Colorscale title': 'Haga clic para introducir el título de la Escala de Color', // plots/plots.js:303 |
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.
hmm, these ones are getting a bit long, worries me about overflow. Do you think it would make sense to users that these are elements you can click and type new values if we leave off "Haga clic para" and just start at "Introducir" (or some conjugation thereof)?
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.
OK, it should be clear enough. In theory, DRAE accepts clicar
, but my experience is that clicar
isn't so commonly used.
The case I like the least is
I was hoping I wouldn't be the only Spanish speaker here.
Oh, yes, the official decimal marker in Spain is the comma (in fact, that's case for Latin America and continental Europe). But, in scientific contexts, the dot is also used (as recommended by BIPM). I'll set the decimal marker to comma (as this is what libreoffice and other programs do). |
* Replaced `Haga click para introducir` by `Introducir`.
@alexcjohnson I've got someone (who isn't on github, but I've asked him to open an account) to review the translations and I have a few corrections to make (I'll make them tomorrow at the latest). |
The native Spanish speaker here. I have reviewed the translation and sent some comments about it. |
Thanks for your help @i-mozo 🎁 |
@alexcjohnson I've just made Ismael's corrections. The PR is ready. |
Provided translations for all the keys.
Translations:
type: translation
lib/locales/
, not those indist/