From 9116d8a9cb1d055b3e9f040715f5df44d1ee2fbf Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 5 Nov 2024 15:45:20 +1300 Subject: [PATCH 1/2] FIX Anonymous function use statements in text collector --- src/i18n/TextCollection/i18nTextCollector.php | 9 +++- tests/php/i18n/i18nTextCollectorTest.php | 52 +++++++++++++++++++ 2 files changed, 59 insertions(+), 2 deletions(-) diff --git a/src/i18n/TextCollection/i18nTextCollector.php b/src/i18n/TextCollection/i18nTextCollector.php index 3d3d6fa6f8f..7bc44598b56 100644 --- a/src/i18n/TextCollection/i18nTextCollector.php +++ b/src/i18n/TextCollection/i18nTextCollector.php @@ -602,6 +602,7 @@ public function collectFromCode($content, $fileName, Module $module) $entities = []; $tokens = token_get_all("getManifest()->getModule('i18ntestmodule'); + $php = <<someMethod(_t( + MyClass::class . '.SOMETHING_A', + 'something a', + )); + }); + } + + public function getNewLinesWithSomething(\$class, \$something) { + Deprecation::withSuppressedNotice(function () use (\$something) { + \$this->someMethod(_t( + MyClass::class . '.SOMETHING_B', + 'something {something}', + ['something' => \$something] + )); + }); + } + + public function getNewLinesWithSomething(\$class, \$something) { + Deprecation::withSuppressedNotice(function ( + \$myparam + ) use (\$something) { + \$this->someMethod(_t( + MyClass::class . '.SOMETHING_C', + 'something {something} {myparam}', + ['something' => \$something, 'myparam' => \$myparam] + )); + }); + } +} +PHP; + $this->assertEquals( + [ + 'SilverStripe\\Framework\\Core\\MyClass.SOMETHING_A' => "something a", + 'SilverStripe\\Framework\\Core\\MyClass.SOMETHING_B' => "something {something}", + 'SilverStripe\\Framework\\Core\\MyClass.SOMETHING_C' => "something {something} {myparam}", + ], + $c->collectFromCode($php, null, $mymodule) + ); + } + public function testCollectFromEntityProvidersInWebRoot() { // Collect from i18nProviderClass From a43a7599b56040906f46cdf10b7ccfc06eed8017 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Wed, 6 Nov 2024 12:27:49 +1300 Subject: [PATCH 2/2] TLN Update translations --- lang/af.yml | 2 ++ lang/ar.yml | 2 ++ lang/az.yml | 2 ++ lang/bg.yml | 2 ++ lang/bs.yml | 2 ++ lang/ca.yml | 2 ++ lang/cs.yml | 2 ++ lang/da.yml | 2 ++ lang/de.yml | 1 + lang/de_DE.yml | 1 + lang/en.yml | 20 ++++++++++++++++++++ lang/eo.yml | 1 + lang/es.yml | 2 ++ lang/es_AR.yml | 2 ++ lang/es_MX.yml | 2 ++ lang/et_EE.yml | 2 ++ lang/fa_IR.yml | 2 ++ lang/fi.yml | 1 + lang/fi_FI.yml | 1 + lang/fo.yml | 2 ++ lang/fr.yml | 2 ++ lang/he_IL.yml | 2 ++ lang/hr.yml | 2 ++ lang/hu.yml | 2 ++ lang/id.yml | 2 ++ lang/id_ID.yml | 2 ++ lang/is.yml | 2 ++ lang/it.yml | 1 + lang/ja.yml | 2 ++ lang/ja_JP.yml | 2 ++ lang/lt.yml | 2 ++ lang/lv.yml | 2 ++ lang/mi.yml | 2 ++ lang/nb.yml | 2 ++ lang/nl.yml | 1 + lang/pl.yml | 1 + lang/pl_PL.yml | 2 ++ lang/pt.yml | 2 ++ lang/pt_BR.yml | 2 ++ lang/ro.yml | 2 ++ lang/ru.yml | 2 ++ lang/sk.yml | 1 + lang/sl.yml | 1 + lang/sr.yml | 2 ++ lang/sr@latin.yml | 2 ++ lang/sr_RS.yml | 2 ++ lang/sr_RS@latin.yml | 2 ++ lang/sv.yml | 2 ++ lang/th.yml | 2 ++ lang/tr.yml | 2 ++ lang/uk.yml | 2 ++ lang/zh.yml | 2 ++ lang/zh_CN.yml | 2 ++ 53 files changed, 114 insertions(+) diff --git a/lang/af.yml b/lang/af.yml index b1846a08f56..440dd8ee046 100644 --- a/lang/af.yml +++ b/lang/af.yml @@ -64,6 +64,8 @@ af: Save: Stoor SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Verander + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Soek SilverStripe\Forms\GridField\GridFieldPaginator: OF: van Page: Bladsy diff --git a/lang/ar.yml b/lang/ar.yml index ab0ccd09ed8..80b4d45d975 100644 --- a/lang/ar.yml +++ b/lang/ar.yml @@ -79,6 +79,8 @@ ar: Saved: 'المحفوظ {اسم} {رابط}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: تحرير + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: بحث SilverStripe\Forms\GridField\GridFieldPaginator: OF: من Page: صفحة diff --git a/lang/az.yml b/lang/az.yml index a1fd2411639..084c4096e05 100644 --- a/lang/az.yml +++ b/lang/az.yml @@ -31,6 +31,8 @@ az: SilverStripe\Forms\GridField\GridFieldDetailForm: Delete: 'Dərc olunmuş saytdan sil' Save: 'Yadda saxla' + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Axtar SilverStripe\Forms\GridField\GridFieldPaginator: Page: Səhifə SilverStripe\Forms\MoneyField: diff --git a/lang/bg.yml b/lang/bg.yml index 59af3fa84a9..a611bcd4730 100644 --- a/lang/bg.yml +++ b/lang/bg.yml @@ -94,6 +94,8 @@ bg: Save: Запис SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Редактиране + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Търси SilverStripe\Forms\GridField\GridFieldPaginator: OF: от Page: Страница diff --git a/lang/bs.yml b/lang/bs.yml index c42d9e706db..852ed6cd47a 100644 --- a/lang/bs.yml +++ b/lang/bs.yml @@ -33,6 +33,8 @@ bs: SilverStripe\Forms\GridField\GridFieldDetailForm: Create: Kreiraj Save: Snimi + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Pretraga SilverStripe\Forms\GridField\GridFieldPaginator: Page: Stranica SilverStripe\ORM\FieldType\DBBoolean: diff --git a/lang/ca.yml b/lang/ca.yml index 9df22df1ef1..2a7ef383cae 100644 --- a/lang/ca.yml +++ b/lang/ca.yml @@ -30,6 +30,8 @@ ca: SilverStripe\Forms\GridField\GridFieldDetailForm: Delete: Suprimeix Save: Desa + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Cerca SilverStripe\Forms\GridField\GridFieldPaginator: Page: Pàgina SilverStripe\ORM\DataObject: diff --git a/lang/cs.yml b/lang/cs.yml index 21054b331ea..64a3a1f4a5b 100644 --- a/lang/cs.yml +++ b/lang/cs.yml @@ -86,6 +86,8 @@ cs: Saved: 'Uloženo {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Editovat + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Hledat SilverStripe\Forms\GridField\GridFieldPaginator: OF: z Page: Stránka diff --git a/lang/da.yml b/lang/da.yml index eeb43a98e65..64285582656 100644 --- a/lang/da.yml +++ b/lang/da.yml @@ -88,6 +88,8 @@ da: Save: Gem SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Rediger + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Søg SilverStripe\Forms\GridField\GridFieldGroupDeleteAction: UnlinkSelfFailure: 'Kan ikke fjerne dig selv fra denne gruppe, du vil miste administrator rettigheder' SilverStripe\Forms\GridField\GridFieldPaginator: diff --git a/lang/de.yml b/lang/de.yml index e85811b4727..b1fc852f888 100644 --- a/lang/de.yml +++ b/lang/de.yml @@ -133,6 +133,7 @@ de: SilverStripe\Forms\GridField\GridFieldFilterHeader: Search: 'Suche "{name}"' SearchFormFaliure: 'Das Suchformular konnte nicht erzeugt werden' + Search_Default: Suche SilverStripe\Forms\GridField\GridFieldGroupDeleteAction: UnlinkSelfFailure: 'Sie können sich nicht selber von dieser Gruppe entfernen, Sie würden Admin-Rechte verlieren.' SilverStripe\Forms\GridField\GridFieldPaginator: diff --git a/lang/de_DE.yml b/lang/de_DE.yml index a6aad96f88f..7ef68b96e9b 100644 --- a/lang/de_DE.yml +++ b/lang/de_DE.yml @@ -49,6 +49,7 @@ de_DE: EDIT: Bearbeiten SilverStripe\Forms\GridField\GridFieldFilterHeader: Search: 'Suche "{name}"' + Search_Default: Suche SilverStripe\Forms\GridField\GridFieldPaginator: Page: Seite View: Anzeigen diff --git a/lang/en.yml b/lang/en.yml index adb6d3eb383..35c20794dbd 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -132,6 +132,7 @@ en: SilverStripe\Forms\GridField\GridFieldFilterHeader: Search: 'Search "{name}"' SearchFormFaliure: 'No search form could be generated' + Search_Default: Search SilverStripe\Forms\GridField\GridFieldGroupDeleteAction: UnlinkSelfFailure: 'Cannot remove yourself from this group, you will lose admin rights' SilverStripe\Forms\GridField\GridFieldPaginator: @@ -199,6 +200,25 @@ en: YEARS_SHORT_PLURALS: one: '{count} year' other: '{count} years' + SilverStripe\ORM\FieldType\DBDatetime: + nDays: + one: 'one day' + other: '{count} days' + nHours: + one: 'one hour' + other: '{count} hours' + nMinutes: + one: 'one minute' + other: '{count} minutes' + nMonths: + one: 'one month' + other: '{count} months' + nSeconds: + one: 'one second' + other: '{count} seconds' + nYears: + one: 'one year' + other: '{count} years' SilverStripe\ORM\FieldType\DBEnum: ANY: Any SilverStripe\ORM\FieldType\DBForeignKey: diff --git a/lang/eo.yml b/lang/eo.yml index 1d1a79e519f..77076fbb02a 100644 --- a/lang/eo.yml +++ b/lang/eo.yml @@ -134,6 +134,7 @@ eo: SilverStripe\Forms\GridField\GridFieldFilterHeader: Search: 'Serĉi por {name}' SearchFormFaliure: 'Ne eblis generi serĉan formularon' + Search_Default: Serĉi SilverStripe\Forms\GridField\GridFieldGroupDeleteAction: UnlinkSelfFailure: 'Ne povas forigi vin el ĉi tiu grupo; vi perdus administrajn rajtojn' SilverStripe\Forms\GridField\GridFieldPaginator: diff --git a/lang/es.yml b/lang/es.yml index 194ddb4e930..acf2fe90482 100644 --- a/lang/es.yml +++ b/lang/es.yml @@ -87,6 +87,8 @@ es: Saved: 'Guardado {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Editar + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Buscar SilverStripe\Forms\GridField\GridFieldPaginator: OF: de Page: Página diff --git a/lang/es_AR.yml b/lang/es_AR.yml index d4c51f13a9a..58057432e2a 100644 --- a/lang/es_AR.yml +++ b/lang/es_AR.yml @@ -32,6 +32,8 @@ es_AR: SilverStripe\Forms\GridField\GridFieldDetailForm: Delete: Eliminar Save: Guardar + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Buscar SilverStripe\Forms\GridField\GridFieldPaginator: Page: Página SilverStripe\Forms\MoneyField: diff --git a/lang/es_MX.yml b/lang/es_MX.yml index 967aeb4f351..cd528bb4845 100644 --- a/lang/es_MX.yml +++ b/lang/es_MX.yml @@ -62,6 +62,8 @@ es_MX: Save: Guardar SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Editar + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Buscar SilverStripe\Forms\GridField\GridFieldPaginator: Page: Página View: Ver diff --git a/lang/et_EE.yml b/lang/et_EE.yml index d6d99c1fa20..6ee9a3ccf46 100644 --- a/lang/et_EE.yml +++ b/lang/et_EE.yml @@ -72,6 +72,8 @@ et_EE: Saved: 'Salvestatud {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Redigeeri + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Otsi SilverStripe\Forms\GridField\GridFieldPaginator: OF: / Page: Leht diff --git a/lang/fa_IR.yml b/lang/fa_IR.yml index 81af6b10082..0c4d175ef18 100644 --- a/lang/fa_IR.yml +++ b/lang/fa_IR.yml @@ -85,6 +85,8 @@ fa_IR: Saved: 'ذخیره‌شده {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: ویرایش + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: جستجو SilverStripe\Forms\GridField\GridFieldPaginator: OF: از Page: صفحه diff --git a/lang/fi.yml b/lang/fi.yml index 94c2e781302..a0748844bbe 100644 --- a/lang/fi.yml +++ b/lang/fi.yml @@ -100,6 +100,7 @@ fi: SilverStripe\Forms\GridField\GridFieldFilterHeader: Search: 'Hae "{name}"' SearchFormFaliure: 'Hakulomaketta ei voitu luoda' + Search_Default: Haku SilverStripe\Forms\GridField\GridFieldGroupDeleteAction: UnlinkSelfFailure: 'Et voi siirtää itseäsi pois tästä ryhmästä: menettäisit pääkäyttäjän oikeudet' SilverStripe\Forms\GridField\GridFieldPaginator: diff --git a/lang/fi_FI.yml b/lang/fi_FI.yml index 0a9462341ab..2f309989180 100644 --- a/lang/fi_FI.yml +++ b/lang/fi_FI.yml @@ -115,6 +115,7 @@ fi_FI: SilverStripe\Forms\GridField\GridFieldFilterHeader: Search: 'Hae "{name}"' SearchFormFaliure: 'Hakulomaketta ei voitu luoda' + Search_Default: Haku SilverStripe\Forms\GridField\GridFieldGroupDeleteAction: UnlinkSelfFailure: 'Et voi siirtää itseäsi pois tästä ryhmästä: menettäisit pääkäyttäjän oikeudet' SilverStripe\Forms\GridField\GridFieldPaginator: diff --git a/lang/fo.yml b/lang/fo.yml index 3713ccc6ae6..e9635a57b33 100644 --- a/lang/fo.yml +++ b/lang/fo.yml @@ -27,6 +27,8 @@ fo: SilverStripe\Forms\GridField\GridFieldDetailForm: Delete: Strika Save: Goym + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Leita SilverStripe\Forms\GridField\GridFieldPaginator: Page: Síða SilverStripe\ORM\DataObject: diff --git a/lang/fr.yml b/lang/fr.yml index 374827ee8c9..5cc7cb61d9c 100644 --- a/lang/fr.yml +++ b/lang/fr.yml @@ -101,6 +101,8 @@ fr: SAVETOASTMESSAGE: 'Sauvegardé {type} "{title}" avec succès.' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Éditer + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Rechercher SilverStripe\Forms\GridField\GridFieldGroupDeleteAction: UnlinkSelfFailure: "Impossible de retirer votre propre profil de ce groupe, vous perdriez vos droits d'administration" SilverStripe\Forms\GridField\GridFieldPaginator: diff --git a/lang/he_IL.yml b/lang/he_IL.yml index efc4124c8e7..41186a822a5 100644 --- a/lang/he_IL.yml +++ b/lang/he_IL.yml @@ -25,6 +25,8 @@ he_IL: Create: יצירה Delete: מחק Save: שמור + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: חיפוש SilverStripe\Forms\GridField\GridFieldPaginator: OF: מתוך Page: עמוד diff --git a/lang/hr.yml b/lang/hr.yml index 5b1e225b6f0..fb5265f4297 100644 --- a/lang/hr.yml +++ b/lang/hr.yml @@ -58,6 +58,8 @@ hr: Saved: 'Spremljeno {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Uredi + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Traži SilverStripe\Forms\GridField\GridFieldPaginator: OF: od Page: Stranica diff --git a/lang/hu.yml b/lang/hu.yml index 2ea9b4947c6..f19de65b79d 100644 --- a/lang/hu.yml +++ b/lang/hu.yml @@ -27,6 +27,8 @@ hu: Save: Mentés SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Szerkeszt + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Keresés SilverStripe\Forms\GridField\GridFieldPaginator: Page: Oldal SilverStripe\Forms\UrlField: diff --git a/lang/id.yml b/lang/id.yml index e3a6649c809..2f82e212261 100644 --- a/lang/id.yml +++ b/lang/id.yml @@ -76,6 +76,8 @@ id: Deleted: '{type} {name} dihapus' Save: Simpan Saved: 'Simpan {name} {link}' + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Cari SilverStripe\Forms\GridField\GridFieldPaginator: OF: dari Page: Laman diff --git a/lang/id_ID.yml b/lang/id_ID.yml index 07aac5daa98..a3bd503d3fd 100644 --- a/lang/id_ID.yml +++ b/lang/id_ID.yml @@ -74,6 +74,8 @@ id_ID: Deleted: '{type} {name} dihapus' Save: Simpan Saved: 'Simpan {name} {link}' + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Cari SilverStripe\Forms\GridField\GridFieldPaginator: OF: dari Page: Laman diff --git a/lang/is.yml b/lang/is.yml index 60521695667..7696fc336bc 100644 --- a/lang/is.yml +++ b/lang/is.yml @@ -36,6 +36,8 @@ is: Save: Vista SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Breyta + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Leita SilverStripe\Forms\GridField\GridFieldPaginator: Page: Síða SilverStripe\Forms\MoneyField: diff --git a/lang/it.yml b/lang/it.yml index 81558df266c..a58d0441c46 100644 --- a/lang/it.yml +++ b/lang/it.yml @@ -117,6 +117,7 @@ it: SilverStripe\Forms\GridField\GridFieldFilterHeader: Search: 'Cerca "{name}"' SearchFormFaliure: 'Nessun modulo di ricerca può essere generato' + Search_Default: Cerca SilverStripe\Forms\GridField\GridFieldGroupDeleteAction: UnlinkSelfFailure: 'Non è possibile rimuovere te stesso da questo gruppo, perderesti i diritti di admin' SilverStripe\Forms\GridField\GridFieldPaginator: diff --git a/lang/ja.yml b/lang/ja.yml index 5ea88709b4c..cb816684983 100644 --- a/lang/ja.yml +++ b/lang/ja.yml @@ -74,6 +74,8 @@ ja: Saved: '保存 {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: 編集 + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: 検索 SilverStripe\Forms\GridField\GridFieldPaginator: OF: の Page: ページ diff --git a/lang/ja_JP.yml b/lang/ja_JP.yml index f15586c769f..d2d7709fe95 100644 --- a/lang/ja_JP.yml +++ b/lang/ja_JP.yml @@ -53,6 +53,8 @@ ja_JP: Delete: 削除 DeletePermissionsFailure: 削除権限がありません Save: 保存 + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: 検索 SilverStripe\Forms\GridField\GridFieldPaginator: Page: ページ SilverStripe\Forms\MoneyField: diff --git a/lang/lt.yml b/lang/lt.yml index e498ceb36c1..1ae6d2d2a6b 100644 --- a/lang/lt.yml +++ b/lang/lt.yml @@ -81,6 +81,8 @@ lt: Saved: 'Išsaugota {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Redaguoti + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Ieškoti SilverStripe\Forms\GridField\GridFieldPaginator: OF: iš Page: Puslapis diff --git a/lang/lv.yml b/lang/lv.yml index 7e6dc122532..f52dfdce735 100644 --- a/lang/lv.yml +++ b/lang/lv.yml @@ -32,6 +32,8 @@ lv: SilverStripe\Forms\GridField\GridFieldDetailForm: Delete: 'Dzēst no publicētās vietnes' Save: Saglabāt + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Meklēt SilverStripe\Forms\GridField\GridFieldPaginator: Page: Lapa SilverStripe\Forms\MoneyField: diff --git a/lang/mi.yml b/lang/mi.yml index 32481c6a24a..380254d0cf0 100644 --- a/lang/mi.yml +++ b/lang/mi.yml @@ -76,6 +76,8 @@ mi: Saved: 'I tiakina te {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Whakatika + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Rapu SilverStripe\Forms\GridField\GridFieldPaginator: OF: o Page: Whārangi diff --git a/lang/nb.yml b/lang/nb.yml index 63403d24340..9a7916fd003 100644 --- a/lang/nb.yml +++ b/lang/nb.yml @@ -74,6 +74,8 @@ nb: Saved: 'Lagret {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Rediger + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Søk SilverStripe\Forms\GridField\GridFieldPaginator: OF: av Page: Side diff --git a/lang/nl.yml b/lang/nl.yml index 2fb4b5005e6..87608a01298 100644 --- a/lang/nl.yml +++ b/lang/nl.yml @@ -115,6 +115,7 @@ nl: SilverStripe\Forms\GridField\GridFieldFilterHeader: Search: 'Zoek naar "{name}"' SearchFormFaliure: 'Er kon geen zoekformulier worden aangemaakt' + Search_Default: Zoek SilverStripe\Forms\GridField\GridFieldGroupDeleteAction: UnlinkSelfFailure: 'Je kan jezelf niet verwijderen van deze groep, omdat je dan geen admin-rechten meer hebt.' SilverStripe\Forms\GridField\GridFieldPaginator: diff --git a/lang/pl.yml b/lang/pl.yml index e446ff93740..34f938a22de 100644 --- a/lang/pl.yml +++ b/lang/pl.yml @@ -118,6 +118,7 @@ pl: SilverStripe\Forms\GridField\GridFieldFilterHeader: Search: 'Wyszukaj "{name}"' SearchFormFaliure: 'Nie można wygenerować formularza wyszukiwania' + Search_Default: Szukaj SilverStripe\Forms\GridField\GridFieldGroupDeleteAction: UnlinkSelfFailure: 'Nie możesz usunąć siebie z tej grupy, stracone zostałby prawa administratora' SilverStripe\Forms\GridField\GridFieldPaginator: diff --git a/lang/pl_PL.yml b/lang/pl_PL.yml index 471438ebb40..5e02d6a65d5 100644 --- a/lang/pl_PL.yml +++ b/lang/pl_PL.yml @@ -23,6 +23,8 @@ pl_PL: Save: Zapisz SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Edytuj + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Szukaj SilverStripe\Forms\GridField\GridFieldPaginator: Page: Strona SilverStripe\Forms\UrlField: diff --git a/lang/pt.yml b/lang/pt.yml index 9669989a37e..1a0560d1231 100644 --- a/lang/pt.yml +++ b/lang/pt.yml @@ -47,6 +47,8 @@ pt: Delete: Apagar DeletePermissionsFailure: 'Não tem permissões para apagar' Save: Guardar + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Procurar SilverStripe\Forms\GridField\GridFieldPaginator: OF: de Page: Página diff --git a/lang/pt_BR.yml b/lang/pt_BR.yml index 2f9301caca9..0a0a2519efb 100644 --- a/lang/pt_BR.yml +++ b/lang/pt_BR.yml @@ -34,6 +34,8 @@ pt_BR: SilverStripe\Forms\GridField\GridFieldDetailForm: Delete: Excluir Save: Salvar + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Buscar SilverStripe\Forms\GridField\GridFieldPaginator: Page: Página SilverStripe\ORM\DataObject: diff --git a/lang/ro.yml b/lang/ro.yml index e19007e0d4c..89b3805dba5 100644 --- a/lang/ro.yml +++ b/lang/ro.yml @@ -37,6 +37,8 @@ ro: Save: Salvează SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Editare + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Căutare SilverStripe\Forms\GridField\GridFieldPaginator: Page: Pagină SilverStripe\Forms\UrlField: diff --git a/lang/ru.yml b/lang/ru.yml index 3f7a3d34b38..9ece36575cf 100644 --- a/lang/ru.yml +++ b/lang/ru.yml @@ -94,6 +94,8 @@ ru: Saved: 'Сохранено: {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Редактировать + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Поиск SilverStripe\Forms\GridField\GridFieldPaginator: OF: из Page: Страница diff --git a/lang/sk.yml b/lang/sk.yml index 1d0c2c5ab03..77da3f93e44 100644 --- a/lang/sk.yml +++ b/lang/sk.yml @@ -129,6 +129,7 @@ sk: SilverStripe\Forms\GridField\GridFieldFilterHeader: Search: 'Hľadať "{name}"' SearchFormFaliure: 'Nepodarilo sa vygenerovať žiadny vyhľadávací formulár' + Search_Default: Hľadať SilverStripe\Forms\GridField\GridFieldGroupDeleteAction: UnlinkSelfFailure: 'Z tejto skupiny sa nemôžete odstrániť, stratíte práva správcu' SilverStripe\Forms\GridField\GridFieldPaginator: diff --git a/lang/sl.yml b/lang/sl.yml index f5384456c50..c80e7ebb8d6 100644 --- a/lang/sl.yml +++ b/lang/sl.yml @@ -118,6 +118,7 @@ sl: SilverStripe\Forms\GridField\GridFieldFilterHeader: Search: 'Išči "{name}"' SearchFormFaliure: 'Ni nam uspelo pripraviti obrazca za iskanje' + Search_Default: Najdi SilverStripe\Forms\GridField\GridFieldGroupDeleteAction: UnlinkSelfFailure: 'Ne moremo vas odstraniti iz te skupine, saj boste izgubili administratorske pravice' SilverStripe\Forms\GridField\GridFieldPaginator: diff --git a/lang/sr.yml b/lang/sr.yml index 51f70736dfe..1d4c022ff7e 100644 --- a/lang/sr.yml +++ b/lang/sr.yml @@ -74,6 +74,8 @@ sr: Saved: 'Сачувано {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Измени + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Претражи SilverStripe\Forms\GridField\GridFieldPaginator: OF: од Page: Страница diff --git a/lang/sr@latin.yml b/lang/sr@latin.yml index 6f0c2fbfc9f..5050c682e75 100644 --- a/lang/sr@latin.yml +++ b/lang/sr@latin.yml @@ -73,6 +73,8 @@ sr@latin: Saved: 'Sačuvano {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Izmeni + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Pretraga SilverStripe\Forms\GridField\GridFieldPaginator: OF: od Page: Stranica diff --git a/lang/sr_RS.yml b/lang/sr_RS.yml index bf64837f09f..682faae072a 100644 --- a/lang/sr_RS.yml +++ b/lang/sr_RS.yml @@ -74,6 +74,8 @@ sr_RS: Saved: 'Сачувано {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Измени + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Претрага SilverStripe\Forms\GridField\GridFieldPaginator: OF: од Page: Страница diff --git a/lang/sr_RS@latin.yml b/lang/sr_RS@latin.yml index d1f572ef952..fb6141c9142 100644 --- a/lang/sr_RS@latin.yml +++ b/lang/sr_RS@latin.yml @@ -73,6 +73,8 @@ sr_RS@latin: Saved: 'Sačuvano {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Izmeni + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Pretraži SilverStripe\Forms\GridField\GridFieldPaginator: OF: od Page: Stranica diff --git a/lang/sv.yml b/lang/sv.yml index bc131363aa9..d10feea358a 100644 --- a/lang/sv.yml +++ b/lang/sv.yml @@ -95,6 +95,8 @@ sv: Saved: 'Sparade {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: Ändra + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Sök SilverStripe\Forms\GridField\GridFieldGroupDeleteAction: UnlinkSelfFailure: 'Du kan inte radera dig själv från den här gruppen, då du då kommer att förlora dina admin-rättigheter' SilverStripe\Forms\GridField\GridFieldPaginator: diff --git a/lang/th.yml b/lang/th.yml index 25f265fa345..034e24ddb52 100644 --- a/lang/th.yml +++ b/lang/th.yml @@ -61,6 +61,8 @@ th: Save: บันทึก SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: แก้ไข + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: ค้นหา SilverStripe\Forms\GridField\GridFieldPaginator: OF: จาก Page: หน้า diff --git a/lang/tr.yml b/lang/tr.yml index 36ebbaec318..f477481b21f 100644 --- a/lang/tr.yml +++ b/lang/tr.yml @@ -41,6 +41,8 @@ tr: Create: Oluştur Delete: Sil Save: Kaydet + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Ara SilverStripe\Forms\GridField\GridFieldPaginator: Page: Sayfa SilverStripe\Forms\NullableField: diff --git a/lang/uk.yml b/lang/uk.yml index a92caeeb697..2daa2751c00 100644 --- a/lang/uk.yml +++ b/lang/uk.yml @@ -38,6 +38,8 @@ uk: Delete: Видалити Save: Зберегти Saved: 'Збережено {name} {link}' + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: Пошук SilverStripe\Forms\GridField\GridFieldPaginator: Page: Сторінка SilverStripe\Forms\MoneyField: diff --git a/lang/zh.yml b/lang/zh.yml index 7fbd6b5d4b8..4de477f1f34 100644 --- a/lang/zh.yml +++ b/lang/zh.yml @@ -80,6 +80,8 @@ zh: Saved: '已保存 {name} {link}' SilverStripe\Forms\GridField\GridFieldEditButton: EDIT: 编辑 + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: 查询 SilverStripe\Forms\GridField\GridFieldPaginator: OF: 的 Page: 页面 diff --git a/lang/zh_CN.yml b/lang/zh_CN.yml index a6669497320..ced69cef768 100644 --- a/lang/zh_CN.yml +++ b/lang/zh_CN.yml @@ -20,6 +20,8 @@ zh_CN: SilverStripe\Forms\GridField\GridFieldDetailForm: Delete: 删除 Save: 保存 + SilverStripe\Forms\GridField\GridFieldFilterHeader: + Search_Default: 搜索 SilverStripe\Forms\GridField\GridFieldPaginator: Page: 页面 SilverStripe\ORM\DataObject: