Browse Source

Chore: misc updates

Leopoldthecoder 7 years ago
parent
commit
ae4d29cff5

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

@@ -211,6 +211,7 @@ Currently Element ships with the following languages:
   <li>Mongolian (mn)</li>
   <li>Kazakh (kz)</li>
   <li>Hungarian (hu)</li>
+  <li>Romanian (ro)</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

@@ -211,6 +211,7 @@ Actualmente Element está disponible en los siguientes idiomas:
   <li>Mongolian (mn)</li>
   <li>Kazakh (kz)</li>
   <li>Hungarian (hu)</li>
+  <li>Romanian (ro)</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/zh-CN/i18n.md

@@ -223,6 +223,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value))
   <li>蒙古语(mn)</li>
   <li>哈萨克斯坦语(kz)</li>
   <li>匈牙利语(hu)</li>
+  <li>罗马尼亚语(ro)</li>
 </ul>
 
 如果你需要使用其他的语言,欢迎贡献 PR:只需在 [这里](https://github.com/ElemeFE/element/tree/dev/src/locale/lang) 添加一个语言配置文件即可。

+ 1 - 0
packages/theme-chalk/src/table.scss

@@ -435,6 +435,7 @@
     display: inline-flex;
     flex-direction: column;
     align-items: center;
+    justify-content: center;
     height: 34px;
     width: 24px;
     vertical-align: middle;

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

@@ -100,10 +100,10 @@ export default {
     transfer: {
       noMatch: 'Nu există date potrivite',
       noData: 'Nu există date',
-      titles: ['Lista 1', 'Lista 2'], // to be translated
-      filterPlaceholder: 'Introduceți cuvântul cheie', // to be translated
-      noCheckedFormat: '{total} elemente', // to be translated
-      hasCheckedFormat: '{checked}/{total} verificate' // to be translated
+      titles: ['Lista 1', 'Lista 2'],
+      filterPlaceholder: 'Introduceți cuvântul cheie',
+      noCheckedFormat: '{total} elemente',
+      hasCheckedFormat: '{checked}/{total} verificate'
     }
   }
 };