*/}}
1
0

la_translations.c 8.4 KB

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