diff options
| author | Mandragorat Wandystanu <wktir@wandystan.eu> | 2018-05-30 15:54:18 +0200 |
|---|---|---|
| committer | Mandragorat Wandystanu <wktir@wandystan.eu> | 2018-05-30 15:54:18 +0200 |
| commit | 458beb599281ae6a9179a37c27a006dd3721c3fe (patch) | |
| tree | 77d2568be87be8bf7f2f3bba58598179e5c74457 /static/js/app.js | |
| parent | 130669165c756c3ca8e730cdcdd2ce233ca1d856 (diff) | |
Translate messages into Polish.
It was planned to be done at first using GNU Gettext, but for our
internal purposes it's an overkill.
Diffstat (limited to 'static/js/app.js')
| -rw-r--r-- | static/js/app.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/static/js/app.js b/static/js/app.js index b3cb2c5..2812bf9 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -129,17 +129,17 @@ document.addEventListener('DOMContentLoaded', function() { link.removeChild(element); }); } else { - bar.innerHTML = 'Error: ' + response.description; + bar.innerHTML = 'Błąd: ' + response.description; } } else if (respStatus === 413) { - link.textContent = 'File too big!'; + link.textContent = 'Plik jest za duży!'; url.appendChild(link); } else { try { var response = JSON.parse(xhr.responseText); - link.textContent = 'Error: ' + response.description; + link.textContent = 'Błąd: ' + response.description; } catch (e) { - link.textContent = 'Server error!'; + link.textContent = 'Błąd serwera!'; } url.appendChild(link); } @@ -193,7 +193,7 @@ document.addEventListener('DOMContentLoaded', function() { function handleDrag(state, element, evt) { stopDefaultEvent(evt); if (state.dragCount == 1) { - element.textContent = 'Drop it here~'; + element.textContent = 'Upuść plik tutaj~'; } state.dragCount += 1; } @@ -209,7 +209,7 @@ document.addEventListener('DOMContentLoaded', function() { stopDefaultEvent(evt); state.dragCount -= 1; if (state.dragCount == 0) { - element.textContent = 'Select or drop file(s)'; + element.textContent = 'Wybierz lub upuść plik(i)'; } } |
