diff --git a/app/src/processing/app/Language.java b/app/src/processing/app/Language.java index 5581026a8..4109a9e12 100644 --- a/app/src/processing/app/Language.java +++ b/app/src/processing/app/Language.java @@ -97,7 +97,8 @@ public class Language { "ko", // Korean "nl", // Dutch, Nederlands "pt", // Portuguese - "tr" // Turkish + "tr", // Turkish + "zh" // chinese }; return SUPPORTED; diff --git a/app/src/processing/app/languages/PDE_zh.properties b/app/src/processing/app/languages/PDE_zh.properties new file mode 100644 index 000000000..e13a34ccc --- /dev/null +++ b/app/src/processing/app/languages/PDE_zh.properties @@ -0,0 +1,278 @@ + + +# --------------------------------------- +# CHINESE (zh) +# --------------------------------------- + + +# --------------------------------------- +# Menu + +# | File | Edit | Sketch | Library | Tools | Help | +# | File | +menu.file = 文件 +menu.file.new = 新建 +menu.file.open = 打开... +menu.file.recent = 打开最近项目 +menu.file.sketchbook = 速写本... +menu.file.examples = 范例程序... +menu.file.close = 关闭 +menu.file.save = 保存 +menu.file.save_as = 另存为... +menu.file.export_application = 导出程序... +menu.file.page_setup = 页面设置 +menu.file.print = 打印... +menu.file.preferences = 偏好设定... +menu.file.quit = Quit + +# | File | Edit | Sketch | Library | Tools | Help | +# | Edit | +menu.edit = 编辑 +menu.edit.undo = 撤销 +menu.edit.redo = 重做 +menu.edit.cut = 剪切 +menu.edit.copy = 复制 +menu.edit.copy_as_html = 复制为HTML +menu.edit.paste = 黏贴 +menu.edit.select_all = 选择全部 +menu.edit.auto_format = 自动对齐 +menu.edit.comment_uncomment = 注释/取消注释 +menu.edit.increase_indent = 增加缩进量 +menu.edit.decrease_indent = 减少缩进量 +menu.edit.find = 查找... +menu.edit.find_next = 查找下一个 +menu.edit.find_previous = 查找上一个 +menu.edit.use_selection_for_find = 使用当前选定查找 + +# | File | Edit | Sketch | Library | Tools | Help | +# | Sketch | +menu.sketch = 速写本 +menu.sketch.show_sketch_folder = 打开程序目录 +menu.sketch.add_file = 添加文件... + +# | File | Edit | Sketch | Library | Tools | Help | +# | Library | +menu.library = 引用库文件... +menu.library.add_library = 添加库文件... +menu.library.contributed = 第三方贡献库 +menu.library.no_core_libraries = 该模式下无核心库文件 + +# | File | Edit | Sketch | Library | Tools | Help | +# | Tools | +menu.tools = 工具 +menu.tools.color_selector = 颜色选择器... +menu.tools.create_font = 创建字体... +menu.tools.archive_sketch = 速写本压缩输出 +menu.tools.fix_the_serial_lbrary = 修复串口库文件 +menu.tools.install_processing_java = 安装 "processing-java" +menu.tools.add_tool = 添加工具... + +# | File | Edit | Sketch | Library | Tools | Help | +# | Help | +menu.help = 帮助 +menu.help.about = 关于 Processing +menu.help.environment = 开发环境 +menu.help.reference = 参考文档 +menu.help.find_in_reference = 在文档中查询 +menu.help.online = 在线 +menu.help.getting_started = 入门帮助 +menu.help.getting_started.url = http://processing.org/learning/gettingstarted/ +menu.help.troubleshooting = 问题排除 +menu.help.troubleshooting.url = http://wiki.processing.org/w/Troubleshooting +menu.help.faq = 常见问题解答 +menu.help.faq.url = http://wiki.processing.org/w/FAQ +menu.help.foundation = The Processing Foundation +menu.help.foundation.url = http://processing.org/foundation/ +menu.help.visit = 访问 Processing.org +menu.help.visit.url = http://processing.org/ + + +# --------------------------------------- +# Basics + +# Buttons +prompt.yes = Yes +prompt.no = No +prompt.cancel = Cancel +prompt.ok = OK +prompt.browse = Browse +prompt.export = Export + + +# --------------------------------------- +# Frames + +# Open (Frame) +open = Open a Processing sketch... + +# Save (Frame) +save = Save sketch folder as... +save.title = Do you want to save changes to this sketch
before closing? +save.hint = If you don't save, your changes will be lost. +save.btn.save = Save +save.btn.dont_save = Don't Save + +# Preferences (Frame) +preferences = 偏好设置 +preferences.button.width = 80 +preferences.requires_restart = 需要重启 Processing +preferences.sketchbook_location = 速写本位置 +preferences.sketchbook_location.popup = 速写本位置 +preferences.language = 语言 +preferences.editor_and_console_font = 编辑器和控制台字体 +preferences.editor_and_console_font.tip = \ +Select the font used in the Editor and the Console.
\ +Only monospaced (fixed-width) fonts may be used,
\ +though the list may be imperfect. +preferences.editor_font_size = 编辑器字体大小 +preferences.console_font_size = 控制台字体大小 +preferences.background_color = 展示模式时的背景颜色 +preferences.background_color.tip = \ +Select the background color used when using Present.
\ +Present is used to present a sketch in full-screen,
\ +accessible from the Sketch menu. +preferences.use_smooth_text = 在编辑器窗口中使用平滑字体 +preferences.enable_complex_text_input = 启用复杂字体输入 +preferences.enable_complex_text_input_example = i.e. Japanese +preferences.continuously_check = 不断检查错误 +preferences.show_warnings = 显示警告 +preferences.code_completion = Code completion +preferences.trigger_with = Trigger with +preferences.cmd_space = space +preferences.increase_max_memory = 增加最大内存至 +preferences.delete_previous_folder_on_export = 当导出时删除先前的文件夹 +preferences.hide_toolbar_background_image = Hide tab/toolbar background image +preferences.check_for_updates_on_startup = Check for updates on startup +preferences.run_sketches_on_display = Run sketches on display +preferences.run_sketches_on_display.tip = \ +Sets the display where sketches are initially placed.
\ +As usual, if the sketch window is moved, it will re-open
\ +at the same location, however when running in present
\ +(full screen) mode, this display will always be used. +preferences.automatically_associate_pde_files = Automatically associate .pde files with Processing +preferences.launch_programs_in = Launch programs in +preferences.launch_programs_in.mode = mode +preferences.file = More preferences can be edited directly in the file +preferences.file.hint = edit only when Processing is not running + +# Sketchbook Location (Frame) +sketchbook_location = Select new sketchbook location + +# Sketchbook (Frame) +sketchbook = Sketchbook +sketchbook.tree = Sketchbook + +# examples (Frame) +examples = Examples + +# Export (Frame) +export = 导出选项 +export.platforms = 系统平台 +export.options = 选项 +export.options.fullscreen = 全拼 (展示模式) +export.options.show_stop_button = 显示停止按钮 +export.description.line1 = 为导出程序创建双击事件, +export.description.line2 = 为所选系统创建独立运行程序. + +# Find (Frame) +find = Find +find.find = Find: +find.replace_with = Replace with: +find.ignore_case = Ignore Case +find.all_tabs = All Tabs +find.wrap_around = Wrap Around +find.btn.replace_all = Replace All +find.btn.replace = Replace +find.btn.find_and_replace = Find & Replace +find.btn.previous = Previous +find.btn.find = Find + +# Find in reference (Frame) +find_in_reference = Find in Reference + +# Library Manager (Frame) +library.category = Category: +library.filter_your_search = Filter your search... + +# File (Frame) +file = Select an image or other data file to copy to your sketch + +# Create Font (Frame) +create_font = Create Font + +# Color Selector (Frame) +color_selector = Color Selector + +# Archive Sketch (Frame) +archive_sketch = Archive sketch as... + + +# --------------------------------------- +# Toolbar + +# [Run/Present] [Stop] [New] [Open] [Save] +toolbar.run = 运行 +toolbar.present = 展示模式 +toolbar.stop = 停止 +toolbar.new = 新建 +toolbar.open = 打开 +toolbar.save = 保存 +toolbar.export_application = 导出程序 +toolbar.add_mode = 添加模式... + + +# --------------------------------------- +# Editor + +# [Tab1] [Tab2] [v] +editor.header.new_tab = 新建Tab +editor.header.rename = 重命名 +editor.header.delete = 删除 +editor.header.previous_tab = 前一个Tab +editor.header.next_tab = 后一个Tab +editor.header.delete.warning.title = Yeah, no. +editor.header.delete.warning.text = You can't delete the last tab of the last open sketch. + +# Tabs +editor.tab.new = 新文件名 +editor.tab.new.description = 新文件名称 +editor.tab.rename = 新文件名 +editor.tab.rename.description = 新文件名称 + +# Sketch +editor.sketch.rename.description = New name for sketch + +editor.status.autoformat.no_changes = No changes necessary for Auto Format. +editor.status.autoformat.finished = Auto Format finished. +editor.status.find_reference.select_word_first = First select a word to find in the reference. +editor.status.find_reference.not_available = No reference available for "%s". +editor.status.drag_and_drop.files_added.0 = No files were added to the sketch. +editor.status.drag_and_drop.files_added.1 = One file added to the sketch. +editor.status.drag_and_drop.files_added.n = %d files added to the sketch. +editor.status.saving = 保存中... +editor.status.saving.done = 保存完成. +editor.status.saving.canceled = 取消保存. +editor.status.printing = 打印中... +editor.status.printing.done = 打印完毕. +editor.status.printing.error = 打印时出错. +editor.status.printing.canceled = 取消打印. + + +# --------------------------------------- +# Contribution Panel + +contributions.undo = 撤销 +contributions.remove = 移除 +contributions.install = 安装 +contributions.progress.starting = 开始 +contributions.progress.downloading = 下载 +contributions.download_error = 下载时出现问题. +contributions.unsupported_operating_system = 你当前的操作系统似乎不被自持. 你应该访问 %s's 该库文件地址得到更多信息. + + +# --------------------------------------- +# Warnings + +warn.delete = 删除 +warn.delete.sketch = 你确定要删除该速写本? +warn.delete.file = 你确定删除 "%s"? \ No newline at end of file diff --git a/app/src/processing/app/languages/languages.txt b/app/src/processing/app/languages/languages.txt index 5cde8b5bb..60701853e 100644 --- a/app/src/processing/app/languages/languages.txt +++ b/app/src/processing/app/languages/languages.txt @@ -1,4 +1,4 @@ -# List of supported language codes +# List of supported language codes # http://en.wikipedia.org/wiki/ISO_639-1 # http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes @@ -14,3 +14,4 @@ ja # Japanese ko # Korean nl # Dutch, Nederlands pt # Portuguese +zh # Chinese \ No newline at end of file