Skip to content

Commit

Permalink
add mesh component i18n support (cocos#3445)
Browse files Browse the repository at this point in the history
  • Loading branch information
PPpro authored and jareguo committed Oct 30, 2018
1 parent 3d7eda8 commit 2a3e478
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cocos2d/core/3d/CCSkinnedMeshRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ let SkinnedMeshRenderer = cc.Class({
extends: MeshRenderer,

editor: CC_EDITOR && {
menu: 'Mesh/Skinned Mesh Renderer',
menu: 'i18n:MAIN_MENU.component.mesh/Skinned Mesh Renderer',
},

ctor () {
Expand Down
2 changes: 1 addition & 1 deletion cocos2d/core/mesh/CCMeshRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let MeshRenderer = cc.Class({
extends: RenderComponent,

editor: CC_EDITOR && {
menu: 'Mesh/MeshRenderer',
menu: 'i18n:MAIN_MENU.component.mesh/MeshRenderer',
},

properties: {
Expand Down

0 comments on commit 2a3e478

Please sign in to comment.