Skip to content
This repository was archived by the owner on May 25, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 20 additions & 10 deletions src/translations.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
// return all the translations
let text = {
daysOfWeek: {
en: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
es: ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa']
es: ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'],
'zh-CN':['日','一', '二', '三', '四', '五', '六']
},
limit: {
en: 'Limit reached ({{limit}} items max).',
es: 'Limite alcanzado (máximo {{limit}} items).'
es: 'Limite alcanzado (máximo {{limit}} items).',
'zh-CN': '达到最大限制({{limit}})'
},
loading: {
en: 'Loading...',
es: 'Cargando...'
es: 'Cargando...',
'zh-CN': '加载中...'
},
minLength: {
en: 'Min. Length',
es: 'Tamaño Mínimo'
es: 'Tamaño Mínimo',
'zh-CN': '最小长度'
},
months: {
en: [
Expand All @@ -28,19 +30,27 @@ let text = {
'Abril', 'Mayo', 'Junio',
'Julio', 'Agosto', 'Septiembre',
'Octubre', 'Noviembre', 'Diciembre'
]
],
'zh-CN':[
'一月','二月', '三月',
'四月', '五月', '六月',
'七月','八月', '九月',
'十月', '十一月', '十二月']
},
notSelected: {
en: 'Nothing Selected',
es: 'Nada seleccionado'
es: 'Nada seleccionado',
'zh-CN': '未选中任何选项',
},
required: {
en: 'Required',
es: 'Requerido'
es: 'Requerido',
'zh-CN': '必填',
},
search: {
en: 'Search',
es: 'Buscar'
es: 'Buscar',
'zh-CN': '查找',
}
}
export default (lang = 'en') => {
Expand Down