From 495136d4b449f46188a4afbc85db55b630cdb511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dalibor=20Ba=C4=8Da?= Date: Mon, 24 Apr 2023 18:39:19 +0200 Subject: [PATCH 1/4] added sk translations and number formats --- lib/locales/sk.js | 68 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 65 insertions(+), 3 deletions(-) diff --git a/lib/locales/sk.js b/lib/locales/sk.js index b4eee61fffc..2d31369b7e4 100644 --- a/lib/locales/sk.js +++ b/lib/locales/sk.js @@ -3,9 +3,69 @@ module.exports = { moduleType: 'locale', name: 'sk', - dictionary: {}, + dictionary: { + 'Autoscale': 'Auto rozsah', // components/modebar/buttons.js:139 + 'Box Select': 'Obdĺžnikový výber', // components/modebar/buttons.js:103 + 'Click to enter Colorscale title': 'Kliknite pre zadanie názvu farebnej škály', // plots/plots.js:437 + 'Click to enter Component A title': 'Kliknite pre zadanie názvu komponentu A', // plots/ternary/ternary.js:386 + 'Click to enter Component B title': 'Kliknite pre zadanie názvu komponentu B', // plots/ternary/ternary.js:400 + 'Click to enter Component C title': 'Kliknite pre zadanie názvu komponentu C', // plots/ternary/ternary.js:411 + 'Click to enter Plot title': 'Kliknite pre zadanie názvu grafu', // plot_api/plot_api.js:579 + 'Click to enter X axis title': 'Kliknite pre zadanie názvu osi X', // plots/plots.js:435 + 'Click to enter Y axis title': 'Kliknite pre zadanie názvu osi Y', // plots/plots.js:436 + 'Click to enter radial axis title': 'Kliknite pre zadanie názvu radiálnej osi', // plots/polar/polar.js:376 + 'Compare data on hover': 'Porovnať hodnoty pri prejdení myšou', // components/modebar/buttons.js:167 + 'Double-click on legend to isolate one trace': 'Dvojklikom na legendu izolujete jednu dátovú sadu', // components/legend/handle_click.js:90 + 'Double-click to zoom back out': 'Dvojklikom vrátite zväčšenie', // plots/cartesian/dragbox.js:299 + 'Download plot as a png': 'Uložiť ako PNG', // components/modebar/buttons.js:52 + 'Download plot': 'Uložiť', // components/modebar/buttons.js:53 + 'Edit in Chart Studio': 'Editovať v Chart Studio', // components/modebar/buttons.js:76 + 'IE only supports svg. Changing format to svg.': 'IE podporuje iba SVG formát. Zmenené na SVG.', // components/modebar/buttons.js:60 + 'Lasso Select': 'Výber lasom', // components/modebar/buttons.js:112 + 'Orbital rotation': 'Rotácia (orbitálna)', // components/modebar/buttons.js:279 + 'Pan': 'Posúvanie', // components/modebar/buttons.js:94 + 'Produced with Plotly.js': 'Vytvorené pomocou Plotly.js', // components/modebar/modebar.js:256 + 'Reset': 'Obnoviť nastavenie', // components/modebar/buttons.js:432 + 'Reset axes': 'Obnoviť nastavenie osí', // components/modebar/buttons.js:148 + 'Reset camera to default': 'Obnoviť nastavenie kamery do predvoleného stavu', // components/modebar/buttons.js:314 + 'Reset camera to last save': 'Obnoviť nastavenie kamery do posledného uloženého stavu', // components/modebar/buttons.js:322 + 'Reset view': 'Obnoviť nastavenie pohľadu', // components/modebar/buttons.js:583 + 'Reset views': 'Obnoviť nastavenie pohľadov', // components/modebar/buttons.js:529 + 'Show closest data on hover': 'Zobraziť najbližšiu hodnotu při prejdení myšou', // components/modebar/buttons.js:157 + 'Snapshot succeeded': 'Obrázok vytvorený', // components/modebar/buttons.js:66 + 'Sorry, there was a problem downloading your snapshot!': 'Ospravedlňujeme sa, došlo k chybe pri sťahovaní obrázka!', // components/modebar/buttons.js:69 + 'Taking snapshot - this may take a few seconds': 'Snímanie - môže trvať niekoľko sekúnd', // components/modebar/buttons.js:57 + 'Zoom': 'Zväčšenie', // components/modebar/buttons.js:85 + 'Zoom in': 'Zväčšiť', // components/modebar/buttons.js:121 + 'Zoom out': 'Zmenšiť', // components/modebar/buttons.js:130 + 'close:': 'zavrieť:', // traces/ohlc/transform.js:139 + 'trace': 'dátová sada', // 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:': 'zdroj:', // traces/sankey/plot.js:140 + 'target:': 'cieľ:', // traces/sankey/plot.js:141 + 'lower fence:': 'spodná hranica:', // traces/box/calc.js:134 + 'upper fence:': 'vrchná hranica:', // traces/box/calc.js:135 + 'max:': 'max.:', // traces/box/calc.js:132 + 'mean ± σ:': 'priemer ± σ:', // traces/box/calc.js:133 + 'mean:': 'priemer:', // traces/box/calc.js:133 + 'median:': 'medián:', // traces/box/calc.js:128 + 'min:': 'min.:', // traces/box/calc.js:129 + 'new text': 'nový text', // plots/plots.js:318 + 'Turntable rotation': 'Rotácia (otočný stolík)', // components/modebar/buttons.js:288 + 'Toggle Spike Lines': 'Prepnúť zobrazenie vodiacich čiar', // components/modebar/buttons.js:548 + 'open:': 'otvoriť:', // traces/ohlc/transform.js:136 + 'high:': 'horná:', // traces/ohlc/transform.js:137 + 'low:': 'dolná:', // traces/ohlc/transform.js:138 + 'Toggle show closest data on hover': 'Prepnúť zobrazovanie najbližšej hodnoty pri prejdení myšou', // components/modebar/buttons.js:353 + 'incoming flow count:': 'počet údajov na vstupe:', // traces/sankey/plot.js:142 + 'outgoing flow count:': 'počet údajov na výstupe:', // traces/sankey/plot.js:143 + 'kde:': 'kde:' // traces/violin/calc.js:73 + }, format: { - days: ['Nedel\'a', 'Pondelok', 'Utorok', 'Streda', 'Štvrtok', 'Piatok', 'Sobota'], + days: ['Nedeľa', 'Pondelok', 'Utorok', 'Streda', 'Štvrtok', 'Piatok', 'Sobota'], shortDays: ['Ned', 'Pon', 'Uto', 'Str', 'Štv', 'Pia', 'Sob'], months: [ 'Január', 'Február', 'Marec', 'Apríl', 'Máj', 'Jún', @@ -15,6 +75,8 @@ module.exports = { 'Jan', 'Feb', 'Mar', 'Apr', 'Máj', 'Jún', 'Júl', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec' ], - date: '%d.%m.%Y' + date: '%d.%m.%Y', + decimal: ',', + thousands: '.' } }; From 9de2bfba3665c5e175cea2aad20140d22e858ff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dalibor=20Ba=C4=8Da?= Date: Wed, 26 Apr 2023 19:21:47 +0200 Subject: [PATCH 2/4] sk locale thousands separator to space --- lib/locales/sk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locales/sk.js b/lib/locales/sk.js index 2d31369b7e4..42ed3d67299 100644 --- a/lib/locales/sk.js +++ b/lib/locales/sk.js @@ -77,6 +77,6 @@ module.exports = { ], date: '%d.%m.%Y', decimal: ',', - thousands: '.' + thousands: ' ' } }; From 99819eb7901da3188beef212f7ce84713b49cf44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dalibor=20Ba=C4=8Da?= Date: Wed, 26 Apr 2023 19:27:54 +0200 Subject: [PATCH 3/4] draftlog #6580 --- draftlogs/6580_change.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 draftlogs/6580_change.md diff --git a/draftlogs/6580_change.md b/draftlogs/6580_change.md new file mode 100644 index 00000000000..33b1b7e8798 --- /dev/null +++ b/draftlogs/6580_change.md @@ -0,0 +1 @@ + - added translations and number formats to `sk` locale [[#6580](https://github.com/plotly/plotly.js/pull/6580)] \ No newline at end of file From 06ac740c74b753d3e79fc04658aa6d4bc390dcc5 Mon Sep 17 00:00:00 2001 From: Mojtaba Samimi <33888540+archmoj@users.noreply.github.com> Date: Thu, 27 Apr 2023 08:33:21 -0400 Subject: [PATCH 4/4] Update draftlogs/6580_change.md --- draftlogs/6580_change.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draftlogs/6580_change.md b/draftlogs/6580_change.md index 33b1b7e8798..749d0041511 100644 --- a/draftlogs/6580_change.md +++ b/draftlogs/6580_change.md @@ -1 +1 @@ - - added translations and number formats to `sk` locale [[#6580](https://github.com/plotly/plotly.js/pull/6580)] \ No newline at end of file + - Update translations and number formats to `sk` locale [[#6580](https://github.com/plotly/plotly.js/pull/6580)], with thanks to @Libco for the contribution! \ No newline at end of file