Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

API JS i18n files with short locale names, generated by build task

The files are uploaded to transifex.com now, which means we needed
to consolidate the file names (= locales). Since Transifex doesn't allow
arbitrary JavaScript structures, we're using an intermediary JSON
format which gets transformed into the JS used by the framework.

See silverstripe/silverstripe-buildtools@b59f385 for generator logic.

Fixes #2499
  • Loading branch information...
commit 2c145cd454d89dbb49cd4ec009fc30f2ddeca0bf 1 parent 91e96ec
@chillu chillu authored
Showing with 826 additions and 425 deletions.
  1. +13 −1 .tx/config
  2. +13 −0 admin/javascript/lang/cs.js
  3. +0 −11 admin/javascript/lang/cs_CZ.js
  4. +14 −0 admin/javascript/lang/de.js
  5. +0 −12 admin/javascript/lang/de_DE.js
  6. +17 −0 admin/javascript/lang/en.js
  7. +0 −14 admin/javascript/lang/en_US.js
  8. +13 −0 admin/javascript/lang/fr.js
  9. +0 −11 admin/javascript/lang/fr_FR.js
  10. +13 −0 admin/javascript/lang/it.js
  11. +0 −11 admin/javascript/lang/it_IT.js
  12. +16 −0 admin/javascript/lang/ja.js
  13. +0 −14 admin/javascript/lang/ja_JP.js
  14. +17 −0 admin/javascript/lang/mi.js
  15. +0 −14 admin/javascript/lang/mi_NZ.js
  16. +17 −0 admin/javascript/lang/nl.js
  17. +0 −14 admin/javascript/lang/nl_NL.js
  18. +12 −0 admin/javascript/lang/pl.js
  19. +0 −10 admin/javascript/lang/pl_PL.js
  20. +13 −0 admin/javascript/lang/sk.js
  21. +0 −11 admin/javascript/lang/sk_SK.js
  22. +7 −0 admin/javascript/lang/src/cs.js
  23. +8 −0 admin/javascript/lang/src/de.js
  24. +10 −0 admin/javascript/lang/src/en.js
  25. +7 −0 admin/javascript/lang/src/fr.js
  26. +7 −0 admin/javascript/lang/src/it.js
  27. +10 −0 admin/javascript/lang/src/ja.js
  28. +10 −0 admin/javascript/lang/src/mi.js
  29. +10 −0 admin/javascript/lang/src/nl.js
  30. +6 −0 admin/javascript/lang/src/pl.js
  31. +7 −0 admin/javascript/lang/src/sk.js
  32. +0 −3  docs/en/misc/contributing/translation.md
  33. +8 −3 docs/en/topics/i18n.md
  34. +3 −0  javascript/i18n.js
  35. +26 −0 javascript/lang/cs.js
  36. +0 −24 javascript/lang/cs_CZ.js
  37. +42 −0 javascript/lang/de.js
  38. +0 −40 javascript/lang/de_DE.js
  39. +48 −0 javascript/lang/en.js
  40. +0 −45 javascript/lang/en_US.js
  41. +19 −0 javascript/lang/fr.js
  42. +0 −16 javascript/lang/fr_FR.js
  43. +17 −0 javascript/lang/it.js
  44. +0 −15 javascript/lang/it_IT.js
  45. +42 −0 javascript/lang/ja.js
  46. +0 −39 javascript/lang/ja_JP.js
  47. +47 −0 javascript/lang/mi.js
  48. +0 −44 javascript/lang/mi_NZ.js
  49. +43 −0 javascript/lang/nl.js
  50. +0 −41 javascript/lang/nl_NL.js
  51. +26 −0 javascript/lang/sk.js
  52. +0 −24 javascript/lang/sk_SK.js
  53. +20 −0 javascript/lang/src/cs.js
  54. +36 −0 javascript/lang/src/de.js
  55. +41 −0 javascript/lang/src/en.js
  56. +12 −0 javascript/lang/src/fr.js
  57. +11 −0 javascript/lang/src/it.js
  58. +35 −0 javascript/lang/src/ja.js
  59. +40 −0 javascript/lang/src/mi.js
  60. +36 −0 javascript/lang/src/nl.js
  61. +20 −0 javascript/lang/src/sk.js
  62. +14 −8 view/Requirements.php
