Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
pt-BR language docs
  • Loading branch information
Giuseppe committed Apr 17, 2018
commit aef7ebfc2f1aa80835c8de593c3e011aa5a8258f
2 changes: 1 addition & 1 deletion README-EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ exports default {
| name | type | default value | describe |
| -------- | :---------: | :------------: | ------- |
| value | String | | Initial value |
| language | String | zh-CN | Language switch, zh-CN: Simplified Chinese , en: English , fr: French |
| language | String | zh-CN | Language switch, zh-CN: Simplified Chinese , en: English , fr: French, pt-BR: Brazilian Portuguese |
| fontSize | String | 15px | font-size of edit area |
| scrollStyle| Boolean | true | Open the scroll bar style(Temp only support chrome) |
| subfield | Boolean | true | true: Double columns - Edit preview same screen , Single Columns - otherwise not |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ exports default {
| name 名称 | type 类型 | default 默认值 | describe 描述 |
| ------------ | :-----: | :---------: | ---------------------------------------- |
| value | String | | 初始值 |
| language | String | zh-CN | 语言选择,暂支持 zh-CN: 中文简体 , en: 英文 , fr: 法语 |
| language | String | zh-CN | 语言选择,暂支持 zh-CN: 中文简体 , en: 英文 , fr: 法语, pt-BR: TODO |
| fontSize | String | 15px | 编辑区域文字大小 |
| scrollStyle | Boolean | true | 开启滚动条样式(暂时仅支持chrome) |
| subfield | Boolean | true | true: 双栏(编辑预览同屏), false: 单栏(编辑预览分屏) |
Expand Down
1 change: 1 addition & 0 deletions src/dev/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<option value="cn">中文</option>
<option value="en">English</option>
<option value="fr">Français</option>
<option value="pt-BR">Português</option>
</select>
<section class="page-header">
<h1 class="project-name">mavonEditor</h1>
Expand Down
12 changes: 8 additions & 4 deletions src/dev/assets/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@
import help_zh_CN from './lang/zh-CN/help_zh-CN.md'
import help_en from './lang/en/help_en.md'
import help_fr from './lang/fr/help_fr.md'
import help_pt_BR from './lang/fr/help_pt-BR.md'
import words_zh_CN from './lang/zh-CN/words_zh-CN.json'
import words_en from './lang/en/words_en.json'
import words_fr from './lang/fr/words_fr.json'
import words_pt_BR from './lang/fr/words_pt-BR.json'
export const CONFIG = {
'help_cn': help_zh_CN,
'help_zh-CN': help_zh_CN,
'help_pt-BR': help_pt_BR,
'help_en': help_en,
'help_fr': help_fr,
'words_cn': words_zh_CN,
'words_zh-CN': words_zh_CN,
'words_pt-BR': words_pt_BR,
'words_en': words_en,
'words_fr': words_fr
}
'words_fr': words_fr,
}