Skip to content

Commit e37069c

Browse files
committed
Merge pull request processing#2748 from liquidzym/master
add zh Chinese languages
2 parents 14ea93e + 3d179c8 commit e37069c

3 files changed

Lines changed: 282 additions & 2 deletions

File tree

app/src/processing/app/Language.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ static private String[] listSupported() {
9797
"ko", // Korean
9898
"nl", // Dutch, Nederlands
9999
"pt", // Portuguese
100-
"tr" // Turkish
100+
"tr", // Turkish
101+
"zh" // chinese
101102
};
102103
return SUPPORTED;
103104

Lines changed: 278 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,278 @@
1+
2+
3+
# ---------------------------------------
4+
# CHINESE (zh)
5+
# ---------------------------------------
6+
7+
8+
# ---------------------------------------
9+
# Menu
10+
11+
# | File | Edit | Sketch | Library | Tools | Help |
12+
# | File |
13+
menu.file = 文件
14+
menu.file.new = 新建
15+
menu.file.open = 打开...
16+
menu.file.recent = 打开最近项目
17+
menu.file.sketchbook = 速写本...
18+
menu.file.examples = 范例程序...
19+
menu.file.close = 关闭
20+
menu.file.save = 保存
21+
menu.file.save_as = 另存为...
22+
menu.file.export_application = 导出程序...
23+
menu.file.page_setup = 页面设置
24+
menu.file.print = 打印...
25+
menu.file.preferences = 偏好设定...
26+
menu.file.quit = Quit
27+
28+
# | File | Edit | Sketch | Library | Tools | Help |
29+
# | Edit |
30+
menu.edit = 编辑
31+
menu.edit.undo = 撤销
32+
menu.edit.redo = 重做
33+
menu.edit.cut = 剪切
34+
menu.edit.copy = 复制
35+
menu.edit.copy_as_html = 复制为HTML
36+
menu.edit.paste = 黏贴
37+
menu.edit.select_all = 选择全部
38+
menu.edit.auto_format = 自动对齐
39+
menu.edit.comment_uncomment = 注释/取消注释
40+
menu.edit.increase_indent = 增加缩进量
41+
menu.edit.decrease_indent = 减少缩进量
42+
menu.edit.find = 查找...
43+
menu.edit.find_next = 查找下一个
44+
menu.edit.find_previous = 查找上一个
45+
menu.edit.use_selection_for_find = 使用当前选定查找
46+
47+
# | File | Edit | Sketch | Library | Tools | Help |
48+
# | Sketch |
49+
menu.sketch = 速写本
50+
menu.sketch.show_sketch_folder = 打开程序目录
51+
menu.sketch.add_file = 添加文件...
52+
53+
# | File | Edit | Sketch | Library | Tools | Help |
54+
# | Library |
55+
menu.library = 引用库文件...
56+
menu.library.add_library = 添加库文件...
57+
menu.library.contributed = 第三方贡献库
58+
menu.library.no_core_libraries = 该模式下无核心库文件
59+
60+
# | File | Edit | Sketch | Library | Tools | Help |
61+
# | Tools |
62+
menu.tools = 工具
63+
menu.tools.color_selector = 颜色选择器...
64+
menu.tools.create_font = 创建字体...
65+
menu.tools.archive_sketch = 速写本压缩输出
66+
menu.tools.fix_the_serial_lbrary = 修复串口库文件
67+
menu.tools.install_processing_java = 安装 "processing-java"
68+
menu.tools.add_tool = 添加工具...
69+
70+
# | File | Edit | Sketch | Library | Tools | Help |
71+
# | Help |
72+
menu.help = 帮助
73+
menu.help.about = 关于 Processing
74+
menu.help.environment = 开发环境
75+
menu.help.reference = 参考文档
76+
menu.help.find_in_reference = 在文档中查询
77+
menu.help.online = 在线
78+
menu.help.getting_started = 入门帮助
79+
menu.help.getting_started.url = http://processing.org/learning/gettingstarted/
80+
menu.help.troubleshooting = 问题排除
81+
menu.help.troubleshooting.url = http://wiki.processing.org/w/Troubleshooting
82+
menu.help.faq = 常见问题解答
83+
menu.help.faq.url = http://wiki.processing.org/w/FAQ
84+
menu.help.foundation = The Processing Foundation
85+
menu.help.foundation.url = http://processing.org/foundation/
86+
menu.help.visit = 访问 Processing.org
87+
menu.help.visit.url = http://processing.org/
88+
89+
90+
# ---------------------------------------
91+
# Basics
92+
93+
# Buttons
94+
prompt.yes = Yes
95+
prompt.no = No
96+
prompt.cancel = Cancel
97+
prompt.ok = OK
98+
prompt.browse = Browse
99+
prompt.export = Export
100+
101+
102+
# ---------------------------------------
103+
# Frames
104+
105+
# Open (Frame)
106+
open = Open a Processing sketch...
107+
108+
# Save (Frame)
109+
save = Save sketch folder as...
110+
save.title = Do you want to save changes to this sketch<br> before closing?
111+
save.hint = If you don't save, your changes will be lost.
112+
save.btn.save = Save
113+
save.btn.dont_save = Don't Save
114+
115+
# Preferences (Frame)
116+
preferences = 偏好设置
117+
preferences.button.width = 80
118+
preferences.requires_restart = 需要重启 Processing
119+
preferences.sketchbook_location = 速写本位置
120+
preferences.sketchbook_location.popup = 速写本位置
121+
preferences.language = 语言
122+
preferences.editor_and_console_font = 编辑器和控制台字体
123+
preferences.editor_and_console_font.tip = \
124+
Select the font used in the Editor and the Console.<br>\
125+
Only monospaced (fixed-width) fonts may be used,<br>\
126+
though the list may be imperfect.
127+
preferences.editor_font_size = 编辑器字体大小
128+
preferences.console_font_size = 控制台字体大小
129+
preferences.background_color = 展示模式时的背景颜色
130+
preferences.background_color.tip = \
131+
Select the background color used when using Present.<br>\
132+
Present is used to present a sketch in full-screen,<br>\
133+
accessible from the Sketch menu.
134+
preferences.use_smooth_text = 在编辑器窗口中使用平滑字体
135+
preferences.enable_complex_text_input = 启用复杂字体输入
136+
preferences.enable_complex_text_input_example = i.e. Japanese
137+
preferences.continuously_check = 不断检查错误
138+
preferences.show_warnings = 显示警告
139+
preferences.code_completion = Code completion
140+
preferences.trigger_with = Trigger with
141+
preferences.cmd_space = space
142+
preferences.increase_max_memory = 增加最大内存至
143+
preferences.delete_previous_folder_on_export = 当导出时删除先前的文件夹
144+
preferences.hide_toolbar_background_image = Hide tab/toolbar background image
145+
preferences.check_for_updates_on_startup = Check for updates on startup
146+
preferences.run_sketches_on_display = Run sketches on display
147+
preferences.run_sketches_on_display.tip = \
148+
Sets the display where sketches are initially placed.<br>\
149+
As usual, if the sketch window is moved, it will re-open<br>\
150+
at the same location, however when running in present<br>\
151+
(full screen) mode, this display will always be used.
152+
preferences.automatically_associate_pde_files = Automatically associate .pde files with Processing
153+
preferences.launch_programs_in = Launch programs in
154+
preferences.launch_programs_in.mode = mode
155+
preferences.file = More preferences can be edited directly in the file
156+
preferences.file.hint = edit only when Processing is not running
157+
158+
# Sketchbook Location (Frame)
159+
sketchbook_location = Select new sketchbook location
160+
161+
# Sketchbook (Frame)
162+
sketchbook = Sketchbook
163+
sketchbook.tree = Sketchbook
164+
165+
# examples (Frame)
166+
examples = Examples
167+
168+
# Export (Frame)
169+
export = 导出选项
170+
export.platforms = 系统平台
171+
export.options = 选项
172+
export.options.fullscreen = 全拼 (展示模式)
173+
export.options.show_stop_button = 显示停止按钮
174+
export.description.line1 = 为导出程序创建双击事件,
175+
export.description.line2 = 为所选系统创建独立运行程序.
176+
177+
# Find (Frame)
178+
find = Find
179+
find.find = Find:
180+
find.replace_with = Replace with:
181+
find.ignore_case = Ignore Case
182+
find.all_tabs = All Tabs
183+
find.wrap_around = Wrap Around
184+
find.btn.replace_all = Replace All
185+
find.btn.replace = Replace
186+
find.btn.find_and_replace = Find & Replace
187+
find.btn.previous = Previous
188+
find.btn.find = Find
189+
190+
# Find in reference (Frame)
191+
find_in_reference = Find in Reference
192+
193+
# Library Manager (Frame)
194+
library.category = Category:
195+
library.filter_your_search = Filter your search...
196+
197+
# File (Frame)
198+
file = Select an image or other data file to copy to your sketch
199+
200+
# Create Font (Frame)
201+
create_font = Create Font
202+
203+
# Color Selector (Frame)
204+
color_selector = Color Selector
205+
206+
# Archive Sketch (Frame)
207+
archive_sketch = Archive sketch as...
208+
209+
210+
# ---------------------------------------
211+
# Toolbar
212+
213+
# [Run/Present] [Stop] [New] [Open] [Save]
214+
toolbar.run = 运行
215+
toolbar.present = 展示模式
216+
toolbar.stop = 停止
217+
toolbar.new = 新建
218+
toolbar.open = 打开
219+
toolbar.save = 保存
220+
toolbar.export_application = 导出程序
221+
toolbar.add_mode = 添加模式...
222+
223+
224+
# ---------------------------------------
225+
# Editor
226+
227+
# [Tab1] [Tab2] [v]
228+
editor.header.new_tab = 新建Tab
229+
editor.header.rename = 重命名
230+
editor.header.delete = 删除
231+
editor.header.previous_tab = 前一个Tab
232+
editor.header.next_tab = 后一个Tab
233+
editor.header.delete.warning.title = Yeah, no.
234+
editor.header.delete.warning.text = You can't delete the last tab of the last open sketch.
235+
236+
# Tabs
237+
editor.tab.new = 新文件名
238+
editor.tab.new.description = 新文件名称
239+
editor.tab.rename = 新文件名
240+
editor.tab.rename.description = 新文件名称
241+
242+
# Sketch
243+
editor.sketch.rename.description = New name for sketch
244+
245+
editor.status.autoformat.no_changes = No changes necessary for Auto Format.
246+
editor.status.autoformat.finished = Auto Format finished.
247+
editor.status.find_reference.select_word_first = First select a word to find in the reference.
248+
editor.status.find_reference.not_available = No reference available for "%s".
249+
editor.status.drag_and_drop.files_added.0 = No files were added to the sketch.
250+
editor.status.drag_and_drop.files_added.1 = One file added to the sketch.
251+
editor.status.drag_and_drop.files_added.n = %d files added to the sketch.
252+
editor.status.saving = 保存中...
253+
editor.status.saving.done = 保存完成.
254+
editor.status.saving.canceled = 取消保存.
255+
editor.status.printing = 打印中...
256+
editor.status.printing.done = 打印完毕.
257+
editor.status.printing.error = 打印时出错.
258+
editor.status.printing.canceled = 取消打印.
259+
260+
261+
# ---------------------------------------
262+
# Contribution Panel
263+
264+
contributions.undo = 撤销
265+
contributions.remove = 移除
266+
contributions.install = 安装
267+
contributions.progress.starting = 开始
268+
contributions.progress.downloading = 下载
269+
contributions.download_error = 下载时出现问题.
270+
contributions.unsupported_operating_system = 你当前的操作系统似乎不被自持. 你应该访问 %s's 该库文件地址得到更多信息.
271+
272+
273+
# ---------------------------------------
274+
# Warnings
275+
276+
warn.delete = 删除
277+
warn.delete.sketch = 你确定要删除该速写本?
278+
warn.delete.file = 你确定删除 "%s"?

app/src/processing/app/languages/languages.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# List of supported language codes
1+
# List of supported language codes
22
# http://en.wikipedia.org/wiki/ISO_639-1
33
# http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
44

@@ -14,3 +14,4 @@ ja # Japanese
1414
ko # Korean
1515
nl # Dutch, Nederlands
1616
pt # Portuguese
17+
zh # Chinese

0 commit comments

Comments
 (0)