View
14 .tx/config
@@ -5,4 +5,16 @@ host = https://www.transifex.com
file_filter = lang/<lang>.yml
source_file = lang/en.yml
source_lang = en
-type = YML
+type = YML
+
+[silverstripe-framework.master-js]
+file_filter = javascript/lang/src/<lang>.js
+source_file = javascript/lang/src/en.js
+source_lang = en
+type = KEYVALUEJSON
+
+[silverstripe-framework.master-admin-js]
+file_filter = admin/javascript/lang/src/<lang>.js
+source_file = admin/javascript/lang/src/en.js
+source_lang = en
+type = KEYVALUEJSON
View
13 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."
+});
+}
View
11 admin/javascript/lang/cs_CZ.js
@@ -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."
- });
-}
View
14 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."
+});
+}
View
12 admin/javascript/lang/de_DE.js
@@ -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."
- });
-}
View
17 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."
+}
+);
+}
View
14 admin/javascript/lang/en_US.js
@@ -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."
- });
-}
View
13 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."
+});
+}
View
11 admin/javascript/lang/fr_FR.js
@@ -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."
- });
-}
View
13 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."
+});
+}
View
11 admin/javascript/lang/it_IT.js
@@ -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."
- });
-}
View
16 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": "このページは削除されました.ページを編集するには,左から選択してください."
+});
+}
View
14 admin/javascript/lang/ja_JP.js
@@ -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': "このページは削除されました.ページを編集するには,左から選択してください."
- });
-}
View
17 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ī."
+}
+);
+}
View
14 admin/javascript/lang/mi_NZ.js
@@ -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ī."
- });
-}
View
17 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."
+}
+);
+}
View
14 admin/javascript/lang/nl_NL.js
@@ -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."
- });
-}
View
12 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."
+});
+}
View
10 admin/javascript/lang/pl_PL.js
@@ -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."
- });
-}
View
13 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."
+});
+}
View
11 admin/javascript/lang/sk_SK.js
@@ -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."
- });
-}
View
7 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."
+}
View
8 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."
+}
View
10 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."
+}
View
7 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."
+}
View
7 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."
+}
View
10 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": "このページは削除されました.ページを編集するには,左から選択してください."
+}
View
10 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ī."
+}
View
10 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."
+}
View
6 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."
+}
View
7 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."
+}
View
3  docs/en/misc/contributing/translation.md
@@ -71,9 +71,6 @@ Once you've logged into the CMS, you should see the text "Hi <your name>" 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: <mymodule>/lang/en.yml). Upload this file to the
View
11 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('<my-module-dir>/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
View
3  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) {
View
26 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í."
+});
+}
View
24 javascript/lang/cs_CZ.js
@@ -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í.'
- });
-}
View
42 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"
+});
+}
View
40 javascript/lang/de_DE.js
@@ -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'
- });
-}
View
48 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"
+}
+);
+}
View
45 javascript/lang/en_US.js
@@ -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'
- });
-}
View
19 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."
+}
+);
+}
View
16 javascript/lang/fr_FR.js
@@ -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.'
- });
-}
View
17 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"
+});
+}
View
15 javascript/lang/it_IT.js
@@ -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'
- });
-}
View
42 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": "アップロードしました."
+}
+);
+}
View
39 javascript/lang/ja_JP.js
@@ -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': 'アップロードしました.'
- });
-}
View
47 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"
+}
+);
+}
View
44 javascript/lang/mi_NZ.js
@@ -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'
- });
-}
View
43 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"
+}
+);
+}
View
41 javascript/lang/nl_NL.js
@@ -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'
- });
-}
View
26 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."
+});
+}
View
24 javascript/lang/sk_SK.js
@@ -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.'
- });
-}
View
20 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í."
+}
View
36 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"
+}
View
41 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"
+}
View
12 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."
+}
View
11 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"
+}
View
35 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": "アップロードしました."
+}
View
40 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"
+}
View
36 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"
+}
View
20 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."
+}
View
22 view/Requirements.php
@@ -766,6 +766,7 @@ public function include_in_response(SS_HTTPResponse $response) {
*/
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 @@ public function add_i18n_javascript($langDir, $return = false, $langOnly = false
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';
}
Please sign in to comment.
Something went wrong with that request. Please try again.