Skip to content

German translation #2217

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

Merged
merged 9 commits into from
Jan 8, 2018
Merged
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 58 additions & 1 deletion lib/locales/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,64 @@
module.exports = {
moduleType: 'locale',
name: 'de',
dictionary: {},
dictionary: {
'Autoscale': 'Automatische Skalierung', // components/modebar/buttons.js:139
'Box Select': 'Rechteckauswahl', // components/modebar/buttons.js:103
'Click to enter Colorscale title': 'Klicken, um den Farbskalatitel einzugeben', // plots/plots.js:437
'Click to enter Component A title': 'Klicken, um den Titel der Komponente A einzugeben', // plots/ternary/ternary.js:386
'Click to enter Component B title': 'Klicken, um den Titel der Komponente B einzugeben', // plots/ternary/ternary.js:400
'Click to enter Component C title': 'Klicken, um den Titel der Komponente C einzugeben', // plots/ternary/ternary.js:411
'Click to enter Plot title': 'Klicken, um den Titel des Graphen einzugeben', // plot_api/plot_api.js:579
'Click to enter X axis title': 'Klicken, um den Titel der X-Achse einzugeben', // plots/plots.js:435
'Click to enter Y axis title': 'Klicken, um den Titel der Y-Achse einzugeben', // plots/plots.js:436
'Compare data on hover': 'Über die Daten fahren, um sie zu vergleichen', // components/modebar/buttons.js:167
'Double-click on legend to isolate one trace': 'Daten isolieren durch Doppelklick in der Legende', // components/legend/handle_click.js:90
'Double-click to zoom back out': 'Herauszoomen durch Doppelklick', // plots/cartesian/dragbox.js:299
'Download plot as a png': 'Download als png', // components/modebar/buttons.js:52
'Edit in Chart Studio': 'Im Chart Studio bearbeiten', // components/modebar/buttons.js:76
'IE only supports svg. Changing format to svg.': 'IE unterstützt nur SVG-Dateien. Format wird zu SVG gewechselt.', // components/modebar/buttons.js:60
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jdugge:
'IE unterstützt nur svg-Dateien. Format wird zu svg gewechselt.'
@JonasGutermuth:
Wikipedia uses SVG instead of svg. The double space is also in english.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing out the double space - Since this gets displayed with normal whitespace rules, only one space is actually shown, but it needs the spaces to match for translation. I'll leave it for now, but may strip out the second space (from the source and any translations) at some point.

re: capitalization of SVG - I don't have a strong opinion for English (anyone else feel strongly that we should capitalize it?), but we should probably keep SVG and PNG consistent within any given locale, so should we also use 'Download als PNG' above?

Copy link
Contributor Author

@JonasGutermuth JonasGutermuth Jan 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. Wikipedia uses also PNG instead of png. So change both to capital letters?

'Lasso Select': 'Lassoauswahl', // components/modebar/buttons.js:112
'Orbital rotation': 'Orbitalrotation', // components/modebar/buttons.js:279
'Pan': 'Verschieben', // components/modebar/buttons.js:94
'Produced with Plotly': 'Erstellt mit Plotly', // components/modebar/modebar.js:256
'Reset': 'Zurücksetzen', // components/modebar/buttons.js:432
'Reset axes': 'Achsen zurücksetzen', // components/modebar/buttons.js:148
'Reset camera to default': 'Kamera auf Standard zurücksetzen', // components/modebar/buttons.js:314
'Reset camera to last save': 'Kamera auf letzte Speicherung zurücksetzen', // components/modebar/buttons.js:322
'Reset view': 'Ansicht zurücksetzen', // components/modebar/buttons.js:583
'Reset views': 'Ansichten zurücksetzen', // components/modebar/buttons.js:529
'Show closest data on hover': 'Zeige näheste Daten beim Überfahren', // components/modebar/buttons.js:157
'Snapshot succeeded': 'Snapshot erfolgreich', // components/modebar/buttons.js:66
'Sorry, there was a problem downloading your snapshot!': 'Es gab ein Problem beim Herunterladen des Snapshots', // components/modebar/buttons.js:69
'Taking snapshot - this may take a few seconds': 'Erstelle einen Snapshot - dies kann einige Sekunden dauern', // components/modebar/buttons.js:57
'Zoom': 'Zoom', // components/modebar/buttons.js:85
'Zoom in': 'Hineinzoomen', // components/modebar/buttons.js:121
'Zoom out': 'Herauszoomen', // components/modebar/buttons.js:130
'close:': 'Schluss:', // traces/ohlc/transform.js:139
'trace': 'Datenspur', // plots/plots.js:439
'lat:': 'Lat.:', // traces/scattergeo/calc.js:48
'lon:': 'Lon.:', // traces/scattergeo/calc.js:49
'q1:': 'q1', // traces/box/calc.js:130
'q3:': 'q3', // traces/box/calc.js:131
'source:': 'Quelle:', // traces/sankey/plot.js:140
'target:': 'Ziel:', // traces/sankey/plot.js:141
'lower fence:': 'Untere Schranke:', // traces/box/calc.js:134
'upper fence:': 'Obere Schranke:', // traces/box/calc.js:135
'max:': 'Max.:', // traces/box/calc.js:132
'mean ± σ:': 'Mittelwert ± σ:', // traces/box/calc.js:133
'mean:': 'Mittelwert:', // traces/box/calc.js:133
'median:': 'Median:', // traces/box/calc.js:128
'min:': 'Min.:', // traces/box/calc.js:129
'Turntable rotation': 'Drehscheibenorbit', // components/modebar/buttons.js:288
'Toggle Spike Lines': 'Bezugslinien an-/abschalten', // components/modebar/buttons.js:548
'open:': 'Eröffnung:', // traces/ohlc/transform.js:136
'high:': 'Höchstkurs:', // traces/ohlc/transform.js:137
'low:': 'Tiefstkurs:', // traces/ohlc/transform.js:138
'Toggle show closest data on hover': 'Anzeige der nähesten Daten an-/abschalten', // components/modebar/buttons.js:353
'incoming flow count:': 'Anzahl eingehender Verbindungen', // traces/sankey/plot.js:142
'outgoing flow count:': 'Anzahl ausgehender Verbindungen', // traces/sankey/plot.js:143
'kde:': 'Kerndichteschätzung' // traces/violin/calc.js:73
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jdugge:
'Dichte: ' (or more accurately 'Dichteschätzung: ', or even more accurately 'Kerndichteschätzung: '). Unfortunately, there doesn't seem to be a common abbreviation for this term in German.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this is used as a hover label prefix, I'd tend to place a premium on keeping it short. If you think a violin plot user (someone who already has a basic understanding of what information a violin plot conveys) who sees a point on the curve labeled with 'Dichte:' would understand it to mean the kernel density estimate, then I'd vote for that instead.

},
format: {
days: [
'Sonntag', 'Montag', 'Dienstag', 'Mittwoch',
Expand Down