diff --git a/build/shared/lib/languages/PDE.properties b/build/shared/lib/languages/PDE.properties index 52fb6aeed..2a71e125c 100644 --- a/build/shared/lib/languages/PDE.properties +++ b/build/shared/lib/languages/PDE.properties @@ -311,6 +311,10 @@ 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.show_usage = Show Usage... +editor.popup.rename = Rename... + # Tabs editor.tab.new = New Name editor.tab.new.description = Name for new file @@ -337,7 +341,7 @@ 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.create = Created archive "%s". editor.status.archiver.cancel = Archive sketch canceled. # Errors diff --git a/java/src/processing/mode/java/JavaEditor.java b/java/src/processing/mode/java/JavaEditor.java index 0fa66b537..3a1e7c1dc 100644 --- a/java/src/processing/mode/java/JavaEditor.java +++ b/java/src/processing/mode/java/JavaEditor.java @@ -86,7 +86,7 @@ public class JavaEditor extends Editor { inspector = new VariableInspector(this); // Add show usage option - JMenuItem showUsageItem = new JMenuItem("Show Usage..."); + JMenuItem showUsageItem = new JMenuItem(Language.text("editor.popup.show_usage")); showUsageItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { handleShowUsage(); @@ -95,7 +95,7 @@ public class JavaEditor extends Editor { getTextArea().getRightClickPopup().add(showUsageItem); // add refactor option - JMenuItem renameItem = new JMenuItem("Rename..."); + JMenuItem renameItem = new JMenuItem(Language.text("editor.popup.rename")); renameItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { handleRefactor();