| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0969b42 commit 2c5206c
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -311,6 +311,10 @@ editor.header.next_tab = Next Tab | |||
| 311 | 311 | editor.header.delete.warning.title = Yeah, no. | |
| 312 | 312 | editor.header.delete.warning.text = You cannot delete the main tab of the only open sketch. | |
| 313 | 313 | ||
| 314 | + # PopUp menu | ||
| 315 | + editor.popup.show_usage = Show Usage... | ||
| 316 | + editor.popup.rename = Rename... | ||
| 317 | + | ||
| 314 | 318 | # Tabs | |
| 315 | 319 | editor.tab.new = New Name | |
| 316 | 320 | editor.tab.new.description = Name for new file | |
@@ -337,7 +341,7 @@ editor.status.printing.canceled = Printing canceled. | |||
| 337 | 341 | editor.status.copy_as_html = Code formatted as HTML has been copied to the clipboard. | |
| 338 | 342 | editor.status.debug.busy = Debugger busy... | |
| 339 | 343 | editor.status.debug.halt = Debugger halted. | |
| 340 | - editor.status.archiver.create = Created archive "%s". | ||
| 344 | + editor.status.archiver.create = Created archive "%s". | ||
| 341 | 345 | editor.status.archiver.cancel = Archive sketch canceled. | |
| 342 | 346 | ||
| 343 | 347 | # Errors | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -86,7 +86,7 @@ protected JavaEditor(Base base, String path, EditorState state, | |||
| 86 | 86 | inspector = new VariableInspector(this); | |
| 87 | 87 | ||
| 88 | 88 | // Add show usage option | |
| 89 | - JMenuItem showUsageItem = new JMenuItem("Show Usage..."); | ||
| 89 | + JMenuItem showUsageItem = new JMenuItem(Language.text("editor.popup.show_usage")); | ||
| 90 | 90 | showUsageItem.addActionListener(new ActionListener() { | |
| 91 | 91 | public void actionPerformed(ActionEvent e) { | |
| 92 | 92 | handleShowUsage(); | |
@@ -95,7 +95,7 @@ public void actionPerformed(ActionEvent e) { | |||
| 95 | 95 | getTextArea().getRightClickPopup().add(showUsageItem); | |
| 96 | 96 | ||
| 97 | 97 | // add refactor option | |
| 98 | - JMenuItem renameItem = new JMenuItem("Rename..."); | ||
| 98 | + JMenuItem renameItem = new JMenuItem(Language.text("editor.popup.rename")); | ||
| 99 | 99 | renameItem.addActionListener(new ActionListener() { | |
| 100 | 100 | public void actionPerformed(ActionEvent e) { | |
| 101 | 101 | handleRefactor(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments