*/}}

la_translations.c 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. /*
  2. * LaGUI: A graphical application framework.
  3. * Copyright (C) 2022-2023 Wu Yiming
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 3 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #include "la_5.h"
  19. static const char *entries[]={
  20. "Enable Log StdOut","调试信息至标准输出",
  21. "Logs:","信息:",
  22. "Merge","合并",
  23. "Separate","分离",
  24. "Subdiv","细分",
  25. "Extrude","挤出",
  26. "Knife","切割",
  27. "Recalculate Normals","重计算法线",
  28. "Loop Cut","环切",
  29. "Directly","直接",
  30. "Keep transform","保持变换",
  31. "Use Format","使用格式",
  32. "Scene Info","场景信息",
  33. "Mesh","网格",
  34. "<Not saved yet>","<尚未保存>",
  35. "Combine","合并",
  36. "Edges","边",
  37. "Verts","点",
  38. "Transformations","变换",
  39. "Grab","抓取",
  40. "Clear Transformations","清除变换",
  41. "Rotate","旋转",
  42. "Debug Sync","调试同步",
  43. "Delta","增量",
  44. "Select Through","穿透选择",
  45. "Unparent","去除父级",
  46. "Mesh Object","网格物体",
  47. "Duplicate","复制",
  48. "Make parent","绑定父级",
  49. "Untranslated strings exported to TranslationDump.txt","未翻译的词句已导出至 TranslationDump.txt",
  50. "Note","消息",
  51. "Low","低",
  52. "Okay","好的",
  53. "ALL","全部",
  54. "Medium","中",
  55. "High","高",
  56. "OK","好",
  57. "Enable OpenGL Debug","启用 OpenGL 调试",
  58. "Synthesizers","合成器",
  59. "Loc:","位置:",
  60. "Audio Device:","音频设备:",
  61. "OpenGL Debugging:","OpenGL 调试:",
  62. "Show Details","显示详细",
  63. "Scale","缩放",
  64. "Delta Rot","增量旋转",
  65. "Select or add a logic page.","选择或添加逻辑页。",
  66. "Delta Mode","增量模式",
  67. "Properties","属性 ",
  68. "DLoc:","增量位置:",
  69. "Object","对象",
  70. "Rot:","旋转:",
  71. "Scene","场景",
  72. "About","关于",
  73. "World","世界",
  74. "Action Channels","动作通道",
  75. "Save on exit:","退出时保存:",
  76. "OpenGL debugging is force enabled with `--gl-debug`","已通过 `--gl-debug` 强制开启 OpenGL 调试",
  77. "View Detached","显示为固定的",
  78. "Delta Loc","增量位置",
  79. "Axis:","轴:",
  80. "Rotation","旋转",
  81. "Delta Scale","增量缩放",
  82. "New Root","新的根物体",
  83. "DRot:","增量旋转:",
  84. "Refresh Audio Devices","刷新音频设备",
  85. "Audio","音频",
  86. "Floor:","地板:",
  87. "Please select an action.","请选择一个动作。",
  88. "No active object.","没有激活物体。",
  89. "Location","位置",
  90. "Root Objects","根物体",
  91. "Actions","动作",
  92. "Modified","已修改",
  93. "Name:","名字:",
  94. "Enable Color Management","启用色彩管理",
  95. "Remove Page","删除页",
  96. "Move Left","向左移动",
  97. "Move Right","向右移动",
  98. "Driver:","驱动程序:",
  99. "Not yet implemened on Windows.","尚未在Windows上实现。",
  100. "Set Min","调成最小",
  101. "Set Max","调成最大",
  102. "Restore Default","恢复默认值",
  103. "Paste","粘贴",
  104. "Copy","复制",
  105. "Copy Selection","复制选择内容",
  106. "Get File Path","获取文件路径",
  107. "Show Splash","显示闪屏",
  108. "🡻 Minimized","🡻 隐藏的面板",
  109. "Length","长度",
  110. "Fullscreen","全屏",
  111. "Multiply (component)","相乘(分量)",
  112. "Cross","叉乘",
  113. "Dot","点乘",
  114. "Append","追加",
  115. "Restore","恢复",
  116. "Combine 🡲","合并 🡲",
  117. "New Layout","新布局",
  118. "Divide (component)","相除(分量)",
  119. "Color Picker Gamma","拾色器伽玛",
  120. "Color:","颜色:",
  121. "Normalize","归一化",
  122. "General Type Of The File","文件的一般类型",
  123. "File exists","文件已存在",
  124. "Selected file already exists. Overwrite the file?","所选文件已存在。覆盖该文件?",
  125. "Color","颜色",
  126. "Route","路径",
  127. "Driver","驱动",
  128. "Auxiliary","辅助",
  129. "Fold","折叠",
  130. "Restore Layout","恢复布局",
  131. "Maximize","最大化",
  132. "Background color of the canvas","画布的背景颜色",
  133. "Create a new window","创建一个新窗口",
  134. "Cosine","余弦",
  135. "Log","对数",
  136. "Tangent","正切",
  137. "Subtract","相减",
  138. "Cycle All Layouts In Current SYSWINDOW","在当前窗口中循环所有布局",
  139. "The Title/Name Of A Panel","面板的标题/名字",
  140. "Themes Loaded In The Program","该程序已加载的主题",
  141. "Arcsin","反正弦",
  142. "Atan2","正切2",
  143. "Divide","相除",
  144. "Arccosine","反余切",
  145. "Sine","正弦",
  146. "Arctangent","余弦",
  147. "Mod","取余",
  148. "Power","指数",
  149. "Framerate limiter for drawing the user interface","绘制整个用户界面的帧率限制",
  150. "Dock some panels here.","将面板停靠到这里。",
  151. "User Preferences","用户偏好设置",
  152. "Drivers","驱动",
  153. "Controllers","控制器",
  154. "Data Manager","数据管理",
  155. "System","系统",
  156. "Input Mapper","输入映射",
  157. "Terminal","终端",
  158. "Controlling","控制",
  159. "Tools","工具",
  160. "Texture Inspector","纹理检查工具",
  161. "Yiming's Blog","吴奕茗的博客",
  162. "Details","细节",
  163. "Add","相加",
  164. "Ignore The Statement","忽略该陈述",
  165. "Histories","历史",
  166. "Show Border","显示边框",
  167. "显示 User Preferences","显示 用户设置",
  168. "Range of the random values","随机值的范围",
  169. "RGB to OKHSL","RGB 到 OKHSL",
  170. "Show ","显示 ",
  171. "Discard And Quit","放弃并退出",
  172. "Make Transform","生成变换",
  173. "OKHSL to RGB","OKHSL 到 RGB",
  174. "Vector Math","矢量数学",
  175. "Show User Preferences","显示用户设置",
  176. "Refresh","刷新",
  177. "Random","随机",
  178. "Move","移动",
  179. "Split","拆分",
  180. "Visualizer","可视化",
  181. "Matrix","矩阵",
  182. "Configure","配置",
  183. "Small Math","小数学",
  184. "Save","保存",
  185. "Math","数学",
  186. "Comment","评论",
  187. "Values","数值",
  188. "Save All Modified","保存所有已修改",
  189. "Transform","变换",
  190. "Switch","切换",
  191. "Mapper","映射",
  192. "Binding","绑定",
  193. "You still have unsaved/unassigned datablocks:","您还有未保存/未指定文件的数据块:",
  194. "If you exit the program now, you will lose those changes.","如果现在退出,这些更改将丢失",
  195. "Input Mapping:","输入映射:",
  196. "Undo","撤销",
  197. "UDF Manager","UDF 管理",
  198. "Please select a controller.","请选择一个控制器",
  199. "Normal","普通",
  200. "px","px",
  201. "Information","信息",
  202. "Width,Height","宽度,高度",
  203. "Floating Panel:","浮动面板:",
  204. "Solid Shadow Length","阴影长度",
  205. "Wire Transparency","线条透明度",
  206. "Cursor Alpha","指针透明度",
  207. "Selected Face Transparency","已选择面的透明度",
  208. "Wire color slices","线条颜色数",
  209. "Scrolling Speed","滚动速度",
  210. "Redo","重做",
  211. "A graphical user interface application toolkit","一个图形界面应用程序框架",
  212. "Meshes:","网格:",
  213. "Add Resource Folder","添加资源文件夹",
  214. "User Interactions:","用户交互:",
  215. "Enable Translation:","使用翻译:",
  216. "Active","活动的",
  217. "Inactive Mix","不活动的",
  218. "Edit","编辑",
  219. "Delete Rack","删除挂架",
  220. "Panel Animation Speed","面板动画速度",
  221. "Active Theme","当前主题",
  222. "Panel doesn't have configurable property.","面板没有可调节属性。",
  223. "Font Size","字符尺寸",
  224. "Margin Size","留白尺寸",
  225. "Add Rack","添加挂架",
  226. "Left,Right,Top,Bottom","左,右,上,下",
  227. "Tooltip Close Distance","工具提示关闭距离",
  228. "UDF Manager Default View:","默认UDF管理视图:",
  229. "Alpha","透明度",
  230. "Other Entries","其他条目",
  231. "Interface:","界面:",
  232. "Settings","设置",
  233. "New Panel","新面板",
  234. "Font Size:","字符尺寸:",
  235. "Border","边框",
  236. "Accent Color:","亮点颜色:",
  237. "Wire Saturation","线条饱和度",
  238. "Text","文字",
  239. "LaGUI application framework is made by Wu Yiming.","LaGUI应用程序框架由吴奕茗制作。",
  240. "Refresh Controllers","刷新控制器",
  241. "Dock","停靠",
  242. "Panel Multisample:","面板多重采样",
  243. "Files","文件",
  244. "None","无",
  245. "Text Active","文字激活",
  246. "Shadow Alpha","阴影透明度",
  247. "Input device handling:","输入设备行为:",
  248. "Add Node","添加节点",
  249. "Hide","隐藏",
  250. "Viewing Texture:","查看贴图:",
  251. "Stylus Device","手写笔设备",
  252. "Base Color:","基础颜色:",
  253. "Margin Size:","留白尺寸:",
  254. "Eraser Device","橡皮擦设备",
  255. "Animation Speed","动画速度",
  256. "File Dialog","选择文件",
  257. "Row Height:","行高:",
  258. "Border:","边缘:",
  259. "Selected Vertex Transparency","已选择点的透明度",
  260. "Quit","退出",
  261. "Dump Untranslated Text","导出未翻译的词句",
  262. "History","历史",
  263. "Margins:","留白:",
  264. "Zoom Speed 2D","平面缩放速度",
  265. "Idle time","静止时间",
  266. "UDF Extensions:","UDF扩展:",
  267. "Options","选项",
  268. "Top Framerate:","最高帧率:",
  269. "Top Framerate","最高帧率",
  270. "Goto","前往",
  271. "Cursor:","光标:",
  272. "Yes Or No","是/否",
  273. "Selection Alpha","选择区域透明度",
  274. "Widgets:","挂件:",
  275. "Pads/Joysticks:","手柄/操纵杆:",
  276. "Edge Brightness","边缘亮度",
  277. "Valuator Threshold","数值挂件拖动阈值",
  278. "Save as","另存为",
  279. "Switch Layout","切换布局",
  280. "Adaptive","自适应",
  281. "Cancel","取消",
  282. "File","文件",
  283. "Show","显示 ",
  284. "Remove","删除",
  285. "Wire saggyness","连线松弛程度",
  286. "Inactive Saturation","未激活饱和度",
  287. "Get Folder Path","获得文件夹路径",
  288. "New SYSWINDOW","新窗口",
  289. "Resource Folders","资源文件夹",
  290. "Basics:","基础:",
  291. "Selected Edge Transparency","已选择边的透明度",
  292. "Read","读取",
  293. "Wire thickness","线条粗细",
  294. "Panel Activator","面板激活工具",
  295. "Data Blocks","数据块",
  296. "Transparency:","透明度:",
  297. "Language:","语言:",
  298. "Wacom Devices:","Wacom 设备:",
  299. "Move Rack","移动挂架",
  300. "Yes","是",
  301. "Interface Size","界面尺寸",
  302. "Nodes:","节点:",
  303. "Translation:","翻译:",
  304. "Delete","删除",
  305. "(C)Yiming Wu","(C) 吴奕茗",
  306. "Wire Brightness","连线亮度",
  307. "Rebuild Input Mapping","重生成输入映射",
  308. "Save Preferences","保存偏好设置",
  309. "Close","关闭",
  310. "Paddings:","外留白:",
  311. "Function Test","功能测试",
  312. "Edge Transparency","边透明度",
  313. "Insert Rack","插入挂架",
  314. "Line Width:","线宽度:",
  315. "Add Page","新建页",
  316. "Viewing","正查看",
  317. "Controller:","控制器:",
  318. "Size","尺寸",
  319. "File Size","文件尺寸",
  320. "Last Modified On","最后修改于",
  321. "Resource","资源",
  322. "New File","新文件",
  323. "… Bookmarks","… 书签",
  324. "Bytes","字节",
  325. "Logic Drives","逻辑驱动器",
  326. "Folder","文件夹",
  327. "Confirm","确认",
  328. "Display","显示",
  329. "Show","显示",
  330. "Theme","主题",
  331. "Input","输入",
  332. "File Name","文件名",
  333. "Up","上一级",
  334. "Device Graphics","设备图形信息",
  335. "Authors","作者",
  336. "LaGUI information","LaGUI 信息",
  337. "Show","显示",
  338. "Version","版本",
  339. 0,0};
  340. void la_MakeTranslations(){
  341. transSetLanguage("zh-CN");
  342. for(int i=0;;i++){if(!entries[i*2])break;
  343. transNewEntry(entries[i*2],entries[i*2+1]);
  344. }
  345. }