*/}}

ourtranslations.c 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. /*
  2. * Our Paint: A light weight GPU powered painting program.
  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 "ourpaint.h"
  19. extern LA MAIN;
  20. extern tnsMain* T;
  21. extern OurPaint *Our;
  22. static const char *entries[]={
  23. "Not registered","未注册",
  24. "Registered","已注册",
  25. "Register File Associations","注册文件关联",
  26. "System:","系统:",
  27. "Multi-thread Write","多线程写入",
  28. "Brush Size","笔刷尺寸",
  29. "Brush Base Size","笔刷基础尺寸",
  30. "Size Offset","尺寸偏移",
  31. "Brush Numbers On Header","在菜单显示笔刷编号",
  32. "Nodes Help","节点帮助",
  33. "Full","全",
  34. "Ref Grids","参考网格",
  35. "Accumulate","累积",
  36. "Tint","染色",
  37. "Left","左",
  38. "Right","右",
  39. "Brush Settings:","笔刷设置:",
  40. "Boost","增强",
  41. "Transparent","透明",
  42. "Opaque","实色",
  43. "Clear Empty Tiles","清理空白图块",
  44. "Main canvas","主画布",
  45. "Inner","内边框",
  46. "Outer","外边框",
  47. "Cycle Sketches","切换草稿",
  48. "Remove Pallette", "删除调色板",
  49. "New Color", "新颜色",
  50. "Can't allocate memory for size", "无法为该尺寸分配内存",
  51. "Export Error","导出错误",
  52. "Try erasing some contents to make the canvas smaller.\n","请尝试擦除一些内容以缩小画布尺寸。\n",
  53. "Moving","移动",
  54. "Offset","偏移",
  55. "Visual Offset:","视觉偏移:",
  56. "Notes","笔记本",
  57. "Pallettes","调色板",
  58. "Thumbnail","缩略图",
  59. "Factor","程度",
  60. "Paper","纸张",
  61. "Pattern:","图案:",
  62. "Force","力度",
  63. "Gunkyness","粘度",
  64. "Crop To Ref","按参考线裁剪",
  65. "Middle Margin","中间留白",
  66. "Vertical","竖置",
  67. "Horizontal","横置",
  68. "Ref Alpha","参考线可见度",
  69. "Spread","对开",
  70. "Reference:","参考:",
  71. "Credits to Sponsors","感谢赞助者",
  72. "Ref Stripes","参考亮度带",
  73. "Release Notes","发行日志",
  74. "Spectral Brush","光谱笔刷",
  75. "Spectral","光谱",
  76. "Canvas Default Scale","画布默认比例",
  77. "Help","帮助",
  78. "Report a Bug","报告程序问题",
  79. "Bad Event Tolerance","容忍错误笔触事件",
  80. "Allow Non-pressure","允许非压感",
  81. "Undo:","撤销:",
  82. "Website","网站",
  83. "Save on exit:","退出时保存:",
  84. "Cover artist:","封面作者:",
  85. "Donate","打钱",
  86. "Donate (China)","打钱(支付宝)",
  87. "Development logs","开发日志",
  88. "Our Paint is a free application.","好得涂是自由程序。",
  89. "User Manual","用户手册",
  90. "Support the development:","支持开发:",
  91. "Select the exporting behavior:","选择导出行为:",
  92. "Image ICC","图像内置 ICC",
  93. "Output:","输出:",
  94. "16 Bits","16位",
  95. "Input image does not have a built-in color profile.","输入图像未包含内置色彩配置描述。",
  96. "16 bit images would be exported in the same linear color space as the canvas","16位深图像会按照和画布相同的线性色彩空间导出",
  97. "Input image is tagged as sRGB.","输入图像已标记为sRGB",
  98. "Force Linear sRGB","强制线性sRGB",
  99. "Force sRGB","强制sRGB",
  100. "Flat","平直",
  101. "Force Linear Clay","强制线性Clay",
  102. "Follow Canvas","跟随画布",
  103. "Canvas Current:","画布当前:",
  104. "Select the importing behavior:","选择导入行为:",
  105. "Input image is not tagged as sRGB.","输入图片并未被标记为sRGB",
  106. "Force Clay","强制Clay",
  107. "Canvas:","画布:",
  108. "Input:","输入:",
  109. "Input image has built-in color profile:","输入图像带有内置色彩配置描述:",
  110. "Brush Nodes","笔刷节点",
  111. "Our Paint","好得涂",
  112. "Brushes","笔刷",
  113. "Layers","图层",
  114. "Canvas","画布",
  115. "Unlocked","已解锁",
  116. "Position:","位置:",
  117. "Size:","尺寸:",
  118. "Brush tool not selected","未选择笔刷工具",
  119. "Border Alpha","边框透明度",
  120. "No","无",
  121. "Our Paint is made by Wu Yiming.","好得涂 由吴奕茗制作。",
  122. "A simple yet flexible node-based GPU painting program.","一个简单灵活的节点控制GPU绘画程序。",
  123. "Our Paint blog","好得涂博客",
  124. "Dev log","开发日志",
  125. "Single canvas implementation.","单画布实现。",
  126. "8 Bits","8位",
  127. "Color Profile:","色彩配置:",
  128. "Import Layer","导入图层",
  129. "Merge","合并",
  130. "Cropping","裁剪",
  131. "Smoothness","平滑度",
  132. "Lock Radius","锁定半径",
  133. "Smudge","涂抹",
  134. "Clean","干净",
  135. "Layer","图层",
  136. "Image","图像",
  137. "Paint","涂画",
  138. "Multiply","相乘",
  139. "Visible","可见",
  140. "Linear sRGB","线性 sRGB",
  141. "Generic:","通用:",
  142. "Transparency","透明度",
  143. "New Brush","新笔刷",
  144. "Canvas Scale","画布缩放",
  145. "Others","其他",
  146. "Bit Depth:","位深度:",
  147. "Our Paint v0.1c","好得涂 v0.1c",
  148. "New Layer","新图层",
  149. "Color Space:","色彩空间:",
  150. "Our Paint","好得涂",
  151. "Dabs Per Size","每半径的笔触点数",
  152. "Paintable","可绘图",
  153. "Use Nodes","使用节点",
  154. "Paint Undo Limit","绘图撤销限制",
  155. "Show","显示",
  156. "Background:","背景:",
  157. "Angle","角度",
  158. "Brush Circle","笔刷圆圈",
  159. "Erasing","擦除",
  160. "R,G,B","红,绿,蓝",
  161. "Assign all \"Our Tools\" into:","将所有“工具”指定到: ",
  162. "Min,Max","最小,最大",
  163. "Developer:","开发者:",
  164. "Smudge Resample Length","涂抹重采样长度",
  165. "Mode:","模式:",
  166. "Display:","显示:",
  167. "Hardness","硬度",
  168. "Export Layer","导出图层",
  169. " Steps","步",
  170. "Modified","已更改",
  171. "Export Image","导出图像",
  172. "Slender","压扁",
  173. "Show debug tiles","显示调试图像块",
  174. "Exporting Defaults:","导出时的默认值:",
  175. "Default as eraser","默认为橡皮擦",
  176. "Name of the brush","笔刷名字",
  177. "Combine","合并",
  178. "Locked","已锁定",
  179. "Brush Device","笔刷设备",
  180. "Brush Outputs","笔刷输出",
  181. "About","关于",
  182. "Linear Clay","线性 Clay",
  183. "Brush Settings","笔刷设置",
  184. 0,0};
  185. void ourMakeTranslations(){
  186. transSetLanguage("zh-CN");
  187. for(int i=0;;i++){if(!entries[i*2])break;
  188. transNewEntry(entries[i*2],entries[i*2+1]);
  189. }
  190. }