Translations
This commit is contained in:
parent
561f0ce99c
commit
42feadc630
4 changed files with 9 additions and 4 deletions
|
@ -16,6 +16,7 @@ import the.bytecode.club.bytecodeviewer.gui.components.MaxWidthJLabel;
|
|||
import the.bytecode.club.bytecodeviewer.gui.components.listeners.MouseClickedListener;
|
||||
import the.bytecode.club.bytecodeviewer.gui.resourceviewer.viewer.ResourceViewer;
|
||||
import the.bytecode.club.bytecodeviewer.gui.util.DelayTabbedPaneThread;
|
||||
import the.bytecode.club.bytecodeviewer.translation.TranslatedStrings;
|
||||
|
||||
/***************************************************************************
|
||||
* Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite *
|
||||
|
@ -84,8 +85,8 @@ public class TabbedPane extends JPanel
|
|||
|
||||
//define the right click pop-up menu
|
||||
JPopupMenu rightClickMenu = new JPopupMenu();
|
||||
JMenuItem closeAllTabs = new JMenuItem("Close All But This: " + name);
|
||||
JMenuItem closeTab = new JMenuItem("Close Tab: " + name);
|
||||
JMenuItem closeAllTabs = new JMenuItem(TranslatedStrings.CLOSE_ALL_BUT_THIS.toString() + ": " + name);
|
||||
JMenuItem closeTab = new JMenuItem(TranslatedStrings.CLOSE_TAB.toString() + ": " + name);
|
||||
|
||||
rightClickMenu.add(closeAllTabs);
|
||||
rightClickMenu.add(closeTab);
|
||||
|
|
|
@ -111,8 +111,8 @@ public class Workspace extends TranslatedVisibleComponent
|
|||
if (c != null && bounds.intersects(c.getBounds()))
|
||||
{
|
||||
popUp.setVisible(true);
|
||||
closeAllTabs.setText("Close All But This: " + ((TabbedPane) c).tabName);
|
||||
closeTab.setText("Close Tab: " + ((TabbedPane) c).tabName);
|
||||
closeAllTabs.setText(TranslatedStrings.CLOSE_TAB.toString() + ": " + ((TabbedPane) c).tabName);
|
||||
closeTab.setText(TranslatedStrings.CLOSE_TAB.toString() + ": " + ((TabbedPane) c).tabName);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -73,6 +73,8 @@ public enum TranslatedStrings
|
|||
EXIT_CONFIRM,
|
||||
ABOUT_TITLE,
|
||||
PLUGIN_CONSOLE_TITLE,
|
||||
CLOSE_ALL_BUT_THIS,
|
||||
CLOSE_TAB,
|
||||
|
||||
|
||||
YES,
|
||||
|
|
|
@ -252,6 +252,8 @@
|
|||
"EXIT_CONFIRM": "Are you sure you want to exit?",
|
||||
"ABOUT_TITLE": "{PRODUCT_NAME} - About - {WEBSITE} | {TBC}",
|
||||
"PLUGIN_CONSOLE_TITLE": "{PRODUCT_NAME} - Plugin Console",
|
||||
"CLOSE_ALL_BUT_THIS": "Close All But This",
|
||||
"CLOSE_TAB": "Close Tab",
|
||||
|
||||
|
||||
"FILES": "Files",
|
||||
|
|
Loading…
Reference in a new issue