浏览代码

Editor: Clean up

Mr.doob 4 年之前
父节点
当前提交
c45fd2036c
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. 2 2
      editor/js/Sidebar.Project.Video.js
  2. 4 4
      editor/js/Strings.js

+ 2 - 2
editor/js/Sidebar.Project.Video.js

@@ -11,7 +11,7 @@ function SidebarProjectVideo( editor ) {
 
 
 	// Video
 	// Video
 
 
-	container.add( new UIText( strings.getKey( 'sidebar/project/video' ) ) );
+	container.add( new UIText( strings.getKey( 'sidebar/project/video' ) ).setTextTransform( 'uppercase' ) );
 	container.add( new UIBreak(), new UIBreak() );
 	container.add( new UIBreak(), new UIBreak() );
 
 
 	// Resolution
 	// Resolution
@@ -53,7 +53,7 @@ function SidebarProjectVideo( editor ) {
 	progress.setWidth( '170px' );
 	progress.setWidth( '170px' );
 	container.add( progress );
 	container.add( progress );
 
 
-	const renderButton = new UIButton( strings.getKey( 'sidebar/project/render' ) );
+	const renderButton = new UIButton( strings.getKey( 'sidebar/project/render' ) ).setTextTransform( 'uppercase' );
 	renderButton.setWidth( '170px' );
 	renderButton.setWidth( '170px' );
 	renderButton.onClick( async () => {
 	renderButton.onClick( async () => {
 
 

+ 4 - 4
editor/js/Strings.js

@@ -304,10 +304,10 @@ function Strings( config ) {
 			'sidebar/project/materials': 'Materials',
 			'sidebar/project/materials': 'Materials',
 			'sidebar/project/Assign': 'Assign',
 			'sidebar/project/Assign': 'Assign',
 
 
-			'sidebar/project/video': 'VIDEO',
+			'sidebar/project/video': 'Video',
 			'sidebar/project/resolution': 'Resolution',
 			'sidebar/project/resolution': 'Resolution',
 			'sidebar/project/duration': 'Duration',
 			'sidebar/project/duration': 'Duration',
-			'sidebar/project/render': 'RENDER',
+			'sidebar/project/render': 'Render',
 
 
 			'sidebar/settings': 'Settings',
 			'sidebar/settings': 'Settings',
 			'sidebar/settings/language': 'Language',
 			'sidebar/settings/language': 'Language',
@@ -639,10 +639,10 @@ function Strings( config ) {
 			'sidebar/project/materials': 'Matériaux',
 			'sidebar/project/materials': 'Matériaux',
 			'sidebar/project/Assign': 'Attribuer',
 			'sidebar/project/Assign': 'Attribuer',
 
 
-			'sidebar/project/video': 'VIDEO',
+			'sidebar/project/video': 'Video',
 			'sidebar/project/resolution': 'Resolution',
 			'sidebar/project/resolution': 'Resolution',
 			'sidebar/project/duration': 'Duration',
 			'sidebar/project/duration': 'Duration',
-			'sidebar/project/render': 'RENDER',
+			'sidebar/project/render': 'Render',
 
 
 			'sidebar/settings': 'Paramètres',
 			'sidebar/settings': 'Paramètres',
 			'sidebar/settings/language': 'Langue',
 			'sidebar/settings/language': 'Langue',