Pārlūkot izejas kodu

i18n: add Esperanto translation (#16955)

Maksim Koryukov 6 gadi atpakaļ
vecāks
revīzija
a907d3922b

+ 1 - 0
examples/docs/en-US/i18n.md

@@ -220,6 +220,7 @@ Currently Element ships with the following languages:
   <li>Kyrgyz (kg)</li>
   <li>Armenian (hy)</li>
   <li>Croatian (hr)</li>
+  <li>Esperanto (eo)</li>
 </ul>
 
 If your target language is not included, you are more than welcome to contribute: just add another language config [here](https://github.com/ElemeFE/element/tree/dev/src/locale/lang) and create a pull request.

+ 1 - 0
examples/docs/es/i18n.md

@@ -220,6 +220,7 @@ Actualmente Element está disponible en los siguientes idiomas:
   <li>Kirguizstán (kg)</li>
   <li>Armenio (hy)</li>
   <li>Croatian (hr)</li>
+  <li>Esperanto (eo)</li>
 </ul>
 
 Si su idioma de destino no está incluido, puede contribuir: simplemente añada  [aqui](https://github.com/ElemeFE/element/tree/dev/src/locale/lang) otra configuración de idioma y cree un pull request.

+ 1 - 0
examples/docs/fr-FR/i18n.md

@@ -223,6 +223,7 @@ Actuellement, Element supporte les langues suivantes:
   <li>Kirghize (kg)</li>
   <li>Croate (hr)</li>
   <li>Arménien (hy)</li>
+  <li>Espéranto (eo)</li>
 </ul>
 
 Si votre langue n'apparaît pas dans la liste, n'hésitez pas a contribuer: ajoutez simplement un fichier de configuration [ici](https://github.com/ElemeFE/element/tree/dev/src/locale/lang) et créez une pull request.

+ 1 - 0
examples/docs/zh-CN/i18n.md

@@ -222,6 +222,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value))
   <li>吉尔吉斯语(kg)</li>
   <li>亚美尼亚语 (hy)</li>
   <li>克罗地亚 (hr)</li>
+  <li>世界语 (eo)</li>
 </ul>
 
 如果你需要使用其他的语言,欢迎贡献 PR:只需在 [这里](https://github.com/ElemeFE/element/tree/dev/src/locale/lang) 添加一个语言配置文件即可。

+ 116 - 0
src/locale/lang/eo.js

@@ -0,0 +1,116 @@
+export default {
+  el: {
+    colorpicker: {
+      confirm: 'Bone',
+      clear: 'Malplenigi'
+    },
+    datepicker: {
+      now: 'Nun',
+      today: 'Hodiaŭ',
+      cancel: 'Nuligi',
+      clear: 'Malplenigi',
+      confirm: 'Bone',
+      selectDate: 'Elektu daton',
+      selectTime: 'Elektu horon',
+      startDate: 'Komenca Dato',
+      startTime: 'Komenca Horo',
+      endDate: 'Fina Dato',
+      endTime: 'Fina Horo',
+      prevYear: 'Antaŭa Jaro',
+      nextYear: 'Sekva Jaro',
+      prevMonth: 'Antaŭa Monato',
+      nextMonth: 'Sekva Monato',
+      year: 'Jaro',
+      month1: 'Januaro',
+      month2: 'Februaro',
+      month3: 'Marto',
+      month4: 'Aprilo',
+      month5: 'Majo',
+      month6: 'Junio',
+      month7: 'Julio',
+      month8: 'Aŭgusto',
+      month9: 'Septembro',
+      month10: 'Oktobro',
+      month11: 'Novembro',
+      month12: 'Decembro',
+      week: 'Semajno',
+      weeks: {
+        sun: 'Dim',
+        mon: 'Lun',
+        tue: 'Mar',
+        wed: 'Mer',
+        thu: 'Ĵaŭ',
+        fri: 'Ven',
+        sat: 'Sab'
+      },
+      months: {
+        jan: 'Jan',
+        feb: 'Feb',
+        mar: 'Mar',
+        apr: 'Apr',
+        may: 'Maj',
+        jun: 'Jun',
+        jul: 'Jul',
+        aug: 'Aŭg',
+        sep: 'Sep',
+        oct: 'Okt',
+        nov: 'Nov',
+        dec: 'Dec'
+      }
+    },
+    select: {
+      loading: 'Ŝarĝante',
+      noMatch: 'Neniuj kongruaj datumoj',
+      noData: 'Neniuj datumoj',
+      placeholder: 'Bonvolu elekti'
+    },
+    cascader: {
+      noMatch: 'Neniuj kongruaj datumoj',
+      loading: 'Ŝarĝante',
+      placeholder: 'Bonvolu elekti',
+      noData: 'Neniuj datumoj'
+    },
+    pagination: {
+      goto: 'Iru al',
+      pagesize: '/ paĝo',
+      total: 'Entute {total}',
+      pageClassifier: ''
+    },
+    messagebox: {
+      title: 'Mesaĝo',
+      confirm: 'Bone',
+      cancel: 'Nuligi',
+      error: 'Nevalida Enigo!'
+    },
+    upload: {
+      deleteTip: 'Premu "Delete" por forigi',
+      delete: 'Forigi',
+      preview: 'Antaŭrigardi',
+      continue: 'Daŭrigi'
+    },
+    table: {
+      emptyText: 'Neniuj datumoj',
+      confirmFilter: 'Konfirmi',
+      resetFilter: 'Restarigi',
+      clearFilter: 'Ĉiuj',
+      sumText: 'Sumo'
+    },
+    tree: {
+      emptyText: 'Neniuj datumoj'
+    },
+    transfer: {
+      noMatch: 'Neniuj kongruaj datumoj',
+      noData: 'Neniuj datumoj',
+      titles: ['Listo 1', 'Listo 2'],
+      filterPlaceholder: 'Enigu ŝlosilvorton',
+      noCheckedFormat: '{total} elementoj',
+      hasCheckedFormat: '{checked}/{total} elektitaj'
+    },
+    image: {
+      error: 'MALSUKCESIS'
+    },
+    pageHeader: {
+      title: 'Reen'
+    }
+  }
+};