Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor: Strings for sidebar. #19122

Merged
merged 1 commit into from
Apr 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion editor/js/Sidebar.Geometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ var SidebarGeometry = function ( editor ) {
var helpersRow = new UIRow().setMarginTop( '16px' ).setPaddingLeft( '90px' );
container.add( helpersRow );

var vertexNormalsButton = new UIButton( 'Show Vertex Normals' );
var vertexNormalsButton = new UIButton( strings.getKey( 'sidebar/geometry/show_vertex_normals' ) );
vertexNormalsButton.onClick( function () {

var object = editor.selected;
Expand Down
5 changes: 4 additions & 1 deletion editor/js/Strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ var Strings = function ( config ) {
'sidebar/geometry/uuid': 'UUID',
'sidebar/geometry/name': 'Name',
'sidebar/geometry/bounds': 'Bounds',
'sidebar/geometry/show_vertex_normals': 'Show Vertex Normals',

'sidebar/geometry/box_geometry/width': 'Width',
'sidebar/geometry/box_geometry/height': 'Height',
Expand Down Expand Up @@ -432,6 +433,7 @@ var Strings = function ( config ) {
'sidebar/geometry/uuid': 'UUID',
'sidebar/geometry/name': 'Nom',
'sidebar/geometry/bounds': 'Limites',
'sidebar/geometry/show_vertex_normals': 'Show Vertex Normals',

'sidebar/geometry/box_geometry/width': 'Largeur',
'sidebar/geometry/box_geometry/height': 'Hauteur',
Expand Down Expand Up @@ -743,6 +745,7 @@ var Strings = function ( config ) {
'sidebar/geometry/uuid': '识别码',
'sidebar/geometry/name': '名称',
'sidebar/geometry/bounds': '界限',
'sidebar/geometry/show_vertex_normals': '显示顶点法线',

'sidebar/geometry/box_geometry/width': '宽度',
'sidebar/geometry/box_geometry/height': '高度',
Expand Down Expand Up @@ -838,7 +841,7 @@ var Strings = function ( config ) {
'sidebar/material/clearcoat': '透明图层',
'sidebar/material/clearcoatroughness': '透明图层粗糙度',
'sidebar/material/vertexcolors': '顶点颜色',
'sidebar/material/vertextangents': 'Vertex Tangents',
'sidebar/material/vertextangents': '顶点切线',
'sidebar/material/skinning': '皮肤',
'sidebar/material/map': '贴图',
'sidebar/material/alphamap': '透明贴图',
Expand Down