*/}}

la_translations.c 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. /*
  2. * LaGUI: A graphical application framework.
  3. * Copyright (C) 2022 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. "Color","颜色",
  21. "Route","路径",
  22. "Driver","驱动",
  23. "Auxiliary","辅助",
  24. "Fold","折叠",
  25. "Restore Layout","恢复布局",
  26. "Maximize","最大化",
  27. "Background color of the canvas","画布的背景颜色",
  28. "Create a new window","创建一个新窗口",
  29. "Cosine","余弦",
  30. "Log","对数",
  31. "Tangent","正切",
  32. "Subtract","相减",
  33. "Cycle All Layouts In Current Window","在当前窗口中循环所有布局",
  34. "The Title/Name Of A Panel","面板的标题/名字",
  35. "Themes Loaded In The Program","该程序已加载的主题",
  36. "Arcsin","反正弦",
  37. "Atan2","正切2",
  38. "Divide","箱除",
  39. "Arccosine","反余切",
  40. "Sine","正弦",
  41. "Arctangent","余弦",
  42. "Mod","取余",
  43. "Power","指数",
  44. "Framerate limiter for drawing the user interface","绘制整个用户界面的帧率限制",
  45. "Dock some panels here.","将面板停靠到这里。",
  46. "User Preferences","用户偏好设置",
  47. "Drivers","驱动",
  48. "Controllers","控制器",
  49. "Data Manager","数据管理",
  50. "System","系统",
  51. "Input Mapper","输入映射",
  52. "Terminal","终端",
  53. "Controlling","控制",
  54. "Tools","工具",
  55. "Texture Inspector","纹理检查工具",
  56. "Yiming's Blog","吴奕茗的博客",
  57. "Details","细节",
  58. "Add","相加",
  59. "Ignore The Statement","忽略该陈述",
  60. "Histories","历史",
  61. "Show Border","显示边框",
  62. "显示 User Preferences","显示 用户设置",
  63. "Range of the random values","随机值的范围",
  64. "RGB to OKHSL","RGB 到 OKHSL",
  65. "Show ","显示 ",
  66. "Discard And Quit","放弃并退出",
  67. "Make Transform","生成变换",
  68. "OKHSL to RGB","OKHSL 到 RGB",
  69. "Vector Math","矢量数学",
  70. "Show User Preferences","显示用户设置",
  71. "Refresh","刷新",
  72. "Random","随机",
  73. "Move","移动",
  74. "Split","拆分",
  75. "Visualizer","可视化",
  76. "Matrix","矩阵",
  77. "Configure","配置",
  78. "Small Math","小数学",
  79. "Save","保存",
  80. "Math","数学",
  81. "Comment","评论",
  82. "Values","数值",
  83. "Save All Modified","保存所有已修改",
  84. "Transform","变换",
  85. "Switch","切换",
  86. "Mapper","映射",
  87. "Binding","绑定",
  88. "You still have unsaved/unassigned datablocks:","您还有未保存/未指定文件的数据块:",
  89. "If you exit the program now, you will lose those changes.","如果现在退出,这些更改将丢失",
  90. "Input Mapping:","输入映射:",
  91. "Undo","撤销",
  92. "UDF Manager","UDF 管理",
  93. "Please select a controller.","请选择一个控制器",
  94. "Normal","普通",
  95. "px","px",
  96. "Information","信息",
  97. "Width,Height","宽度,高度",
  98. "Floating Panel:","浮动面板:",
  99. "Solid Shadow Length","阴影长度",
  100. "Wire Transparency","线条透明度",
  101. "Cursor Alpha","指针透明度",
  102. "Selected Face Transparency","已选择面的透明度",
  103. "Wire color slices","线条颜色数",
  104. "Scrolling Speed","滚动速度",
  105. "Redo","重做",
  106. "A graphical user interface application toolkit","一个图形界面应用程序框架",
  107. "Meshes:","网格:",
  108. "Add Resource Folder","添加资源文件夹",
  109. "User Interactions:","用户交互:",
  110. "Enable Translation:","使用翻译:",
  111. "Active","活动的",
  112. "Inactive Mix","不活动的",
  113. "Edit","编辑",
  114. "Delete Rack","删除挂架",
  115. "Panel Animation Speed","面板动画速度",
  116. "Active Theme","当前主题",
  117. "Panel doesn't have configurable property.","面板没有可调节属性。",
  118. "Font Size","字符尺寸",
  119. "Margin Size","留白尺寸",
  120. "Add Rack","添加挂架",
  121. "Left,Right,Top,Bottom","左,右,上,下",
  122. "Tooltip Close Distance","工具提示关闭距离",
  123. "UDF Manager Default View:","默认UDF管理视图:",
  124. "Alpha","透明度",
  125. "Other Entries","其他条目",
  126. "Interface:","界面:",
  127. "Settings","设置",
  128. "New Panel","新面板",
  129. "Font Size:","字符尺寸:",
  130. "Border","边框",
  131. "Accent Color:","亮点颜色:",
  132. "Wire Saturation","线条饱和度",
  133. "Text","文字",
  134. "LaGUI application framework is made by Wu Yiming.","LaGUI应用程序框架由吴奕茗制作。",
  135. "Refresh Controllers","刷新控制器",
  136. "Dock","停靠",
  137. "Panel Multisample:","面板多重采样",
  138. "Files","文件",
  139. "None","无",
  140. "Text Active","文字激活",
  141. "Shadow Alpha","阴影透明度",
  142. "Input device handling:","输入设备行为:",
  143. "Add Node","添加节点",
  144. "Hide","隐藏",
  145. "Viewing Texture:","查看贴图:",
  146. "Stylus Device","手写笔设备",
  147. "Base Color:","基础颜色:",
  148. "Margin Size:","留白尺寸:",
  149. "Eraser Device","橡皮擦设备",
  150. "Animation Speed","动画速度",
  151. "File Dialog","选择文件",
  152. "Row Height:","行高:",
  153. "Border:","边缘:",
  154. "Selected Vertex Transparency","已选择点的透明度",
  155. "Quit","退出",
  156. "Dump Untranslated Text","导出未翻译的词句",
  157. "History","历史",
  158. "Margins:","留白:",
  159. "Zoom Speed 2D","平面缩放速度",
  160. "Idle time","静止时间",
  161. "UDF Extensions:","UDF扩展:",
  162. "Options","选项",
  163. "Top Framerate","最高帧率",
  164. "Goto","前往",
  165. "Cursor:","光标:",
  166. "Yes Or No","是/否",
  167. "Selection Alpha","选择区域透明度",
  168. "Widgets:","挂件:",
  169. "Pads/Joysticks:","手柄/操纵杆:",
  170. "Edge Brightness","边缘亮度",
  171. "Valuator Threshold","数值挂件拖动阈值",
  172. "Save as","另存为",
  173. "Switch Layout","切换布局",
  174. "Adaptive","自适应",
  175. "Cancel","取消",
  176. "File","文件",
  177. "Show","显示 ",
  178. "Remove","删除",
  179. "Wire saggyness","连线松弛程度",
  180. "Inactive Saturation","未激活饱和度",
  181. "Get Folder Path","获得文件夹路径",
  182. "New Window","新窗口",
  183. "Resource Folders","资源文件夹",
  184. "Basics:","基础:",
  185. "Selected Edge Transparency","已选择边的透明度",
  186. "Read","读取",
  187. "Wire thickness","线条粗细",
  188. "Panel Activator","面板激活工具",
  189. "Data Blocks","数据块",
  190. "Transparency:","透明度:",
  191. "Language:","语言:",
  192. "Wacom Devices:","Wacom 设备:",
  193. "Move Rack","移动挂架",
  194. "Yes","是",
  195. "Interface Size","界面尺寸",
  196. "Nodes:","节点:",
  197. "Translation:","翻译:",
  198. "Delete","删除",
  199. "(C)Yiming Wu","(C) 吴奕茗",
  200. "Wire Brightness","连线亮度",
  201. "Rebuild Input Mapping","重生成输入映射",
  202. "Save Preferences","保存偏好设置",
  203. "Close","关闭",
  204. "Paddings:","外留白:",
  205. "Function Test","功能测试",
  206. "Edge Transparency","边透明度",
  207. "Insert Rack","插入挂架",
  208. "Line Width:","线宽度:",
  209. "Add Page","新建页",
  210. "Viewing","正查看",
  211. "Controller:","控制器:",
  212. "Size","尺寸",
  213. "File Size","文件尺寸",
  214. "Last Modified On","最后修改于",
  215. "Resource","资源",
  216. "New File","新文件",
  217. "… Bookmarks","… 书签",
  218. "Bytes","字节",
  219. "Logic Drives","逻辑驱动器",
  220. "Folder","文件夹",
  221. "Confirm","确认",
  222. "Display","显示",
  223. "Show","显示",
  224. "Theme","主题",
  225. "Input","输入",
  226. "File Name","文件名",
  227. "Up","上一级",
  228. "Device Graphics","设备图形信息",
  229. "Authors","作者",
  230. "LaGUI information","LaGUI 信息",
  231. "Show","显示",
  232. "Version","版本",
  233. 0,0};
  234. void la_MakeTranslations(){
  235. transSetLanguage("zh-CN");
  236. for(int i=0;;i++){if(!entries[i*2])break;
  237. transNewEntry(entries[i*2],entries[i*2+1]);
  238. }
  239. }