1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-24 12:16:28 +01:00

Fix the Launch/Install context menu options not being localized.

Fixes #72
This commit is contained in:
sk89q 2015-08-03 13:46:58 -07:00
parent 64ee00bd1d
commit 3e18bcde89
2 changed files with 3 additions and 1 deletions

View File

@ -197,7 +197,7 @@ public class LauncherFrame extends JFrame {
JMenuItem menuItem; JMenuItem menuItem;
if (selected != null) { if (selected != null) {
menuItem = new JMenuItem(!selected.isLocal() ? "Install" : "Launch"); menuItem = new JMenuItem(!selected.isLocal() ? tr("instance.install") : tr("instance.launch"));
menuItem.addActionListener(new ActionListener() { menuItem.addActionListener(new ActionListener() {
@Override @Override
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {

View File

@ -45,6 +45,8 @@ options.advancedTab=Advanced
options.about=About options.about=About
options.launcherConsole=Console options.launcherConsole=Console
instance.launch=Launch
instance.install=Install
instance.openFolder=View folder instance.openFolder=View folder
instance.openSaves=View saves instance.openSaves=View saves
instance.openResourcePacks=View resource packs instance.openResourcePacks=View resource packs