diff --git a/client/lang/sk.js b/client/lang/sk.js
new file mode 100644
index 0000000..1fe9b88
--- /dev/null
+++ b/client/lang/sk.js
@@ -0,0 +1,14 @@
+// This file was generated by silverstripe/tx-translator from client/lang/src/sk.json.
+// See https://github.com/silverstripe/silverstripe-tx-translator for details
+if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
+ if (typeof(console) !== 'undefined') { // eslint-disable-line no-console
+ console.error('Class ss.i18n not defined'); // eslint-disable-line no-console
+ }
+} else {
+ ss.i18n.addDictionary('sk', {
+ "GridFieldExtensions.ADD_CLASS": "Pridať: {classname}",
+ "GridFieldExtensions.CONFIRMDEL": "Naozaj to chcete odstrániť?",
+ "GridFieldExtensions.OPEN_SEARCH_FILTER": "Otvorte vyhľadávanie a filter",
+ "GridFieldExtensions.SAVE_PUBLISH": "Uložiť a zverejniť"
+});
+}
\ No newline at end of file
diff --git a/client/lang/src/sk.json b/client/lang/src/sk.json
new file mode 100644
index 0000000..577f081
--- /dev/null
+++ b/client/lang/src/sk.json
@@ -0,0 +1,6 @@
+{
+ "GridFieldExtensions.ADD_CLASS": "Pridať: {classname}",
+ "GridFieldExtensions.CONFIRMDEL": "Naozaj to chcete odstrániť?",
+ "GridFieldExtensions.OPEN_SEARCH_FILTER": "Otvorte vyhľadávanie a filter",
+ "GridFieldExtensions.SAVE_PUBLISH": "Uložiť a zverejniť"
+}
\ No newline at end of file
diff --git a/lang/sk.yml b/lang/sk.yml
index 8566a3e..e5972e0 100644
--- a/lang/sk.yml
+++ b/lang/sk.yml
@@ -5,5 +5,15 @@ sk:
GridFieldExtensions:
ADD: Pridať
ADDEXISTING: 'Pridať existujúci'
+ BACK: Späť
+ CURRENT: (aktuálny)
+ NOITEMS: 'Nie sú k dispozícii žiadne položky.'
+ Next: Ďalší
+ PREVIOUS: Predchádzajúci
+ RESULTS: Výsledky
SEARCH: Hľadať
- SELECTTYPETOCREATE: '(Prosím, vyberte typ)'
+ SELECTTYPETOCREATE: '(Vyberte typ na vytvorenie)'
+ Symbiote\GridFieldExtensions\Extensions\GridFieldDetailFormItemRequestExtension:
+ NEW: 'Pridať nový záznam'
+ Symbiote\GridFieldExtensions\GridFieldConfigurablePaginator:
+ SHOW: Zobraziť
diff --git a/src/GridFieldOrderableRows.php b/src/GridFieldOrderableRows.php
index ed48140..b667727 100755
--- a/src/GridFieldOrderableRows.php
+++ b/src/GridFieldOrderableRows.php
@@ -456,7 +456,10 @@ public function handleReorder($grid, $request)
$this->httpError(400);
}
- Controller::curr()->getResponse()->addHeader('X-Status', rawurlencode('Records reordered.'));
+ Controller::curr()->getResponse()->addHeader(
+ 'X-Status',
+ rawurlencode(_t(__CLASS__ . '.REORDERED', 'Records reordered.'))
+ );
return $grid->FieldHolder();
}