element/examples/i18n/theme-editor.json
iamkun 5b6cb3180f chore: generate theme (#14666)
* update es fr i18n

* update no need edit pages

* move var name to frontend

* add i18n

* update i18n

* fix bug

* update style

* add callback

* add shortcut

* redo undo logic

* update picker style

* update shadow style

* save config to local

* button color

* button color

* add message

* update save logic
2019-03-14 17:55:28 +08:00

215 lines
7.4 KiB
JSON

[
{
"lang": "zh-CN",
"display-name": {
"border-color": "边框颜色",
"font-color": "文字颜色",
"background-color": "背景颜色",
"font-weight": "文字粗细",
"font-size": "文字大小",
"font-line-height": "文字行高",
"border-radius": "边框圆角",
"vertical": "纵向",
"horizontal": "横向",
"padding": "内间距",
"margin": "外间距",
"icon": "图标",
"placeholder": "占位符",
"dropdown": "下拉菜单",
"max": "最大",
"min": "最小",
"focus": "聚焦",
"selected": "选中",
"height": "高度",
"size": "大小",
"group": "分组",
"radius": "圆角",
"width": "宽度",
"color": "颜色"
},
"action": {
"theme-editor": "主题编辑器",
"no-config": "暂不可编辑,敬请期待",
"no-need-config": "本页无需编辑,看看其他页面吧",
"load-local-theme-config": "正在恢复您上次自定义的主题",
"reset-theme": "重置",
"download-theme": "下载"
},
"category": {
"BrandColor": "品牌颜色",
"SecondaryColor": "辅助颜色",
"FontColor": "文字颜色",
"BorderColor": "边框颜色",
"BackgroundColor": "背景颜色",
"Other": "其他",
"Color": "颜色",
"Border": "边框",
"Font": "文字",
"Radius": "边框圆角",
"Shadow": "阴影",
"Spacing": "间距",
"FontSize": "文字大小",
"FontWeight": "文字粗细",
"LineHeight": "文字行高"
},
"variable-name" : {
"color-primary": "主题色",
"color-white": "基础白色",
"color-black": "基础黑色",
"color-success": "成功颜色",
"color-warning": "警告颜色",
"color-danger": "危险颜色",
"color-info": "信息颜色",
"color-text-primary": "主要文字颜色",
"color-text-regular": "常规文字颜色",
"color-text-secondary": "次要文字颜色",
"color-text-placeholder": "占位文字颜色",
"border-color-base": "一级边框颜色",
"border-color-light": "二级边框颜色",
"border-color-lighter": "三级边框颜色",
"border-color-extra-light": "四级边框颜色",
"background-color-base": "基础背景色",
"border-radius-base": "大圆角",
"border-radius-small": "小圆角",
"border-radius-circle": "圆形圆角",
"box-shadow-base": "基础投影",
"box-shadow-dark": "深色投影",
"box-shadow-light": "浅色投影",
"font-size-extra-large": "主标题文字大小",
"font-size-large": "标题文字大小",
"font-size-medium": "小标题文字大小",
"font-size-base": "正文文字大小",
"font-size-small": "正文(小)文字大小",
"font-size-extra-small": "辅助文字大小",
"font-weight-primary": "主要文字粗细",
"font-weight-secondary": "次要文字粗细",
"font-line-height-primary": "主要文字行高",
"font-line-height-secondary": "次要文字行高"
}
},
{
"lang": "en-US",
"variable-name" : {
"color-primary": "primary color",
"color-white": "basic white",
"color-black": "basic black",
"color-success": "success color",
"color-warning": "warning color",
"color-danger": "danger color",
"color-info": "info color",
"color-text-primary": "primary text color",
"color-text-regular": "regular text color",
"color-text-secondary": "secondary text color",
"color-text-placeholder": "placeholder text color",
"border-color-base": "border color base",
"border-color-light": "border color light",
"border-color-lighter": "border color lighter",
"border-color-extra-light": "border color extra light",
"background-color-base": "base background color",
"border-radius-base": "border radius base",
"border-radius-small": "border radius small",
"border-radius-circle": "border radius circle",
"box-shadow-base": "box shadow base",
"box-shadow-dark": "box shadow dark",
"box-shadow-light": "box shadow light",
"font-size-extra-large": "extra large font size",
"font-size-large": "large font size",
"font-size-medium": "medium font size",
"font-size-base": "base font size",
"font-size-small": "small font size",
"font-size-extra-small": "extra small font size",
"font-weight-primary": "primary font weight",
"font-weight-secondary": "secondary font weight",
"font-line-height-primary": "primary font line height",
"font-line-height-secondary": "secondary font line height"
},
"display-name": {
"border-color": "border color",
"font-color": "font color",
"background-color": "background color",
"font-weight": "font weight",
"font-size": "font size",
"font-line-height": "font line height",
"border-radius": "border radius"
},
"action": {
"theme-editor": "Theme Editor",
"no-config": "Please stay tuned",
"load-local-theme-config": "Loading your last edit theme config",
"no-need-config": "No config in this page",
"reset-theme": "Reset",
"download-theme": "Download"
},
"category": {
"BrandColor": "Brand Color",
"SecondaryColor": "Secondary Color",
"FontColor": "Font Color",
"BorderColor": "Border Color",
"BackgroundColor": "Background Color",
"FontSize": "Font Size",
"FontWeight": "Font Weight",
"LineHeight": "Line Height"
}
},
{
"lang": "es",
"display-name": {
"border-color": "border color",
"font-color": "font color",
"background-color": "background color",
"font-weight": "font weight",
"font-size": "font size",
"font-line-height": "font line height",
"border-radius": "border radius"
},
"action": {
"theme-editor": "Theme Editor",
"no-config": "Please stay tuned",
"load-local-theme-config": "Loading your last edit theme config",
"no-need-config": "No config in this page",
"reset-theme": "Reset",
"download-theme": "Download"
},
"category": {
"BrandColor": "Brand Color",
"SecondaryColor": "Secondary Color",
"FontColor": "Font Color",
"BorderColor": "Border Color",
"BackgroundColor": "Background Color",
"FontSize": "Font Size",
"FontWeight": "Font Weight",
"LineHeight": "Line Height"
}
},
{
"lang": "fr-FR",
"display-name": {
"border-color": "border color",
"font-color": "font color",
"background-color": "background color",
"font-weight": "font weight",
"font-size": "font size",
"font-line-height": "font line height",
"border-radius": "border radius"
},
"action": {
"theme-editor": "Theme Editor",
"no-config": "Please stay tuned",
"load-local-theme-config": "Loading your last edit theme config",
"no-need-config": "No config in this page",
"reset-theme": "Reset",
"download-theme": "Download"
},
"category": {
"BrandColor": "Brand Color",
"SecondaryColor": "Secondary Color",
"FontColor": "Font Color",
"BorderColor": "Border Color",
"BackgroundColor": "Background Color",
"FontSize": "Font Size",
"FontWeight": "Font Weight",
"LineHeight": "Line Height"
}
}
]