mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-28 12:57:07 +01:00
Fix the Launch/Install context menu options not being localized.
Fixes #72
This commit is contained in:
parent
64ee00bd1d
commit
3e18bcde89
@ -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) {
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user