Skip to content

Commit

Permalink
move new asset i18n to engine (#16280)
Browse files Browse the repository at this point in the history
* move new asset i18n to engine

* update
  • Loading branch information
yanOO1497 authored Sep 19, 2023
1 parent f9a71ac commit 3511d6b
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
27 changes: 27 additions & 0 deletions editor/i18n/en/assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,33 @@ module.exports = {
reset: 'Reset',
save: 'Save',
locate_asset: 'Locate in Assets Panel',
newFolder: 'Folder',
newJavaScript: 'JavaScript',
newTypeScript: 'TypeScript',
newCubeMap: 'CubeMap',
newRenderTexture: 'Render Texture',
newScene: 'Scene',
newPrefab: 'Node Prefab',
newMaterial: 'Material',
newPhysicsMaterial: 'Physics Material',
newEffect: 'Legacy Unlit Shader (Effect)',
newSurfaceEffect: 'Surface Shader (Effect)',
newChunk: 'Shader Header (Chunk)',
newAnimation: 'Animation Clip',
newAnimationGraph: 'Animation Graph',
newAnimationGraphVariant: 'Animation Graph Variant',
newAnimationMask: 'Animation Mask',
newAnimationGraphTS: 'Animation Graph Script',
renderPipeline: 'Render Pipeline',
renderPipelineAsset: 'Render Pipeline Asset',
forwardPipelineAsset: 'Forward Pipeline Asset',
renderPipelineTS: 'Render Pipeline Script',
RenderFlowTS: 'Render Flow Script',
RenderStageTS: 'Render Stage Script',
newPac: 'Auto Atlas',
newLabelAtlas: 'Label Atlas',
newTerrain: 'Terrain',
autoGenerateMaterial: '自动生成材质',
'label-atlas': {
SpriteFrameTip: 'Sprite Frame',
ItemWidthTip: 'Item Width',
Expand Down
27 changes: 27 additions & 0 deletions editor/i18n/zh/assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,33 @@ module.exports = {
reset: '重置',
save: '保存',
locate_asset: '资源面板上定位该资源',
newFolder: '文件夹',
newJavaScript: '脚本 (JavaScript)',
newTypeScript: '脚本 (TypeScript)',
newCubeMap: '立方体贴图',
newScene: '场景',
newPrefab: '预制 (Prefab)',
newRenderTexture: '渲染纹理 (Render Texture)',
newMaterial: '材质',
newPhysicsMaterial: '物理材质',
newEffect: '传统无光照着色器 (Effect)',
newSurfaceEffect: '表面着色器 (Effect)',
newChunk: '着色器片段 (Chunk)',
newAnimation: '动画剪辑 (Animation Clip)',
newAnimationGraph: '动画图 (Animation Graph)',
newAnimationGraphVariant: '动画图变体 (Animation Graph Variant)',
newAnimationMask: '动画遮罩 (Animation Mask)',
newAnimationGraphTS: '动画状态组件 (Animation Graph Script)',
renderPipeline: '渲染管线',
renderPipelineAsset: '渲染管线资源',
forwardPipelineAsset: '前向渲染管线',
renderPipelineTS: 'Render Pipeline Script',
RenderFlowTS: 'Render Flow Script',
RenderStageTS: 'Render Stage Script',
newPac: '自动图集配置',
newLabelAtlas: '艺术字配置',
newTerrain: '地形',
autoGenerateMaterial: '自动生成材质',
'label-atlas': {
SpriteFrameTip: 'Sprite Frame',
ItemWidthTip: 'Item Width',
Expand Down

0 comments on commit 3511d6b

Please sign in to comment.