diff --git a/.tx/config b/.tx/config index e339d30fc..23770d0d4 100644 --- a/.tx/config +++ b/.tx/config @@ -5,4 +5,16 @@ host = https://www.transifex.com file_filter = lang/.yml source_file = lang/en.yml source_lang = en -type = YML \ No newline at end of file +type = YML + +[silverstripe-framework.master-js] +file_filter = javascript/lang/src/.js +source_file = javascript/lang/src/en.js +source_lang = en +type = KEYVALUEJSON + +[silverstripe-framework.master-admin-js] +file_filter = admin/javascript/lang/src/.js +source_file = admin/javascript/lang/src/en.js +source_lang = en +type = KEYVALUEJSON \ No newline at end of file diff --git a/admin/javascript/lang/cs.js b/admin/javascript/lang/cs.js new file mode 100644 index 000000000..eb15679a0 --- /dev/null +++ b/admin/javascript/lang/cs.js @@ -0,0 +1,13 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/cs.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('cs', { + "ModelAdmin.SAVED": "Uloženo", + "ModelAdmin.REALLYDELETE": "Skutečně chcete smazat?", + "ModelAdmin.DELETED": "Smazáno", + "LeftAndMain.PAGEWASDELETED": "Tato stránka byla smazána. Pro editaci stránky, vyberte ji vlevo.", + "LeftAndMain.CONFIRMUNSAVED": "Určitě chcete opustit navigaci z této stránky?\n\nUPOZORNĚNÍ: Vaše změny nebyly uloženy.\n\nStlačte OK pro pokračovat, nebo Cancel, zůstanete na této stránce." +}); +} \ No newline at end of file diff --git a/admin/javascript/lang/cs_CZ.js b/admin/javascript/lang/cs_CZ.js deleted file mode 100644 index aace6d690..000000000 --- a/admin/javascript/lang/cs_CZ.js +++ /dev/null @@ -1,11 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('cs_CZ', { - 'ModelAdmin.SAVED': "Uloženo", - 'ModelAdmin.REALLYDELETE': "Skutečně chcete smazat?", - 'ModelAdmin.DELETED': "Smazáno", - 'LeftAndMain.PAGEWASDELETED': "Tato stránka byla smazána. Pro editaci stránky, vyberte ji vlevo.", - 'LeftAndMain.CONFIRMUNSAVED': "Určitě chcete opustit navigaci z této stránky?\n\nUPOZORNĚNÍ: Vaše změny nebyly uloženy.\n\nStlačte OK pro pokračovat, nebo Cancel, zůstanete na této stránce." - }); -} \ No newline at end of file diff --git a/admin/javascript/lang/de.js b/admin/javascript/lang/de.js new file mode 100644 index 000000000..357593c8d --- /dev/null +++ b/admin/javascript/lang/de.js @@ -0,0 +1,14 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/de.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('de', { + "ModelAdmin.SAVED": "Gespeichert", + "ModelAdmin.REALLYDELETE": "Wirklich löschen?", + "ModelAdmin.DELETED": "Gelöscht", + "ModelAdmin.VALIDATIONERROR": "Validationsfehler", + "LeftAndMain.PAGEWASDELETED": "Diese Seite wurde gelöscht.", + "LeftAndMain.CONFIRMUNSAVED": "Sind Sie sicher, dass Sie die Seite verlassen möchten?\n\nWARNUNG: Ihre Änderungen werden nicht gespeichert.\n\nDrücken Sie \"OK\" um fortzufahren, oder \"Abbrechen\" um auf dieser Seite zu bleiben." +}); +} \ No newline at end of file diff --git a/admin/javascript/lang/de_DE.js b/admin/javascript/lang/de_DE.js deleted file mode 100644 index 0c616d789..000000000 --- a/admin/javascript/lang/de_DE.js +++ /dev/null @@ -1,12 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('de_DE', { - 'ModelAdmin.SAVED': "Gespeichert", - 'ModelAdmin.REALLYDELETE': "Wirklich löschen?", - 'ModelAdmin.DELETED': "Gelöscht", - 'ModelAdmin.VALIDATIONERROR': "Validationsfehler", - 'LeftAndMain.PAGEWASDELETED': "Diese Seite wurde gelöscht.", - 'LeftAndMain.CONFIRMUNSAVED': "Sind Sie sicher, dass Sie die Seite verlassen möchten?\n\nWARNUNG: Ihre Änderungen werden nicht gespeichert.\n\nDrücken Sie \"OK\" um fortzufahren, oder \"Abbrechen\" um auf dieser Seite zu bleiben." - }); -} diff --git a/admin/javascript/lang/en.js b/admin/javascript/lang/en.js new file mode 100644 index 000000000..305c85750 --- /dev/null +++ b/admin/javascript/lang/en.js @@ -0,0 +1,17 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/en.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('en', { + "LeftAndMain.CONFIRMUNSAVED": "Are you sure you want to navigate away from this page?\n\nWARNING: Your changes have not been saved.\n\nPress OK to continue, or Cancel to stay on the current page.", + "LeftAndMain.CONFIRMUNSAVEDSHORT": "WARNING: Your changes have not been saved.", + "SecurityAdmin.BATCHACTIONSDELETECONFIRM": "Do you really want to delete %s groups?", + "ModelAdmin.SAVED": "Saved", + "ModelAdmin.REALLYDELETE": "Do you really want to delete?", + "ModelAdmin.DELETED": "Deleted", + "ModelAdmin.VALIDATIONERROR": "Validation Error", + "LeftAndMain.PAGEWASDELETED": "This page was deleted. To edit a page, select it from the left." +} +); +} \ No newline at end of file diff --git a/admin/javascript/lang/en_US.js b/admin/javascript/lang/en_US.js deleted file mode 100644 index 1564e2961..000000000 --- a/admin/javascript/lang/en_US.js +++ /dev/null @@ -1,14 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('en_US', { - 'LeftAndMain.CONFIRMUNSAVED': "Are you sure you want to navigate away from this page?\n\nWARNING: Your changes have not been saved.\n\nPress OK to continue, or Cancel to stay on the current page.", - 'LeftAndMain.CONFIRMUNSAVEDSHORT': "WARNING: Your changes have not been saved.", - 'SecurityAdmin.BATCHACTIONSDELETECONFIRM': "Do you really want to delete %s groups?", - 'ModelAdmin.SAVED': "Saved", - 'ModelAdmin.REALLYDELETE': "Do you really want to delete?", - 'ModelAdmin.DELETED': "Deleted", - 'ModelAdmin.VALIDATIONERROR': "Validation Error", - 'LeftAndMain.PAGEWASDELETED': "This page was deleted. To edit a page, select it from the left." - }); -} diff --git a/admin/javascript/lang/fr.js b/admin/javascript/lang/fr.js new file mode 100644 index 000000000..904fb47d7 --- /dev/null +++ b/admin/javascript/lang/fr.js @@ -0,0 +1,13 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/fr.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('fr', { + "ModelAdmin.SAVED": "Sauvegardé", + "ModelAdmin.REALLYDELETE": "Etes-vous sûr de vouloir supprimer ?", + "ModelAdmin.DELETED": "Supprimé", + "LeftAndMain.PAGEWASDELETED": "Cette page a été supprimée. Pour éditer cette page, veuillez la sélectionner à gauche.", + "LeftAndMain.CONFIRMUNSAVED": "Etes-vous sûr de vouloir quitter cette page ?\n\nATTENTION: Vos changements n'ont pas été sauvegardés.\n\nCliquez sur OK pour continuer, ou sur Annuler pour rester sur la page actuelle." +}); +} \ No newline at end of file diff --git a/admin/javascript/lang/fr_FR.js b/admin/javascript/lang/fr_FR.js deleted file mode 100644 index 66f771069..000000000 --- a/admin/javascript/lang/fr_FR.js +++ /dev/null @@ -1,11 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('fr_FR', { - 'ModelAdmin.SAVED': "Sauvegardé", - 'ModelAdmin.REALLYDELETE': "Etes-vous sûr de vouloir supprimer ?", - 'ModelAdmin.DELETED': "Supprimé", - 'LeftAndMain.PAGEWASDELETED': "Cette page a été supprimée. Pour éditer cette page, veuillez la sélectionner à gauche.", - 'LeftAndMain.CONFIRMUNSAVED': "Etes-vous sûr de vouloir quitter cette page ?\n\nATTENTION: Vos changements n'ont pas été sauvegardés.\n\nCliquez sur OK pour continuer, ou sur Annuler pour rester sur la page actuelle." - }); -} \ No newline at end of file diff --git a/admin/javascript/lang/it.js b/admin/javascript/lang/it.js new file mode 100644 index 000000000..765c36356 --- /dev/null +++ b/admin/javascript/lang/it.js @@ -0,0 +1,13 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/it.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('it', { + "ModelAdmin.SAVED": "Salvato", + "ModelAdmin.REALLYDELETE": "Si è sicuri di voler eliminare?", + "ModelAdmin.DELETED": "Eliminato", + "LeftAndMain.PAGEWASDELETED": "Questa pagina è stata eliminata. Per modificare questa pagine, selezionarla a sinistra.", + "LeftAndMain.CONFIRMUNSAVED": "Siete sicuri di voler uscire da questa pagina?\n\nATTENZIONE: I vostri cambiamenti non sono stati salvati.\n\nCliccare OK per continuare, o su Annulla per rimanere sulla pagina corrente." +}); +} \ No newline at end of file diff --git a/admin/javascript/lang/it_IT.js b/admin/javascript/lang/it_IT.js deleted file mode 100644 index 66c52b8c1..000000000 --- a/admin/javascript/lang/it_IT.js +++ /dev/null @@ -1,11 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('it_IT', { - 'ModelAdmin.SAVED': "Salvato", - 'ModelAdmin.REALLYDELETE': "Si è sicuri di voler eliminare?", - 'ModelAdmin.DELETED': "Eliminato", - 'LeftAndMain.PAGEWASDELETED': "Questa pagina è stata eliminata. Per modificare questa pagine, selezionarla a sinistra.", - 'LeftAndMain.CONFIRMUNSAVED': "Siete sicuri di voler uscire da questa pagina?\n\nATTENZIONE: I vostri cambiamenti non sono stati salvati.\n\nCliccare OK per continuare, o su Annulla per rimanere sulla pagina corrente." - }); -} \ No newline at end of file diff --git a/admin/javascript/lang/ja.js b/admin/javascript/lang/ja.js new file mode 100644 index 000000000..057f695f2 --- /dev/null +++ b/admin/javascript/lang/ja.js @@ -0,0 +1,16 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/ja.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('ja', { + "LeftAndMain.CONFIRMUNSAVED": "このページから移動しても良いですか?\n\n警告: あなたの変更は保存されていません.\n\n続行するにはOKを押してください.キャンセルをクリックするとこのページにとどまります.", + "LeftAndMain.CONFIRMUNSAVEDSHORT": "警告: あなたの変更は保存されていません.", + "SecurityAdmin.BATCHACTIONSDELETECONFIRM": "%sグループを本当に削除しても良いですか?", + "ModelAdmin.SAVED": "保存しました", + "ModelAdmin.REALLYDELETE": "本当に削除しますか?", + "ModelAdmin.DELETED": "削除しました", + "ModelAdmin.VALIDATIONERROR": "検証エラー", + "LeftAndMain.PAGEWASDELETED": "このページは削除されました.ページを編集するには,左から選択してください." +}); +} \ No newline at end of file diff --git a/admin/javascript/lang/ja_JP.js b/admin/javascript/lang/ja_JP.js deleted file mode 100644 index 094eb1ec3..000000000 --- a/admin/javascript/lang/ja_JP.js +++ /dev/null @@ -1,14 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('ja_JP', { - 'LeftAndMain.CONFIRMUNSAVED': "このページから移動しても良いですか?\n\n警告: あなたの変更は保存されていません.\n\n続行するにはOKを押してください.キャンセルをクリックするとこのページにとどまります.", - 'LeftAndMain.CONFIRMUNSAVEDSHORT': "警告: あなたの変更は保存されていません.", - 'SecurityAdmin.BATCHACTIONSDELETECONFIRM': "%sグループを本当に削除しても良いですか?", - 'ModelAdmin.SAVED': "保存しました", - 'ModelAdmin.REALLYDELETE': "本当に削除しますか?", - 'ModelAdmin.DELETED': "削除しました", - 'ModelAdmin.VALIDATIONERROR': "検証エラー", - 'LeftAndMain.PAGEWASDELETED': "このページは削除されました.ページを編集するには,左から選択してください." - }); -} diff --git a/admin/javascript/lang/mi.js b/admin/javascript/lang/mi.js new file mode 100644 index 000000000..251090979 --- /dev/null +++ b/admin/javascript/lang/mi.js @@ -0,0 +1,17 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/mi.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('mi', { + "LeftAndMain.CONFIRMUNSAVED": "Kei te hiahia whakatere atu i tēnei whārangi?\n\nWHAKATŪPATO: Kāore anō ō huringa kia tiakina.\n\nPēhi AE kia haere tonu, Whakakore rānei kia noho i te whārangi onāianei.", + "LeftAndMain.CONFIRMUNSAVEDSHORT": "WHAKATŪPATO: Kāore anō ō huringa kia tiakina.", + "SecurityAdmin.BATCHACTIONSDELETECONFIRM": "Kei te tino hiahia muku i te %s rōpū?", + "ModelAdmin.SAVED": "Kua Tiakina", + "ModelAdmin.REALLYDELETE": "Kei te tino hiahia muku?", + "ModelAdmin.DELETED": "Kua Mukua", + "ModelAdmin.VALIDATIONERROR": "Hapa Whakamana", + "LeftAndMain.PAGEWASDELETED": "I mukua tēnei whārangi. Hei whakatika i tētahi whārangi, tīpakohia i te taha mauī." +} +); +} \ No newline at end of file diff --git a/admin/javascript/lang/mi_NZ.js b/admin/javascript/lang/mi_NZ.js deleted file mode 100644 index 9d91fae5e..000000000 --- a/admin/javascript/lang/mi_NZ.js +++ /dev/null @@ -1,14 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('mi_NZ', { - 'LeftAndMain.CONFIRMUNSAVED': "Kei te hiahia whakatere atu i tēnei whārangi?\n\nWHAKATŪPATO: Kāore anō ō huringa kia tiakina.\n\nPēhi AE kia haere tonu, Whakakore rānei kia noho i te whārangi onāianei.", - 'LeftAndMain.CONFIRMUNSAVEDSHORT': "WHAKATŪPATO: Kāore anō ō huringa kia tiakina.", - 'SecurityAdmin.BATCHACTIONSDELETECONFIRM': "Kei te tino hiahia muku i te %s rōpū?", - 'ModelAdmin.SAVED': "Kua Tiakina", - 'ModelAdmin.REALLYDELETE': "Kei te tino hiahia muku?", - 'ModelAdmin.DELETED': "Kua Mukua", - 'ModelAdmin.VALIDATIONERROR': "Hapa Whakamana", - 'LeftAndMain.PAGEWASDELETED': "I mukua tēnei whārangi. Hei whakatika i tētahi whārangi, tīpakohia i te taha mauī." - }); -} diff --git a/admin/javascript/lang/nl.js b/admin/javascript/lang/nl.js new file mode 100644 index 000000000..8050b2c1f --- /dev/null +++ b/admin/javascript/lang/nl.js @@ -0,0 +1,17 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/nl.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('nl', { + "LeftAndMain.CONFIRMUNSAVED": "Weet u zeker dat u deze pagina wilt verlaten?\n\WAARSCHUWING: Uw veranderingen zijn niet opgeslagen.\n\nKies OK om te verlaten, of Cancel om op de huidige pagina te blijven.", + "LeftAndMain.CONFIRMUNSAVEDSHORT": "WAARSCHUWING: Uw veranderingen zijn niet opgeslagen", + "SecurityAdmin.BATCHACTIONSDELETECONFIRM": "Weet u zeker dat u deze groep %s wilt verwijderen?", + "ModelAdmin.SAVED": "Opgeslagen", + "ModelAdmin.REALLYDELETE": "Weet u zeker dat u wilt verwijderen?", + "ModelAdmin.DELETED": "Verwijderd", + "ModelAdmin.VALIDATIONERROR": "Validatie fout", + "LeftAndMain.PAGEWASDELETED": "Deze pagina is verwijderd. Om een pagina aan te passen, selecteer pagina aan de linkerkant." +} +); +} \ No newline at end of file diff --git a/admin/javascript/lang/nl_NL.js b/admin/javascript/lang/nl_NL.js deleted file mode 100644 index 128fc6d55..000000000 --- a/admin/javascript/lang/nl_NL.js +++ /dev/null @@ -1,14 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('nl_NL', { - 'LeftAndMain.CONFIRMUNSAVED': "Weet u zeker dat u deze pagina wilt verlaten?\n\WAARSCHUWING: Uw veranderingen zijn niet opgeslagen.\n\nKies OK om te verlaten, of Cancel om op de huidige pagina te blijven.", - 'LeftAndMain.CONFIRMUNSAVEDSHORT': "WAARSCHUWING: Uw veranderingen zijn niet opgeslagen", - 'SecurityAdmin.BATCHACTIONSDELETECONFIRM': "Weet u zeker dat u deze groep %s wilt verwijderen?", - 'ModelAdmin.SAVED': "Opgeslagen", - 'ModelAdmin.REALLYDELETE': "Weet u zeker dat u wilt verwijderen?", - 'ModelAdmin.DELETED': "Verwijderd", - 'ModelAdmin.VALIDATIONERROR': "Validatie fout", - 'LeftAndMain.PAGEWASDELETED': "Deze pagina is verwijderd. Om een pagina aan te passen, selecteer pagina aan de linkerkant." - }); -} diff --git a/admin/javascript/lang/pl.js b/admin/javascript/lang/pl.js new file mode 100644 index 000000000..225d6fe59 --- /dev/null +++ b/admin/javascript/lang/pl.js @@ -0,0 +1,12 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/pl.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('pl', { + "ModelAdmin.SAVED": "Zapisano", + "ModelAdmin.REALLYDELETE": "Napewno usunąć?", + "ModelAdmin.DELETED": "Usunięto", + "LeftAndMain.PAGEWASDELETED": "Ta strona została usunięta." +}); +} \ No newline at end of file diff --git a/admin/javascript/lang/pl_PL.js b/admin/javascript/lang/pl_PL.js deleted file mode 100644 index 91a458178..000000000 --- a/admin/javascript/lang/pl_PL.js +++ /dev/null @@ -1,10 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('pl_PL', { - 'ModelAdmin.SAVED': "Zapisano", - 'ModelAdmin.REALLYDELETE': "Napewno usunąć?", - 'ModelAdmin.DELETED': "Usunięto", - 'LeftAndMain.PAGEWASDELETED': "Ta strona została usunięta." - }); -} \ No newline at end of file diff --git a/admin/javascript/lang/sk.js b/admin/javascript/lang/sk.js new file mode 100644 index 000000000..94d86dd33 --- /dev/null +++ b/admin/javascript/lang/sk.js @@ -0,0 +1,13 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/sk.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('sk', { + "ModelAdmin.SAVED": "Uložené", + "ModelAdmin.REALLYDELETE": "Skutočně chcete zmazať?", + "ModelAdmin.DELETED": "Zmazané", + "LeftAndMain.PAGEWASDELETED": "Táto stránka bola zmazaná. Pre editáciu stránky, vyberte ju vľavo.", + "LeftAndMain.CONFIRMUNSAVED": "Určite chcete opustiť navigáciu z tejto stránky?\n\nUPOZORNENIE: Vaše zmeny neboli uložené.\n\nStlačte OK pre pokračovať, alebo Cancel, ostanete na teto stránke." +}); +} \ No newline at end of file diff --git a/admin/javascript/lang/sk_SK.js b/admin/javascript/lang/sk_SK.js deleted file mode 100644 index e09ee93cc..000000000 --- a/admin/javascript/lang/sk_SK.js +++ /dev/null @@ -1,11 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('sk_SK', { - 'ModelAdmin.SAVED': "Uložené", - 'ModelAdmin.REALLYDELETE': "Skutočně chcete zmazať?", - 'ModelAdmin.DELETED': "Zmazané", - 'LeftAndMain.PAGEWASDELETED': "Táto stránka bola zmazaná. Pre editáciu stránky, vyberte ju vľavo.", - 'LeftAndMain.CONFIRMUNSAVED': "Určite chcete opustiť navigáciu z tejto stránky?\n\nUPOZORNENIE: Vaše zmeny neboli uložené.\n\nStlačte OK pre pokračovať, alebo Cancel, ostanete na teto stránke." - }); -} \ No newline at end of file diff --git a/admin/javascript/lang/src/cs.js b/admin/javascript/lang/src/cs.js new file mode 100644 index 000000000..2d61f3413 --- /dev/null +++ b/admin/javascript/lang/src/cs.js @@ -0,0 +1,7 @@ +{ + "ModelAdmin.SAVED": "Uloženo", + "ModelAdmin.REALLYDELETE": "Skutečně chcete smazat?", + "ModelAdmin.DELETED": "Smazáno", + "LeftAndMain.PAGEWASDELETED": "Tato stránka byla smazána. Pro editaci stránky, vyberte ji vlevo.", + "LeftAndMain.CONFIRMUNSAVED": "Určitě chcete opustit navigaci z této stránky?\n\nUPOZORNĚNÍ: Vaše změny nebyly uloženy.\n\nStlačte OK pro pokračovat, nebo Cancel, zůstanete na této stránce." +} \ No newline at end of file diff --git a/admin/javascript/lang/src/de.js b/admin/javascript/lang/src/de.js new file mode 100644 index 000000000..8720948b0 --- /dev/null +++ b/admin/javascript/lang/src/de.js @@ -0,0 +1,8 @@ +{ + "ModelAdmin.SAVED": "Gespeichert", + "ModelAdmin.REALLYDELETE": "Wirklich löschen?", + "ModelAdmin.DELETED": "Gelöscht", + "ModelAdmin.VALIDATIONERROR": "Validationsfehler", + "LeftAndMain.PAGEWASDELETED": "Diese Seite wurde gelöscht.", + "LeftAndMain.CONFIRMUNSAVED": "Sind Sie sicher, dass Sie die Seite verlassen möchten?\n\nWARNUNG: Ihre Änderungen werden nicht gespeichert.\n\nDrücken Sie \"OK\" um fortzufahren, oder \"Abbrechen\" um auf dieser Seite zu bleiben." +} \ No newline at end of file diff --git a/admin/javascript/lang/src/en.js b/admin/javascript/lang/src/en.js new file mode 100644 index 000000000..bd2b7b5c5 --- /dev/null +++ b/admin/javascript/lang/src/en.js @@ -0,0 +1,10 @@ +{ + "LeftAndMain.CONFIRMUNSAVED": "Are you sure you want to navigate away from this page?\n\nWARNING: Your changes have not been saved.\n\nPress OK to continue, or Cancel to stay on the current page.", + "LeftAndMain.CONFIRMUNSAVEDSHORT": "WARNING: Your changes have not been saved.", + "SecurityAdmin.BATCHACTIONSDELETECONFIRM": "Do you really want to delete %s groups?", + "ModelAdmin.SAVED": "Saved", + "ModelAdmin.REALLYDELETE": "Do you really want to delete?", + "ModelAdmin.DELETED": "Deleted", + "ModelAdmin.VALIDATIONERROR": "Validation Error", + "LeftAndMain.PAGEWASDELETED": "This page was deleted. To edit a page, select it from the left." +} diff --git a/admin/javascript/lang/src/fr.js b/admin/javascript/lang/src/fr.js new file mode 100644 index 000000000..fbed7a8e4 --- /dev/null +++ b/admin/javascript/lang/src/fr.js @@ -0,0 +1,7 @@ +{ + "ModelAdmin.SAVED": "Sauvegardé", + "ModelAdmin.REALLYDELETE": "Etes-vous sûr de vouloir supprimer ?", + "ModelAdmin.DELETED": "Supprimé", + "LeftAndMain.PAGEWASDELETED": "Cette page a été supprimée. Pour éditer cette page, veuillez la sélectionner à gauche.", + "LeftAndMain.CONFIRMUNSAVED": "Etes-vous sûr de vouloir quitter cette page ?\n\nATTENTION: Vos changements n'ont pas été sauvegardés.\n\nCliquez sur OK pour continuer, ou sur Annuler pour rester sur la page actuelle." +} \ No newline at end of file diff --git a/admin/javascript/lang/src/it.js b/admin/javascript/lang/src/it.js new file mode 100644 index 000000000..356f8c5dc --- /dev/null +++ b/admin/javascript/lang/src/it.js @@ -0,0 +1,7 @@ +{ + "ModelAdmin.SAVED": "Salvato", + "ModelAdmin.REALLYDELETE": "Si è sicuri di voler eliminare?", + "ModelAdmin.DELETED": "Eliminato", + "LeftAndMain.PAGEWASDELETED": "Questa pagina è stata eliminata. Per modificare questa pagine, selezionarla a sinistra.", + "LeftAndMain.CONFIRMUNSAVED": "Siete sicuri di voler uscire da questa pagina?\n\nATTENZIONE: I vostri cambiamenti non sono stati salvati.\n\nCliccare OK per continuare, o su Annulla per rimanere sulla pagina corrente." +} \ No newline at end of file diff --git a/admin/javascript/lang/src/ja.js b/admin/javascript/lang/src/ja.js new file mode 100644 index 000000000..40bb373a9 --- /dev/null +++ b/admin/javascript/lang/src/ja.js @@ -0,0 +1,10 @@ +{ + "LeftAndMain.CONFIRMUNSAVED": "このページから移動しても良いですか?\n\n警告: あなたの変更は保存されていません.\n\n続行するにはOKを押してください.キャンセルをクリックするとこのページにとどまります.", + "LeftAndMain.CONFIRMUNSAVEDSHORT": "警告: あなたの変更は保存されていません.", + "SecurityAdmin.BATCHACTIONSDELETECONFIRM": "%sグループを本当に削除しても良いですか?", + "ModelAdmin.SAVED": "保存しました", + "ModelAdmin.REALLYDELETE": "本当に削除しますか?", + "ModelAdmin.DELETED": "削除しました", + "ModelAdmin.VALIDATIONERROR": "検証エラー", + "LeftAndMain.PAGEWASDELETED": "このページは削除されました.ページを編集するには,左から選択してください." +} \ No newline at end of file diff --git a/admin/javascript/lang/src/mi.js b/admin/javascript/lang/src/mi.js new file mode 100644 index 000000000..c3e2afe2f --- /dev/null +++ b/admin/javascript/lang/src/mi.js @@ -0,0 +1,10 @@ +{ + "LeftAndMain.CONFIRMUNSAVED": "Kei te hiahia whakatere atu i tēnei whārangi?\n\nWHAKATŪPATO: Kāore anō ō huringa kia tiakina.\n\nPēhi AE kia haere tonu, Whakakore rānei kia noho i te whārangi onāianei.", + "LeftAndMain.CONFIRMUNSAVEDSHORT": "WHAKATŪPATO: Kāore anō ō huringa kia tiakina.", + "SecurityAdmin.BATCHACTIONSDELETECONFIRM": "Kei te tino hiahia muku i te %s rōpū?", + "ModelAdmin.SAVED": "Kua Tiakina", + "ModelAdmin.REALLYDELETE": "Kei te tino hiahia muku?", + "ModelAdmin.DELETED": "Kua Mukua", + "ModelAdmin.VALIDATIONERROR": "Hapa Whakamana", + "LeftAndMain.PAGEWASDELETED": "I mukua tēnei whārangi. Hei whakatika i tētahi whārangi, tīpakohia i te taha mauī." +} diff --git a/admin/javascript/lang/src/nl.js b/admin/javascript/lang/src/nl.js new file mode 100644 index 000000000..e9b619a1f --- /dev/null +++ b/admin/javascript/lang/src/nl.js @@ -0,0 +1,10 @@ +{ + "LeftAndMain.CONFIRMUNSAVED": "Weet u zeker dat u deze pagina wilt verlaten?\nWAARSCHUWING: Uw veranderingen zijn niet opgeslagen.\n\nKies OK om te verlaten, of Cancel om op de huidige pagina te blijven.", + "LeftAndMain.CONFIRMUNSAVEDSHORT": "WAARSCHUWING: Uw veranderingen zijn niet opgeslagen", + "SecurityAdmin.BATCHACTIONSDELETECONFIRM": "Weet u zeker dat u deze groep %s wilt verwijderen?", + "ModelAdmin.SAVED": "Opgeslagen", + "ModelAdmin.REALLYDELETE": "Weet u zeker dat u wilt verwijderen?", + "ModelAdmin.DELETED": "Verwijderd", + "ModelAdmin.VALIDATIONERROR": "Validatie fout", + "LeftAndMain.PAGEWASDELETED": "Deze pagina is verwijderd. Om een pagina aan te passen, selecteer pagina aan de linkerkant." +} diff --git a/admin/javascript/lang/src/pl.js b/admin/javascript/lang/src/pl.js new file mode 100644 index 000000000..513737a4f --- /dev/null +++ b/admin/javascript/lang/src/pl.js @@ -0,0 +1,6 @@ +{ + "ModelAdmin.SAVED": "Zapisano", + "ModelAdmin.REALLYDELETE": "Napewno usunąć?", + "ModelAdmin.DELETED": "Usunięto", + "LeftAndMain.PAGEWASDELETED": "Ta strona została usunięta." +} \ No newline at end of file diff --git a/admin/javascript/lang/src/sk.js b/admin/javascript/lang/src/sk.js new file mode 100644 index 000000000..cc3e4344e --- /dev/null +++ b/admin/javascript/lang/src/sk.js @@ -0,0 +1,7 @@ +{ + "ModelAdmin.SAVED": "Uložené", + "ModelAdmin.REALLYDELETE": "Skutočně chcete zmazať?", + "ModelAdmin.DELETED": "Zmazané", + "LeftAndMain.PAGEWASDELETED": "Táto stránka bola zmazaná. Pre editáciu stránky, vyberte ju vľavo.", + "LeftAndMain.CONFIRMUNSAVED": "Určite chcete opustiť navigáciu z tejto stránky?\n\nUPOZORNENIE: Vaše zmeny neboli uložené.\n\nStlačte OK pre pokračovať, alebo Cancel, ostanete na teto stránke." +} \ No newline at end of file diff --git a/docs/en/misc/contributing/translation.md b/docs/en/misc/contributing/translation.md index fe4689f65..8fd97afc8 100644 --- a/docs/en/misc/contributing/translation.md +++ b/docs/en/misc/contributing/translation.md @@ -71,9 +71,6 @@ Once you've logged into the CMS, you should see the text "Hi " near t It is entirely possible that we missed certain strings in preparing Silverstripe for translation-support. If you're technically minded, please read [i18n](/topics/i18n) on how to make it translatable. Otherwise just post your findings to the forum. -Note: JavaScript strings can't be translated through the online translation tool at the moment, -you'll need to edit the file locally (e.g. cms/javascript/de_DE.js), and submit a patch. - ### How do I add my own module? Once you've built a translation-enabled module, you can run the "textcollector" on your local installation for this specific module (see [i18n](/topics/i18n)). This should find all calls to `_t()` in php and template files, and generate a new lang file with the default locale (path: /lang/en.yml). Upload this file to the diff --git a/docs/en/topics/i18n.md b/docs/en/topics/i18n.md index 3c4faede5..4ec46c5b3 100644 --- a/docs/en/topics/i18n.md +++ b/docs/en/topics/i18n.md @@ -334,9 +334,11 @@ Add the i18n library requirement to your code. Requirements::javascript(FRAMEWORK_DIR . "/javascript/i18n.js"); -Each language has its own language table in a separate file. To save bandwidth, only two tables are actually loaded by -the browser: The current locale, and the default locale as a fallback. The Requirements class has a special method to -determine these includes: Just point it to a directory instead of a file, and the class will figure out the includes. +Each language has its own language table in a separate file. +To save bandwidth, only three tables are actually loaded by +the browser: The current locale, and the default locale as a fallback. +The `Requirements` class has a special method to determine these includes: +Just point it to a directory instead of a file, and the class will figure out the includes. :::php Requirements::add_i18n_javascript('/javascript/lang'); @@ -366,6 +368,9 @@ Example Translation Table (mymodule/javascript/lang/de_DE.js) 'MYMODULE.MYENTITY' : "Artikel wirklich löschen?" }); +For most core modules, these files are generated by a +[build task](https://github.com/silverstripe/silverstripe-buildtools/blob/master/src/GenerateJavascriptI18nTask.php), with the actual source files in a JSON +format which can be processed more easily by external translation providers (see `javascript/lang/src`). ### Basic Usage diff --git a/javascript/i18n.js b/javascript/i18n.js index ab8be9003..0f8b8abb8 100644 --- a/javascript/i18n.js +++ b/javascript/i18n.js @@ -66,8 +66,11 @@ ss.i18n = { _t: function (entity, fallbackString, priority, context) { this.init(); + var langName = this.getLocale().replace(/_[\w]+/i, ''); if (this.lang && this.lang[this.getLocale()] && this.lang[this.getLocale()][entity]) { return this.lang[this.getLocale()][entity]; + } else if (this.lang && this.lang[langName] && this.lang[langName][entity]) { + return this.lang[langName][entity]; } else if (this.lang && this.lang[this.defaultLocale] && this.lang[this.defaultLocale][entity]) { return this.lang[this.defaultLocale][entity]; } else if(fallbackString) { diff --git a/javascript/lang/cs.js b/javascript/lang/cs.js new file mode 100644 index 000000000..87c47c250 --- /dev/null +++ b/javascript/lang/cs.js @@ -0,0 +1,26 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/cs.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('cs', { + "VALIDATOR.FIELDREQUIRED": "Vyplňte \"%s\", prosím, je vyžadováno.", + "HASMANYFILEFIELD.UPLOADING": "Nahrávání... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Určitě chcete smazat tento záznam?", + "TABLEFIELD.DELETECONFIRMMESSAGEV2": "\nJe zde %s stránek, které používají tento soubor, zkontrolujte stránky na záložce Odkazy před pokračováním.", + "LOADING": "natahování...", + "UNIQUEFIELD.SUGGESTED": "Hodnota změněna na '%s' : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "Pro toto pole musíte zadat novou hodnotu", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "Toto pole nesmí být prázdné", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "V tomto poli znak '%s' nesmí být použit", + "UPDATEURL.CONFIRM": "Chtěli byste změnit URL na:\n\n%s\n\nKlikněte OK pro změnu URL, klikněte Cancel pro ponechání původního:\n\n%s", + "UPDATEURL.CONFIRM_V2": "Chtěli byste změnit URL tak, aby bylo podobné názvu stránky?\n\nKlikněte OK pro změnu URL, klikněte Cancel pro ponechání původního:\n\n%s", + "FILEIFRAMEFIELD.DELETEFILE": "Smazat soubor", + "FILEIFRAMEFIELD.UNATTACHFILE": "Odpojit soubor", + "FILEIFRAMEFIELD.DELETEIMAGE": "Smazat obrázek", + "FILEIFRAMEFIELD.CONFIRMDELETE": "Určitě chcete smazat tento soubor?", + "TABLEFIELD.SELECTDELETE": "Vyberte, prosím, nějaké soubory na smazání!", + "TABLEFIELD.CONFIRMDELETEV2": "Určitě chcete smazat označené soubory?", + "TABLEFIELD.SELECTUPLOAD": "Vyberte, prosím, aspoň jeden soubor na nahrání." +}); +} \ No newline at end of file diff --git a/javascript/lang/cs_CZ.js b/javascript/lang/cs_CZ.js deleted file mode 100644 index 4ebfdd297..000000000 --- a/javascript/lang/cs_CZ.js +++ /dev/null @@ -1,24 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('cs_CZ', { - 'VALIDATOR.FIELDREQUIRED': 'Vyplňte "%s", prosím, je vyžadováno.', - 'HASMANYFILEFIELD.UPLOADING': 'Nahrávání... %s', - 'TABLEFIELD.DELETECONFIRMMESSAGE': 'Určitě chcete smazat tento záznam?', - 'TABLEFIELD.DELETECONFIRMMESSAGEV2': '\nJe zde %s stránek, které používají tento soubor, zkontrolujte stránky na záložce Odkazy před pokračováním.', - 'LOADING': 'natahování...', - 'UNIQUEFIELD.SUGGESTED': "Hodnota změněna na '%s' : %s", - 'UNIQUEFIELD.ENTERNEWVALUE': 'Pro toto pole musíte zadat novou hodnotu', - 'UNIQUEFIELD.CANNOTLEAVEEMPTY': 'Toto pole nesmí být prázdné', - 'RESTRICTEDTEXTFIELD.CHARCANTBEUSED': "V tomto poli znak '%s' nesmí být použit", - 'UPDATEURL.CONFIRM': 'Chtěli byste změnit URL na:\n\n%s\n\nKlikněte OK pro změnu URL, klikněte Cancel pro ponechání původního:\n\n%s', - 'UPDATEURL.CONFIRM_V2': 'Chtěli byste změnit URL tak, aby bylo podobné názvu stránky?\n\nKlikněte OK pro změnu URL, klikněte Cancel pro ponechání původního:\n\n%s', - 'FILEIFRAMEFIELD.DELETEFILE': 'Smazat soubor', - 'FILEIFRAMEFIELD.UNATTACHFILE': 'Odpojit soubor', - 'FILEIFRAMEFIELD.DELETEIMAGE': 'Smazat obrázek', - 'FILEIFRAMEFIELD.CONFIRMDELETE': 'Určitě chcete smazat tento soubor?', - 'TABLEFIELD.SELECTDELETE': 'Vyberte, prosím, nějaké soubory na smazání!', - 'TABLEFIELD.CONFIRMDELETEV2': 'Určitě chcete smazat označené soubory?', - 'TABLEFIELD.SELECTUPLOAD': 'Vyberte, prosím, aspoň jeden soubor na nahrání.' - }); -} \ No newline at end of file diff --git a/javascript/lang/de.js b/javascript/lang/de.js new file mode 100644 index 000000000..40ca51543 --- /dev/null +++ b/javascript/lang/de.js @@ -0,0 +1,42 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/de.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('de', { + "VALIDATOR.FIELDREQUIRED": "\"%s\" wird benötigt", + "HASMANYFILEFIELD.UPLOADING": "Lädt hoch... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Sind Sie sicher, dass sie dieses Element löschen wollen?", + "LOADING": "Lädt...", + "UNIQUEFIELD.SUGGESTED": "Der Wert wurde nach '%s' geändert : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "Sie müssen einen neuen Wert für dieses Feld eingeben", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "Dieses Feld kann nicht leer sein", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "Das Zeichen '%s' darf in diesem Feld nicht vewendet werden", + "UPDATEURL.CONFIRM": "Sollen wir die URL in diesen Wert ändern:\n\n%s/\n\nKlicken Sie OK, um den URL zu ändern, Abbrechen um ihn so zu lassen:\n\n%s", + "UPDATEURL.CONFIRMURLCHANGED": "Die URL wurde geändert:\n\"%s\"", + "FILEIFRAMEFIELD.DELETEFILE": "Datei löschen", + "FILEIFRAMEFIELD.UNATTACHFILE": "Datei loslösen", + "FILEIFRAMEFIELD.DELETEIMAGE": "Bild löschen", + "FILEIFRAMEFIELD.CONFIRMDELETE": "Sind Sie sicher, dass sie diese Datei löschen wollen?", + "LeftAndMain.IncompatBrowserWarning": "Ihr Browser ist nicht kompatibel mit der CMS Benutzeroverfläche. Bitte benutzen sie Internet Explorer 7+, Google Chrome 10+ oder Mozilla Firefox 3.5+.", + "GRIDFIELD.ERRORINTRANSACTION": "Beim Laden der Daten vom Server ist ein Fehler aufgetretetn\n Bitte versuchen sie es später noch einmal.", + "UploadField.ConfirmDelete": "Sind sie sicher, dass sie diese Datei aus dem Dateisystem löschen wollen?", + "UploadField.PHP_MAXFILESIZE": "Die Dateigröße überschreitet upload_max_filesize (php.ini Einstellung)", + "UploadField.HTML_MAXFILESIZE": "Die Dateigröße überschreitet MAX_FILE_SIZE (HTML Form Einstellung)", + "UploadField.ONLYPARTIALUPLOADED": "Die Datei wurde nur teilweise hochgeladen", + "UploadField.NOFILEUPLOADED": "Keine Datei wurde hochgeladen", + "UploadField.NOTMPFOLDER": "Es wurde kein temporäres Verzeichnis gefunden", + "UploadField.WRITEFAILED": "Es konnte nicht auf die Festplatte geschrieben werden", + "UploadField.STOPEDBYEXTENSION": "Dateiupload wurde wegen einer nicht erlaubten Erweiterung gestoppt", + "UploadField.TOOLARGE": "Die Datei ist zu groß", + "UploadField.TOOSMALL": "Die Datei ist zu klein", + "UploadField.INVALIDEXTENSION": "Dateierweiterung ist nicht erlaubt", + "UploadField.MAXNUMBEROFFILESSIMPLE": "Maximal erlaubt Anzahl von Dateien überschritten", + "UploadField.UPLOADEDBYTES": "Hochgeladene Bytes überschreiten Dateigröße", + "UploadField.EMPTYRESULT": "Leere Datei erhalten", + "UploadField.LOADING": "Lädt ...", + "UploadField.Editing": "Bearbeite ...", + "UploadField.Uploaded": "Hochgeladen", + "UploadField.OVERWRITEWARNING": "Datei mit diesem Namen existiert bereits" +}); +} \ No newline at end of file diff --git a/javascript/lang/de_DE.js b/javascript/lang/de_DE.js deleted file mode 100644 index dffd52532..000000000 --- a/javascript/lang/de_DE.js +++ /dev/null @@ -1,40 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('de_DE', { - 'VALIDATOR.FIELDREQUIRED': '"%s" wird benötigt', - 'HASMANYFILEFIELD.UPLOADING': 'Lädt hoch... %s', - 'TABLEFIELD.DELETECONFIRMMESSAGE': 'Sind Sie sicher, dass sie dieses Element löschen wollen?', - 'LOADING': 'Lädt...', - 'UNIQUEFIELD.SUGGESTED': "Der Wert wurde nach '%s' geändert : %s", - 'UNIQUEFIELD.ENTERNEWVALUE': 'Sie müssen einen neuen Wert für dieses Feld eingeben', - 'UNIQUEFIELD.CANNOTLEAVEEMPTY': 'Dieses Feld kann nicht leer sein', - 'RESTRICTEDTEXTFIELD.CHARCANTBEUSED': "Das Zeichen '%s' darf in diesem Feld nicht vewendet werden", - 'UPDATEURL.CONFIRM': 'Sollen wir die URL in diesen Wert ändern:\n\n%s/\n\nKlicken Sie OK, um den URL zu ändern, Abbrechen um ihn so zu lassen:\n\n%s', - 'UPDATEURL.CONFIRMURLCHANGED':'Die URL wurde geändert:\n"%s"', - 'FILEIFRAMEFIELD.DELETEFILE': 'Datei löschen', - 'FILEIFRAMEFIELD.UNATTACHFILE': 'Datei loslösen', - 'FILEIFRAMEFIELD.DELETEIMAGE': 'Bild löschen', - 'FILEIFRAMEFIELD.CONFIRMDELETE': 'Sind Sie sicher, dass sie diese Datei löschen wollen?', - 'LeftAndMain.IncompatBrowserWarning': 'Ihr Browser ist nicht kompatibel mit der CMS Benutzeroverfläche. Bitte benutzen sie Internet Explorer 7+, Google Chrome 10+ oder Mozilla Firefox 3.5+.', - 'GRIDFIELD.ERRORINTRANSACTION': 'Beim Laden der Daten vom Server ist ein Fehler aufgetretetn\n Bitte versuchen sie es später noch einmal.', - 'UploadField.ConfirmDelete': 'Sind sie sicher, dass sie diese Datei aus dem Dateisystem löschen wollen?', - 'UploadField.PHP_MAXFILESIZE': 'Die Dateigröße überschreitet upload_max_filesize (php.ini Einstellung)', - 'UploadField.HTML_MAXFILESIZE': 'Die Dateigröße überschreitet MAX_FILE_SIZE (HTML Form Einstellung)', - 'UploadField.ONLYPARTIALUPLOADED': 'Die Datei wurde nur teilweise hochgeladen', - 'UploadField.NOFILEUPLOADED': 'Keine Datei wurde hochgeladen', - 'UploadField.NOTMPFOLDER': 'Es wurde kein temporäres Verzeichnis gefunden', - 'UploadField.WRITEFAILED': 'Es konnte nicht auf die Festplatte geschrieben werden', - 'UploadField.STOPEDBYEXTENSION': 'Dateiupload wurde wegen einer nicht erlaubten Erweiterung gestoppt', - 'UploadField.TOOLARGE': 'Die Datei ist zu groß', - 'UploadField.TOOSMALL': 'Die Datei ist zu klein', - 'UploadField.INVALIDEXTENSION': 'Dateierweiterung ist nicht erlaubt', - 'UploadField.MAXNUMBEROFFILESSIMPLE': 'Maximal erlaubt Anzahl von Dateien überschritten', - 'UploadField.UPLOADEDBYTES': 'Hochgeladene Bytes überschreiten Dateigröße', - 'UploadField.EMPTYRESULT': 'Leere Datei erhalten', - 'UploadField.LOADING': 'Lädt ...', - 'UploadField.Editing': 'Bearbeite ...', - 'UploadField.Uploaded': 'Hochgeladen', - 'UploadField.OVERWRITEWARNING': 'Datei mit diesem Namen existiert bereits' - }); -} \ No newline at end of file diff --git a/javascript/lang/en.js b/javascript/lang/en.js new file mode 100644 index 000000000..41a49b5d2 --- /dev/null +++ b/javascript/lang/en.js @@ -0,0 +1,48 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/en.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('en', { + "VALIDATOR.FIELDREQUIRED": "Please fill out \"%s\", it is required.", + "HASMANYFILEFIELD.UPLOADING": "Uploading... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Are you sure you want to delete this record?", + "LOADING": "loading...", + "UNIQUEFIELD.SUGGESTED": "Changed value to '%s' : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "You will need to enter a new value for this field", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "This field cannot be left empty", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "The character '%s' cannot be used in this field", + "UPDATEURL.CONFIRM": "Would you like me to change the URL to:\n\n%s/\n\nClick Ok to change the URL, click Cancel to leave it as:\n\n%s", + "UPDATEURL.CONFIRMURLCHANGED": "The URL has been changed to\n'%s'", + "FILEIFRAMEFIELD.DELETEFILE": "Delete File", + "FILEIFRAMEFIELD.UNATTACHFILE": "Un-Attach File", + "FILEIFRAMEFIELD.DELETEIMAGE": "Delete Image", + "FILEIFRAMEFIELD.CONFIRMDELETE": "Are you sure you want to delete this file?", + "LeftAndMain.IncompatBrowserWarning": "Your browser is not compatible with the CMS interface. Please use Internet Explorer 7+, Google Chrome 10+ or Mozilla Firefox 3.5+.", + "GRIDFIELD.ERRORINTRANSACTION": "An error occured while fetching data from the server\n Please try again later.", + "HtmlEditorField.SelectAnchor": "Select an anchor", + "UploadField.ConfirmDelete": "Are you sure you want to remove this file from the server filesystem?", + "UploadField.PHP_MAXFILESIZE": "File exceeds upload_max_filesize (php.ini directive)", + "UploadField.HTML_MAXFILESIZE": "File exceeds MAX_FILE_SIZE (HTML form directive)", + "UploadField.ONLYPARTIALUPLOADED": "File was only partially uploaded", + "UploadField.NOFILEUPLOADED": "No File was uploaded", + "UploadField.NOTMPFOLDER": "Missing a temporary folder", + "UploadField.WRITEFAILED": "Failed to write file to disk", + "UploadField.STOPEDBYEXTENSION": "File upload stopped by extension", + "UploadField.TOOLARGE": "Filesize is too large", + "UploadField.TOOSMALL": "Filesize is too small", + "UploadField.INVALIDEXTENSION": "Extension is not allowed", + "UploadField.MAXNUMBEROFFILESSIMPLE": "Max number of files exceeded", + "UploadField.UPLOADEDBYTES": "Uploaded bytes exceed file size", + "UploadField.EMPTYRESULT": "Empty file upload result", + "UploadField.LOADING": "Loading ...", + "UploadField.Editing": "Editing ...", + "UploadField.Uploaded": "Uploaded", + "UploadField.OVERWRITEWARNING": "File with the same name already exists", + "TreeDropdownField.ENTERTOSEARCH": "Press enter to search", + "TreeDropdownField.OpenLink": "Open", + "TreeDropdownField.FieldTitle": "Choose", + "TreeDropdownField.SearchFieldTitle": "Choose or Search" +} +); +} \ No newline at end of file diff --git a/javascript/lang/en_US.js b/javascript/lang/en_US.js deleted file mode 100644 index 2d3ec171c..000000000 --- a/javascript/lang/en_US.js +++ /dev/null @@ -1,45 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('en_US', { - 'VALIDATOR.FIELDREQUIRED': 'Please fill out "%s", it is required.', - 'HASMANYFILEFIELD.UPLOADING': 'Uploading... %s', - 'TABLEFIELD.DELETECONFIRMMESSAGE': 'Are you sure you want to delete this record?', - 'LOADING': 'loading...', - 'UNIQUEFIELD.SUGGESTED': "Changed value to '%s' : %s", - 'UNIQUEFIELD.ENTERNEWVALUE': 'You will need to enter a new value for this field', - 'UNIQUEFIELD.CANNOTLEAVEEMPTY': 'This field cannot be left empty', - 'RESTRICTEDTEXTFIELD.CHARCANTBEUSED': "The character '%s' cannot be used in this field", - 'UPDATEURL.CONFIRM': 'Would you like me to change the URL to:\n\n%s/\n\nClick Ok to change the URL, click Cancel to leave it as:\n\n%s', - 'UPDATEURL.CONFIRMURLCHANGED':'The URL has been changed to\n"%s"', - 'FILEIFRAMEFIELD.DELETEFILE': 'Delete File', - 'FILEIFRAMEFIELD.UNATTACHFILE': 'Un-Attach File', - 'FILEIFRAMEFIELD.DELETEIMAGE': 'Delete Image', - 'FILEIFRAMEFIELD.CONFIRMDELETE': 'Are you sure you want to delete this file?', - 'LeftAndMain.IncompatBrowserWarning': 'Your browser is not compatible with the CMS interface. Please use Internet Explorer 7+, Google Chrome 10+ or Mozilla Firefox 3.5+.', - 'GRIDFIELD.ERRORINTRANSACTION': 'An error occured while fetching data from the server\n Please try again later.', - 'HtmlEditorField.SelectAnchor': 'Select an anchor', - 'UploadField.ConfirmDelete': 'Are you sure you want to remove this file from the server filesystem?', - 'UploadField.PHP_MAXFILESIZE': 'File exceeds upload_max_filesize (php.ini directive)', - 'UploadField.HTML_MAXFILESIZE': 'File exceeds MAX_FILE_SIZE (HTML form directive)', - 'UploadField.ONLYPARTIALUPLOADED': 'File was only partially uploaded', - 'UploadField.NOFILEUPLOADED': 'No File was uploaded', - 'UploadField.NOTMPFOLDER': 'Missing a temporary folder', - 'UploadField.WRITEFAILED': 'Failed to write file to disk', - 'UploadField.STOPEDBYEXTENSION': 'File upload stopped by extension', - 'UploadField.TOOLARGE': 'Filesize is too large', - 'UploadField.TOOSMALL': 'Filesize is too small', - 'UploadField.INVALIDEXTENSION': 'Extension is not allowed', - 'UploadField.MAXNUMBEROFFILESSIMPLE': 'Max number of files exceeded', - 'UploadField.UPLOADEDBYTES': 'Uploaded bytes exceed file size', - 'UploadField.EMPTYRESULT': 'Empty file upload result', - 'UploadField.LOADING': 'Loading ...', - 'UploadField.Editing': 'Editing ...', - 'UploadField.Uploaded': 'Uploaded', - 'UploadField.OVERWRITEWARNING': 'File with the same name already exists', - 'TreeDropdownField.ENTERTOSEARCH': 'Press enter to search', - 'TreeDropdownField.OpenLink': 'Open', - 'TreeDropdownField.FieldTitle': 'Choose', - 'TreeDropdownField.SearchFieldTitle': 'Choose or Search' - }); -} diff --git a/javascript/lang/fr.js b/javascript/lang/fr.js new file mode 100644 index 000000000..20eb71533 --- /dev/null +++ b/javascript/lang/fr.js @@ -0,0 +1,19 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/fr.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('fr', { + "VALIDATOR.FIELDREQUIRED": "Veuillez remplir \"%s\", c'est un champ requis.", + "HASMANYFILEFIELD.UPLOADING": "Uploading... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Etes-vous sûr de vouloir supprimer cet enregistrement ?", + "LOADING": "chargement...", + "UNIQUEFIELD.SUGGESTED": "Changez la valeur de '%s' : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "You devez saisir une nouvelle valeur pou ce champ", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "Ce champ ne peut être laissé vide", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "Le character '%s' ne peut être utilisé dans ce champ", + "UPDATEURL.CONFIRM": "Voulez-vous que je change l'URL en:\n\n%s/\n\nCliquez Ok pour changer l'URL, cliquez Annuler pour la laisser à:\n\n%s", + "GRIDFIELD.ERRORINTRANSACTION": "Une erreur est survenue durant la transaction avec le serveur\n Merci de reesayer plus tard." +} +); +} \ No newline at end of file diff --git a/javascript/lang/fr_FR.js b/javascript/lang/fr_FR.js deleted file mode 100644 index a076766cc..000000000 --- a/javascript/lang/fr_FR.js +++ /dev/null @@ -1,16 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('fr_FR', { - 'VALIDATOR.FIELDREQUIRED': 'Veuillez remplir "%s", c\'est un champ requis.', - 'HASMANYFILEFIELD.UPLOADING': 'Uploading... %s', - 'TABLEFIELD.DELETECONFIRMMESSAGE': 'Etes-vous sûr de vouloir supprimer cet enregistrement ?', - 'LOADING': 'chargement...', - 'UNIQUEFIELD.SUGGESTED': "Changez la valeur de '%s' : %s", - 'UNIQUEFIELD.ENTERNEWVALUE': 'You devez saisir une nouvelle valeur pou ce champ', - 'UNIQUEFIELD.CANNOTLEAVEEMPTY': 'Ce champ ne peut être laissé vide', - 'RESTRICTEDTEXTFIELD.CHARCANTBEUSED': "Le character '%s' ne peut être utilisé dans ce champ", - 'UPDATEURL.CONFIRM': 'Voulez-vous que je change l\'URL en:\n\n%s/\n\nCliquez Ok pour changer l\'URL, cliquez Annuler pour la laisser à:\n\n%s', - 'GRIDFIELD.ERRORINTRANSACTION': 'Une erreur est survenue durant la transaction avec le serveur\n Merci de reesayer plus tard.' - }); -} diff --git a/javascript/lang/it.js b/javascript/lang/it.js new file mode 100644 index 000000000..543fac427 --- /dev/null +++ b/javascript/lang/it.js @@ -0,0 +1,17 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/it.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('it', { + "VALIDATOR.FIELDREQUIRED": "Completare il campo \"%s\", che è obbligatorio.", + "HASMANYFILEFIELD.UPLOADING": "Invio file... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Si è sicuri di voler eliminare questo elemento?", + "LOADING": "caricamento...", + "UNIQUEFIELD.SUGGESTED": "Cambiare il valore di '%s': %s", + "UNIQUEFIELD.ENTERNEWVALUE": "È necessario scegliere un'altro valore per questo campo", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "Questo campo non può essere lasciato vuoto", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "Il carattere '%s' non può essere utilizzato in questo campo", + "UPDATEURL.CONFIRM": "Volete cambiare l'URL in:\n\n%s/\n\nClicca OK per cambiare l'URL, clicca Annuler per lasciarla a:\n\n%s" +}); +} \ No newline at end of file diff --git a/javascript/lang/it_IT.js b/javascript/lang/it_IT.js deleted file mode 100644 index fc36307fe..000000000 --- a/javascript/lang/it_IT.js +++ /dev/null @@ -1,15 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('fr_FR', { - 'VALIDATOR.FIELDREQUIRED': 'Completare il campo "%s", che è obbligatorio.', - 'HASMANYFILEFIELD.UPLOADING': 'Invio file... %s', - 'TABLEFIELD.DELETECONFIRMMESSAGE': 'Si è sicuri di voler eliminare questo elemento?', - 'LOADING': 'caricamento...', - 'UNIQUEFIELD.SUGGESTED': "Cambiare il valore di '%s': %s", - 'UNIQUEFIELD.ENTERNEWVALUE': 'È necessario scegliere un\'altro valore per questo campo', - 'UNIQUEFIELD.CANNOTLEAVEEMPTY': 'Questo campo non può essere lasciato vuoto', - 'RESTRICTEDTEXTFIELD.CHARCANTBEUSED': "Il carattere '%s' non può essere utilizzato in questo campo", - 'UPDATEURL.CONFIRM': 'Volete cambiare l\'URL in:\n\n%s/\n\nClicca OK per cambiare l\'URL, clicca Annuler per lasciarla a:\n\n%s' - }); -} \ No newline at end of file diff --git a/javascript/lang/ja.js b/javascript/lang/ja.js new file mode 100644 index 000000000..10e0dcffd --- /dev/null +++ b/javascript/lang/ja.js @@ -0,0 +1,42 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/ja.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('ja', { + "VALIDATOR.FIELDREQUIRED": "\"%s\"を入力してください,必須項目です.", + "HASMANYFILEFIELD.UPLOADING": "アップロード中です... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "このレコードを本当に削除しますか?", + "LOADING": "読み込み中...", + "UNIQUEFIELD.SUGGESTED": "'%s'へ値を変更しました : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "このフィールドに新しい値を入力する必要があります.", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "このフィールドは空にすることができません.", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "文字'%s'はこのフィールドでは利用することができません.", + "UPDATEURL.CONFIRM": "URLを次へ変更しますか?:\n\n%s/\n\nOKをクリックするとURLが変更されます.キャンセルをクリックするとURLは保持されます:\n\n%s", + "UPDATEURL.CONFIRMURLCHANGED":"URLは次へ変更されました\n\"%s\"", + "FILEIFRAMEFIELD.DELETEFILE": "ファイルを削除", + "FILEIFRAMEFIELD.UNATTACHFILE": "Un-Attach File", + "FILEIFRAMEFIELD.DELETEIMAGE": "画像を削除", + "FILEIFRAMEFIELD.CONFIRMDELETE": "このファイルを本当に削除しても良いですか?", + "LeftAndMain.IncompatBrowserWarning": "ご利用のブラウザはCMSのインターフェイスと互換性がありません.Internet Explorer 7以上, Google Chrome 10以上またはMozilla Firefox 3.5以上をご利用ください", + "GRIDFIELD.ERRORINTRANSACTION": "サーバーからデータを取得中にエラーが発生しました.\n 後ほど改めてお試しください.", + "UploadField.ConfirmDelete": "サーバーのファイルシステムからこのファイルを本当に削除しても良いですか?", + "UploadField.PHP_MAXFILESIZE": "upload_max_filesize(最大アップロードファイルサイズ)をファイルが超えています.(php.iniで指定されています)", + "UploadField.HTML_MAXFILESIZE": "MAX_FILE_SIZE(最大ファイルサイズ)をファイルが超えています.(HTMLフォームで指定されています)", + "UploadField.ONLYPARTIALUPLOADED": "ファイルは部分的にアップロードされました.", + "UploadField.NOFILEUPLOADED": "ファイルはアップロードされませんでした.", + "UploadField.NOTMPFOLDER": "一時フォルダがありません.", + "UploadField.WRITEFAILED": "ディスクへのファイル書き込みに失敗しました.", + "UploadField.STOPEDBYEXTENSION": "拡張子によりファイルアップロードが停止しました.", + "UploadField.TOOLARGE": "ファイルサイズが大きすぎます.", + "UploadField.TOOSMALL": "ファイルサイズが小さすぎます.", + "UploadField.INVALIDEXTENSION": "拡張子は許可されていません.", + "UploadField.MAXNUMBEROFFILESSIMPLE": "ファイルの最大数を超えました.", + "UploadField.UPLOADEDBYTES": "アップロードされたバイトはファイルサイズを超えました.", + "UploadField.EMPTYRESULT": "Empty file upload result", + "UploadField.LOADING": "読み込み中...", + "UploadField.Editing": "編集中...", + "UploadField.Uploaded": "アップロードしました." +} +); +} \ No newline at end of file diff --git a/javascript/lang/ja_JP.js b/javascript/lang/ja_JP.js deleted file mode 100644 index 41118e526..000000000 --- a/javascript/lang/ja_JP.js +++ /dev/null @@ -1,39 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('ja_JP', { - 'VALIDATOR.FIELDREQUIRED': '"%s"を入力してください,必須項目です.', - 'HASMANYFILEFIELD.UPLOADING': 'アップロード中です... %s', - 'TABLEFIELD.DELETECONFIRMMESSAGE': 'このレコードを本当に削除しますか?', - 'LOADING': '読み込み中...', - 'UNIQUEFIELD.SUGGESTED': "'%s'へ値を変更しました : %s", - 'UNIQUEFIELD.ENTERNEWVALUE': 'このフィールドに新しい値を入力する必要があります.', - 'UNIQUEFIELD.CANNOTLEAVEEMPTY': 'このフィールドは空にすることができません.', - 'RESTRICTEDTEXTFIELD.CHARCANTBEUSED': "文字'%s'はこのフィールドでは利用することができません.", - 'UPDATEURL.CONFIRM': 'URLを次へ変更しますか?:\n\n%s/\n\nOKをクリックするとURLが変更されます.キャンセルをクリックするとURLは保持されます:\n\n%s', - 'UPDATEURL.CONFIRMURLCHANGED':'URLは次へ変更されました\n"%s"', - 'FILEIFRAMEFIELD.DELETEFILE': 'ファイルを削除', - 'FILEIFRAMEFIELD.UNATTACHFILE': 'Un-Attach File', - 'FILEIFRAMEFIELD.DELETEIMAGE': '画像を削除', - 'FILEIFRAMEFIELD.CONFIRMDELETE': 'このファイルを本当に削除しても良いですか?', - 'LeftAndMain.IncompatBrowserWarning': 'ご利用のブラウザはCMSのインターフェイスと互換性がありません.Internet Explorer 7以上, Google Chrome 10以上またはMozilla Firefox 3.5以上をご利用ください', - 'GRIDFIELD.ERRORINTRANSACTION': 'サーバーからデータを取得中にエラーが発生しました.\n 後ほど改めてお試しください.', - 'UploadField.ConfirmDelete': 'サーバーのファイルシステムからこのファイルを本当に削除しても良いですか?', - 'UploadField.PHP_MAXFILESIZE': 'upload_max_filesize(最大アップロードファイルサイズ)をファイルが超えています.(php.iniで指定されています)', - 'UploadField.HTML_MAXFILESIZE': 'MAX_FILE_SIZE(最大ファイルサイズ)をファイルが超えています.(HTMLフォームで指定されています)', - 'UploadField.ONLYPARTIALUPLOADED': 'ファイルは部分的にアップロードされました.', - 'UploadField.NOFILEUPLOADED': 'ファイルはアップロードされませんでした.', - 'UploadField.NOTMPFOLDER': '一時フォルダがありません.', - 'UploadField.WRITEFAILED': 'ディスクへのファイル書き込みに失敗しました.', - 'UploadField.STOPEDBYEXTENSION': '拡張子によりファイルアップロードが停止しました.', - 'UploadField.TOOLARGE': 'ファイルサイズが大きすぎます.', - 'UploadField.TOOSMALL': 'ファイルサイズが小さすぎます.', - 'UploadField.INVALIDEXTENSION': '拡張子は許可されていません.', - 'UploadField.MAXNUMBEROFFILESSIMPLE': 'ファイルの最大数を超えました.', - 'UploadField.UPLOADEDBYTES': 'アップロードされたバイトはファイルサイズを超えました.', - 'UploadField.EMPTYRESULT': 'Empty file upload result', - 'UploadField.LOADING': '読み込み中...', - 'UploadField.Editing': '編集中...', - 'UploadField.Uploaded': 'アップロードしました.' - }); -} diff --git a/javascript/lang/mi.js b/javascript/lang/mi.js new file mode 100644 index 000000000..d87613638 --- /dev/null +++ b/javascript/lang/mi.js @@ -0,0 +1,47 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/mi.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('mi', { + "VALIDATOR.FIELDREQUIRED": "Whakakīa \"%s\", he whakaritenga tēnei.", + "HASMANYFILEFIELD.UPLOADING": "Tukuatu ana... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Kei te tino hiahia muku i tēnei pūkete?", + "LOADING": "Uta ana...", + "UNIQUEFIELD.SUGGESTED": "I hurihia te uara ki te '%s' : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "Me tāuru he uara hōu mō tēnei āpure", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "Kāore e whakaaetia kia noho piako tēnei āpure", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "Kāore e taea te whakamahi i te pūāhua '%s' i tēnei āpure", + "UPDATEURL.CONFIRM": "Kei te hiahia koe kia huri au i te PRO ki:\n\n%s/\n\nPāwhiri Āe kia hurihia te PRO, pāwhiri Whakakore kia waiho:\n\n%s", + "UPDATEURL.CONFIRMURLCHANGED": "Kua hurihia te PRO ki \n\"%s\"", + "FILEIFRAMEFIELD.DELETEFILE": "Muku Kōnae", + "FILEIFRAMEFIELD.UNATTACHFILE": "Wehetāpiri Kōnae", + "FILEIFRAMEFIELD.DELETEIMAGE": "Muku Atahanga", + "FILEIFRAMEFIELD.CONFIRMDELETE": "Kei te tino hiahia muku i tēnei kōnae?", + "LeftAndMain.IncompatBrowserWarning": "Kāore tō pūtirotiro i te hototahi ki te atanga CMS. Whakamahia Internet Explorer 7+, Google Chrome 10+, Mozilla Firefox 3.5+ rānei.", + "GRIDFIELD.ERRORINTRANSACTION": "Kua puta mai he hapa i te tiki raraunga mai i te tūmau\n Ngāna anō ā muri atu.", + "UploadField.ConfirmDelete": "He tika tonu kia tangohia tēnei kōnae i te pūnahakōnae tūmau?", + "UploadField.PHP_MAXFILESIZE": "Kua hipa te mōrahi_rahikōnae_tukuatu i te kōnae (whakaritenga php.ini)", + "UploadField.HTML_MAXFILESIZE": "Kua hipa te mōrahi_rahi_kōnae i te kōnae (whakaritenga puka HTML)", + "UploadField.ONLYPARTIALUPLOADED": "Kua tukuna atu he wāhanga anake o te kōnae", + "UploadField.NOFILEUPLOADED": "Kāore he Kōnae i tukuna atu", + "UploadField.NOTMPFOLDER": "Kua ngaro tētahi kōpaki rangitahi", + "UploadField.WRITEFAILED": "I rahua te tuhi kōnae ki te kōpae", + "UploadField.STOPEDBYEXTENSION": "I whakamutua te tukuatu kōnae e te toronga", + "UploadField.TOOLARGE": "He rahi rawa te rahikōnae", + "UploadField.TOOSMALL": "He iti rawa te rahikōnae", + "UploadField.INVALIDEXTENSION": "Kāore te toronga i te whakaaetia", + "UploadField.MAXNUMBEROFFILESSIMPLE": "Kua hipa te mōrahi kōnae", + "UploadField.UPLOADEDBYTES": "Kua hipa te rahi kōnae i ngā paita kua tukuna atu", + "UploadField.EMPTYRESULT": "Otinga tukuatu kōnae piako", + "UploadField.LOADING": "Uta ana...", + "UploadField.Editing": "Whakatika ana ...", + "UploadField.Uploaded": "Kua tukuna atu", + "UploadField.OVERWRITEWARNING": "Kei te tīari kē tētahi kōnae me te ingoa ōrite", + "TreeDropdownField.ENTERTOSEARCH": "Pēhi tāuru hei rapu", + "TreeDropdownField.OpenLink": "Whakatuwhera", + "TreeDropdownField.FieldTitle": "Kōwhiri", + "TreeDropdownField.SearchFieldTitle": "Kōwhiri ka Rapu rānei" +} +); +} \ No newline at end of file diff --git a/javascript/lang/mi_NZ.js b/javascript/lang/mi_NZ.js deleted file mode 100644 index 402610e46..000000000 --- a/javascript/lang/mi_NZ.js +++ /dev/null @@ -1,44 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('mi_NZ', { - 'VALIDATOR.FIELDREQUIRED': 'Whakakīa "%s", he whakaritenga tēnei.', - 'HASMANYFILEFIELD.UPLOADING': 'Tukuatu ana... %s', - 'TABLEFIELD.DELETECONFIRMMESSAGE': 'Kei te tino hiahia muku i tēnei pūkete?', - 'LOADING': 'Uta ana...', - 'UNIQUEFIELD.SUGGESTED': "I hurihia te uara ki te '%s' : %s", - 'UNIQUEFIELD.ENTERNEWVALUE': 'Me tāuru he uara hōu mō tēnei āpure', - 'UNIQUEFIELD.CANNOTLEAVEEMPTY': 'Kāore e whakaaetia kia noho piako tēnei āpure', - 'RESTRICTEDTEXTFIELD.CHARCANTBEUSED': "Kāore e taea te whakamahi i te pūāhua '%s' i tēnei āpure", - 'UPDATEURL.CONFIRM': 'Kei te hiahia koe kia huri au i te PRO ki:\n\n%s/\n\nPāwhiri Āe kia hurihia te PRO, pāwhiri Whakakore kia waiho:\n\n%s', - 'UPDATEURL.CONFIRMURLCHANGED':'Kua hurihia te PRO ki \n"%s"', - 'FILEIFRAMEFIELD.DELETEFILE': 'Muku Kōnae', - 'FILEIFRAMEFIELD.UNATTACHFILE': 'Wehetāpiri Kōnae', - 'FILEIFRAMEFIELD.DELETEIMAGE': 'Muku Atahanga', - 'FILEIFRAMEFIELD.CONFIRMDELETE': 'Kei te tino hiahia muku i tēnei kōnae?', - 'LeftAndMain.IncompatBrowserWarning': 'Kāore tō pūtirotiro i te hototahi ki te atanga CMS. Whakamahia Internet Explorer 7+, Google Chrome 10+, Mozilla Firefox 3.5+ rānei.', - 'GRIDFIELD.ERRORINTRANSACTION': 'Kua puta mai he hapa i te tiki raraunga mai i te tūmau\n Ngāna anō ā muri atu.', - 'UploadField.ConfirmDelete': 'He tika tonu kia tangohia tēnei kōnae i te pūnahakōnae tūmau?', - 'UploadField.PHP_MAXFILESIZE': 'Kua hipa te mōrahi_rahikōnae_tukuatu i te kōnae (whakaritenga php.ini)', - 'UploadField.HTML_MAXFILESIZE': 'Kua hipa te mōrahi_rahi_kōnae i te kōnae (whakaritenga puka HTML)', - 'UploadField.ONLYPARTIALUPLOADED': 'Kua tukuna atu he wāhanga anake o te kōnae', - 'UploadField.NOFILEUPLOADED': 'Kāore he Kōnae i tukuna atu', - 'UploadField.NOTMPFOLDER': 'Kua ngaro tētahi kōpaki rangitahi', - 'UploadField.WRITEFAILED': 'I rahua te tuhi kōnae ki te kōpae', - 'UploadField.STOPEDBYEXTENSION': 'I whakamutua te tukuatu kōnae e te toronga', - 'UploadField.TOOLARGE': 'He rahi rawa te rahikōnae', - 'UploadField.TOOSMALL': 'He iti rawa te rahikōnae', - 'UploadField.INVALIDEXTENSION': 'Kāore te toronga i te whakaaetia', - 'UploadField.MAXNUMBEROFFILESSIMPLE': 'Kua hipa te mōrahi kōnae', - 'UploadField.UPLOADEDBYTES': 'Kua hipa te rahi kōnae i ngā paita kua tukuna atu', - 'UploadField.EMPTYRESULT': 'Otinga tukuatu kōnae piako', - 'UploadField.LOADING': 'Uta ana...', - 'UploadField.Editing': 'Whakatika ana ...', - 'UploadField.Uploaded': 'Kua tukuna atu', - 'UploadField.OVERWRITEWARNING': 'Kei te tīari kē tētahi kōnae me te ingoa ōrite', - 'TreeDropdownField.ENTERTOSEARCH': 'Pēhi tāuru hei rapu', - 'TreeDropdownField.OpenLink': 'Whakatuwhera', - 'TreeDropdownField.FieldTitle': 'Kōwhiri', - 'TreeDropdownField.SearchFieldTitle': 'Kōwhiri ka Rapu rānei' - }); -} diff --git a/javascript/lang/nl.js b/javascript/lang/nl.js new file mode 100644 index 000000000..4727efa67 --- /dev/null +++ b/javascript/lang/nl.js @@ -0,0 +1,43 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/nl.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('nl', { + "VALIDATOR.FIELDREQUIRED": "Vul het veld \"%s\" in, dit is een verplicht veld.", + "HASMANYFILEFIELD.UPLOADING": "Uploading... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Weet u zeker dat u dit record wilt verwijderen?", + "LOADING": "laden...", + "UNIQUEFIELD.SUGGESTED": "Waarde gewijzigd naar \"%s\" : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "U zult een nieuwe waarde voor dit veld moeten invoeren", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "Dit veld mag niet leeg blijven", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "Het karakter \"%s\" mag niet gebruikt worden in dit veld", + "UPDATEURL.CONFIRM": "Wilt u de URL wijzigen naar:\n\n%s/\n\nKlik Ok om de URL te wijzigen, Klik Cancel om het te laten zoals het is:\n\n%s", + "UPDATEURL.CONFIRMURLCHANGED":"Het URL is veranderd naar \n\"%s\"", + "FILEIFRAMEFIELD.DELETEFILE": "Verwijder bestand", + "FILEIFRAMEFIELD.UNATTACHFILE": "Deselecteer bestand", + "FILEIFRAMEFIELD.DELETEIMAGE": "Verwijder afbeelding", + "FILEIFRAMEFIELD.CONFIRMDELETE": "Weet u zeker dat u dit bestand wilt verwijderen?", + "LeftAndMain.IncompatBrowserWarning": "Je huidige browser is niet compatible, gebruik één van deze browsers Internet Explorer 7+, Google Chrome 10+ or Mozilla Firefox 3.5+.", + "GRIDFIELD.ERRORINTRANSACTION": "Er is een fout opgetreden bij het ophalen van gegevens van de server\n Probeer later opnieuw.", + "HtmlEditorField.SelectAnchor": "Kies een anker", + "UploadField.ConfirmDelete": "Weet u zeker dat u dit bestand wilt verwijderen uit het websitebestand?", + "UploadField.PHP_MAXFILESIZE": "Bestandsgrootte is hoger dan upload_max_filesize (php.ini directive)", + "UploadField.HTML_MAXFILESIZE": "Bestandsgrootte is hoger danMAX_FILE_SIZE (HTML form directive)", + "UploadField.ONLYPARTIALUPLOADED": "Bestand is maar gedeeltelijk geupload", + "UploadField.NOFILEUPLOADED": "Geen bestand is geupload", + "UploadField.NOTMPFOLDER": "Mist een tijdelijke map", + "UploadField.WRITEFAILED": "Kan bestand niet naar schijf schrijven", + "UploadField.STOPEDBYEXTENSION": "Bestandsupload gestopt door extensie", + "UploadField.TOOLARGE": "Bestandsgrootte is te groot", + "UploadField.TOOSMALL": "Bestandsgrootte is te klein", + "UploadField.INVALIDEXTENSION": "Extensie is niet toegestaan", + "UploadField.MAXNUMBEROFFILESSIMPLE": "Maximaal aantal overschreven", + "UploadField.UPLOADEDBYTES": "Upload overschrijd bestandsgrootte", + "UploadField.EMPTYRESULT": "Leeg bestand geupload", + "UploadField.LOADING": "Laden ...", + "UploadField.Editing": "Bijwerken ...", + "UploadField.Uploaded": "Geupload" +} +); +} \ No newline at end of file diff --git a/javascript/lang/nl_NL.js b/javascript/lang/nl_NL.js deleted file mode 100644 index 85c1e0393..000000000 --- a/javascript/lang/nl_NL.js +++ /dev/null @@ -1,41 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('nl_NL', { - 'VALIDATOR.FIELDREQUIRED': 'Vul het veld "%s" in, dit is een verplicht veld.', - 'HASMANYFILEFIELD.UPLOADING': 'Uploading... %s', - 'TABLEFIELD.DELETECONFIRMMESSAGE': 'Weet u zeker dat u dit record wilt verwijderen?', - 'LOADING': 'laden...', - 'UNIQUEFIELD.SUGGESTED': "Waarde gewijzigd naar '%s' : %s", - 'UNIQUEFIELD.ENTERNEWVALUE': 'U zult een nieuwe waarde voor dit veld moeten invoeren', - 'UNIQUEFIELD.CANNOTLEAVEEMPTY': 'Dit veld mag niet leeg blijven', - 'RESTRICTEDTEXTFIELD.CHARCANTBEUSED': "Het karakter '%s' mag niet gebruikt worden in dit veld", - 'UPDATEURL.CONFIRM': 'Wilt u de URL wijzigen naar:\n\n%s/\n\nKlik Ok om de URL te wijzigen, Klik Cancel om het' - + ' te laten zoals het is:\n\n%s', - 'UPDATEURL.CONFIRMURLCHANGED':'Het URL is veranderd naar \n"%s"', - 'FILEIFRAMEFIELD.DELETEFILE': 'Verwijder bestand', - 'FILEIFRAMEFIELD.UNATTACHFILE': 'Deselecteer bestand', - 'FILEIFRAMEFIELD.DELETEIMAGE': 'Verwijder afbeelding', - 'FILEIFRAMEFIELD.CONFIRMDELETE': 'Weet u zeker dat u dit bestand wilt verwijderen?', - 'LeftAndMain.IncompatBrowserWarning': 'Je huidige browser is niet compatible, gebruik één van deze browsers Internet Explorer 7+, Google Chrome 10+ or Mozilla Firefox 3.5+.', - 'GRIDFIELD.ERRORINTRANSACTION': 'Er is een fout opgetreden bij het ophalen van gegevens van de server\n Probeer later opnieuw.', - 'HtmlEditorField.SelectAnchor': 'Kies een anker', - 'UploadField.ConfirmDelete': 'Weet u zeker dat u dit bestand wilt verwijderen uit het websitebestand?', - 'UploadField.PHP_MAXFILESIZE': 'Bestandsgrootte is hoger dan upload_max_filesize (php.ini directive)', - 'UploadField.HTML_MAXFILESIZE': 'Bestandsgrootte is hoger danMAX_FILE_SIZE (HTML form directive)', - 'UploadField.ONLYPARTIALUPLOADED': 'Bestand is maar gedeeltelijk geupload', - 'UploadField.NOFILEUPLOADED': 'Geen bestand is geupload', - 'UploadField.NOTMPFOLDER': 'Mist een tijdelijke map', - 'UploadField.WRITEFAILED': 'Kan bestand niet naar schijf schrijven', - 'UploadField.STOPEDBYEXTENSION': 'Bestandsupload gestopt door extensie', - 'UploadField.TOOLARGE': 'Bestandsgrootte is te groot', - 'UploadField.TOOSMALL': 'Bestandsgrootte is te klein', - 'UploadField.INVALIDEXTENSION': 'Extensie is niet toegestaan', - 'UploadField.MAXNUMBEROFFILESSIMPLE': 'Maximaal aantal overschreven', - 'UploadField.UPLOADEDBYTES': 'Upload overschrijd bestandsgrootte', - 'UploadField.EMPTYRESULT': 'Leeg bestand geupload', - 'UploadField.LOADING': 'Laden ...', - 'UploadField.Editing': 'Bijwerken ...', - 'UploadField.Uploaded': 'Geupload' - }); -} diff --git a/javascript/lang/sk.js b/javascript/lang/sk.js new file mode 100644 index 000000000..f0c11120b --- /dev/null +++ b/javascript/lang/sk.js @@ -0,0 +1,26 @@ +// This file was generated by GenerateJavaScriptI18nTask from javascript/lang/src/sk.js. +// See https://github.com/silverstripe/silverstripe-buildtools for details +if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { + if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); +} else { + ss.i18n.addDictionary('sk', { + "VALIDATOR.FIELDREQUIRED": "Vyplňte \"%s\", prosím, je požadované.", + "HASMANYFILEFIELD.UPLOADING": "Nahrávanieí... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Určite chcete zmazať tento záznam?", + "TABLEFIELD.DELETECONFIRMMESSAGEV2": "\nJe tu %s stránok, ktoré používajú tento súbor, zkontrolujte stránky na záložke Odkazy pred pokračovaním.", + "LOADING": "natahovanie...", + "UNIQUEFIELD.SUGGESTED": "Hodnota bola zmenená na '%s' : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "Pre toto pole musíte zadať novú hodnotu", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "Toto pole nesmie byť prázdne", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "V tomto poli znak '%s' nesmie byť použité", + "UPDATEURL.CONFIRM": "Chceli by ste zmeniť URL na:\n\n%s\n\nKliknite OK pre zmenu URL, kliknite Cancel pre ponechanie pôvodného:\n\n%s", + "UPDATEURL.CONFIRM_V2": "Chceli by ste zmeniť URL tak, aby bolo podobné názvu stránky?\n\nKliknite OK pre zmenu URL, kliknite Cancel pre ponechanie pôvodného:\n\n%s", + "FILEIFRAMEFIELD.DELETEFILE": "Zmazať súbor", + "FILEIFRAMEFIELD.UNATTACHFILE": "Odpojiť súbor", + "FILEIFRAMEFIELD.DELETEIMAGE": "Zmazať obrázok", + "FILEIFRAMEFIELD.CONFIRMDELETE": "Určite chcete zmazať tento súbor?", + "TABLEFIELD.SELECTDELETE": "Vyberte, prosím, nejaké súbory na smazanie!", + "TABLEFIELD.CONFIRMDELETEV2": "Určite chcete smazať označené súbory?", + "TABLEFIELD.SELECTUPLOAD": "Vyberte, prosím, najmenej jeden súbor na nahranie." +}); +} \ No newline at end of file diff --git a/javascript/lang/sk_SK.js b/javascript/lang/sk_SK.js deleted file mode 100644 index e02e8b951..000000000 --- a/javascript/lang/sk_SK.js +++ /dev/null @@ -1,24 +0,0 @@ -if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') { - if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined'); -} else { - ss.i18n.addDictionary('sk_SK', { - 'VALIDATOR.FIELDREQUIRED': 'Vyplňte "%s", prosím, je požadované.', - 'HASMANYFILEFIELD.UPLOADING': 'Nahrávanieí... %s', - 'TABLEFIELD.DELETECONFIRMMESSAGE': 'Určite chcete zmazať tento záznam?', - 'TABLEFIELD.DELETECONFIRMMESSAGEV2': '\nJe tu %s stránok, ktoré používajú tento súbor, zkontrolujte stránky na záložke Odkazy pred pokračovaním.', - 'LOADING': 'natahovanie...', - 'UNIQUEFIELD.SUGGESTED': "Hodnota bola zmenená na '%s' : %s", - 'UNIQUEFIELD.ENTERNEWVALUE': 'Pre toto pole musíte zadať novú hodnotu', - 'UNIQUEFIELD.CANNOTLEAVEEMPTY': 'Toto pole nesmie byť prázdne', - 'RESTRICTEDTEXTFIELD.CHARCANTBEUSED': "V tomto poli znak '%s' nesmie byť použité", - 'UPDATEURL.CONFIRM': 'Chceli by ste zmeniť URL na:\n\n%s\n\nKliknite OK pre zmenu URL, kliknite Cancel pre ponechanie pôvodného:\n\n%s', - 'UPDATEURL.CONFIRM_V2': 'Chceli by ste zmeniť URL tak, aby bolo podobné názvu stránky?\n\nKliknite OK pre zmenu URL, kliknite Cancel pre ponechanie pôvodného:\n\n%s', - 'FILEIFRAMEFIELD.DELETEFILE': 'Zmazať súbor', - 'FILEIFRAMEFIELD.UNATTACHFILE': 'Odpojiť súbor', - 'FILEIFRAMEFIELD.DELETEIMAGE': 'Zmazať obrázok', - 'FILEIFRAMEFIELD.CONFIRMDELETE': 'Určite chcete zmazať tento súbor?', - 'TABLEFIELD.SELECTDELETE': 'Vyberte, prosím, nejaké súbory na smazanie!', - 'TABLEFIELD.CONFIRMDELETEV2': 'Určite chcete smazať označené súbory?', - 'TABLEFIELD.SELECTUPLOAD': 'Vyberte, prosím, najmenej jeden súbor na nahranie.' - }); -} \ No newline at end of file diff --git a/javascript/lang/src/cs.js b/javascript/lang/src/cs.js new file mode 100644 index 000000000..98ed72db8 --- /dev/null +++ b/javascript/lang/src/cs.js @@ -0,0 +1,20 @@ +{ + "VALIDATOR.FIELDREQUIRED": "Vyplňte \"%s\", prosím, je vyžadováno.", + "HASMANYFILEFIELD.UPLOADING": "Nahrávání... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Určitě chcete smazat tento záznam?", + "TABLEFIELD.DELETECONFIRMMESSAGEV2": "\nJe zde %s stránek, které používají tento soubor, zkontrolujte stránky na záložce Odkazy před pokračováním.", + "LOADING": "natahování...", + "UNIQUEFIELD.SUGGESTED": "Hodnota změněna na '%s' : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "Pro toto pole musíte zadat novou hodnotu", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "Toto pole nesmí být prázdné", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "V tomto poli znak '%s' nesmí být použit", + "UPDATEURL.CONFIRM": "Chtěli byste změnit URL na:\n\n%s\n\nKlikněte OK pro změnu URL, klikněte Cancel pro ponechání původního:\n\n%s", + "UPDATEURL.CONFIRM_V2": "Chtěli byste změnit URL tak, aby bylo podobné názvu stránky?\n\nKlikněte OK pro změnu URL, klikněte Cancel pro ponechání původního:\n\n%s", + "FILEIFRAMEFIELD.DELETEFILE": "Smazat soubor", + "FILEIFRAMEFIELD.UNATTACHFILE": "Odpojit soubor", + "FILEIFRAMEFIELD.DELETEIMAGE": "Smazat obrázek", + "FILEIFRAMEFIELD.CONFIRMDELETE": "Určitě chcete smazat tento soubor?", + "TABLEFIELD.SELECTDELETE": "Vyberte, prosím, nějaké soubory na smazání!", + "TABLEFIELD.CONFIRMDELETEV2": "Určitě chcete smazat označené soubory?", + "TABLEFIELD.SELECTUPLOAD": "Vyberte, prosím, aspoň jeden soubor na nahrání." +} \ No newline at end of file diff --git a/javascript/lang/src/de.js b/javascript/lang/src/de.js new file mode 100644 index 000000000..18112a91c --- /dev/null +++ b/javascript/lang/src/de.js @@ -0,0 +1,36 @@ +{ + "VALIDATOR.FIELDREQUIRED": "\"%s\" wird benötigt", + "HASMANYFILEFIELD.UPLOADING": "Lädt hoch... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Sind Sie sicher, dass sie dieses Element löschen wollen?", + "LOADING": "Lädt...", + "UNIQUEFIELD.SUGGESTED": "Der Wert wurde nach '%s' geändert : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "Sie müssen einen neuen Wert für dieses Feld eingeben", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "Dieses Feld kann nicht leer sein", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "Das Zeichen '%s' darf in diesem Feld nicht vewendet werden", + "UPDATEURL.CONFIRM": "Sollen wir die URL in diesen Wert ändern:\n\n%s/\n\nKlicken Sie OK, um den URL zu ändern, Abbrechen um ihn so zu lassen:\n\n%s", + "UPDATEURL.CONFIRMURLCHANGED": "Die URL wurde geändert:\n\"%s\"", + "FILEIFRAMEFIELD.DELETEFILE": "Datei löschen", + "FILEIFRAMEFIELD.UNATTACHFILE": "Datei loslösen", + "FILEIFRAMEFIELD.DELETEIMAGE": "Bild löschen", + "FILEIFRAMEFIELD.CONFIRMDELETE": "Sind Sie sicher, dass sie diese Datei löschen wollen?", + "LeftAndMain.IncompatBrowserWarning": "Ihr Browser ist nicht kompatibel mit der CMS Benutzeroverfläche. Bitte benutzen sie Internet Explorer 7+, Google Chrome 10+ oder Mozilla Firefox 3.5+.", + "GRIDFIELD.ERRORINTRANSACTION": "Beim Laden der Daten vom Server ist ein Fehler aufgetretetn\n Bitte versuchen sie es später noch einmal.", + "UploadField.ConfirmDelete": "Sind sie sicher, dass sie diese Datei aus dem Dateisystem löschen wollen?", + "UploadField.PHP_MAXFILESIZE": "Die Dateigröße überschreitet upload_max_filesize (php.ini Einstellung)", + "UploadField.HTML_MAXFILESIZE": "Die Dateigröße überschreitet MAX_FILE_SIZE (HTML Form Einstellung)", + "UploadField.ONLYPARTIALUPLOADED": "Die Datei wurde nur teilweise hochgeladen", + "UploadField.NOFILEUPLOADED": "Keine Datei wurde hochgeladen", + "UploadField.NOTMPFOLDER": "Es wurde kein temporäres Verzeichnis gefunden", + "UploadField.WRITEFAILED": "Es konnte nicht auf die Festplatte geschrieben werden", + "UploadField.STOPEDBYEXTENSION": "Dateiupload wurde wegen einer nicht erlaubten Erweiterung gestoppt", + "UploadField.TOOLARGE": "Die Datei ist zu groß", + "UploadField.TOOSMALL": "Die Datei ist zu klein", + "UploadField.INVALIDEXTENSION": "Dateierweiterung ist nicht erlaubt", + "UploadField.MAXNUMBEROFFILESSIMPLE": "Maximal erlaubt Anzahl von Dateien überschritten", + "UploadField.UPLOADEDBYTES": "Hochgeladene Bytes überschreiten Dateigröße", + "UploadField.EMPTYRESULT": "Leere Datei erhalten", + "UploadField.LOADING": "Lädt ...", + "UploadField.Editing": "Bearbeite ...", + "UploadField.Uploaded": "Hochgeladen", + "UploadField.OVERWRITEWARNING": "Datei mit diesem Namen existiert bereits" +} \ No newline at end of file diff --git a/javascript/lang/src/en.js b/javascript/lang/src/en.js new file mode 100644 index 000000000..fe55684e6 --- /dev/null +++ b/javascript/lang/src/en.js @@ -0,0 +1,41 @@ +{ + "VALIDATOR.FIELDREQUIRED": "Please fill out \"%s\", it is required.", + "HASMANYFILEFIELD.UPLOADING": "Uploading... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Are you sure you want to delete this record?", + "LOADING": "loading...", + "UNIQUEFIELD.SUGGESTED": "Changed value to '%s' : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "You will need to enter a new value for this field", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "This field cannot be left empty", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "The character '%s' cannot be used in this field", + "UPDATEURL.CONFIRM": "Would you like me to change the URL to:\n\n%s/\n\nClick Ok to change the URL, click Cancel to leave it as:\n\n%s", + "UPDATEURL.CONFIRMURLCHANGED": "The URL has been changed to\n'%s'", + "FILEIFRAMEFIELD.DELETEFILE": "Delete File", + "FILEIFRAMEFIELD.UNATTACHFILE": "Un-Attach File", + "FILEIFRAMEFIELD.DELETEIMAGE": "Delete Image", + "FILEIFRAMEFIELD.CONFIRMDELETE": "Are you sure you want to delete this file?", + "LeftAndMain.IncompatBrowserWarning": "Your browser is not compatible with the CMS interface. Please use Internet Explorer 7+, Google Chrome 10+ or Mozilla Firefox 3.5+.", + "GRIDFIELD.ERRORINTRANSACTION": "An error occured while fetching data from the server\n Please try again later.", + "HtmlEditorField.SelectAnchor": "Select an anchor", + "UploadField.ConfirmDelete": "Are you sure you want to remove this file from the server filesystem?", + "UploadField.PHP_MAXFILESIZE": "File exceeds upload_max_filesize (php.ini directive)", + "UploadField.HTML_MAXFILESIZE": "File exceeds MAX_FILE_SIZE (HTML form directive)", + "UploadField.ONLYPARTIALUPLOADED": "File was only partially uploaded", + "UploadField.NOFILEUPLOADED": "No File was uploaded", + "UploadField.NOTMPFOLDER": "Missing a temporary folder", + "UploadField.WRITEFAILED": "Failed to write file to disk", + "UploadField.STOPEDBYEXTENSION": "File upload stopped by extension", + "UploadField.TOOLARGE": "Filesize is too large", + "UploadField.TOOSMALL": "Filesize is too small", + "UploadField.INVALIDEXTENSION": "Extension is not allowed", + "UploadField.MAXNUMBEROFFILESSIMPLE": "Max number of files exceeded", + "UploadField.UPLOADEDBYTES": "Uploaded bytes exceed file size", + "UploadField.EMPTYRESULT": "Empty file upload result", + "UploadField.LOADING": "Loading ...", + "UploadField.Editing": "Editing ...", + "UploadField.Uploaded": "Uploaded", + "UploadField.OVERWRITEWARNING": "File with the same name already exists", + "TreeDropdownField.ENTERTOSEARCH": "Press enter to search", + "TreeDropdownField.OpenLink": "Open", + "TreeDropdownField.FieldTitle": "Choose", + "TreeDropdownField.SearchFieldTitle": "Choose or Search" +} diff --git a/javascript/lang/src/fr.js b/javascript/lang/src/fr.js new file mode 100644 index 000000000..2fe9c3bd6 --- /dev/null +++ b/javascript/lang/src/fr.js @@ -0,0 +1,12 @@ +{ + "VALIDATOR.FIELDREQUIRED": "Veuillez remplir \"%s\", c'est un champ requis.", + "HASMANYFILEFIELD.UPLOADING": "Uploading... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Etes-vous sûr de vouloir supprimer cet enregistrement ?", + "LOADING": "chargement...", + "UNIQUEFIELD.SUGGESTED": "Changez la valeur de '%s' : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "You devez saisir une nouvelle valeur pou ce champ", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "Ce champ ne peut être laissé vide", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "Le character '%s' ne peut être utilisé dans ce champ", + "UPDATEURL.CONFIRM": "Voulez-vous que je change l'URL en:\n\n%s/\n\nCliquez Ok pour changer l'URL, cliquez Annuler pour la laisser à:\n\n%s", + "GRIDFIELD.ERRORINTRANSACTION": "Une erreur est survenue durant la transaction avec le serveur\n Merci de reesayer plus tard." +} diff --git a/javascript/lang/src/it.js b/javascript/lang/src/it.js new file mode 100644 index 000000000..24718a05f --- /dev/null +++ b/javascript/lang/src/it.js @@ -0,0 +1,11 @@ +{ + "VALIDATOR.FIELDREQUIRED": "Completare il campo \"%s\", che è obbligatorio.", + "HASMANYFILEFIELD.UPLOADING": "Invio file... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Si è sicuri di voler eliminare questo elemento?", + "LOADING": "caricamento...", + "UNIQUEFIELD.SUGGESTED": "Cambiare il valore di '%s': %s", + "UNIQUEFIELD.ENTERNEWVALUE": "È necessario scegliere un'altro valore per questo campo", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "Questo campo non può essere lasciato vuoto", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "Il carattere '%s' non può essere utilizzato in questo campo", + "UPDATEURL.CONFIRM": "Volete cambiare l'URL in:\n\n%s/\n\nClicca OK per cambiare l'URL, clicca Annuler per lasciarla a:\n\n%s" +} \ No newline at end of file diff --git a/javascript/lang/src/ja.js b/javascript/lang/src/ja.js new file mode 100644 index 000000000..f63bf8d24 --- /dev/null +++ b/javascript/lang/src/ja.js @@ -0,0 +1,35 @@ +{ + "VALIDATOR.FIELDREQUIRED": "\"%s\"を入力してください,必須項目です.", + "HASMANYFILEFIELD.UPLOADING": "アップロード中です... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "このレコードを本当に削除しますか?", + "LOADING": "読み込み中...", + "UNIQUEFIELD.SUGGESTED": "'%s'へ値を変更しました : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "このフィールドに新しい値を入力する必要があります.", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "このフィールドは空にすることができません.", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "文字'%s'はこのフィールドでは利用することができません.", + "UPDATEURL.CONFIRM": "URLを次へ変更しますか?:\n\n%s/\n\nOKをクリックするとURLが変更されます.キャンセルをクリックするとURLは保持されます:\n\n%s", + "UPDATEURL.CONFIRMURLCHANGED":"URLは次へ変更されました\n\"%s\"", + "FILEIFRAMEFIELD.DELETEFILE": "ファイルを削除", + "FILEIFRAMEFIELD.UNATTACHFILE": "Un-Attach File", + "FILEIFRAMEFIELD.DELETEIMAGE": "画像を削除", + "FILEIFRAMEFIELD.CONFIRMDELETE": "このファイルを本当に削除しても良いですか?", + "LeftAndMain.IncompatBrowserWarning": "ご利用のブラウザはCMSのインターフェイスと互換性がありません.Internet Explorer 7以上, Google Chrome 10以上またはMozilla Firefox 3.5以上をご利用ください", + "GRIDFIELD.ERRORINTRANSACTION": "サーバーからデータを取得中にエラーが発生しました.\n 後ほど改めてお試しください.", + "UploadField.ConfirmDelete": "サーバーのファイルシステムからこのファイルを本当に削除しても良いですか?", + "UploadField.PHP_MAXFILESIZE": "upload_max_filesize(最大アップロードファイルサイズ)をファイルが超えています.(php.iniで指定されています)", + "UploadField.HTML_MAXFILESIZE": "MAX_FILE_SIZE(最大ファイルサイズ)をファイルが超えています.(HTMLフォームで指定されています)", + "UploadField.ONLYPARTIALUPLOADED": "ファイルは部分的にアップロードされました.", + "UploadField.NOFILEUPLOADED": "ファイルはアップロードされませんでした.", + "UploadField.NOTMPFOLDER": "一時フォルダがありません.", + "UploadField.WRITEFAILED": "ディスクへのファイル書き込みに失敗しました.", + "UploadField.STOPEDBYEXTENSION": "拡張子によりファイルアップロードが停止しました.", + "UploadField.TOOLARGE": "ファイルサイズが大きすぎます.", + "UploadField.TOOSMALL": "ファイルサイズが小さすぎます.", + "UploadField.INVALIDEXTENSION": "拡張子は許可されていません.", + "UploadField.MAXNUMBEROFFILESSIMPLE": "ファイルの最大数を超えました.", + "UploadField.UPLOADEDBYTES": "アップロードされたバイトはファイルサイズを超えました.", + "UploadField.EMPTYRESULT": "Empty file upload result", + "UploadField.LOADING": "読み込み中...", + "UploadField.Editing": "編集中...", + "UploadField.Uploaded": "アップロードしました." +} diff --git a/javascript/lang/src/mi.js b/javascript/lang/src/mi.js new file mode 100644 index 000000000..5d84f9a49 --- /dev/null +++ b/javascript/lang/src/mi.js @@ -0,0 +1,40 @@ +{ + "VALIDATOR.FIELDREQUIRED": "Whakakīa \"%s\", he whakaritenga tēnei.", + "HASMANYFILEFIELD.UPLOADING": "Tukuatu ana... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Kei te tino hiahia muku i tēnei pūkete?", + "LOADING": "Uta ana...", + "UNIQUEFIELD.SUGGESTED": "I hurihia te uara ki te '%s' : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "Me tāuru he uara hōu mō tēnei āpure", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "Kāore e whakaaetia kia noho piako tēnei āpure", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "Kāore e taea te whakamahi i te pūāhua '%s' i tēnei āpure", + "UPDATEURL.CONFIRM": "Kei te hiahia koe kia huri au i te PRO ki:\n\n%s/\n\nPāwhiri Āe kia hurihia te PRO, pāwhiri Whakakore kia waiho:\n\n%s", + "UPDATEURL.CONFIRMURLCHANGED": "Kua hurihia te PRO ki \n\"%s\"", + "FILEIFRAMEFIELD.DELETEFILE": "Muku Kōnae", + "FILEIFRAMEFIELD.UNATTACHFILE": "Wehetāpiri Kōnae", + "FILEIFRAMEFIELD.DELETEIMAGE": "Muku Atahanga", + "FILEIFRAMEFIELD.CONFIRMDELETE": "Kei te tino hiahia muku i tēnei kōnae?", + "LeftAndMain.IncompatBrowserWarning": "Kāore tō pūtirotiro i te hototahi ki te atanga CMS. Whakamahia Internet Explorer 7+, Google Chrome 10+, Mozilla Firefox 3.5+ rānei.", + "GRIDFIELD.ERRORINTRANSACTION": "Kua puta mai he hapa i te tiki raraunga mai i te tūmau\n Ngāna anō ā muri atu.", + "UploadField.ConfirmDelete": "He tika tonu kia tangohia tēnei kōnae i te pūnahakōnae tūmau?", + "UploadField.PHP_MAXFILESIZE": "Kua hipa te mōrahi_rahikōnae_tukuatu i te kōnae (whakaritenga php.ini)", + "UploadField.HTML_MAXFILESIZE": "Kua hipa te mōrahi_rahi_kōnae i te kōnae (whakaritenga puka HTML)", + "UploadField.ONLYPARTIALUPLOADED": "Kua tukuna atu he wāhanga anake o te kōnae", + "UploadField.NOFILEUPLOADED": "Kāore he Kōnae i tukuna atu", + "UploadField.NOTMPFOLDER": "Kua ngaro tētahi kōpaki rangitahi", + "UploadField.WRITEFAILED": "I rahua te tuhi kōnae ki te kōpae", + "UploadField.STOPEDBYEXTENSION": "I whakamutua te tukuatu kōnae e te toronga", + "UploadField.TOOLARGE": "He rahi rawa te rahikōnae", + "UploadField.TOOSMALL": "He iti rawa te rahikōnae", + "UploadField.INVALIDEXTENSION": "Kāore te toronga i te whakaaetia", + "UploadField.MAXNUMBEROFFILESSIMPLE": "Kua hipa te mōrahi kōnae", + "UploadField.UPLOADEDBYTES": "Kua hipa te rahi kōnae i ngā paita kua tukuna atu", + "UploadField.EMPTYRESULT": "Otinga tukuatu kōnae piako", + "UploadField.LOADING": "Uta ana...", + "UploadField.Editing": "Whakatika ana ...", + "UploadField.Uploaded": "Kua tukuna atu", + "UploadField.OVERWRITEWARNING": "Kei te tīari kē tētahi kōnae me te ingoa ōrite", + "TreeDropdownField.ENTERTOSEARCH": "Pēhi tāuru hei rapu", + "TreeDropdownField.OpenLink": "Whakatuwhera", + "TreeDropdownField.FieldTitle": "Kōwhiri", + "TreeDropdownField.SearchFieldTitle": "Kōwhiri ka Rapu rānei" +} diff --git a/javascript/lang/src/nl.js b/javascript/lang/src/nl.js new file mode 100644 index 000000000..7f584b903 --- /dev/null +++ b/javascript/lang/src/nl.js @@ -0,0 +1,36 @@ +{ + "VALIDATOR.FIELDREQUIRED": "Vul het veld \"%s\" in, dit is een verplicht veld.", + "HASMANYFILEFIELD.UPLOADING": "Uploading... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Weet u zeker dat u dit record wilt verwijderen?", + "LOADING": "laden...", + "UNIQUEFIELD.SUGGESTED": "Waarde gewijzigd naar \"%s\" : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "U zult een nieuwe waarde voor dit veld moeten invoeren", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "Dit veld mag niet leeg blijven", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "Het karakter \"%s\" mag niet gebruikt worden in dit veld", + "UPDATEURL.CONFIRM": "Wilt u de URL wijzigen naar:\n\n%s/\n\nKlik Ok om de URL te wijzigen, Klik Cancel om het te laten zoals het is:\n\n%s", + "UPDATEURL.CONFIRMURLCHANGED":"Het URL is veranderd naar \n\"%s\"", + "FILEIFRAMEFIELD.DELETEFILE": "Verwijder bestand", + "FILEIFRAMEFIELD.UNATTACHFILE": "Deselecteer bestand", + "FILEIFRAMEFIELD.DELETEIMAGE": "Verwijder afbeelding", + "FILEIFRAMEFIELD.CONFIRMDELETE": "Weet u zeker dat u dit bestand wilt verwijderen?", + "LeftAndMain.IncompatBrowserWarning": "Je huidige browser is niet compatible, gebruik één van deze browsers Internet Explorer 7+, Google Chrome 10+ or Mozilla Firefox 3.5+.", + "GRIDFIELD.ERRORINTRANSACTION": "Er is een fout opgetreden bij het ophalen van gegevens van de server\n Probeer later opnieuw.", + "HtmlEditorField.SelectAnchor": "Kies een anker", + "UploadField.ConfirmDelete": "Weet u zeker dat u dit bestand wilt verwijderen uit het websitebestand?", + "UploadField.PHP_MAXFILESIZE": "Bestandsgrootte is hoger dan upload_max_filesize (php.ini directive)", + "UploadField.HTML_MAXFILESIZE": "Bestandsgrootte is hoger danMAX_FILE_SIZE (HTML form directive)", + "UploadField.ONLYPARTIALUPLOADED": "Bestand is maar gedeeltelijk geupload", + "UploadField.NOFILEUPLOADED": "Geen bestand is geupload", + "UploadField.NOTMPFOLDER": "Mist een tijdelijke map", + "UploadField.WRITEFAILED": "Kan bestand niet naar schijf schrijven", + "UploadField.STOPEDBYEXTENSION": "Bestandsupload gestopt door extensie", + "UploadField.TOOLARGE": "Bestandsgrootte is te groot", + "UploadField.TOOSMALL": "Bestandsgrootte is te klein", + "UploadField.INVALIDEXTENSION": "Extensie is niet toegestaan", + "UploadField.MAXNUMBEROFFILESSIMPLE": "Maximaal aantal overschreven", + "UploadField.UPLOADEDBYTES": "Upload overschrijd bestandsgrootte", + "UploadField.EMPTYRESULT": "Leeg bestand geupload", + "UploadField.LOADING": "Laden ...", + "UploadField.Editing": "Bijwerken ...", + "UploadField.Uploaded": "Geupload" +} diff --git a/javascript/lang/src/sk.js b/javascript/lang/src/sk.js new file mode 100644 index 000000000..c83d51f50 --- /dev/null +++ b/javascript/lang/src/sk.js @@ -0,0 +1,20 @@ +{ + "VALIDATOR.FIELDREQUIRED": "Vyplňte \"%s\", prosím, je požadované.", + "HASMANYFILEFIELD.UPLOADING": "Nahrávanieí... %s", + "TABLEFIELD.DELETECONFIRMMESSAGE": "Určite chcete zmazať tento záznam?", + "TABLEFIELD.DELETECONFIRMMESSAGEV2": "\nJe tu %s stránok, ktoré používajú tento súbor, zkontrolujte stránky na záložke Odkazy pred pokračovaním.", + "LOADING": "natahovanie...", + "UNIQUEFIELD.SUGGESTED": "Hodnota bola zmenená na '%s' : %s", + "UNIQUEFIELD.ENTERNEWVALUE": "Pre toto pole musíte zadať novú hodnotu", + "UNIQUEFIELD.CANNOTLEAVEEMPTY": "Toto pole nesmie byť prázdne", + "RESTRICTEDTEXTFIELD.CHARCANTBEUSED": "V tomto poli znak '%s' nesmie byť použité", + "UPDATEURL.CONFIRM": "Chceli by ste zmeniť URL na:\n\n%s\n\nKliknite OK pre zmenu URL, kliknite Cancel pre ponechanie pôvodného:\n\n%s", + "UPDATEURL.CONFIRM_V2": "Chceli by ste zmeniť URL tak, aby bolo podobné názvu stránky?\n\nKliknite OK pre zmenu URL, kliknite Cancel pre ponechanie pôvodného:\n\n%s", + "FILEIFRAMEFIELD.DELETEFILE": "Zmazať súbor", + "FILEIFRAMEFIELD.UNATTACHFILE": "Odpojiť súbor", + "FILEIFRAMEFIELD.DELETEIMAGE": "Zmazať obrázok", + "FILEIFRAMEFIELD.CONFIRMDELETE": "Určite chcete zmazať tento súbor?", + "TABLEFIELD.SELECTDELETE": "Vyberte, prosím, nejaké súbory na smazanie!", + "TABLEFIELD.CONFIRMDELETEV2": "Určite chcete smazať označené súbory?", + "TABLEFIELD.SELECTUPLOAD": "Vyberte, prosím, najmenej jeden súbor na nahranie." +} \ No newline at end of file diff --git a/view/Requirements.php b/view/Requirements.php index a2e700554..34f7fc066 100644 --- a/view/Requirements.php +++ b/view/Requirements.php @@ -766,6 +766,7 @@ class Requirements_Backend { */ public function add_i18n_javascript($langDir, $return = false, $langOnly = false) { $files = array(); + $base = Director::baseFolder() . '/'; if(i18n::config()->js_i18n) { // Include i18n.js even if no languages are found. The fact that // add_i18n_javascript() was called indicates that the methods in @@ -774,16 +775,21 @@ class Requirements_Backend { if(substr($langDir,-1) != '/') $langDir .= '/'; - $files[] = $langDir . i18n::default_locale() . '.js'; - $files[] = $langDir . i18n::get_locale() . '.js'; - - // If both files don't exist, hard fallback to en_US - if(!Director::fileExists($files[0]) && !Director::fileExists($files[1])) { - $files[] = $langDir . 'en_US.js'; + $candidates = array( + 'en.js', + 'en_US.js', + i18n::get_lang_from_locale(i18n::default_locale()) . '.js', + i18n::default_locale() . '.js', + i18n::get_lang_from_locale(i18n::get_locale()) . '.js', + i18n::get_locale() . '.js', + ); + foreach($candidates as $candidate) { + if(file_exists($base . DIRECTORY_SEPARATOR . $langDir . $candidate)) { + $files[] = $langDir . $candidate; + } } - - // Stub i18n implementation for when i18n is disabled. } else { + // Stub i18n implementation for when i18n is disabled. if(!$langOnly) $files[] = FRAMEWORK_DIR . '/javascript/i18nx.js'; }