From 57ef308d3c4446caa71722453888b97803e280ef Mon Sep 17 00:00:00 2001 From: yanOO1497 Date: Tue, 19 Sep 2023 10:42:36 +0800 Subject: [PATCH 1/2] move new asset i18n to engine --- editor/i18n/en/assets.js | 26 ++++++++++++++++++++++++++ editor/i18n/zh/assets.js | 26 ++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/editor/i18n/en/assets.js b/editor/i18n/en/assets.js index d2393bfd1bc..c2bf4785865 100644 --- a/editor/i18n/en/assets.js +++ b/editor/i18n/en/assets.js @@ -14,6 +14,32 @@ 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', 'label-atlas': { SpriteFrameTip: 'Sprite Frame', ItemWidthTip: 'Item Width', diff --git a/editor/i18n/zh/assets.js b/editor/i18n/zh/assets.js index edf9f8acf94..6cbbfb6d17f 100644 --- a/editor/i18n/zh/assets.js +++ b/editor/i18n/zh/assets.js @@ -14,6 +14,32 @@ 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: '地形', 'label-atlas': { SpriteFrameTip: 'Sprite Frame', ItemWidthTip: 'Item Width', From 67f76e5bfb28915a825d4b85a36a667e13a43f0f Mon Sep 17 00:00:00 2001 From: yanOO1497 Date: Tue, 19 Sep 2023 16:59:18 +0800 Subject: [PATCH 2/2] update --- editor/i18n/en/assets.js | 1 + editor/i18n/zh/assets.js | 1 + 2 files changed, 2 insertions(+) diff --git a/editor/i18n/en/assets.js b/editor/i18n/en/assets.js index c2bf4785865..3b6570f346e 100644 --- a/editor/i18n/en/assets.js +++ b/editor/i18n/en/assets.js @@ -40,6 +40,7 @@ module.exports = { newPac: 'Auto Atlas', newLabelAtlas: 'Label Atlas', newTerrain: 'Terrain', + autoGenerateMaterial: '自动生成材质', 'label-atlas': { SpriteFrameTip: 'Sprite Frame', ItemWidthTip: 'Item Width', diff --git a/editor/i18n/zh/assets.js b/editor/i18n/zh/assets.js index 6cbbfb6d17f..2acce7137f8 100644 --- a/editor/i18n/zh/assets.js +++ b/editor/i18n/zh/assets.js @@ -40,6 +40,7 @@ module.exports = { newPac: '自动图集配置', newLabelAtlas: '艺术字配置', newTerrain: '地形', + autoGenerateMaterial: '自动生成材质', 'label-atlas': { SpriteFrameTip: 'Sprite Frame', ItemWidthTip: 'Item Width',