|
@@ -16,8 +16,8 @@ Sidebar.Settings = function ( editor ) {
|
|
// language
|
|
// language
|
|
|
|
|
|
var options = {
|
|
var options = {
|
|
- 'en': 'English',
|
|
|
|
- 'zh': '中文'
|
|
|
|
|
|
+ en: 'English',
|
|
|
|
+ zh: '中文'
|
|
};
|
|
};
|
|
|
|
|
|
var languageRow = new UI.Row();
|
|
var languageRow = new UI.Row();
|
|
@@ -72,7 +72,7 @@ Sidebar.Settings = function ( editor ) {
|
|
themeRow.add( new UI.Text( strings.getKey( 'sidebar/settings/theme' ) ).setWidth( '90px' ) );
|
|
themeRow.add( new UI.Text( strings.getKey( 'sidebar/settings/theme' ) ).setWidth( '90px' ) );
|
|
themeRow.add( theme );
|
|
themeRow.add( theme );
|
|
|
|
|
|
- container.add( themeRow );
|
|
|
|
|
|
+ container.add( themeRow );
|
|
|
|
|
|
container.add( new Sidebar.Settings.Shortcuts( editor ) );
|
|
container.add( new Sidebar.Settings.Shortcuts( editor ) );
|
|
container.add( new Sidebar.Settings.Viewport( editor ) );
|
|
container.add( new Sidebar.Settings.Viewport( editor ) );
|