Skip to content

Commit df27542

Browse files
oodavy41greggman
authored andcommitted
translation zh-cn:
update langinfo add webgl-drawing-without-data add webgl-picking
1 parent e6d7551 commit df27542

File tree

3 files changed

+1206
-2
lines changed

3 files changed

+1206
-2
lines changed

webgl/lessons/zh_cn/langinfo.hanson

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,19 @@
55
title: 'WebGL 理论基础',
66
description: '从理论基础开始学习WebGL, 并不复杂哦~',
77
link: 'https://webglfundamentals.org/webgl/lessons/zh_cn',
8-
commentSectionHeader: '<div>有意见或建议? <a href="https://github.com/vinci-mz/webgl-fundamentals/issues">在GitHub上提issue</a>。</div>',
9-
missing: "还没有简体中文版翻译哦 (~ ̄△ ̄)~\n\n[英文原版地址]({{{origLink}}})",
8+
commentSectionHeader: `
9+
<div>有疑问? <a href="https://stackoverflow.com/questions/tagged/webgl">在stackoverflow上提问</a>.</div>
10+
<div>Issue/Bug? <a href="https://github.com/gfxfundamentals/webgl-fundamentals/issues">在GitHub上提issue</a>.</div>
11+
<div class="lesson-comment-notes">
12+
使用 <b>&lt;pre&gt;&lt;code&gt;</b> 代码 <b>&lt;/code&gt;&lt;/pre&gt;</b> 的格式编写代码块
13+
</div>
14+
`,
15+
missing: `
16+
本课程还没有简体中文版翻译哦 (~ ̄△ ̄)~\n\n
17+
[欢迎参加翻译](https://github.com/gfxfundamentals/webgl-fundamentals)! 😄
18+
[英文原版地址]({{{origLink}}})
19+
`,
20+
contribTemplate: '感谢 <a href="${html_url}"><img src="${avatar_url}"> ${login}</a><br>的 <a href="https://github.com/${owner}/${repo}/commits?author=${login}">${contributions} 次贡献</a>',
1021
toc: '目录',
1122
categoryMapping: {
1223
'fundamentals': "基础概念",
@@ -17,10 +28,15 @@
1728
'organization': "组织和重构",
1829
'geometry': "几何",
1930
'textures': "纹理",
31+
'shadows': "阴影",
2032
'rendertargets': "渲染到纹理",
2133
'techniques': "技术",
2234
'2d': "二维",
2335
'text': "文字",
36+
'tips': "建议",
2437
'misc': "杂项",
38+
'gpgpu': "GPGPU",
39+
'reference': "参考",
40+
'optimization': "优化",
2541
},
2642
}

0 commit comments

Comments
 (0)