*/}}

la_translations.c 8.3 KB

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