1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Fix locale json format, add some translations

This commit is contained in:
Ryo Shibayama
2019-03-25 14:10:30 +09:00
committed by Junyoung Choi
parent 22d494d3f1
commit 1be208d96b
22 changed files with 267 additions and 227 deletions

View File

@@ -492,7 +492,7 @@ class UiTab extends React.Component {
ref='editorSnippetDefaultLanguage'
onChange={(e) => this.handleUIChange(e)}
>
<option key='Auto Detect' value='Auto Detect'>Auto Detect</option>
<option key='Auto Detect' value='Auto Detect'>{i18n.__('Auto Detect')}</option>
{
_.sortBy(CodeMirror.modeInfo.map(mode => mode.name)).map(name => (<option key={name} value={name}>{name}</option>))
}