*/}}

ourtranslations.c 4.6 KB

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