Leopoldthecoder 7 лет назад
Родитель
Сommit
4576c72ef8
3 измененных файлов с 6 добавлено и 4 удалено
  1. 1 0
      examples/docs/en-US/i18n.md
  2. 1 0
      examples/docs/zh-CN/i18n.md
  3. 4 4
      src/locale/lang/he.js

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

@@ -206,6 +206,7 @@ Currently Element ships with the following languages:
   <li>Estonian (ee)</li>
   <li>Slovenian (sl)</li>
   <li>Arabic (ar)</li>
+  <li>Hebrew (he)</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/master/src/locale/lang) and create a pull request.

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

@@ -218,6 +218,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value))
   <li>爱沙尼亚语(ee)</li>
   <li>斯洛文尼亚语(sl)</li>
   <li>阿拉伯语(ar)</li>
+  <li>希伯来语(he)</li>
 </ul>
 
 如果你需要使用其他的语言,欢迎贡献 PR:只需在 [这里](https://github.com/ElemeFE/element/tree/master/src/locale/lang) 添加一个语言配置文件即可。

+ 4 - 4
src/locale/lang/he.js

@@ -95,10 +95,10 @@ export default {
     transfer: {
       noMatch: 'אין נתונים מתאימים',
       noData: 'ללא נתונים',
-      titles: ['רשימה 1', 'רשימה 2'], // to be translated
-      filterPlaceholder: 'הקלד', // to be translated
-      noCheckedFormat: 'פריטים {total}', // to be translated
-      hasCheckedFormat: ' אישור {checked}/{total}' // to be translated
+      titles: ['רשימה 1', 'רשימה 2'],
+      filterPlaceholder: 'הקלד',
+      noCheckedFormat: 'פריטים {total}',
+      hasCheckedFormat: ' אישור {checked}/{total}'
     }
   }
 };