*/}}

ourtranslations.c 6.0 KB

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