*/}}

ourtranslations.c 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. "Release Notes","发行日志",
  24. "Spectral Brush","光谱笔刷",
  25. "Spectral","光谱",
  26. "Canvas Default Scale","画布默认比例",
  27. "Help","帮助",
  28. "Report a Bug","报告程序问题",
  29. "Bad Event Tolerance","容忍错误笔触事件",
  30. "Allow Non-pressure","允许非压感",
  31. "Undo:","撤销:",
  32. "Website","网站",
  33. "Save on exit:","退出时保存:",
  34. "Cover artist:","封面作者:",
  35. "Donate","打钱",
  36. "Donate (China)","打钱(支付宝)",
  37. "Development logs","开发日志",
  38. "Our Paint is a free application.","好得涂是自由程序。",
  39. "User Manual","用户手册",
  40. "Support the development:","支持开发:",
  41. "Select the exporting behavior:","选择导出行为:",
  42. "Image ICC","图像内置 ICC",
  43. "Output:","输出:",
  44. "16 Bits","16位",
  45. "Input image does not have a built-in color profile.","输入图像未包含内置色彩配置描述。",
  46. "16 bit images would be exported in the same linear color space as the canvas","16位深图像会按照和画布相同的线性色彩空间导出",
  47. "Input image is tagged as sRGB.","输入图像已标记为sRGB",
  48. "Force Linear sRGB","强制线性sRGB",
  49. "Force sRGB","强制sRGB",
  50. "Flat","平直",
  51. "Force Linear Clay","强制线性Clay",
  52. "Follow Canvas","跟随画布",
  53. "Canvas Current:","画布当前:",
  54. "Select the importing behavior:","选择导入行为:",
  55. "Input image is not tagged as sRGB.","输入图片并未被标记为sRGB",
  56. "Force Clay","强制Clay",
  57. "Canvas:","画布:",
  58. "Input:","输入:",
  59. "Input image has built-in color profile:","输入图像带有内置色彩配置描述:",
  60. "Brush Nodes","笔刷节点",
  61. "Our Paint","好得涂",
  62. "Brushes","笔刷",
  63. "Layers","图层",
  64. "Canvas","画布",
  65. "Unlocked","已解锁",
  66. "Position:","位置:",
  67. "Size:","尺寸:",
  68. "Brush tool not selected","未选择笔刷工具",
  69. "Lock","锁定",
  70. "Border Alpha","边框透明度",
  71. "No","无",
  72. "Our Paint is made by Wu Yiming.","好得涂 由吴奕茗制作。",
  73. "A simple yet flexible node-based GPU painting program.","一个简单灵活的节点控制GPU绘画程序。",
  74. "Our Paint blog","好得涂博客",
  75. "Dev log","开发日志",
  76. "Single canvas implementation.","单画布实现。",
  77. "8 Bits","8位",
  78. "Color Profile:","色彩配置:",
  79. "Import Layer","导入图层",
  80. "Merge","合并",
  81. "Cropping","裁剪",
  82. "Smoothness","平滑度",
  83. "Lock Radius","锁定半径",
  84. "Smudge","涂抹",
  85. "Clean","干净",
  86. "Layer","图层",
  87. "Image","图像",
  88. "Paint","涂画",
  89. "Multiply","相乘",
  90. "Visible","可见",
  91. "Linear sRGB","线性 sRGB",
  92. "Generic:","通用:",
  93. "Transparency","透明度",
  94. "New Brush","新笔刷",
  95. "Canvas Scale","画布缩放",
  96. "Others","其他",
  97. "Bit Depth:","位深度:",
  98. "Our Paint v0.1b","好得涂 v0.1b",
  99. "New Layer","新图层",
  100. "Color Space:","色彩空间:",
  101. "Our Paint","好得涂",
  102. "Dabs Per Size","每半径的笔触点数",
  103. "Paintable","可绘图",
  104. "Use Nodes","使用节点",
  105. "Paint Undo Limit","绘图撤销限制",
  106. "Show","显示",
  107. "Background:","背景:",
  108. "Angle","角度",
  109. "Brush Circle","笔刷圆圈",
  110. "Erasing","擦除",
  111. "R,G,B","红,绿,蓝",
  112. "Assign all \"Our Tools\" into:","将所有“工具”指定到: ",
  113. "Min,Max","最小,最大",
  114. "Developer:","开发者:",
  115. "Smudge Resample Length","涂抹重采样长度",
  116. "Mode:","模式:",
  117. "Display:","显示:",
  118. "Hardness","硬度",
  119. "Export Layer","导出图层",
  120. " Steps","步",
  121. "Modified","已更改",
  122. "Export Image","导出图像",
  123. "Slender","压扁",
  124. "Show debug tiles","显示调试图像块",
  125. "Exporting Defaults:","导出时的默认值:",
  126. "Default as eraser","默认为橡皮擦",
  127. "Name of the brush","笔刷名字",
  128. "Combine","合并",
  129. "Locked","已锁定",
  130. "Brush Device","笔刷设备",
  131. "Brush Outputs","笔刷输出",
  132. "About","关于",
  133. "Linear Clay","线性 Clay",
  134. "Brush Settings","笔刷设置",
  135. 0,0};
  136. void ourMakeTranslations(){
  137. transSetLanguage("zh-CN");
  138. for(int i=0;;i++){if(!entries[i*2])break;
  139. transNewEntry(entries[i*2],entries[i*2+1]);
  140. }
  141. }