From 461bfd6940d1f762e3e9d6652bbe0f80f17fa969 Mon Sep 17 00:00:00 2001
From: %%GITNAME%% <%%GITEMAIL%%>
Date: Wed, 10 May 2017 13:02:21 +0200
Subject: [PATCH 01/26] started italian translation
updated languages.txt, created PDE_it.properties
---
build/shared/lib/languages/PDE_it.properties | 590 +++++++++++++++++++
build/shared/lib/languages/languages.txt | 1 +
2 files changed, 591 insertions(+)
create mode 100644 build/shared/lib/languages/PDE_it.properties
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
new file mode 100644
index 000000000..da32a6127
--- /dev/null
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -0,0 +1,590 @@
+
+
+# ---------------------------------------
+# Language: Italiano (Italian) (it)
+# ---------------------------------------
+
+
+# ---------------------------------------
+# Menu
+
+# | File | Edit | Sketch | Debug | Tools | Help |
+# | File |
+menu.file = File
+menu.file.new = New
+menu.file.open = Open...
+menu.file.recent = Open Recent
+menu.file.sketchbook = Sketchbook...
+menu.file.sketchbook.empty = Empty Sketchbook
+menu.file.examples = Examples...
+menu.file.close = Close
+menu.file.save = Save
+menu.file.save_as = Save As...
+menu.file.export_application = Export Application...
+menu.file.page_setup = Page Setup
+menu.file.print = Print...
+menu.file.preferences = Preferences...
+menu.file.quit = Quit
+
+# | File | Edit | Sketch | Debug | Tools | Help |
+# | Edit |
+menu.edit = Edit
+menu.edit.undo = Undo
+menu.edit.redo = Redo
+menu.edit.action.addition = addition
+menu.edit.action.deletion = deletion
+menu.edit.cut = Cut
+menu.edit.copy = Copy
+menu.edit.copy_as_html = Copy as HTML
+menu.edit.paste = Paste
+menu.edit.select_all = Select All
+menu.edit.auto_format = Auto Format
+menu.edit.comment_uncomment = Comment/Uncomment
+menu.edit.increase_indent = Increase Indent
+menu.edit.decrease_indent = Decrease Indent
+menu.edit.find = Find...
+menu.edit.find_next = Find Next
+menu.edit.find_previous = Find Previous
+menu.edit.use_selection_for_find = Use Selection for Find
+
+# | File | Edit | Sketch | Debug | Tools | Help |
+# | Sketch |
+menu.sketch.run = Run
+menu.sketch.present = Present
+menu.sketch.tweak = Tweak
+menu.sketch.stop = Stop
+# ---
+menu.library = Import Library...
+menu.library.add_library = Add Library...
+menu.library.contributed = Contributed
+menu.library.no_core_libraries = mode has no core libraries
+# ---
+menu.sketch = Sketch
+menu.sketch.show_sketch_folder = Show Sketch Folder
+menu.sketch.add_file = Add File...
+
+# | File | Edit | Sketch | Debug | Tools | Help |
+# | Debug |
+menu.debug = Debug
+menu.debug.enable = Enable Debugger
+menu.debug.disable = Disable Debugger
+#menu.debug.show_debug_toolbar = Show Debug Toolbar
+#menu.debug.debug = Debug
+#menu.debug.stop = Stop
+# ---
+menu.debug.toggle_breakpoint = Toggle Breakpoint
+#menu.debug.list_breakpoints = List breakpoints
+# ---
+# used for both menus and toolbars
+menu.debug.step = Step
+menu.debug.step_into = Step Into
+menu.debug.step_out = Step Out
+menu.debug.continue = Continue
+# ---
+#menu.debug.print_stack_trace = Print Stack Trace
+#menu.debug.print_locals = Print Locals
+#menu.debug.print_fields = Print Fields
+#menu.debug.print_source_location = Print Source Location
+#menu.debug.print_threads = Print Threads
+# ---
+#menu.debug.variable_inspector = Variable Inspector
+menu.debug.show_variables = Show Variables
+menu.debug.hide_variables = Hide Variables
+#menu.debug.show_sketch_outline = Show Sketch Outline
+#menu.debug.show_tabs_list = Show Tabs List
+
+# | File | Edit | Sketch | Debug | Tools | Help |
+# | Tools |
+menu.tools = Tools
+menu.tools.color_selector = Color Selector...
+menu.tools.create_font = Create Font...
+menu.tools.archive_sketch = Archive Sketch
+menu.tools.fix_the_serial_lbrary = Fix the Serial Library
+menu.tools.install_processing_java = Install "processing-java"
+menu.tools.add_tool = Add Tool...
+
+# | File | Edit | Sketch | Debug | Tools | Help |
+# | Help |
+menu.help = Help
+menu.help.welcome = Welcome to Processing 3
+menu.help.about = About Processing
+menu.help.environment = Environment
+menu.help.reference = Reference
+menu.help.find_in_reference = Find in Reference
+menu.help.libraries_reference = Libraries Reference
+menu.help.tools_reference = Tools Reference
+menu.help.empty = (empty)
+menu.help.online = Online
+menu.help.getting_started = Getting Started
+menu.help.getting_started.url = http://processing.org/learning/gettingstarted/
+menu.help.troubleshooting = Troubleshooting
+menu.help.troubleshooting.url = http://wiki.processing.org/w/Troubleshooting
+menu.help.faq = Frequently Asked Questions
+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 = 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 %s
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
+
+# Close (Frame) also used to prompt on non-OS X machines
+close.unsaved_changes = Save changes to %s?
+
+# Preferences (Frame)
+preferences = Preferences
+preferences.button.width = 80
+preferences.requires_restart = requires restart of Processing
+preferences.sketchbook_location = Sketchbook location
+preferences.sketchbook_location.popup = Sketchbook location
+preferences.language = Language
+preferences.editor_and_console_font = 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 = Editor font size
+preferences.console_font_size = Console font size
+preferences.zoom = Interface scale
+preferences.zoom.auto = Automatic
+preferences.background_color = Background color when Presenting
+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 = Use smooth text in editor window
+preferences.enable_complex_text_input = Enable complex text input
+preferences.enable_complex_text_input_example = i.e. Japanese
+preferences.continuously_check = Continuously check for errors
+preferences.show_warnings = Show warnings
+preferences.code_completion = Code completion with
+preferences.trigger_with = Trigger with
+preferences.cmd_space = space
+preferences.suggest_imports = Suggest import statements
+preferences.increase_max_memory = Increase maximum available memory to
+preferences.delete_previous_folder_on_export = Delete previous folder on export
+preferences.check_for_updates_on_startup = Allow update checking (see FAQ for information shared)
+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.title = %s Examples
+examples.add_examples = Add Examples...
+examples.libraries = Contributed Libraries
+examples.core_libraries = Libraries
+examples.contributed = Contributed Examples
+
+# Export (Frame)
+export = Export Options
+export.platforms = Platforms
+export.options = Options
+export.options.present = Presentation Mode
+export.options.show_stop_button = Show a Stop button
+export.description.line1 = Export to Application creates double-clickable,
+export.description.line2 = standalone applications for the selected platforms.
+export.unsaved_changes = Save changes before export?
+export.notice.cancel.unsaved_changes = Export canceled, changes must first be saved.
+export.notice.exporting = Exporting application...
+export.notice.exporting.done = Done exporting.
+export.notice.exporting.error = Error during export.
+export.notice.exporting.cancel = Export to Application canceled.
+export.tooltip.macosx = Mac OS X export is only available on Mac OS X
+export.full_screen = Full Screen
+export.embed_java = Embed Java
+export.embed_java.for = Embed Java for
+export.code_signing = Code Signing
+export.messages.is_read_only = Sketch is Read-Only
+export.messages.is_read_only.description = Some files are marked "read-only", so you will\nneed to re-save the sketch in another location,\nand try again.
+export.messages.cannot_export = Cannot Export
+export.messages.cannot_export.description = You cannot export a sketch that has not been saved.
+
+# 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.replace_and_find = Replace & Find
+find.btn.previous = Previous
+find.btn.find = Find
+
+# Find in reference (Frame)
+find_in_reference = Find in Reference
+
+# File (Frame)
+file = Select an image or other data file to copy to your sketch
+
+# Create Font (Frame)
+create_font = Create Font
+create_font.label = Use this tool to create bitmap fonts for your program.\nSelect a font and size, and click 'OK' to generate the font.\nIt will be added to the data folder of the current sketch.
+create_font.size = Size
+create_font.smooth = Smooth
+create_font.characters = Characters...
+create_font.character_selector = Character Selector
+create_font.character_selector.label = Default characters will include most bitmaps for Mac OS\nand Windows Latin scripts. Including all characters may\nrequire large amounts of memory for all of the bitmaps.\nFor greater control, you can select specific Unicode blocks.
+create_font.default_characters = Default Characters
+create_font.all_characters = All Characters
+create_font.specific_unicode = Specific Unicode Blocks
+create_font.filename = Filename
+
+# Color Selector (Frame)
+color_selector = Color Selector
+
+# Archive Sketch (Frame)
+archive_sketch = Archive sketch as...
+
+# Tweak Mode
+tweak_mode = Tweak Mode
+tweak_mode.save_before_tweak = Please save the sketch before running in Tweak Mode.
+tweak_mode.keep_changes.line1 = Keep the changes?
+tweak_mode.keep_changes.line2 = You changed some values in your sketch. Would you like to keep the changes?
+
+# DebugTray
+debugger.name = Name
+debugger.value = Value
+debugger.type = Type
+
+# ---------------------------------------
+# Toolbars
+
+# [Run/Present] [Stop] [New] [Open] [Save]
+toolbar.run = Run
+toolbar.present = Present
+toolbar.stop = Stop
+toolbar.debug = Debug
+# ---
+toolbar.new = New
+toolbar.open = Open
+toolbar.save = Save
+# toolbar.export_application = Export Application
+toolbar.add_mode = Add Mode...
+
+# [Debug] [Continue] [Step] [Stop] [Toggle Breakpoints] [Variable Inspector]
+#toolbar.debug.continue = Continue
+#toolbar.debug.step = Step
+#toolbar.debug.step_into = Step Into
+#toolbar.debug.stop = Stop
+#toolbar.debug.toggle_breakpoints = Toggle Breakpoint
+#toolbar.debug.variable_inspector = Variable Inspector
+
+
+# ---------------------------------------
+# Editor
+
+# [Tab1] [Tab2] [v]
+editor.header.new_tab = New Tab
+editor.header.rename = Rename
+editor.header.delete = Delete
+editor.header.previous_tab = Previous Tab
+editor.header.next_tab = Next Tab
+editor.header.delete.warning.title = Yeah, no.
+editor.header.delete.warning.text = You cannot delete the main tab of the only open sketch.
+
+# PopUp menu
+editor.popup.jump_to_declaration = Jump to Declaration
+editor.popup.show_usage = Show Usage...
+editor.popup.rename = Rename...
+
+# Tabs
+editor.tab.new = New Name
+editor.tab.new.description = Name for new file
+editor.tab.rename = New Name
+editor.tab.rename.description = New name for file
+
+# 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 = Saving...
+editor.status.saving.done = Done saving.
+editor.status.saving.canceled = Save canceled.
+editor.status.printing = Printing...
+editor.status.printing.done = Done printing.
+editor.status.printing.error = Error while printing.
+editor.status.printing.canceled = Printing canceled.
+editor.status.copy_as_html = Code formatted as HTML has been copied to the clipboard.
+editor.status.debug.busy = Debugger busy...
+editor.status.debug.halt = Debugger halted.
+editor.status.archiver.create = Created archive "%s".
+editor.status.archiver.cancel = Archive sketch canceled.
+
+# Errors
+editor.status.warning = Warning
+editor.status.error = Error
+editor.status.error_on = Error on "%s"
+editor.status.missing.default = Missing "%c"
+editor.status.missing.semicolon = Missing a semicolon ";"
+editor.status.missing.left_sq_bracket = Missing left square bracket "["
+editor.status.missing.right_sq_bracket = Missing right square bracket "]"
+editor.status.missing.left_paren = Missing left parenthesis "("
+editor.status.missing.right_paren = Missing right parenthesis ")"
+editor.status.missing.left_curly_bracket = Missing left curly bracket "{"
+editor.status.missing.right_curly_bracket = Missing right curly bracket "}"
+editor.status.missing.add = Consider adding "%s"
+editor.status.reserved_words = "color" and "int" are reserved words & cannot be used as variable names
+editor.status.undefined_method = The function "%s(%s)" does not exist
+editor.status.undefined_constructor = The constructor "%s(%s)" does not exist
+editor.status.empty_param = The function "%s()" does not expect any parameters
+editor.status.wrong_param = The function "%s()" expects parameters like: "%s(%s)"
+editor.status.undef_global_var = The global variable "%s" does not exist
+editor.status.undef_class = The class "%s" does not exist
+editor.status.undef_var = The variable "%s" does not exist
+editor.status.undef_name = The name "%s" cannot be recognized
+editor.status.type_mismatch = Type mismatch, "%s" does not match with "%s"
+editor.status.unused_variable = The value of the local variable "%s" is not used
+editor.status.uninitialized_variable = The local variable "%s" may not have been initialized
+editor.status.no_effect_assignment = The assignment to variable "%s" has no effect
+editor.status.hiding_enclosing_type = The class "%s" cannot have the same name as your sketch or its enclosing class
+
+# Footer buttons
+editor.footer.errors = Errors
+editor.footer.errors.problem = Problem
+editor.footer.errors.tab = Tab
+editor.footer.errors.line = Line
+editor.footer.console = Console
+
+# New handler
+new.messages.is_read_only = Sketch is Read-Only
+new.messages.is_read_only.description = Some files are marked "read-only", so you will\nneed to re-save the sketch in another location,\nand try again.
+
+# Rename handler
+rename.messages.is_untitled = Sketch is Untitled
+rename.messages.is_untitled.description = How about saving the sketch first\nbefore trying to rename it?
+rename.messages.is_modified = Please save the sketch before renaming.
+rename.messages.is_read_only = Sketch is Read-Only
+rename.messages.is_read_only.description = Some files are marked "read-only", so you will\nneed to re-save the sketch in another location,\nand try again.
+
+# Naming handler
+name.messages.problem_renaming = Problem with rename
+name.messages.starts_with_dot.description = The name cannot start with a period.
+name.messages.invalid_extension.description = ".%s" is not a valid extension.
+name.messages.main_java_extension.description = The first tab cannot be a .%s file.\n(It may be time for you to graduate to a\n"real" programming environment, hotshot.)
+name.messages.new_sketch_exists = Nope
+name.messages.new_sketch_exists.description = A file named "%s" already exists at\n"%s"
+name.messages.new_folder_exists = Cannot Rename
+name.messages.new_folder_exists.description = Sorry, a sketch (or folder) named "%s" already exists.
+name.messages.error = Error
+name.messages.no_rename_folder.description = Could not rename the sketch folder.
+name.messages.no_rename_file.description = Could not rename "%s" to "%s"
+name.messages.no_create_file.description = Could not create the file "%s"\nin "%s"
+
+# Delete handler
+delete.messages.cannot_delete = Cannot Delete
+delete.messages.cannot_delete.description = You cannot delete a sketch that has not been saved.
+delete.messages.cannot_delete.file = Could not do it
+delete.messages.cannot_delete.file.description = Could not delete
+delete.messages.is_read_only = Sketch is Read-Only
+delete.messages.is_read_only.description = Some files are marked "read-only", so you will\nneed to re-save the sketch in another location,\nand try again.
+
+# Save handler
+save_file.messages.is_read_only = Sketch is read-only
+save_file.messages.is_read_only.description = Some files are marked "read-only", so you will\nneed to re-save this sketch to another location.
+save_file.messages.sketch_exists = Cannot Save
+save_file.messages.sketch_exists.description = A sketch with the cleaned name\n“%s” already exists.
+save_file.messages.tab_exists = Nope
+save_file.messages.tab_exists.description = You cannot save the sketch as "%s"\nbecause the sketch already has a tab with that name.
+save_file.messages.recursive_save = How very Borges of you
+save_file.messages.recursive_save.description = You cannot save the sketch into a folder\ninside itself. This would go on forever.
+
+# Add handler
+add_file.messages.is_read_only = Sketch is Read-Only
+add_file.messages.is_read_only.description = Some files are marked "read-only", so you will\nneed to re-save the sketch in another location,\nand try again.
+add_file.messages.confirm_replace = Replace the existing version of %s?
+add_file.messages.error_adding = Error adding file
+add_file.messages.cannot_delete.description = Could not delete the existing '%s' file.
+add_file.messages.cannot_add.description = Could not add '%s' to the sketch.
+add_file.messages.same_file = You can't fool me
+add_file.messages.same_file.description = This file has already been copied to the\nlocation from which where you're trying to add it.\nI ain't not doin nuthin'.
+
+# Temp folder creator
+temp_dir.messages.bad_build_folder = Build folder bad
+temp_dir.messages.bad_build_folder.description = Could not find a place to build the sketch.
+
+# Ensure Existance
+ensure_exist.messages.missing_sketch = Sketch Disappeared
+ensure_exist.messages.missing_sketch.description = The sketch folder has disappeared.\nWill attempt to re-save in the same location,\nbut anything besides the code will be lost.
+ensure_exist.messages.unrecoverable = Could not re-save sketch
+ensure_exist.messages.unrecoverable.description = Could not properly re-save the sketch. You may be in trouble at this point,\nand it might be time to copy and paste your code to another text editor.
+
+# Check name
+check_name.messages.is_name_modified = The sketch name had to be modified. Sketch names can only consist\nof ASCII characters and numbers (but cannot start with a number).\nThey should also be less than 64 characters long.
+
+# ---------------------------------------
+# Contributions
+
+# Contribution Panel
+contrib = Contribution Manager
+contrib.manager_title.update = Update Manager
+contrib.manager_title.mode = Mode Manager
+contrib.manager_title.tool = Tool Manager
+contrib.manager_title.library = Library Manager
+contrib.manager_title.examples = Examples Manager
+contrib.category = Category:
+contrib.filter_your_search = Filter your search...
+contrib.show_only_compatible.mode = Show Only Compatible Modes
+contrib.show_only_compatible.tool = Show Only Compatible Tools
+contrib.show_only_compatible.library = Show Only Compatible Libraries
+contrib.show_only_compatible.examples = Show Only Compatible Examples
+contrib.show_only_compatible.update = Show Only Compatible Updates
+contrib.restart = Restart Processing
+contrib.unsaved_changes = Unsaved changes have been found
+contrib.unsaved_changes.prompt = Are you sure you want to restart Processing without saving first?
+contrib.messages.remove_restart = Please restart Processing to finish removing this item.
+contrib.messages.install_restart = Please restart Processing to finish installing this item.
+contrib.messages.update_restart = Please restart Processing to finish updating this item.
+contrib.errors.list_download = Could not download the list of available contributions.
+contrib.errors.list_download.timeout = Connection timed out while downloading the contribution list.
+contrib.errors.download_and_install = Error during download and install of %s.
+contrib.errors.description_unavailable = Description unavailable.
+contrib.errors.malformed_url = The link fetched from Processing.org is not valid.\nYou can still install this library manually by visiting\nthe library\'s website.
+contrib.errors.needs_repackage = %s needs to be repackaged according to the %s guidelines.
+contrib.errors.no_contribution_found = Could not find a %s in the downloaded file.
+contrib.errors.overwriting_properties = Error overwriting .properties file.
+contrib.errors.install_failed = Install failed.
+contrib.errors.update_on_restart_failed = Update on restart of %s failed.
+contrib.errors.temporary_directory = Could not write to temporary directory.
+contrib.errors.contrib_download.timeout = Connection timed out while downloading %s.
+contrib.errors.no_internet_connection = You do not seem to be connected to the Internet.
+contrib.status.downloading_list = Downloading contribution list...
+contrib.status.connecting = Connecting...
+contrib.status.done = Done.
+contrib.all = All
+contrib.undo = Undo
+contrib.remove = Remove
+contrib.install = Install
+contrib.progress.installing = Installing
+contrib.progress.starting = Starting
+contrib.progress.downloading = Downloading
+contrib.download_error = An error occured while downloading the contribution.
+contrib.unsupported_operating_system = Your operating system does not appear to be supported. You should visit the %s\'s library for more info.
+contrib.category.3d = 3D
+contrib.category.animation = Animation
+contrib.category.data = Data
+contrib.category.geometry = Geometry
+contrib.category.gui = GUI
+contrib.category.hardware = Hardware
+contrib.category.i_o = I/O
+contrib.category.math = Math
+contrib.category.simulation = Simulation
+contrib.category.sound = Sound
+contrib.category.typography = Typography
+contrib.category.utilities = Utilities
+contrib.category.video_vision = Video & Vision
+contrib.category.other = Other
+
+# Install on Startup
+contrib.startup.errors.download_install = Error during download and install of %s
+contrib.startup.errors.temp_dir = Could not write to temporary directory during download and install of %s
+contrib.startup.errors.new_marker = The unupdated contribution marker seems to not like %s. You may have to install it manually to update...
+
+# Install on Import
+contrib.import.dialog.title = Missing Libraries Available
+contrib.import.dialog.primary_text = The following imported libraries are available for download, but have not been installed.
+contrib.import.dialog.secondary_text = Would you like to install them now?
+contrib.import.progress.download = Downloading %s...
+contrib.import.progress.install = Installing %s...
+contrib.import.progress.done = %s has been installed.
+contrib.import.progress.final_list = The following libraries have been installed:
+contrib.import.errors.link = Error: The library %s has a strange looking download link.
+
+# ---------------------------------------
+# Warnings
+
+warn.delete = Delete
+warn.delete.sketch = Are you sure you want to delete this sketch?
+warn.delete.file = Are you sure you want to delete "%s"?
+warn.cannot_change_mode.title = Cannot change mode
+warn.cannot_change_mode.body = Cannot change mode,\nbecause "%s" mode is not compatible with current mode.
+
+
+# ---------------------------------------
+# Update Check
+
+update_check = Update
+update_check.updates_available.core = A new version of Processing is available,\nwould you like to visit the Processing download page?
+update_check.updates_available.contributions = There are updates available for some of the installed contributions,\nwould you like to open the the Contribution Manager now?
+
+
+# ---------------------------------------
+# Color Chooser
+
+color_chooser = Color Selector
+color_chooser.select = Select
+
+# ---------------------------------------
+# Movie Maker
+
+movie_maker = Movie Maker
+movie_maker.title = QuickTime Movie Maker
+movie_maker.blurb = This tool creates a QuickTime movie from a sequence of images.
To avoid artifacts caused by re-compressing images as video,
use TIFF, TGA (from Processing), or PNG images as the source.
TIFF and TGA images will write more quickly, but require more disk:
saveFrame("frames/####.tif");
saveFrame("frames/####.tga");
PNG images are smaller, but your sketch will run more slowly:
saveFrame("frames/####.png");
This code is based on QuickTime Movie Maker 1.5.1 2011-01-17.
Copyright © 2010-2011 Werner Randelshofer. All rights reserved.
+movie_maker.image_folder_help_label = Drag a folder with image files into the field below:
+movie_maker.choose_button = Choose...
+movie_maker.select_image_folder = Select image folder...
+movie_maker.sound_file_help_label = Drag a sound file into the field below (.au, .aiff, .wav, .mp3):
+movie_maker.select_sound_file = Select sound file...
+
+movie_maker.create_movie_button = Create movie...
+movie_maker.save_dialog_prompt = Save movie as...
+movie_maker.width = Width:
+movie_maker.height = Height:
+movie_maker.compression = Compression:
+movie_maker.compression.animation = Animation
+movie_maker.compression.jpeg = JPEG
+movie_maker.compression.png = PNG
+movie_maker.framerate = Framerate:
+movie_maker.orig_size_button = Same size as originals
+movie_maker.orig_size_tooltip = Check this box if the folder contains already encoded video frames in the desired size.
+
+movie_maker.error.avoid_tiff = Try TGA or PNG images instead of TIFF.
+movie_maker.error.badnumbers = Width and height must be whole numbers greater than zero; framerate must be a number greater than zero.
+movie_maker.error.cannot_read = Could not read %s.
+movie_maker.error.cannot_read_maybe_bad = Could not read %s; it may be bad.
+movie_maker.error.movie_failed = Creating the QuickTime movie failed.
+movie_maker.error.need_input = You need to specify the folder with image files, the sound file, or both.
+movie_maker.error.no_images_found = No image files found.
+movie_maker.error.sorry = Sorry
+movie_maker.error.unknown_tga_format = Unknown .tga file format for %s.
+
+movie_maker.progress.creating_file_name = Creating %s.
+movie_maker.progress.creating_output_file = Creating output file
+movie_maker.progress.initializing = Initializing...
+movie_maker.progress.processing = Processing %s.
diff --git a/build/shared/lib/languages/languages.txt b/build/shared/lib/languages/languages.txt
index 5f60ed0dc..1cd66572b 100644
--- a/build/shared/lib/languages/languages.txt
+++ b/build/shared/lib/languages/languages.txt
@@ -11,6 +11,7 @@ en # English, English
el # Greek
es # Spanish
fr # French, Français, Langue française
+it # Italiano, Italian
ja # Japanese
ko # Korean
nl # Dutch, Nederlands
From 2ef51e02c67542ce2dbe6a76e4d239ff6bd0dc62 Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Wed, 10 May 2017 13:19:21 +0200
Subject: [PATCH 02/26] =?UTF-8?q?ITA=20traslation=20file=20men=C3=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
traslation of the “file” menù
---
build/shared/lib/languages/PDE_it.properties | 30 ++++++++++----------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index da32a6127..e01ed8ce5 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -11,24 +11,24 @@
# | File | Edit | Sketch | Debug | Tools | Help |
# | File |
menu.file = File
-menu.file.new = New
-menu.file.open = Open...
-menu.file.recent = Open Recent
-menu.file.sketchbook = Sketchbook...
-menu.file.sketchbook.empty = Empty Sketchbook
-menu.file.examples = Examples...
-menu.file.close = Close
-menu.file.save = Save
-menu.file.save_as = Save As...
-menu.file.export_application = Export Application...
-menu.file.page_setup = Page Setup
-menu.file.print = Print...
-menu.file.preferences = Preferences...
-menu.file.quit = Quit
+menu.file.new = Nuovo
+menu.file.open = Apri...
+menu.file.recent = Apri Recenti
+menu.file.sketchbook = Cartelle degli Sketch...
+menu.file.sketchbook.empty = Cartella degli Sketch vuota
+menu.file.examples = Esempi...
+menu.file.close = Chiudi
+menu.file.save = Salva
+menu.file.save_as = Salva con nome...
+menu.file.export_application = Esporta Applicazione...
+menu.file.page_setup = Imposta Pagina
+menu.file.print = Stampa...
+menu.file.preferences = Preferenze...
+menu.file.quit = Esci
# | File | Edit | Sketch | Debug | Tools | Help |
# | Edit |
-menu.edit = Edit
+menu.edit = Modifica
menu.edit.undo = Undo
menu.edit.redo = Redo
menu.edit.action.addition = addition
From 3e4014b8646be64f5783756a6eb4787537789f9c Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Wed, 10 May 2017 20:42:07 +0200
Subject: [PATCH 03/26] ITA Translation until line 138
---
build/shared/lib/languages/PDE_it.properties | 117 +++++++++----------
1 file changed, 58 insertions(+), 59 deletions(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index e01ed8ce5..717a489cf 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -29,45 +29,45 @@ menu.file.quit = Esci
# | File | Edit | Sketch | Debug | Tools | Help |
# | Edit |
menu.edit = Modifica
-menu.edit.undo = Undo
-menu.edit.redo = Redo
-menu.edit.action.addition = addition
-menu.edit.action.deletion = deletion
-menu.edit.cut = Cut
-menu.edit.copy = Copy
-menu.edit.copy_as_html = Copy as HTML
-menu.edit.paste = Paste
-menu.edit.select_all = Select All
-menu.edit.auto_format = Auto Format
-menu.edit.comment_uncomment = Comment/Uncomment
-menu.edit.increase_indent = Increase Indent
-menu.edit.decrease_indent = Decrease Indent
-menu.edit.find = Find...
-menu.edit.find_next = Find Next
-menu.edit.find_previous = Find Previous
-menu.edit.use_selection_for_find = Use Selection for Find
+menu.edit.undo = Annulla
+menu.edit.redo = Ripeti
+menu.edit.action.addition = addizione
+menu.edit.action.deletion = cancellazione
+menu.edit.cut = Taglia
+menu.edit.copy = Copia
+menu.edit.copy_as_html = Copia come HTML
+menu.edit.paste = Incolla
+menu.edit.select_all = Seleziona Tutto
+menu.edit.auto_format = Formattazione Automatica
+menu.edit.comment_uncomment = Commenta/Rimuovi commento
+menu.edit.increase_indent = Aumenta Indentazione
+menu.edit.decrease_indent = Diminuisci Indentazione
+menu.edit.find = Trova...
+menu.edit.find_next = Trova Successivo
+menu.edit.find_previous = Trova Puccessivo
+menu.edit.use_selection_for_find = Trova Testo Selezionato
# | File | Edit | Sketch | Debug | Tools | Help |
# | Sketch |
-menu.sketch.run = Run
-menu.sketch.present = Present
+menu.sketch.run = Esegui
+menu.sketch.present = Presenta
menu.sketch.tweak = Tweak
menu.sketch.stop = Stop
# ---
-menu.library = Import Library...
-menu.library.add_library = Add Library...
-menu.library.contributed = Contributed
-menu.library.no_core_libraries = mode has no core libraries
+menu.library = Importa Libreria...
+menu.library.add_library = Aggiungi Libreria...
+menu.library.contributed = Librerie di terze parti
+menu.library.no_core_libraries = modalità senza librerie di default
# ---
menu.sketch = Sketch
-menu.sketch.show_sketch_folder = Show Sketch Folder
-menu.sketch.add_file = Add File...
+menu.sketch.show_sketch_folder = Apri cartella dello Sketch
+menu.sketch.add_file = Aggiungi File...
# | File | Edit | Sketch | Debug | Tools | Help |
# | Debug |
menu.debug = Debug
-menu.debug.enable = Enable Debugger
-menu.debug.disable = Disable Debugger
+menu.debug.enable = Abilitare Debugger
+menu.debug.disable = Disabilitare Debugger
#menu.debug.show_debug_toolbar = Show Debug Toolbar
#menu.debug.debug = Debug
#menu.debug.stop = Stop
@@ -77,9 +77,9 @@ menu.debug.toggle_breakpoint = Toggle Breakpoint
# ---
# used for both menus and toolbars
menu.debug.step = Step
-menu.debug.step_into = Step Into
-menu.debug.step_out = Step Out
-menu.debug.continue = Continue
+menu.debug.step_into = Step Avanti
+menu.debug.step_out = Step Indietro
+menu.debug.continue = Continua
# ---
#menu.debug.print_stack_trace = Print Stack Trace
#menu.debug.print_locals = Print Locals
@@ -88,42 +88,41 @@ menu.debug.continue = Continue
#menu.debug.print_threads = Print Threads
# ---
#menu.debug.variable_inspector = Variable Inspector
-menu.debug.show_variables = Show Variables
-menu.debug.hide_variables = Hide Variables
+menu.debug.show_variables = Mostra Variabili
+menu.debug.hide_variables = Nascondi Variabili
#menu.debug.show_sketch_outline = Show Sketch Outline
#menu.debug.show_tabs_list = Show Tabs List
# | File | Edit | Sketch | Debug | Tools | Help |
# | Tools |
-menu.tools = Tools
-menu.tools.color_selector = Color Selector...
-menu.tools.create_font = Create Font...
-menu.tools.archive_sketch = Archive Sketch
-menu.tools.fix_the_serial_lbrary = Fix the Serial Library
-menu.tools.install_processing_java = Install "processing-java"
-menu.tools.add_tool = Add Tool...
+menu.tools = Strumenti
+menu.tools.color_selector = Selezionatore dei colori...
+menu.tools.create_font = Crea Font...
+menu.tools.archive_sketch = Archivia Sketch
+menu.tools.fix_the_serial_lbrary = Ripara la "Serial Library"
+menu.tools.install_processing_java = Installa "processing-java"
+menu.tools.add_tool = Aggiungi Strumento...
# | File | Edit | Sketch | Debug | Tools | Help |
# | Help |
-menu.help = Help
-menu.help.welcome = Welcome to Processing 3
-menu.help.about = About Processing
-menu.help.environment = Environment
-menu.help.reference = Reference
-menu.help.find_in_reference = Find in Reference
-menu.help.libraries_reference = Libraries Reference
-menu.help.tools_reference = Tools Reference
-menu.help.empty = (empty)
+menu.help = Aiuto
+menu.help.welcome = Benvenuto in Processing 3
+menu.help.about = Riguardo a Processing
+menu.help.environment Guida di Riferimento
+menu.help.find_in_reference = Cerca nella Guida
+menu.help.libraries_reference = Guida delle Librerie
+menu.help.tools_reference = Guida degli Strumenti
+menu.help.empty = (vuoto)
menu.help.online = Online
-menu.help.getting_started = Getting Started
+menu.help.getting_started = Primi Passi
menu.help.getting_started.url = http://processing.org/learning/gettingstarted/
-menu.help.troubleshooting = Troubleshooting
+menu.help.troubleshooting = Risoluzione dei Problemi
menu.help.troubleshooting.url = http://wiki.processing.org/w/Troubleshooting
-menu.help.faq = Frequently Asked Questions
+menu.help.faq = Domande Frequenti
menu.help.faq.url = http://wiki.processing.org/w/FAQ
-menu.help.foundation = The Processing Foundation
+menu.help.foundation = La Processing Foundation
menu.help.foundation.url = http://processing.org/foundation/
-menu.help.visit = Visit Processing.org
+menu.help.visit = Visita Processing.org
menu.help.visit.url = http://processing.org/
@@ -131,19 +130,19 @@ menu.help.visit.url = http://processing.org/
# Basics
# Buttons
-prompt.yes = Yes
+prompt.yes = Si
prompt.no = No
-prompt.cancel = Cancel
-prompt.ok = OK
-prompt.browse = Browse
-prompt.export = Export
+prompt.cancel = Cancella
+prompt.ok = Ok
+prompt.browse = Naviga
+prompt.export = Esporta
# ---------------------------------------
# Frames
# Open (Frame)
-open = Open a Processing sketch...
+open = Apri uno sketch di Processing...
# Save (Frame)
save = Save sketch folder as...
From e52f4ccc8f435018ada26203534f5e4c52effab4 Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Wed, 10 May 2017 20:48:08 +0200
Subject: [PATCH 04/26] fixed typo at line 111
---
build/shared/lib/languages/PDE_it.properties | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index 717a489cf..16a781959 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -108,7 +108,8 @@ menu.tools.add_tool = Aggiungi Strumento...
menu.help = Aiuto
menu.help.welcome = Benvenuto in Processing 3
menu.help.about = Riguardo a Processing
-menu.help.environment Guida di Riferimento
+menu.help.environment = Ambiente di Sviluppo
+menu.help.reference = Guida di Riferimento
menu.help.find_in_reference = Cerca nella Guida
menu.help.libraries_reference = Guida delle Librerie
menu.help.tools_reference = Guida degli Strumenti
From 03ab16e7f97b242dbadaa788688dcfd87a19bac8 Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Wed, 10 May 2017 22:17:18 +0200
Subject: [PATCH 05/26] ita translation until line 153
---
build/shared/lib/languages/PDE_it.properties | 24 ++++++++++----------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index 16a781959..6c3cd8e9c 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -146,22 +146,22 @@ prompt.export = Esporta
open = Apri uno sketch di Processing...
# Save (Frame)
-save = Save sketch folder as...
-save.title = Do you want to save changes to %s
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
+save = Salva la cartella degli sketch con nome...
+save.title = Vuoi salvare i cambiamenti di %s
prima di chiudere?
+save.hint = Se non salverai, i tuoi cambiamenti verranno persi.
+save.btn.save = Salva
+save.btn.dont_save = Non salvare
# Close (Frame) also used to prompt on non-OS X machines
-close.unsaved_changes = Save changes to %s?
+close.unsaved_changes = Salvare cambiamenti di %s?
# Preferences (Frame)
-preferences = Preferences
+preferences = Preferenze
preferences.button.width = 80
-preferences.requires_restart = requires restart of Processing
+preferences.requires_restart = richiede il riavvio di Processing
preferences.sketchbook_location = Sketchbook location
preferences.sketchbook_location.popup = Sketchbook location
-preferences.language = Language
+preferences.language = Lingua
preferences.editor_and_console_font = 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 = Editor font size
@@ -273,9 +273,9 @@ tweak_mode.keep_changes.line1 = Keep the changes?
tweak_mode.keep_changes.line2 = You changed some values in your sketch. Would you like to keep the changes?
# DebugTray
-debugger.name = Name
-debugger.value = Value
-debugger.type = Type
+debugger.name = Nome
+debugger.value = Valore
+debugger.type = Tipo
# ---------------------------------------
# Toolbars
From 0d3324a367a4f4ac5bda5d2854ecec389ea361ad Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Thu, 11 May 2017 22:07:28 +0200
Subject: [PATCH 06/26] translation until line 193 - Sketchbook Location
(Frame)
---
app/src/processing/app/Language.java | 1 +
build/shared/lib/languages/PDE_it.properties | 64 ++++++++++----------
2 files changed, 33 insertions(+), 32 deletions(-)
diff --git a/app/src/processing/app/Language.java b/app/src/processing/app/Language.java
index 1a8564bcb..b4a1925e7 100644
--- a/app/src/processing/app/Language.java
+++ b/app/src/processing/app/Language.java
@@ -95,6 +95,7 @@ public class Language {
"el", // Greek
"es", // Spanish
"fr", // French, Français
+ "it", // Italiano, Italian
"ja", // Japanese
"ko", // Korean
"nl", // Dutch, Nederlands
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index 6c3cd8e9c..d483795a0 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -147,48 +147,48 @@ open = Apri uno sketch di Processing...
# Save (Frame)
save = Salva la cartella degli sketch con nome...
-save.title = Vuoi salvare i cambiamenti di %s
prima di chiudere?
-save.hint = Se non salverai, i tuoi cambiamenti verranno persi.
+save.title = Vuoi salvare le modifiche di %s
prima di chiudere?
+save.hint = Se non salverai, le tue modifiche verranno perse.
save.btn.save = Salva
save.btn.dont_save = Non salvare
# Close (Frame) also used to prompt on non-OS X machines
-close.unsaved_changes = Salvare cambiamenti di %s?
+close.unsaved_changes = Salvare le modifiche di %s?
# Preferences (Frame)
preferences = Preferenze
preferences.button.width = 80
preferences.requires_restart = richiede il riavvio di Processing
-preferences.sketchbook_location = Sketchbook location
-preferences.sketchbook_location.popup = Sketchbook location
+preferences.sketchbook_location = Percorso della cartella degli sketch
+preferences.sketchbook_location.popup = Percorso della cartella degli sketch
preferences.language = Lingua
-preferences.editor_and_console_font = 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 = Editor font size
-preferences.console_font_size = Console font size
-preferences.zoom = Interface scale
-preferences.zoom.auto = Automatic
-preferences.background_color = Background color when Presenting
-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 = Use smooth text in editor window
-preferences.enable_complex_text_input = Enable complex text input
-preferences.enable_complex_text_input_example = i.e. Japanese
-preferences.continuously_check = Continuously check for errors
-preferences.show_warnings = Show warnings
-preferences.code_completion = Code completion with
-preferences.trigger_with = Trigger with
-preferences.cmd_space = space
-preferences.suggest_imports = Suggest import statements
-preferences.increase_max_memory = Increase maximum available memory to
-preferences.delete_previous_folder_on_export = Delete previous folder on export
-preferences.check_for_updates_on_startup = Allow update checking (see FAQ for information shared)
-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
+preferences.editor_and_console_font = Font dell'Editor e della Console
+preferences.editor_and_console_font.tip = Scegli il font usato dall'Editor e dalla Console.
Solo font monospaced (larghezza fissa) possono essere usati,
sebbene la lista possa essere imperfetta.
+preferences.editor_font_size = Dimensione del font dell'Editor
+preferences.console_font_size = Dimensione del font della Console
+preferences.zoom = Scala dell'interfaccia
+preferences.zoom.auto = Automatica
+preferences.background_color = Colore di sfondo durante la modalità "Presenta"
+preferences.background_color.tip = Scegli il colore di sfondo durante la modalità "Presenta".
Questa modalità è utilizzata per mostrare uno sketch a tutto schermo;
è accessibile dal menù Sketch.
+preferences.use_smooth_text = Usa un font semplice nell'Editor
+preferences.enable_complex_text_input = Abilita la possibilità di usare caratteri complessi
+preferences.enable_complex_text_input_example = per esempio Giapponese
+preferences.continuously_check = Controlla continuamente la presenza di errori
+preferences.show_warnings = Mostra Warning
+preferences.code_completion = Completamento del codice con
+preferences.trigger_with = Abilita con
+preferences.cmd_space = spazio
+preferences.suggest_imports = Suggerisci il codice di import
+preferences.increase_max_memory = Aumenta la massima memoria disponibile a
+preferences.delete_previous_folder_on_export = Cancella le cartelle precedenti dopo l'export
+preferences.check_for_updates_on_startup = Consenti di controllare la presenza di aggiornamenti (vedi le FAQ per le informazioni condivise)
+preferences.run_sketches_on_display = Esegui Sketch nel monitor
+preferences.run_sketches_on_display.tip = Stabilisce il monitor nel quale gli sketch vengono inizalmente visualizzati.
Come al solito, se la finestra dello sketch viene spostata, si riaprirà nella
stessa posizione, tuttavia quando si esegue nella modalità "Presenta"
(tutto schermo), questo monitor verrà sempre utilizzato.
+preferences.automatically_associate_pde_files = Associa automaticamente i file .pde con Processing
+preferences.launch_programs_in = Lancia programmi in
+preferences.launch_programs_in.mode = modalità
+preferences.file = Più preferenze possono essere modificate nel file
+preferences.file.hint = modificalo solo quando Processing non è aperto
# Sketchbook Location (Frame)
sketchbook_location = Select new sketchbook location
From bed539a40703727f43b2223fc295376540a88710 Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Mon, 15 May 2017 23:18:21 +0200
Subject: [PATCH 07/26] translation until line 232
---
build/shared/lib/languages/PDE_it.properties | 56 ++++++++++----------
1 file changed, 28 insertions(+), 28 deletions(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index d483795a0..50570317e 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -191,45 +191,45 @@ preferences.file = Più preferenze possono essere modificate nel file
preferences.file.hint = modificalo solo quando Processing non è aperto
# Sketchbook Location (Frame)
-sketchbook_location = Select new sketchbook location
+sketchbook_location = Seleziona la nuova posizione della cartella degli Sketch
# Sketchbook (Frame)
-sketchbook = Sketchbook
-sketchbook.tree = Sketchbook
+sketchbook = Cartella degli Sketch
+sketchbook.tree = Cartella degli Sketch
# Examples (Frame)
-examples.title = %s Examples
-examples.add_examples = Add Examples...
-examples.libraries = Contributed Libraries
-examples.core_libraries = Libraries
-examples.contributed = Contributed Examples
+examples.title = %s Esempi
+examples.add_examples = Aggiungi Esempi...
+examples.libraries = Librerie di terze parti
+examples.core_libraries = Librarie
+examples.contributed = Esempi di terze parti
# Export (Frame)
-export = Export Options
-export.platforms = Platforms
-export.options = Options
-export.options.present = Presentation Mode
-export.options.show_stop_button = Show a Stop button
-export.description.line1 = Export to Application creates double-clickable,
-export.description.line2 = standalone applications for the selected platforms.
-export.unsaved_changes = Save changes before export?
-export.notice.cancel.unsaved_changes = Export canceled, changes must first be saved.
-export.notice.exporting = Exporting application...
-export.notice.exporting.done = Done exporting.
-export.notice.exporting.error = Error during export.
-export.notice.exporting.cancel = Export to Application canceled.
-export.tooltip.macosx = Mac OS X export is only available on Mac OS X
-export.full_screen = Full Screen
+export = Opzioni di esportazione
+export.platforms = Piattaforme
+export.options = Opzioni
+export.options.present = Modalità "Presenta"
+export.options.show_stop_button = Mostra il bottone di Stop
+export.description.line1 = Esporta come applicazione creerà
+export.description.line2 = delle applicazioni esegubili per la piattaforma scelta.
+export.unsaved_changes = Salvare le modifiche prima di esportare?
+export.notice.cancel.unsaved_changes = Esportazione cancellata, prima di eseguirlo è necessario salvare.
+export.notice.exporting = Esportando l'applicazione
+export.notice.exporting.done = Esportazione eseguita.
+export.notice.exporting.error = Errore durante l'esportazione.
+export.notice.exporting.cancel = Esportazione come applicazione cancellata.
+export.tooltip.macosx = L'esportazione per Mac OS X è disponibile solo su Mac OS X
+export.full_screen = Tutto Schermo
export.embed_java = Embed Java
export.embed_java.for = Embed Java for
export.code_signing = Code Signing
-export.messages.is_read_only = Sketch is Read-Only
-export.messages.is_read_only.description = Some files are marked "read-only", so you will\nneed to re-save the sketch in another location,\nand try again.
-export.messages.cannot_export = Cannot Export
-export.messages.cannot_export.description = You cannot export a sketch that has not been saved.
+export.messages.is_read_only = Sketch è in modalità di sola lettura
+export.messages.is_read_only.description = Alcuni files sono in modalità sola lettura, quindi dovrai\nsalvare lo Sketch in un'altra posizione\ne provare di nuovo.
+export.messages.cannot_export = Non è possibile esportare
+export.messages.cannot_export.description = Non puoi esportare uno Sketch che non è ancora stato salvato.
# Find (Frame)
-find = Find
+find = Trova
find.find = Find:
find.replace_with = Replace with:
find.ignore_case = Ignore Case
From b3b2b77bcc9d256fd6a4e50b615cd9158eec27d3 Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Thu, 18 May 2017 23:05:39 +0200
Subject: [PATCH 08/26] ita translation until line 314
---
build/shared/lib/languages/PDE_it.properties | 86 ++++++++++----------
1 file changed, 43 insertions(+), 43 deletions(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index 50570317e..fa2131c01 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -180,7 +180,7 @@ preferences.trigger_with = Abilita con
preferences.cmd_space = spazio
preferences.suggest_imports = Suggerisci il codice di import
preferences.increase_max_memory = Aumenta la massima memoria disponibile a
-preferences.delete_previous_folder_on_export = Cancella le cartelle precedenti dopo l'export
+preferences.delete_previous_folder_on_export = Elimina le cartelle precedenti dopo l'export
preferences.check_for_updates_on_startup = Consenti di controllare la presenza di aggiornamenti (vedi le FAQ per le informazioni condivise)
preferences.run_sketches_on_display = Esegui Sketch nel monitor
preferences.run_sketches_on_display.tip = Stabilisce il monitor nel quale gli sketch vengono inizalmente visualizzati.
Come al solito, se la finestra dello sketch viene spostata, si riaprirà nella
stessa posizione, tuttavia quando si esegue nella modalità "Presenta"
(tutto schermo), questo monitor verrà sempre utilizzato.
@@ -230,47 +230,47 @@ export.messages.cannot_export.description = Non puoi esportare uno Sketch che no
# Find (Frame)
find = Trova
-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.replace_and_find = Replace & Find
-find.btn.previous = Previous
-find.btn.find = Find
+find.find = Trova:
+find.replace_with = Sostituisci con:
+find.ignore_case = Ignora maiuscole / minuscole
+find.all_tabs = Cerca in tutte le schede
+find.wrap_around = Prosegui dall'inizio
+find.btn.replace_all = Sostituisci tutto
+find.btn.replace = Sostituisci
+find.btn.replace_and_find = Trova e sostituisci
+find.btn.previous = Trova precedente
+find.btn.find = Trova
# Find in reference (Frame)
-find_in_reference = Find in Reference
+find_in_reference = Trova nella guida
# File (Frame)
-file = Select an image or other data file to copy to your sketch
+file = Seleziona un'immagine o un altro file da copiare nel tuo sketch
# Create Font (Frame)
-create_font = Create Font
-create_font.label = Use this tool to create bitmap fonts for your program.\nSelect a font and size, and click 'OK' to generate the font.\nIt will be added to the data folder of the current sketch.
-create_font.size = Size
-create_font.smooth = Smooth
-create_font.characters = Characters...
-create_font.character_selector = Character Selector
-create_font.character_selector.label = Default characters will include most bitmaps for Mac OS\nand Windows Latin scripts. Including all characters may\nrequire large amounts of memory for all of the bitmaps.\nFor greater control, you can select specific Unicode blocks.
-create_font.default_characters = Default Characters
-create_font.all_characters = All Characters
-create_font.specific_unicode = Specific Unicode Blocks
-create_font.filename = Filename
+create_font = Crea un Font
+create_font.label = Usa questo strumento per creare dei font bitmap per il tuo programma.\nSeleziona un font e la dimensione, poi clicca su 'Ok' per generare il font.\nSarà aggiunto alla cartella dei dati del tuo sketch.
+create_font.size = Dimensione
+create_font.smooth = Caratteri semplici
+create_font.characters = Caratteri...
+create_font.character_selector = Selezionatore dei caratteri
+create_font.character_selector.label = I caratteri di default includono gran parte dei caratteri bitmap per Mac OS\ne Windows Latin scripts. Includere tutti i caratteri può\nrichiedere una grande quantità di memoria per tutti i bitmap.\nPEr un controllo maggiore puoi selezionare ogni specifico blocco Unicode.
+create_font.default_characters = Caratteri di default
+create_font.all_characters = Tutti i caratteri
+create_font.specific_unicode = Blocchi specifici Unicode
+create_font.filename = Nome del file
# Color Selector (Frame)
-color_selector = Color Selector
+color_selector = Selezionatore dei colori
# Archive Sketch (Frame)
-archive_sketch = Archive sketch as...
+archive_sketch = Archivia sketch come...
# Tweak Mode
-tweak_mode = Tweak Mode
-tweak_mode.save_before_tweak = Please save the sketch before running in Tweak Mode.
-tweak_mode.keep_changes.line1 = Keep the changes?
-tweak_mode.keep_changes.line2 = You changed some values in your sketch. Would you like to keep the changes?
+tweak_mode = Modalità Tweak
+tweak_mode.save_before_tweak = Per favore salva lo sketch prima di avviare la modalità Tweak.
+tweak_mode.keep_changes.line1 = Salvare i cambiamenti?
+tweak_mode.keep_changes.line2 = Hai cambiato alcuni valori nello sketch. Vuoi salvare i cambiamenti?
# DebugTray
debugger.name = Nome
@@ -281,16 +281,16 @@ debugger.type = Tipo
# Toolbars
# [Run/Present] [Stop] [New] [Open] [Save]
-toolbar.run = Run
-toolbar.present = Present
+toolbar.run = Esegui
+toolbar.present = Presenta
toolbar.stop = Stop
toolbar.debug = Debug
# ---
-toolbar.new = New
-toolbar.open = Open
-toolbar.save = Save
+toolbar.new = Nuovo
+toolbar.open = Apri
+toolbar.save = Salva
# toolbar.export_application = Export Application
-toolbar.add_mode = Add Mode...
+toolbar.add_mode = Aggiungi modalità...
# [Debug] [Continue] [Step] [Stop] [Toggle Breakpoints] [Variable Inspector]
#toolbar.debug.continue = Continue
@@ -305,13 +305,13 @@ toolbar.add_mode = Add Mode...
# Editor
# [Tab1] [Tab2] [v]
-editor.header.new_tab = New Tab
-editor.header.rename = Rename
-editor.header.delete = Delete
-editor.header.previous_tab = Previous Tab
-editor.header.next_tab = Next Tab
-editor.header.delete.warning.title = Yeah, no.
-editor.header.delete.warning.text = You cannot delete the main tab of the only open sketch.
+editor.header.new_tab = Nuova scheda
+editor.header.rename = Rinomina
+editor.header.delete = Elimina
+editor.header.previous_tab = Scheda precedente
+editor.header.next_tab = Scheda successiva
+editor.header.delete.warning.title = No.
+editor.header.delete.warning.text = Non puoi eliminare la scheda principale del tuo unico sketch aperto..
# PopUp menu
editor.popup.jump_to_declaration = Jump to Declaration
From 9b8de43cbb242c0a0336407bf265356ae6a49996 Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Sun, 21 May 2017 19:03:53 +0200
Subject: [PATCH 09/26] fixed error
Made an error in previous translation. Solved.
---
build/shared/lib/languages/PDE_it.properties | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index fa2131c01..7bbb526bf 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -539,7 +539,7 @@ warn.cannot_change_mode.body = Cannot change mode,\nbecause "%s" mode is not com
# ---------------------------------------
# Update Check
-update_check = Update
+update_check = Aggiorna
update_check.updates_available.core = A new version of Processing is available,\nwould you like to visit the Processing download page?
update_check.updates_available.contributions = There are updates available for some of the installed contributions,\nwould you like to open the the Contribution Manager now?
From dd2efcc4d654b115e2151c76e303f67ec2683991 Mon Sep 17 00:00:00 2001
From: gohai
Date: Mon, 22 May 2017 17:38:27 +0200
Subject: [PATCH 10/26] Build out shell a bit more
---
core/src/processing/core/PApplet.java | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java
index 0ad6380a4..be0b95a3d 100644
--- a/core/src/processing/core/PApplet.java
+++ b/core/src/processing/core/PApplet.java
@@ -3552,15 +3552,20 @@ public class PApplet implements PConstants {
* Same as exec() above, but prefixes the call with a shell.
*/
static public int shell(StringList stdout, StringList stderr, String... args) {
+ String shell;
+ String runCmd;
if (platform == WINDOWS) {
- throw new RuntimeException("Not yet implemented.");
+ shell = System.getenv("COMSPEC");
+ runCmd = "/C";
+ } else {
+ shell = "/bin/sh";
+ runCmd = "-c";
}
- String shell = System.getenv("SHELL"); // or just /bin/sh?
StringList argList = new StringList();
for (String arg : args) {
- argList.append(shellQuoted(arg));
+ argList.append(arg);
}
- return exec(stdout, stderr, shell, "-c", argList.join(" "));
+ return exec(stdout, stderr, shell, runCmd, argList.join(" "));
}
From 911c3abdd83a1a3731b4a964fad3a9dc8aad26e5 Mon Sep 17 00:00:00 2001
From: gohai
Date: Mon, 22 May 2017 19:36:37 +0200
Subject: [PATCH 11/26] Make shell pretend to be an interactive shell
---
core/src/processing/core/PApplet.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java
index be0b95a3d..74488d480 100644
--- a/core/src/processing/core/PApplet.java
+++ b/core/src/processing/core/PApplet.java
@@ -3554,14 +3554,19 @@ public class PApplet implements PConstants {
static public int shell(StringList stdout, StringList stderr, String... args) {
String shell;
String runCmd;
+ StringList argList = new StringList();
if (platform == WINDOWS) {
shell = System.getenv("COMSPEC");
runCmd = "/C";
} else {
shell = "/bin/sh";
runCmd = "-c";
+ // attempt emulate the behavior of an interactive shell
+ // can't use -i or -l since the version of bash shipped with macOS does not support this together with -c
+ // also we want to make sure no motd or similar gets returned as stdout
+ argList.append("if [ -f /etc/profile ]; then . /etc/profile >/dev/null 2>&1; fi;");
+ argList.append("if [ -f ~/.bash_profile ]; then . ~/.bash_profile >/dev/null 2>&1; elif [ -f ~/.bash_profile ]; then . ~/.bash_profile >/dev/null 2>&1; elif [ -f ~/.profile ]; then ~/.profile >/dev/null 2>&1; fi;");
}
- StringList argList = new StringList();
for (String arg : args) {
argList.append(arg);
}
From f0e8a657497edbb2ab8b923e37d35d9e9cb40a66 Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Fri, 26 May 2017 11:48:09 +0200
Subject: [PATCH 12/26] translation until line 333
---
build/shared/lib/languages/PDE_it.properties | 24 ++++++++++----------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index 7bbb526bf..4137db6ac 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -314,23 +314,23 @@ editor.header.delete.warning.title = No.
editor.header.delete.warning.text = Non puoi eliminare la scheda principale del tuo unico sketch aperto..
# PopUp menu
-editor.popup.jump_to_declaration = Jump to Declaration
-editor.popup.show_usage = Show Usage...
-editor.popup.rename = Rename...
+editor.popup.jump_to_declaration = Vai alla Dichiarazione
+editor.popup.show_usage = Mostra utilizzo...
+editor.popup.rename = Rinomina...
# Tabs
-editor.tab.new = New Name
-editor.tab.new.description = Name for new file
-editor.tab.rename = New Name
-editor.tab.rename.description = New name for file
+editor.tab.new = Nuovo Nome
+editor.tab.new.description = Nome del nuovo file
+editor.tab.rename = Nuovo Nome
+editor.tab.rename.description = Nuovo nome del file
# Sketch
-editor.sketch.rename.description = New name for sketch
+editor.sketch.rename.description = Nuovo nome dello scketch
-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.autoformat.no_changes = Nessuna modifica necessaria per l'Auto Format.
+editor.status.autoformat.finished = Auto Format finito.
+editor.status.find_reference.select_word_first = Per prima cosa selezionare una parola da trovare nella guida.
+editor.status.find_reference.not_available = Nessuna referenza disponibile per "%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.
From fa374e9b38724ddde7ab1c1f950fb1a5af2b1e22 Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Sun, 11 Jun 2017 15:32:13 +0200
Subject: [PATCH 13/26] translation until 390
---
build/shared/lib/languages/PDE_it.properties | 130 +++++++++----------
1 file changed, 65 insertions(+), 65 deletions(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index 4137db6ac..c03ff3912 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -328,70 +328,70 @@ editor.tab.rename.description = Nuovo nome del file
editor.sketch.rename.description = Nuovo nome dello scketch
editor.status.autoformat.no_changes = Nessuna modifica necessaria per l'Auto Format.
-editor.status.autoformat.finished = Auto Format finito.
+editor.status.autoformat.finished = Auto Format terminato.
editor.status.find_reference.select_word_first = Per prima cosa selezionare una parola da trovare nella guida.
editor.status.find_reference.not_available = Nessuna referenza disponibile per "%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 = Saving...
-editor.status.saving.done = Done saving.
-editor.status.saving.canceled = Save canceled.
-editor.status.printing = Printing...
-editor.status.printing.done = Done printing.
-editor.status.printing.error = Error while printing.
-editor.status.printing.canceled = Printing canceled.
-editor.status.copy_as_html = Code formatted as HTML has been copied to the clipboard.
-editor.status.debug.busy = Debugger busy...
-editor.status.debug.halt = Debugger halted.
-editor.status.archiver.create = Created archive "%s".
-editor.status.archiver.cancel = Archive sketch canceled.
+editor.status.drag_and_drop.files_added.0 = Nessun file aggiunto allo sketch.
+editor.status.drag_and_drop.files_added.1 = Un file aggiunto allo sketch.
+editor.status.drag_and_drop.files_added.n = %d file aggiunti allo sketch.
+editor.status.saving = Salvataggio...
+editor.status.saving.done = Salvataggio terminato.
+editor.status.saving.canceled = Salvataggio annullato.
+editor.status.printing = Stampa in corso...
+editor.status.printing.done = Stampa terminata.
+editor.status.printing.error = Errore durante la stampa.
+editor.status.printing.canceled = Stampa annullata.
+editor.status.copy_as_html = Il codice formattato in HTML è stato copiato.
+editor.status.debug.busy = Debugger occupato...
+editor.status.debug.halt = Debugger bloccato.
+editor.status.archiver.create = Creato archivio "%s".
+editor.status.archiver.cancel = Archivio sketch annullato.
# Errors
editor.status.warning = Warning
-editor.status.error = Error
-editor.status.error_on = Error on "%s"
-editor.status.missing.default = Missing "%c"
-editor.status.missing.semicolon = Missing a semicolon ";"
-editor.status.missing.left_sq_bracket = Missing left square bracket "["
-editor.status.missing.right_sq_bracket = Missing right square bracket "]"
-editor.status.missing.left_paren = Missing left parenthesis "("
-editor.status.missing.right_paren = Missing right parenthesis ")"
-editor.status.missing.left_curly_bracket = Missing left curly bracket "{"
-editor.status.missing.right_curly_bracket = Missing right curly bracket "}"
-editor.status.missing.add = Consider adding "%s"
-editor.status.reserved_words = "color" and "int" are reserved words & cannot be used as variable names
-editor.status.undefined_method = The function "%s(%s)" does not exist
-editor.status.undefined_constructor = The constructor "%s(%s)" does not exist
-editor.status.empty_param = The function "%s()" does not expect any parameters
-editor.status.wrong_param = The function "%s()" expects parameters like: "%s(%s)"
-editor.status.undef_global_var = The global variable "%s" does not exist
-editor.status.undef_class = The class "%s" does not exist
-editor.status.undef_var = The variable "%s" does not exist
-editor.status.undef_name = The name "%s" cannot be recognized
-editor.status.type_mismatch = Type mismatch, "%s" does not match with "%s"
-editor.status.unused_variable = The value of the local variable "%s" is not used
-editor.status.uninitialized_variable = The local variable "%s" may not have been initialized
-editor.status.no_effect_assignment = The assignment to variable "%s" has no effect
-editor.status.hiding_enclosing_type = The class "%s" cannot have the same name as your sketch or its enclosing class
+editor.status.error = Errore
+editor.status.error_on = Errore su "%s"
+editor.status.missing.default = Manca "%c"
+editor.status.missing.semicolon = Manca un punto e virgola ";"
+editor.status.missing.left_sq_bracket = Manca parentesi quadra sinistra "["
+editor.status.missing.right_sq_bracket = Manca parentesi quadra destra "]"
+editor.status.missing.left_paren = Manca parentesi sinistra "("
+editor.status.missing.right_paren = Manca parentesi destra ")"
+editor.status.missing.left_curly_bracket = Manca parentesi graffa sinistra "{"
+editor.status.missing.right_curly_bracket = Manca parentesi graffa destra "}"
+editor.status.missing.add = Considera di aggiungere "%s"
+editor.status.reserved_words = "color" e "int" sono parole riservate e non possono essere usate come nome di una variabile
+editor.status.undefined_method = La funzione "%s(%s)" non esiste
+editor.status.undefined_constructor = Il costruttore "%s(%s)" non esiste
+editor.status.empty_param = La funzione "%s()" non richiede alcun parametro
+editor.status.wrong_param = La funzione "%s()" si aspetta dei parametri come: "%s(%s)"
+editor.status.undef_global_var = La variabile globale "%s" non esiste
+editor.status.undef_class = La classe "%s" non esiste
+editor.status.undef_var = La variabile "%s" non esiste
+editor.status.undef_name = Il nome "%s" non può essere riconosciuto
+editor.status.type_mismatch = Errore di battitura, "%s" non combacia con "%s"
+editor.status.unused_variable = Il valore della variabile locale "%s" non è usato
+editor.status.uninitialized_variable = La variabile locale "%s" potrebbe non essere stata inizializzata
+editor.status.no_effect_assignment = L'assegnazione alla variabile "%s" non ha effetto
+editor.status.hiding_enclosing_type = La classe "%s" non può avere lo stesso nome del tuo sketch o della classe che la contiene
# Footer buttons
-editor.footer.errors = Errors
-editor.footer.errors.problem = Problem
+editor.footer.errors = Errori
+editor.footer.errors.problem = Problemi
editor.footer.errors.tab = Tab
-editor.footer.errors.line = Line
+editor.footer.errors.line = Linea
editor.footer.console = Console
# New handler
-new.messages.is_read_only = Sketch is Read-Only
-new.messages.is_read_only.description = Some files are marked "read-only", so you will\nneed to re-save the sketch in another location,\nand try again.
+new.messages.is_read_only = Lo sketch è in modalità sola lettura.
+new.messages.is_read_only.description = Alcuni files sono in sola lettura, quindi devi\nsalvare lo sketch in un'altra cartella,\ne provare di nuovo.
# Rename handler
-rename.messages.is_untitled = Sketch is Untitled
-rename.messages.is_untitled.description = How about saving the sketch first\nbefore trying to rename it?
-rename.messages.is_modified = Please save the sketch before renaming.
-rename.messages.is_read_only = Sketch is Read-Only
-rename.messages.is_read_only.description = Some files are marked "read-only", so you will\nneed to re-save the sketch in another location,\nand try again.
+rename.messages.is_untitled = Sketch senza nome
+rename.messages.is_untitled.description = Che ne dici di salvare lo sketch\nprima di provare a rinominarlo?
+rename.messages.is_modified = Per favore salva lo sketch prima di rinominarlo.
+rename.messages.is_read_only = Lo sketch è in modalità sola lettura.
+rename.messages.is_read_only.description = Alcuni files sono in sola lettura, quindi devi\nsalvare lo sketch in un'altra cartella,\ne provare di nuovo.
# Naming handler
name.messages.problem_renaming = Problem with rename
@@ -412,12 +412,12 @@ delete.messages.cannot_delete = Cannot Delete
delete.messages.cannot_delete.description = You cannot delete a sketch that has not been saved.
delete.messages.cannot_delete.file = Could not do it
delete.messages.cannot_delete.file.description = Could not delete
-delete.messages.is_read_only = Sketch is Read-Only
-delete.messages.is_read_only.description = Some files are marked "read-only", so you will\nneed to re-save the sketch in another location,\nand try again.
+delete.messages.is_read_only = Lo sketch è in modalità sola lettura.
+delete.messages.is_read_only.description = Alcuni files sono in sola lettura, quindi devi\nsalvare lo sketch in un'altra cartella,\ne provare di nuovo.
# Save handler
-save_file.messages.is_read_only = Sketch is read-only
-save_file.messages.is_read_only.description = Some files are marked "read-only", so you will\nneed to re-save this sketch to another location.
+save_file.messages.is_read_only = Lo sketch è in modalità sola lettura.
+save_file.messages.is_read_only.description = Alcuni files sono in sola lettura, quindi devi\nsalvare questo sketch in un'altra cartella.
save_file.messages.sketch_exists = Cannot Save
save_file.messages.sketch_exists.description = A sketch with the cleaned name\n“%s” already exists.
save_file.messages.tab_exists = Nope
@@ -426,8 +426,8 @@ save_file.messages.recursive_save = How very Borges of you
save_file.messages.recursive_save.description = You cannot save the sketch into a folder\ninside itself. This would go on forever.
# Add handler
-add_file.messages.is_read_only = Sketch is Read-Only
-add_file.messages.is_read_only.description = Some files are marked "read-only", so you will\nneed to re-save the sketch in another location,\nand try again.
+add_file.messages.is_read_only = Lo sketch è in modalità sola lettura.
+add_file.messages.is_read_only.description = Alcuni files sono in sola lettura, quindi devi\nsalvare lo sketch in un'altra cartella,\ne provare di nuovo.
add_file.messages.confirm_replace = Replace the existing version of %s?
add_file.messages.error_adding = Error adding file
add_file.messages.cannot_delete.description = Could not delete the existing '%s' file.
@@ -529,26 +529,26 @@ contrib.import.errors.link = Error: The library %s has a strange looking downloa
# ---------------------------------------
# Warnings
-warn.delete = Delete
-warn.delete.sketch = Are you sure you want to delete this sketch?
-warn.delete.file = Are you sure you want to delete "%s"?
-warn.cannot_change_mode.title = Cannot change mode
-warn.cannot_change_mode.body = Cannot change mode,\nbecause "%s" mode is not compatible with current mode.
+warn.delete = Cancella
+warn.delete.sketch = Sei sicuro di voler cancellare questo sketch?
+warn.delete.file = Sei sicuro di voler cancellare "%s"?
+warn.cannot_change_mode.title = Impossibile cambiare modalità
+warn.cannot_change_mode.body = Impossibile cambiare modalità,\npoichè la modalità "%s" non è compatibile con quella corrente.
# ---------------------------------------
# Update Check
update_check = Aggiorna
-update_check.updates_available.core = A new version of Processing is available,\nwould you like to visit the Processing download page?
+update_check.updates_available.core = Una nuova versione di Processing è disponibile,\nvuoi visitare la pagina di download del sito di Processing?
update_check.updates_available.contributions = There are updates available for some of the installed contributions,\nwould you like to open the the Contribution Manager now?
# ---------------------------------------
# Color Chooser
-color_chooser = Color Selector
-color_chooser.select = Select
+color_chooser = Selezionatore dei colori
+color_chooser.select = Seleziona
# ---------------------------------------
# Movie Maker
From 0f89707d6299bc5ac9916ac4e59de63760baee0c Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Sun, 11 Jun 2017 15:43:05 +0200
Subject: [PATCH 14/26] translation until 390 and beyond
---
build/shared/lib/languages/PDE_it.properties | 24 ++++++++++----------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index c03ff3912..d9d9949de 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -1,4 +1,4 @@
-
+Annulla
# ---------------------------------------
# Language: Italiano (Italian) (it)
@@ -335,10 +335,10 @@ editor.status.drag_and_drop.files_added.0 = Nessun file aggiunto allo sketch.
editor.status.drag_and_drop.files_added.1 = Un file aggiunto allo sketch.
editor.status.drag_and_drop.files_added.n = %d file aggiunti allo sketch.
editor.status.saving = Salvataggio...
-editor.status.saving.done = Salvataggio terminato.
+editor.status.saving.done = Salvataggio eseguito.
editor.status.saving.canceled = Salvataggio annullato.
editor.status.printing = Stampa in corso...
-editor.status.printing.done = Stampa terminata.
+editor.status.printing.done = Stampa eseguita.
editor.status.printing.error = Errore durante la stampa.
editor.status.printing.canceled = Stampa annullata.
editor.status.copy_as_html = Il codice formattato in HTML è stato copiato.
@@ -408,8 +408,8 @@ name.messages.no_rename_file.description = Could not rename "%s" to "%s"
name.messages.no_create_file.description = Could not create the file "%s"\nin "%s"
# Delete handler
-delete.messages.cannot_delete = Cannot Delete
-delete.messages.cannot_delete.description = You cannot delete a sketch that has not been saved.
+delete.messages.cannot_delete = Impossibile eliminare
+delete.messages.cannot_delete.description = Non puoi eliminare uno sketch che non è stato salvato.
delete.messages.cannot_delete.file = Could not do it
delete.messages.cannot_delete.file.description = Could not delete
delete.messages.is_read_only = Lo sketch è in modalità sola lettura.
@@ -486,11 +486,11 @@ contrib.errors.contrib_download.timeout = Connection timed out while downloading
contrib.errors.no_internet_connection = You do not seem to be connected to the Internet.
contrib.status.downloading_list = Downloading contribution list...
contrib.status.connecting = Connecting...
-contrib.status.done = Done.
+contrib.status.done = Fatto.
contrib.all = All
-contrib.undo = Undo
+contrib.undo = Annulla
contrib.remove = Remove
-contrib.install = Install
+contrib.install = Installa
contrib.progress.installing = Installing
contrib.progress.starting = Starting
contrib.progress.downloading = Downloading
@@ -522,16 +522,16 @@ contrib.import.dialog.primary_text = The following imported libraries are avail
contrib.import.dialog.secondary_text = Would you like to install them now?
contrib.import.progress.download = Downloading %s...
contrib.import.progress.install = Installing %s...
-contrib.import.progress.done = %s has been installed.
+contrib.import.progress.done = %s è stato installato.
contrib.import.progress.final_list = The following libraries have been installed:
contrib.import.errors.link = Error: The library %s has a strange looking download link.
# ---------------------------------------
# Warnings
-warn.delete = Cancella
-warn.delete.sketch = Sei sicuro di voler cancellare questo sketch?
-warn.delete.file = Sei sicuro di voler cancellare "%s"?
+warn.delete = Elimina
+warn.delete.sketch = Sei sicuro di voler eliminare questo sketch?
+warn.delete.file = Sei sicuro di voler eliminare "%s"?
warn.cannot_change_mode.title = Impossibile cambiare modalità
warn.cannot_change_mode.body = Impossibile cambiare modalità,\npoichè la modalità "%s" non è compatibile con quella corrente.
From 235fb0a3eae14b56cd302b7d52d8a9385a64f0ff Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Mon, 12 Jun 2017 22:16:24 +0200
Subject: [PATCH 15/26] translation until line 455
---
build/shared/lib/languages/PDE_it.properties | 66 ++++++++++----------
1 file changed, 33 insertions(+), 33 deletions(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index d9d9949de..f694e2f30 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -394,59 +394,59 @@ rename.messages.is_read_only = Lo sketch è in modalità sola lettura.
rename.messages.is_read_only.description = Alcuni files sono in sola lettura, quindi devi\nsalvare lo sketch in un'altra cartella,\ne provare di nuovo.
# Naming handler
-name.messages.problem_renaming = Problem with rename
-name.messages.starts_with_dot.description = The name cannot start with a period.
-name.messages.invalid_extension.description = ".%s" is not a valid extension.
-name.messages.main_java_extension.description = The first tab cannot be a .%s file.\n(It may be time for you to graduate to a\n"real" programming environment, hotshot.)
-name.messages.new_sketch_exists = Nope
-name.messages.new_sketch_exists.description = A file named "%s" already exists at\n"%s"
-name.messages.new_folder_exists = Cannot Rename
-name.messages.new_folder_exists.description = Sorry, a sketch (or folder) named "%s" already exists.
-name.messages.error = Error
-name.messages.no_rename_folder.description = Could not rename the sketch folder.
-name.messages.no_rename_file.description = Could not rename "%s" to "%s"
-name.messages.no_create_file.description = Could not create the file "%s"\nin "%s"
+name.messages.problem_renaming = Problema con nuovo nome
+name.messages.starts_with_dot.description = Il nome non può iniziare con un punto.
+name.messages.invalid_extension.description = ".%s" non è un'estensione valida.
+name.messages.main_java_extension.description = La prima tab non può essere un file .%s.\n(Potrebbe essere il caso che tu passi a un\n"vero" ambiente di sviluppo.)
+name.messages.new_sketch_exists = No
+name.messages.new_sketch_exists.description = Un file chiamato "%s" esiste già in\n"%s"
+name.messages.new_folder_exists = Impossibile rinominare
+name.messages.new_folder_exists.description = Putroppo uno sketch (o cartella) chiamato "%s" esiste già.
+name.messages.error = Errore
+name.messages.no_rename_folder.description = Impossibile rinominare la cartella dello sketch.
+name.messages.no_rename_file.description = Impossibile rinominare "%s" in "%s"
+name.messages.no_create_file.description = Impossibile creare il file "%s"\nin "%s"
# Delete handler
delete.messages.cannot_delete = Impossibile eliminare
delete.messages.cannot_delete.description = Non puoi eliminare uno sketch che non è stato salvato.
-delete.messages.cannot_delete.file = Could not do it
-delete.messages.cannot_delete.file.description = Could not delete
+delete.messages.cannot_delete.file = Impossibile
+delete.messages.cannot_delete.file.description = Impossibile eliminare
delete.messages.is_read_only = Lo sketch è in modalità sola lettura.
delete.messages.is_read_only.description = Alcuni files sono in sola lettura, quindi devi\nsalvare lo sketch in un'altra cartella,\ne provare di nuovo.
# Save handler
save_file.messages.is_read_only = Lo sketch è in modalità sola lettura.
save_file.messages.is_read_only.description = Alcuni files sono in sola lettura, quindi devi\nsalvare questo sketch in un'altra cartella.
-save_file.messages.sketch_exists = Cannot Save
-save_file.messages.sketch_exists.description = A sketch with the cleaned name\n“%s” already exists.
-save_file.messages.tab_exists = Nope
-save_file.messages.tab_exists.description = You cannot save the sketch as "%s"\nbecause the sketch already has a tab with that name.
-save_file.messages.recursive_save = How very Borges of you
-save_file.messages.recursive_save.description = You cannot save the sketch into a folder\ninside itself. This would go on forever.
+save_file.messages.sketch_exists = Impossibile salvare
+save_file.messages.sketch_exists.description = Uno sketch con il nome\n“%s” esiste già.
+save_file.messages.tab_exists = No
+save_file.messages.tab_exists.description = Non puoi salvare lo sketch come "%s"\npoichè lo sketch ha già una tab con quel nome.
+save_file.messages.recursive_save = Sei amico di Borges
+save_file.messages.recursive_save.description = Non puoi salvare lo sketch in una cartella\ndentro se stessa: andrebbe avanti all'infinito.
# Add handler
add_file.messages.is_read_only = Lo sketch è in modalità sola lettura.
add_file.messages.is_read_only.description = Alcuni files sono in sola lettura, quindi devi\nsalvare lo sketch in un'altra cartella,\ne provare di nuovo.
-add_file.messages.confirm_replace = Replace the existing version of %s?
-add_file.messages.error_adding = Error adding file
-add_file.messages.cannot_delete.description = Could not delete the existing '%s' file.
-add_file.messages.cannot_add.description = Could not add '%s' to the sketch.
-add_file.messages.same_file = You can't fool me
-add_file.messages.same_file.description = This file has already been copied to the\nlocation from which where you're trying to add it.\nI ain't not doin nuthin'.
+add_file.messages.confirm_replace = Sostituire l'esitente versione di %s?
+add_file.messages.error_adding = Errore aggiungendo il file
+add_file.messages.cannot_delete.description = Impossibile eliminare il corrente file '%s'.
+add_file.messages.cannot_add.description = Impossibile aggiungere '%s' allo sketch.
+add_file.messages.same_file = Non puoi fregarmi
+add_file.messages.same_file.description = Questo file è già stato copiato nella\nquale tu stavic cercando di aggiugnerlo.\nNon lo farò.
# Temp folder creator
-temp_dir.messages.bad_build_folder = Build folder bad
-temp_dir.messages.bad_build_folder.description = Could not find a place to build the sketch.
+temp_dir.messages.bad_build_folder = Errore nella compilazione della cartella
+temp_dir.messages.bad_build_folder.description = Impossibile trovare una cartella dove compilare lo sketch.
# Ensure Existance
-ensure_exist.messages.missing_sketch = Sketch Disappeared
-ensure_exist.messages.missing_sketch.description = The sketch folder has disappeared.\nWill attempt to re-save in the same location,\nbut anything besides the code will be lost.
-ensure_exist.messages.unrecoverable = Could not re-save sketch
-ensure_exist.messages.unrecoverable.description = Could not properly re-save the sketch. You may be in trouble at this point,\nand it might be time to copy and paste your code to another text editor.
+ensure_exist.messages.missing_sketch = Sketch scomparso.
+ensure_exist.messages.missing_sketch.description = Cartella dello sketch scomparsa.\nProverò a ri-salvarla nella stessa location,\nma qualsiasi cosa eccetto il codice verrà persa.
+ensure_exist.messages.unrecoverable = Impossibile ri-salvare lo sketch.
+ensure_exist.messages.unrecoverable.description = Impossibile ri-salvare correttamente lo sketch. Potresti incontrare qualche problema,\ne potrebbe essere l'ora di copiare e incollare il codice in un altro editor di testo.
# Check name
-check_name.messages.is_name_modified = The sketch name had to be modified. Sketch names can only consist\nof ASCII characters and numbers (but cannot start with a number).\nThey should also be less than 64 characters long.
+check_name.messages.is_name_modified = Il nome dello sketch deve essere modificato. Il nome può consistere solo di\ncaratteri e numeri ASCII (ma non può cominciare con un numero).\nInoltre devono essere di lunghezza inferiore ai 64 caratteri.
# ---------------------------------------
# Contributions
From 15b99217b571f44d27519d201bed31e43d62ab95 Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Tue, 13 Jun 2017 21:57:41 +0200
Subject: [PATCH 16/26] translation until line 473
---
build/shared/lib/languages/PDE_it.properties | 42 ++++++++++----------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index f694e2f30..e1867d9a4 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -269,8 +269,8 @@ archive_sketch = Archivia sketch come...
# Tweak Mode
tweak_mode = Modalità Tweak
tweak_mode.save_before_tweak = Per favore salva lo sketch prima di avviare la modalità Tweak.
-tweak_mode.keep_changes.line1 = Salvare i cambiamenti?
-tweak_mode.keep_changes.line2 = Hai cambiato alcuni valori nello sketch. Vuoi salvare i cambiamenti?
+tweak_mode.keep_changes.line1 = Salvare le modifiche?
+tweak_mode.keep_changes.line2 = Hai cambiato alcuni valori nello sketch. Vuoi salvare le modifiche?
# DebugTray
debugger.name = Nome
@@ -452,25 +452,25 @@ check_name.messages.is_name_modified = Il nome dello sketch deve essere modifica
# Contributions
# Contribution Panel
-contrib = Contribution Manager
-contrib.manager_title.update = Update Manager
-contrib.manager_title.mode = Mode Manager
-contrib.manager_title.tool = Tool Manager
-contrib.manager_title.library = Library Manager
-contrib.manager_title.examples = Examples Manager
-contrib.category = Category:
-contrib.filter_your_search = Filter your search...
-contrib.show_only_compatible.mode = Show Only Compatible Modes
-contrib.show_only_compatible.tool = Show Only Compatible Tools
-contrib.show_only_compatible.library = Show Only Compatible Libraries
-contrib.show_only_compatible.examples = Show Only Compatible Examples
-contrib.show_only_compatible.update = Show Only Compatible Updates
-contrib.restart = Restart Processing
-contrib.unsaved_changes = Unsaved changes have been found
-contrib.unsaved_changes.prompt = Are you sure you want to restart Processing without saving first?
-contrib.messages.remove_restart = Please restart Processing to finish removing this item.
-contrib.messages.install_restart = Please restart Processing to finish installing this item.
-contrib.messages.update_restart = Please restart Processing to finish updating this item.
+contrib = Manager dei Contributi
+contrib.manager_title.update = Manager degli Aggiornamenti
+contrib.manager_title.mode = Manager delle Modalità
+contrib.manager_title.tool = Manager degli Strumenti
+contrib.manager_title.library = Manager della Libreria
+contrib.manager_title.examples = Manager degli esempi
+contrib.category = Categoria:
+contrib.filter_your_search = Filtra la tua ricerca...
+contrib.show_only_compatible.mode = Mostra solo modalità compatibili
+contrib.show_only_compatible.tool = Mostra solo strumenti compatibili
+contrib.show_only_compatible.library = Mostra solo librerie compatibili
+contrib.show_only_compatible.examples = Mostra solo esempi compatibili
+contrib.show_only_compatible.update = Mostra solo aggiornamenti compatibili
+contrib.restart = Riavvia Processing
+contrib.unsaved_changes = Sono presenti modifiche non salvate
+contrib.unsaved_changes.prompt = Sei sicuro di voler riavviare Processing senza salvare le modifiche?
+contrib.messages.remove_restart = Per favore riavvia Processing per finire di rimuovere questo componente.
+contrib.messages.install_restart = Per favore riavvia Processing per finire di installare questo componente.
+contrib.messages.update_restart = Per favore riavvia Processing per finire di aggiornare questo componente.
contrib.errors.list_download = Could not download the list of available contributions.
contrib.errors.list_download.timeout = Connection timed out while downloading the contribution list.
contrib.errors.download_and_install = Error during download and install of %s.
From 64bfbf9ec692145f5841a33b83a15cc914fab249 Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Fri, 16 Jun 2017 22:35:15 +0200
Subject: [PATCH 17/26] translation until line 473
---
build/shared/lib/languages/PDE_it.properties | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index e1867d9a4..257daed11 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -174,7 +174,7 @@ preferences.use_smooth_text = Usa un font semplice nell'Editor
preferences.enable_complex_text_input = Abilita la possibilità di usare caratteri complessi
preferences.enable_complex_text_input_example = per esempio Giapponese
preferences.continuously_check = Controlla continuamente la presenza di errori
-preferences.show_warnings = Mostra Warning
+preferences.show_warnings = Mostra Avvisi
preferences.code_completion = Completamento del codice con
preferences.trigger_with = Abilita con
preferences.cmd_space = spazio
@@ -348,7 +348,7 @@ editor.status.archiver.create = Creato archivio "%s".
editor.status.archiver.cancel = Archivio sketch annullato.
# Errors
-editor.status.warning = Warning
+editor.status.warning = Avviso
editor.status.error = Errore
editor.status.error_on = Errore su "%s"
editor.status.missing.default = Manca "%c"
From 8e0c370c4faa1eae80a78af820e1b036331d1576 Mon Sep 17 00:00:00 2001
From: Ben Fry
Date: Fri, 23 Jun 2017 17:06:07 -0400
Subject: [PATCH 18/26] working on 3.3.5 release
---
build/shared/revisions.txt | 39 ++++++++++++++++++++++++++++++++++++++
core/todo.txt | 5 +++++
todo.txt | 25 ++++++++++++++++--------
3 files changed, 61 insertions(+), 8 deletions(-)
diff --git a/build/shared/revisions.txt b/build/shared/revisions.txt
index 1c2cac02a..4898a80d2 100644
--- a/build/shared/revisions.txt
+++ b/build/shared/revisions.txt
@@ -1,3 +1,42 @@
+PROCESSING 3.3.5 (REV 0262) - 23 June 2017
+
+Fixes for a couple problems introduced in the last release.
+
+
+[ everything that went bad ]
+
++ Console window was only remembering two lines of text
+ because of a name collision in the preferences handling.
+ https://github.com/processing/processing/issues/5110
+
++ Something went wrong with the 64-bit Linux release:
+ "libjli.so: cannot open shared object file: No such file or directory"
+ https://github.com/processing/processing/issues/5111
+
++ "Could not parse -1 for --display" message on some Windows machines
+ https://github.com/processing/processing/issues/5118
+ https://github.com/processing/processing/pull/5141
+
+
+[ some new things hopefully going good ]
+
++ Fix a NullPointerException that showed up with textWidth() and OpenGL
+ https://github.com/processing/processing/issues/5137
+ https://github.com/processing/processing/pull/5138
+
++ Per request, use native file choosers by default on Linux. I'm told
+ that the default Linux file choosers have grown up in the last decade.
+ I'm trusting the person who is making that claim and making them default.
+ https://github.com/processing/processing/issues/5122
+ To get the old behavior in the Editor, change preferences.txt to say:
+ chooser.files.native = false
+ Or in your code, add this line:
+ useNativeSelect = false;
+
+
+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
+
+
PROCESSING 3.3.4 (REV 0261) - 3 June 2017
Several useful bug fixes and improvements. Some big, many small.
diff --git a/core/todo.txt b/core/todo.txt
index c29d29bf3..d2bec0a91 100644
--- a/core/todo.txt
+++ b/core/todo.txt
@@ -1,6 +1,11 @@
0262 (3.3.5 or 3.4)
X default to using native select on all platforms
+contrib
+X Add defaultFontOrDeath to OpenGL textWidth
+X https://github.com/processing/processing/issues/5137
+X https://github.com/processing/processing/pull/5138
+
_ shell discussion with gohai
_ https://github.com/processing/processing/pull/5082
diff --git a/todo.txt b/todo.txt
index 7ea239fc7..3ac674b69 100755
--- a/todo.txt
+++ b/todo.txt
@@ -1,21 +1,30 @@
0262 (3.3.5 or 3.4)
X use native Linux file choosers by default
X https://github.com/processing/processing/issues/5122
-
-_ Console window losing text
-_ https://github.com/processing/processing/issues/5110
-_ console.lines was set to 2?
+X Console window losing text
+X https://github.com/processing/processing/issues/5110
_ Linux 64-bit issues
_ https://github.com/processing/processing/issues/5111
-_ display=-1 regression? ("could not parse" message)
-_ https://github.com/processing/processing/issues/5118
-_ detect errors from curved quotation marks
-_ https://github.com/processing/processing/issues/5133
+contrib
+X display=-1 regression ("could not parse" message)
+X https://github.com/processing/processing/issues/5118
+X https://github.com/processing/processing/pull/5141
+
contrib
_ console hiding button?
_ https://github.com/processing/processing/pull/5115
+_ make "loadXML(String)" handle "file not found"
+_ https://github.com/processing/processing/pull/5144
+
+_ make setting the window icon automatic, based on files in local dirs
+_ https://github.com/processing/processing/issues/5123
+_ need to make this work behind the scenes instead
+_ create icon.png or have an 'icons' folder with multiple sizes
+
+_ detect errors from curved quotation marks
+_ https://github.com/processing/processing/issues/5133
_ sketch.properties not being written if initial mode is p5.js?
_ when creating a sketch within non-Java mode, should write the settings file
From 4b26da92cdddf0ea0e924e6e958869acf8ad0866 Mon Sep 17 00:00:00 2001
From: Ben Fry
Date: Fri, 23 Jun 2017 19:01:42 -0400
Subject: [PATCH 19/26] starting the next release
---
app/src/processing/app/Base.java | 4 ++--
core/done.txt | 9 +++++++++
core/todo.txt | 8 +-------
done.txt | 14 ++++++++++++++
todo.txt | 13 +------------
5 files changed, 27 insertions(+), 21 deletions(-)
diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java
index c4a25bb90..06b01c083 100644
--- a/app/src/processing/app/Base.java
+++ b/app/src/processing/app/Base.java
@@ -55,9 +55,9 @@ import processing.data.StringList;
public class Base {
// Added accessors for 0218 because the UpdateCheck class was not properly
// updating the values, due to javac inlining the static final values.
- static private final int REVISION = 262;
+ static private final int REVISION = 263;
/** This might be replaced by main() if there's a lib/version.txt file. */
- static private String VERSION_NAME = "0262"; //$NON-NLS-1$
+ static private String VERSION_NAME = "0263"; //$NON-NLS-1$
/** Set true if this a proper release rather than a numbered revision. */
/**
diff --git a/core/done.txt b/core/done.txt
index d8a7e7d0a..5468d84ff 100644
--- a/core/done.txt
+++ b/core/done.txt
@@ -1,3 +1,12 @@
+0262 (3.3.5)
+X default to using native select on all platforms
+
+contrib
+X Add defaultFontOrDeath to OpenGL textWidth
+X https://github.com/processing/processing/issues/5137
+X https://github.com/processing/processing/pull/5138
+
+
0261 (3.3.4)
X add exec() with StringList options
X start to add stub for shell() function
diff --git a/core/todo.txt b/core/todo.txt
index d2bec0a91..93a78b1ab 100644
--- a/core/todo.txt
+++ b/core/todo.txt
@@ -1,10 +1,4 @@
-0262 (3.3.5 or 3.4)
-X default to using native select on all platforms
-
-contrib
-X Add defaultFontOrDeath to OpenGL textWidth
-X https://github.com/processing/processing/issues/5137
-X https://github.com/processing/processing/pull/5138
+0263 (3.3.6 or 3.4)
_ shell discussion with gohai
diff --git a/done.txt b/done.txt
index e8f8f435a..527961f6e 100644
--- a/done.txt
+++ b/done.txt
@@ -1,3 +1,17 @@
+0262 (3.3.5 or 3.4)
+X use native Linux file choosers by default
+X https://github.com/processing/processing/issues/5122
+X Console window losing text
+X https://github.com/processing/processing/issues/5110
+X Linux 64-bit issues
+X https://github.com/processing/processing/issues/5111
+
+contrib
+X display=-1 regression ("could not parse" message)
+X https://github.com/processing/processing/issues/5118
+X https://github.com/processing/processing/pull/5141
+
+
0261 (3.3.4)
X redo console handling to not use Timer, fixing freeze-up problems
o https://github.com/processing/processing/pull/4935
diff --git a/todo.txt b/todo.txt
index 3ac674b69..3b6a35ed6 100755
--- a/todo.txt
+++ b/todo.txt
@@ -1,15 +1,4 @@
-0262 (3.3.5 or 3.4)
-X use native Linux file choosers by default
-X https://github.com/processing/processing/issues/5122
-X Console window losing text
-X https://github.com/processing/processing/issues/5110
-_ Linux 64-bit issues
-_ https://github.com/processing/processing/issues/5111
-
-contrib
-X display=-1 regression ("could not parse" message)
-X https://github.com/processing/processing/issues/5118
-X https://github.com/processing/processing/pull/5141
+0263 (3.3.6 or 3.4)
contrib
From f9545b758d5693c9bcdf779a020437d76ccba2e1 Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Mon, 10 Jul 2017 19:04:14 +0200
Subject: [PATCH 20/26] translation until line 515
---
build/shared/lib/languages/PDE_it.properties | 64 ++++++++++----------
1 file changed, 32 insertions(+), 32 deletions(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index 257daed11..39b7d3ab5 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -471,45 +471,45 @@ contrib.unsaved_changes.prompt = Sei sicuro di voler riavviare Processing senza
contrib.messages.remove_restart = Per favore riavvia Processing per finire di rimuovere questo componente.
contrib.messages.install_restart = Per favore riavvia Processing per finire di installare questo componente.
contrib.messages.update_restart = Per favore riavvia Processing per finire di aggiornare questo componente.
-contrib.errors.list_download = Could not download the list of available contributions.
-contrib.errors.list_download.timeout = Connection timed out while downloading the contribution list.
-contrib.errors.download_and_install = Error during download and install of %s.
-contrib.errors.description_unavailable = Description unavailable.
-contrib.errors.malformed_url = The link fetched from Processing.org is not valid.\nYou can still install this library manually by visiting\nthe library\'s website.
-contrib.errors.needs_repackage = %s needs to be repackaged according to the %s guidelines.
-contrib.errors.no_contribution_found = Could not find a %s in the downloaded file.
-contrib.errors.overwriting_properties = Error overwriting .properties file.
-contrib.errors.install_failed = Install failed.
-contrib.errors.update_on_restart_failed = Update on restart of %s failed.
-contrib.errors.temporary_directory = Could not write to temporary directory.
-contrib.errors.contrib_download.timeout = Connection timed out while downloading %s.
-contrib.errors.no_internet_connection = You do not seem to be connected to the Internet.
-contrib.status.downloading_list = Downloading contribution list...
-contrib.status.connecting = Connecting...
+contrib.errors.list_download = Impossibile scaricare la lista dei contributi disponibili.
+contrib.errors.list_download.timeout = Connessione interrotta durante il download della lista dei contributi.
+contrib.errors.download_and_install = Errore durante il download e l'installazione di %s.
+contrib.errors.description_unavailable = Descrizione non disponibile.
+contrib.errors.malformed_url = Il link ottenuto da Processing.org non è valido.\nPuoi comunque installare la libreria manualmente visitando\nil suo sito web.
+contrib.errors.needs_repackage = %s necessita di ricreare il suo pacchetto secondo le %s lineeguida.
+contrib.errors.no_contribution_found = Impossibile trovare un %s nel file scaricato.
+contrib.errors.overwriting_properties = Errore sovrascrivendo il file .properties.
+contrib.errors.install_failed = Installazione fallita
+contrib.errors.update_on_restart_failed = L'aggiornamento al riavvio di %s è fallito.
+contrib.errors.temporary_directory = Impossibile scrivere nella cartella temporanea.
+contrib.errors.contrib_download.timeout = Connessione interrotta durante il download di %s.
+contrib.errors.no_internet_connection = Sembra che tu non sia connesso a Internet.
+contrib.status.downloading_list = Scaricando la lista dei contributi...
+contrib.status.connecting = Connettendosi...
contrib.status.done = Fatto.
-contrib.all = All
+contrib.all = Tutti
contrib.undo = Annulla
-contrib.remove = Remove
+contrib.remove = Rimuovi
contrib.install = Installa
-contrib.progress.installing = Installing
-contrib.progress.starting = Starting
-contrib.progress.downloading = Downloading
-contrib.download_error = An error occured while downloading the contribution.
-contrib.unsupported_operating_system = Your operating system does not appear to be supported. You should visit the %s\'s library for more info.
+contrib.progress.installing = Installando
+contrib.progress.starting = Inizializzando
+contrib.progress.downloading = Scaricando
+contrib.download_error = Errore durante il download del contributo.
+contrib.unsupported_operating_system = Il tuo sistema operativo sembra non essere supportato. Dovresti visitare %s della libreria per maggiori informazioni.
contrib.category.3d = 3D
-contrib.category.animation = Animation
-contrib.category.data = Data
-contrib.category.geometry = Geometry
+contrib.category.animation = Animazione
+contrib.category.data = Dati
+contrib.category.geometry = Geometria
contrib.category.gui = GUI
contrib.category.hardware = Hardware
contrib.category.i_o = I/O
-contrib.category.math = Math
-contrib.category.simulation = Simulation
-contrib.category.sound = Sound
-contrib.category.typography = Typography
-contrib.category.utilities = Utilities
-contrib.category.video_vision = Video & Vision
-contrib.category.other = Other
+contrib.category.math = Matematica
+contrib.category.simulation = Simulazione
+contrib.category.sound = Suono
+contrib.category.typography = Tipografia
+contrib.category.utilities = Utilità
+contrib.category.video_vision = Video & Grafica
+contrib.category.other = Altro
# Install on Startup
contrib.startup.errors.download_install = Error during download and install of %s
From 792e9808b8f56eec209f1ea705aef7eecb14a31f Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Mon, 10 Jul 2017 19:09:03 +0200
Subject: [PATCH 21/26] Translated everithing exept Movie Maker
---
build/shared/lib/languages/PDE_it.properties | 23 ++++++++++----------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index 39b7d3ab5..a9cfc6437 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -512,19 +512,19 @@ contrib.category.video_vision = Video & Grafica
contrib.category.other = Altro
# Install on Startup
-contrib.startup.errors.download_install = Error during download and install of %s
-contrib.startup.errors.temp_dir = Could not write to temporary directory during download and install of %s
-contrib.startup.errors.new_marker = The unupdated contribution marker seems to not like %s. You may have to install it manually to update...
+contrib.startup.errors.download_install = Errore durante il download e installazione di %s
+contrib.startup.errors.temp_dir = Impossibile scrivere nella cartella temporanea durante il download e installazione di %s
+contrib.startup.errors.new_marker = Il selezionatore dei contributi non aggiornato sembra non essere compatibile con %s. Dovresti installarlo manualmente per poterlo aggiornare...
# Install on Import
-contrib.import.dialog.title = Missing Libraries Available
-contrib.import.dialog.primary_text = The following imported libraries are available for download, but have not been installed.
-contrib.import.dialog.secondary_text = Would you like to install them now?
-contrib.import.progress.download = Downloading %s...
-contrib.import.progress.install = Installing %s...
+contrib.import.dialog.title = Librerie mancanti disponibili
+contrib.import.dialog.primary_text = Le seguenti librerie importate sono disponibili per il download, ma non sono state installate.
+contrib.import.dialog.secondary_text = Vorresti installarle ora?
+contrib.import.progress.download = Scaricando %s...
+contrib.import.progress.install = Installando %s...
contrib.import.progress.done = %s è stato installato.
-contrib.import.progress.final_list = The following libraries have been installed:
-contrib.import.errors.link = Error: The library %s has a strange looking download link.
+contrib.import.progress.final_list = LE seguenti librerie sono state installate:
+contrib.import.errors.link = Errore: la libreria %s ha uno strano link di download.
# ---------------------------------------
# Warnings
@@ -541,8 +541,7 @@ warn.cannot_change_mode.body = Impossibile cambiare modalità,\npoichè la modal
update_check = Aggiorna
update_check.updates_available.core = Una nuova versione di Processing è disponibile,\nvuoi visitare la pagina di download del sito di Processing?
-update_check.updates_available.contributions = There are updates available for some of the installed contributions,\nwould you like to open the the Contribution Manager now?
-
+update_check.updates_available.contributions = Ci sono aggiornamenti disponibili per alcuni dei contributi installati,\nvorresti aprire il gestore dei contributi ora?
# ---------------------------------------
# Color Chooser
From e939d9d67b8bf15d86f1f943bd4923676952ef6a Mon Sep 17 00:00:00 2001
From: Stefano Collovati
Date: Mon, 10 Jul 2017 19:26:16 +0200
Subject: [PATCH 22/26] final ITA translation
---
build/shared/lib/languages/PDE_it.properties | 58 ++++++++++----------
1 file changed, 29 insertions(+), 29 deletions(-)
diff --git a/build/shared/lib/languages/PDE_it.properties b/build/shared/lib/languages/PDE_it.properties
index a9cfc6437..20e6113ba 100644
--- a/build/shared/lib/languages/PDE_it.properties
+++ b/build/shared/lib/languages/PDE_it.properties
@@ -552,38 +552,38 @@ color_chooser.select = Seleziona
# ---------------------------------------
# Movie Maker
-movie_maker = Movie Maker
+movie_maker = Creatore di filmati
movie_maker.title = QuickTime Movie Maker
-movie_maker.blurb = This tool creates a QuickTime movie from a sequence of images.
To avoid artifacts caused by re-compressing images as video,
use TIFF, TGA (from Processing), or PNG images as the source.
TIFF and TGA images will write more quickly, but require more disk:
saveFrame("frames/####.tif");
saveFrame("frames/####.tga");
PNG images are smaller, but your sketch will run more slowly:
saveFrame("frames/####.png");
This code is based on QuickTime Movie Maker 1.5.1 2011-01-17.
Copyright © 2010-2011 Werner Randelshofer. All rights reserved.
-movie_maker.image_folder_help_label = Drag a folder with image files into the field below:
-movie_maker.choose_button = Choose...
-movie_maker.select_image_folder = Select image folder...
-movie_maker.sound_file_help_label = Drag a sound file into the field below (.au, .aiff, .wav, .mp3):
-movie_maker.select_sound_file = Select sound file...
+movie_maker.blurb = Questo strumento crea un filmato QuickTime a partire da una sequenza di immagini.
Per evitare artifatti causati dalla ri-compressone di immagini in video,
usa immagini TIFF, TGA (da Processing), o PNG come sorgenti.
Immagini TIFF e TGA verranno scritte più rapidamente, ma richiederanno più memoria:
saveFrame("frames/####.tif");
saveFrame("frames/####.tga");
Le immagini PNG sono più piccole, ma il tuo sketch verrà eseguito più lentamente:
saveFrame("frames/####.png");
This codice è basato su QuickTime Movie Maker 1.5.1 2011-01-17.
Copyright © 2010-2011 Werner Randelshofer. Tutti i diritti riservati
+movie_maker.image_folder_help_label = Trascina una cartella con immagini dentro il campo qui sotto:
+movie_maker.choose_button = Scegli...
+movie_maker.select_image_folder = Seleziona la cartella con le immagini...
+movie_maker.sound_file_help_label = Trascina un file audio nel campo qui sotto (.au, .aiff, .wav, .mp3):
+movie_maker.select_sound_file = Seleziona un file audio...
-movie_maker.create_movie_button = Create movie...
-movie_maker.save_dialog_prompt = Save movie as...
-movie_maker.width = Width:
-movie_maker.height = Height:
-movie_maker.compression = Compression:
-movie_maker.compression.animation = Animation
+movie_maker.create_movie_button = Crea filmato...
+movie_maker.save_dialog_prompt = Salva filmato come...
+movie_maker.width = Larghezza:
+movie_maker.height = Altezza:
+movie_maker.compression = Compressione:
+movie_maker.compression.animation = Animazione
movie_maker.compression.jpeg = JPEG
movie_maker.compression.png = PNG
-movie_maker.framerate = Framerate:
-movie_maker.orig_size_button = Same size as originals
-movie_maker.orig_size_tooltip = Check this box if the folder contains already encoded video frames in the desired size.
+movie_maker.framerate = Fotogrammi al secondo:
+movie_maker.orig_size_button = Stessa dimensione degli originali
+movie_maker.orig_size_tooltip = Seleziona questa opzione se la cartalla contiene già fotogrammi della dimensione desiderata.
-movie_maker.error.avoid_tiff = Try TGA or PNG images instead of TIFF.
-movie_maker.error.badnumbers = Width and height must be whole numbers greater than zero; framerate must be a number greater than zero.
-movie_maker.error.cannot_read = Could not read %s.
-movie_maker.error.cannot_read_maybe_bad = Could not read %s; it may be bad.
-movie_maker.error.movie_failed = Creating the QuickTime movie failed.
-movie_maker.error.need_input = You need to specify the folder with image files, the sound file, or both.
-movie_maker.error.no_images_found = No image files found.
-movie_maker.error.sorry = Sorry
-movie_maker.error.unknown_tga_format = Unknown .tga file format for %s.
+movie_maker.error.avoid_tiff = Prova immagini TGA o PNG al posto di TIFF.
+movie_maker.error.badnumbers = Larghezza e altezza devono essere numeri interi positivi; il numero di fotogrammi al secondo deve essere un numero positivo.
+movie_maker.error.cannot_read = Impossibile leggere %s.
+movie_maker.error.cannot_read_maybe_bad = Impossibile leggere %s; potrebbe non andare bene.
+movie_maker.error.movie_failed = Creazione del filmato QuickTime fallita.
+movie_maker.error.need_input = Dovresti specificare la cartella con i file delle immagini o dei suoni, o entrambe.
+movie_maker.error.no_images_found = Nessun file immagine trovato.
+movie_maker.error.sorry = Mi dispiace
+movie_maker.error.unknown_tga_format = Sconosciuto formato di file .tga per %s.
-movie_maker.progress.creating_file_name = Creating %s.
-movie_maker.progress.creating_output_file = Creating output file
-movie_maker.progress.initializing = Initializing...
-movie_maker.progress.processing = Processing %s.
+movie_maker.progress.creating_file_name = Creando %s.
+movie_maker.progress.creating_output_file = Creando il file di output
+movie_maker.progress.initializing = Inizializzando...
+movie_maker.progress.processing = Processando %s.
From 36ecdf8a28855357070083b26d1d6555c84a721c Mon Sep 17 00:00:00 2001
From: Ben Fry
Date: Tue, 11 Jul 2017 11:15:37 -0400
Subject: [PATCH 23/26] recent updates for bug reports
---
todo.txt | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/todo.txt b/todo.txt
index 3b6a35ed6..027bf9a54 100755
--- a/todo.txt
+++ b/todo.txt
@@ -1,19 +1,24 @@
0263 (3.3.6 or 3.4)
+contrib
+X add Italian translation
+X https://github.com/processing/processing/pull/5169
contrib
_ console hiding button?
_ https://github.com/processing/processing/pull/5115
_ make "loadXML(String)" handle "file not found"
_ https://github.com/processing/processing/pull/5144
+_ detect errors from curved quotation marks
+_ https://github.com/processing/processing/issues/5133
+_ https://github.com/processing/processing/pull/5152
+
_ make setting the window icon automatic, based on files in local dirs
_ https://github.com/processing/processing/issues/5123
_ need to make this work behind the scenes instead
_ create icon.png or have an 'icons' folder with multiple sizes
-_ detect errors from curved quotation marks
-_ https://github.com/processing/processing/issues/5133
_ sketch.properties not being written if initial mode is p5.js?
_ when creating a sketch within non-Java mode, should write the settings file
From e85f10f65be6a5c8b2a73ffe4c67325cec378888 Mon Sep 17 00:00:00 2001
From: Ben Fry
Date: Tue, 11 Jul 2017 15:21:38 -0400
Subject: [PATCH 24/26] finishing the shell item
---
core/todo.txt | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/core/todo.txt b/core/todo.txt
index 93a78b1ab..e35a4695a 100644
--- a/core/todo.txt
+++ b/core/todo.txt
@@ -1,8 +1,10 @@
0263 (3.3.6 or 3.4)
-_ shell discussion with gohai
-_ https://github.com/processing/processing/pull/5082
+contrib
+X shell discussion with gohai
+X https://github.com/processing/processing/pull/5082
+
_ add separator option to loadTable()
_ https://github.com/processing/processing/issues/5068
From 0c828ad43335e9ded9a494d54dcdba487183952c Mon Sep 17 00:00:00 2001
From: George Bateman
Date: Tue, 18 Jul 2017 20:28:20 +0100
Subject: [PATCH 25/26] Fix #5165. Wrong tab for missing brace
---
java/src/processing/mode/java/JavaBuild.java | 42 ++++++-----
.../mode/java/pdex/SourceUtils.java | 74 +++++++++++--------
2 files changed, 67 insertions(+), 49 deletions(-)
diff --git a/java/src/processing/mode/java/JavaBuild.java b/java/src/processing/mode/java/JavaBuild.java
index 88f6fc3be..5b12e894c 100644
--- a/java/src/processing/mode/java/JavaBuild.java
+++ b/java/src/processing/mode/java/JavaBuild.java
@@ -52,6 +52,7 @@ import processing.core.PApplet;
import processing.core.PConstants;
import processing.data.StringList;
import processing.data.XML;
+import processing.mode.java.pdex.SourceUtils;
import processing.mode.java.preproc.PdePreprocessor;
import processing.mode.java.preproc.PreprocessorResult;
import processing.mode.java.preproc.SurfaceInfo;
@@ -280,27 +281,30 @@ public class JavaBuild {
//System.out.println(java.getAbsolutePath());
// System.out.println(bigCode);
- if (msg.contains("expecting RCURLY")) {
- //if (msg.equals("expecting RCURLY, found 'null'")) {
- // This can be a problem since the error is sometimes listed as a line
- // that's actually past the number of lines. For instance, it might
- // report "line 15" of a 14 line program. Added code to highlightLine()
- // inside Editor to deal with this situation (since that code is also
- // useful for other similar situations).
- throw new SketchException("Found one too many { characters " +
- "without a } to match it.",
- errorFile, errorLine, re.getColumn(), false);
- }
+ if (msg.contains("expecting RCURLY") || msg.contains("expecting LCURLY")) {
+ for (int i = 0; i < sketch.getCodeCount(); i++) {
+ SketchCode sc = sketch.getCode(i);
+ if (sc.isExtension("pde")) {
+ String s = sc.getProgram();
+ int[] braceTest = SourceUtils.checkForMissingBraces(
+ SourceUtils.scrubCommentsAndStrings(s) + "\n", 0, s.length()+1);
+ if (braceTest[0] == 0) continue;
- if (msg.contains("expecting LCURLY")) {
- System.err.println(msg);
- String suffix = ".";
- String[] m = PApplet.match(msg, "found ('.*')");
- if (m != null) {
- suffix = ", not " + m[1] + ".";
+ // Completely ignoring the errorFile/errorLine given since it's
+ // likely to be the wrong tab. For the same reason, I'm not showing
+ // the result of PApplet.match(msg, "found ('.*')") on missing
+ // LCURLY.
+ throw new SketchException(braceTest[0] > 0
+ ? "Found one too many { characters without a } to match it."
+ : "Found one too many } characters without a { to match it.",
+ i, braceTest[1], braceTest[2], false);
+ }
}
- throw new SketchException("Was expecting a { character" + suffix,
- errorFile, errorLine, re.getColumn(), false);
+ // If we're still here, there's the right brackets, just not in the
+ // right place. Passing on the original error.
+ throw new SketchException(
+ msg.replace("LCURLY", "{").replace("RCURLY", "}"),
+ errorFile, errorLine, re.getColumn(), false);
}
if (msg.indexOf("expecting RBRACK") != -1) {
diff --git a/java/src/processing/mode/java/pdex/SourceUtils.java b/java/src/processing/mode/java/pdex/SourceUtils.java
index fecde5c94..1c7ae1d29 100644
--- a/java/src/processing/mode/java/pdex/SourceUtils.java
+++ b/java/src/processing/mode/java/pdex/SourceUtils.java
@@ -333,43 +333,57 @@ public class SourceUtils {
static public List checkForMissingBraces(StringBuilder p, int[] tabStartOffsets) {
List problems = new ArrayList<>(0);
- tabLoop: for (int tabIndex = 0; tabIndex < tabStartOffsets.length; tabIndex++) {
+ for (int tabIndex = 0; tabIndex < tabStartOffsets.length; tabIndex++) {
int tabStartOffset = tabStartOffsets[tabIndex];
int tabEndOffset = (tabIndex < tabStartOffsets.length - 1) ?
tabStartOffsets[tabIndex + 1] : p.length();
- int depth = 0;
- int lineNumber = 0;
- for (int i = tabStartOffset; i < tabEndOffset; i++) {
- char ch = p.charAt(i);
- switch (ch) {
- case '{':
- depth++;
- break;
- case '}':
- depth--;
- break;
- case '\n':
- lineNumber++;
- break;
- }
- if (depth < 0) {
- JavaProblem problem =
- new JavaProblem("Found one too many } characters without { to match it.",
- JavaProblem.ERROR, tabIndex, lineNumber);
- problem.setPDEOffsets(i - tabStartOffset, i - tabStartOffset + 1);
- problems.add(problem);
- continue tabLoop;
- }
- }
- if (depth > 0) {
+ int[] braceResult = checkForMissingBraces(p, tabStartOffset, tabEndOffset);
+ if (braceResult[0] != 0) {
JavaProblem problem =
- new JavaProblem("Found one too many { characters without } to match it.",
- JavaProblem.ERROR, tabIndex, lineNumber - 1);
- problem.setPDEOffsets(tabEndOffset - tabStartOffset - 2, tabEndOffset - tabStartOffset - 1);
- problems.add(problem);
+ new JavaProblem(braceResult[0] < 0
+ ? "Found one too many } characters without { to match it."
+ : "Found one too many { characters without } to match it.",
+ JavaProblem.ERROR, tabIndex, braceResult[1]);
+ problem.setPDEOffsets(braceResult[3], braceResult[3] + 1);
+ problems.add(problem);
}
}
return problems;
}
+
+ /**
+ * Checks a single code fragment (such as a tab) for non-matching braces.
+ * Broken out to allow easy use in JavaBuild.
+ * @param c Program code scrubbed of comments and string literals.
+ * @param start Start index, inclusive.
+ * @param end End index, exclusive.
+ * @return {@code int[4]} Depth at which the loop stopped, followed by the
+ * line number, column, and string index (within the range) at which
+ * an error was found, if any.
+ */
+ static public int[] checkForMissingBraces(CharSequence c, int start, int end) {
+ int depth = 0;
+ int lineNumber = 0;
+ int lineStart = start;
+ for (int i = start; i < end; i++) {
+ char ch = c.charAt(i);
+ switch (ch) {
+ case '{':
+ depth++;
+ break;
+ case '}':
+ depth--;
+ break;
+ case '\n':
+ lineNumber++;
+ lineStart = i;
+ break;
+ }
+ if (depth < 0) {
+ return new int[] {depth, lineNumber, i - lineStart, i - start};
+ }
+ }
+ return new int[] {depth, lineNumber - 1, end - lineStart - 2, end - start - 2};
+ }
}
From 12790d267ea7b1ee9ff1699d3812ddfa648ff342 Mon Sep 17 00:00:00 2001
From: Jakub Valtar
Date: Thu, 20 Jul 2017 17:50:59 +0200
Subject: [PATCH 26/26] Fix comment/uncomment adding slashes at wrong indent
Fixes #5171
---
app/src/processing/app/ui/Editor.java | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/app/src/processing/app/ui/Editor.java b/app/src/processing/app/ui/Editor.java
index 4cdc9817a..a52650ea9 100644
--- a/app/src/processing/app/ui/Editor.java
+++ b/app/src/processing/app/ui/Editor.java
@@ -2136,13 +2136,26 @@ public abstract class Editor extends JFrame implements RunnerListener {
// log("Commented: " + commented);
- // This is the line start offset of the first line, which is added to
- // all other lines while adding a comment. Required when commenting
+ // This is the min line start offset of the selection, which is added to
+ // all lines while adding a comment. Required when commenting
// lines which have uneven whitespaces in the beginning. Makes the
// commented lines look more uniform.
int lso = Math.abs(textarea.getLineStartNonWhiteSpaceOffset(startLine)
- textarea.getLineStartOffset(startLine));
+ if (!commented) {
+ // get min line start offset of all selected lines
+ for (int line = startLine+1; line <= stopLine; line++) {
+ String lineText = textarea.getLineText(line);
+ if (lineText.trim().length() == 0) {
+ continue; //ignore blank lines
+ }
+ int so = Math.abs(textarea.getLineStartNonWhiteSpaceOffset(line)
+ - textarea.getLineStartOffset(line));
+ lso = Math.min(lso, so);
+ }
+ }
+
for (int line = startLine; line <= stopLine; line++) {
int location = textarea.getLineStartNonWhiteSpaceOffset(line);
String lineText = textarea.getLineText(line);