Browse Source

samples, not sample count (#28486)

ycw 1 year ago
parent
commit
5f3d1764dd
2 changed files with 5 additions and 5 deletions
  1. 1 1
      editor/js/Sidebar.Project.Image.js
  2. 4 4
      editor/js/Strings.js

+ 1 - 1
editor/js/Sidebar.Project.Image.js

@@ -34,7 +34,7 @@ function SidebarProjectImage( editor ) {
 	const samplesNumber = new UIInteger( 16 ).setRange( pathTracerMinSamples, pathTracerMaxSamples );
 	const samplesNumber = new UIInteger( 16 ).setRange( pathTracerMinSamples, pathTracerMaxSamples );
 
 
 	const samplesRow = new UIRow();
 	const samplesRow = new UIRow();
-	samplesRow.add( new UIText( strings.getKey( 'sidebar/project/image/sampleCount' ) ).setClass( 'Label' ) );
+	samplesRow.add( new UIText( strings.getKey( 'sidebar/project/image/samples' ) ).setClass( 'Label' ) );
 	samplesRow.add( samplesNumber );
 	samplesRow.add( samplesNumber );
 
 
 	container.add( samplesRow );
 	container.add( samplesRow );

+ 4 - 4
editor/js/Strings.js

@@ -356,7 +356,7 @@ function Strings( config ) {
 			'sidebar/project/app/publish': 'Publish',
 			'sidebar/project/app/publish': 'Publish',
 
 
 			'sidebar/project/image': 'Image',
 			'sidebar/project/image': 'Image',
-			'sidebar/project/image/sampleCount': 'Sample Count',
+			'sidebar/project/image/samples': 'Samples',
 			'sidebar/project/video': 'Video',
 			'sidebar/project/video': 'Video',
 
 
 			'sidebar/project/shading': 'Shading',
 			'sidebar/project/shading': 'Shading',
@@ -754,7 +754,7 @@ function Strings( config ) {
 			'sidebar/project/app/publish': 'Publier',
 			'sidebar/project/app/publish': 'Publier',
 
 
 			'sidebar/project/image': 'Image',
 			'sidebar/project/image': 'Image',
-			'sidebar/project/image/sampleCount': 'Nombre d\'échantillons',
+			'sidebar/project/image/samples': 'd\'échantillons',
 			'sidebar/project/video': 'Video',
 			'sidebar/project/video': 'Video',
 
 
 			'sidebar/project/shading': 'Shading',
 			'sidebar/project/shading': 'Shading',
@@ -1152,7 +1152,7 @@ function Strings( config ) {
 			'sidebar/project/app/publish': '发布',
 			'sidebar/project/app/publish': '发布',
 
 
 			'sidebar/project/image': 'Image',
 			'sidebar/project/image': 'Image',
-			'sidebar/project/image/sampleCount': '样本计数',
+			'sidebar/project/image/samples': '样本',
 			'sidebar/project/video': '视频',
 			'sidebar/project/video': '视频',
 
 
 			'sidebar/project/shading': 'Shading',
 			'sidebar/project/shading': 'Shading',
@@ -1550,7 +1550,7 @@ function Strings( config ) {
 			'sidebar/project/app/publish': 'アプリファイルとして保存',
 			'sidebar/project/app/publish': 'アプリファイルとして保存',
 
 
 			'sidebar/project/image': '画像',
 			'sidebar/project/image': '画像',
-			'sidebar/project/image/sampleCount': 'サンプル数',
+			'sidebar/project/image/samples': 'サンプル',
 			'sidebar/project/video': '動画',
 			'sidebar/project/video': '動画',
 
 
 			'sidebar/project/shading': 'シェーディング',
 			'sidebar/project/shading': 'シェーディング',