*/}}

ourtranslations.c 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. /*
  2. * Our Paint: A light weight GPU powered painting program.
  3. * Copyright (C) 2022 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. "OurPaint 0.1","好得涂 0.1",
  24. "Brush Nodes","笔刷节点",
  25. "Our Paint","好得涂",
  26. "Brushes","笔刷",
  27. "Layers","图层",
  28. "Canvas","画布",
  29. "Unlocked","已解锁",
  30. "Position:","位置:",
  31. "Size:","尺寸:",
  32. "Brush tool not selected","未选择笔刷工具",
  33. "Lock","锁定",
  34. "Border Alpha","边框透明度",
  35. "No","无",
  36. "OurPaint is made by Wu Yiming.","好得涂 由吴奕茗制作。",
  37. "A simple yet flexible node-based GPU painting program.","一个简单灵活的节点控制GPU绘画程序。",
  38. "OurPaint Blog","好得涂博客",
  39. "Dev log","开发日志",
  40. "Single canvas implementation.","单画布实现。",
  41. "8 Bits","8位",
  42. "Color Profile:","色彩配置:",
  43. "Import Layer","导入图层",
  44. "Merge","合并",
  45. "Cropping","裁剪",
  46. "Smoothness","平滑度",
  47. "Lock Radius","锁定半径",
  48. "Smudge","涂抹",
  49. "Clean","干净",
  50. "Layer","图层",
  51. "Image","图像",
  52. "Paint","涂画",
  53. "Multiply","相乘",
  54. "Visible","可见",
  55. "Linear sRGB","线性 sRGB",
  56. "Generic:","通用:",
  57. "Transparency","透明度",
  58. "New Brush","新笔刷",
  59. "Canvas Scale","画布缩放",
  60. "Others","其他",
  61. "Bit Depth:","位深度:",
  62. "OurPaint v0.1","好得涂 v0.1",
  63. "New Layer","新图层",
  64. "Color Space:","色彩空间:",
  65. "OurPaint","好得涂",
  66. "Dabs Per Size","每半径的笔触点数",
  67. "Paintable","可绘图",
  68. "Use Nodes","使用节点",
  69. "Paint Undo Limit","绘图撤销限制",
  70. "Show","显示",
  71. "Background:","背景:",
  72. "Angle","角度",
  73. "Brush Circle","笔刷圆圈",
  74. "Erasing","擦除",
  75. "R,G,B","红,绿,蓝",
  76. "Assign all \"Our Tools\" into:","将所有“工具”指定到: ",
  77. "Min,Max","最小,最大",
  78. "Developer:","开发者:",
  79. "Smudge Resample Length","涂抹重采样长度",
  80. "Mode:","模式:",
  81. "Display:","显示:",
  82. "Hardness","硬度",
  83. "Export Layer","导出图层",
  84. " Steps","步",
  85. "Modified","已更改",
  86. "Export Image","导出图像",
  87. "Slender","压扁",
  88. "Show debug tiles","显示调试图像块",
  89. "Exporting Defaults:","导出时的默认值:",
  90. "Default as eraser","默认为橡皮擦",
  91. "Name of the brush","笔刷名字",
  92. "Combine","合并",
  93. "Locked","已锁定",
  94. "Brush Device","笔刷设备",
  95. "Brush Outputs","笔刷输出",
  96. "About","关于",
  97. "Linear Clay","线性 Clay",
  98. "Brush Settings","笔刷设置",
  99. 0,0};
  100. void ourMakeTranslations(){
  101. transSetLanguage("zh-CN");
  102. for(int i=0;;i++){if(!entries[i*2])break;
  103. transNewEntry(entries[i*2],entries[i*2+1]);
  104. }
  105. }