mirror of
https://github.com/workinghard/GuitarTeX2.git
synced 2025-12-13 18:32:09 +00:00
new doc item
This commit is contained in:
@@ -129,7 +129,7 @@ public class GuitarTeX2 extends JFrame {
|
|||||||
private Action mTeX2PdfAction;
|
private Action mTeX2PdfAction;
|
||||||
private Action mExitAction;
|
private Action mExitAction;
|
||||||
private Action mConsoleAction;
|
private Action mConsoleAction;
|
||||||
private Action mFAQAction, mShortcutAction;
|
private Action mFAQAction, mShortcutAction, mDocAction;
|
||||||
private Action mAboutAction;
|
private Action mAboutAction;
|
||||||
|
|
||||||
private Action mOpenTemplateSong1Action, mOpenTemplateSong2Action, mOpenTemplateBookAction;
|
private Action mOpenTemplateSong1Action, mOpenTemplateSong2Action, mOpenTemplateBookAction;
|
||||||
@@ -675,6 +675,7 @@ public class GuitarTeX2 extends JFrame {
|
|||||||
|
|
||||||
JMenu helpMenu = menuBar.add(new JMenu(resbundle.getString("helpMenu")));
|
JMenu helpMenu = menuBar.add(new JMenu(resbundle.getString("helpMenu")));
|
||||||
helpMenu.add(mConsoleAction);
|
helpMenu.add(mConsoleAction);
|
||||||
|
helpMenu.add(mDocAction);
|
||||||
helpMenu.add(mFAQAction);
|
helpMenu.add(mFAQAction);
|
||||||
helpMenu.add(mShortcutAction);
|
helpMenu.add(mShortcutAction);
|
||||||
helpMenu.add(mAboutAction);
|
helpMenu.add(mAboutAction);
|
||||||
@@ -718,6 +719,8 @@ public class GuitarTeX2 extends JFrame {
|
|||||||
|
|
||||||
mConsoleAction = new consoleActionClass(resbundle.getString("consoleItem"));
|
mConsoleAction = new consoleActionClass(resbundle.getString("consoleItem"));
|
||||||
|
|
||||||
|
mDocAction = new docActionClass(resbundle.getString("docItem"));
|
||||||
|
|
||||||
mFAQAction = new faqActionClass(resbundle.getString("faqItem"));
|
mFAQAction = new faqActionClass(resbundle.getString("faqItem"));
|
||||||
|
|
||||||
mShortcutAction = new shortcutActionClass(resbundle.getString("shortcutItem"));
|
mShortcutAction = new shortcutActionClass(resbundle.getString("shortcutItem"));
|
||||||
@@ -1245,6 +1248,19 @@ public class GuitarTeX2 extends JFrame {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
public class docActionClass extends AbstractAction {
|
||||||
|
|
||||||
|
public docActionClass(String text) {
|
||||||
|
super(text);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void actionPerformed(ActionEvent e) {
|
||||||
|
BareBonesBrowserLaunch.openURL(resbundle.getString("docURL"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class faqActionClass extends AbstractAction {
|
public class faqActionClass extends AbstractAction {
|
||||||
|
|||||||
@@ -30,11 +30,13 @@ tex2pdf=TeX2Pdf
|
|||||||
helpMenu=Help
|
helpMenu=Help
|
||||||
aboutItem=About
|
aboutItem=About
|
||||||
aboutTitle=About
|
aboutTitle=About
|
||||||
|
docItem=Documentation
|
||||||
|
docURL=https://guitartex2.nikolai-rinas.de/docs/directives/
|
||||||
faqItem=FAQ
|
faqItem=FAQ
|
||||||
faqURL=http://guitartex2.sourceforge.net/page7/page6/page6.html
|
faqURL=https://guitartex2.nikolai-rinas.de/docs/faq/
|
||||||
shortcutItem=Shortcuts
|
shortcutItem=Shortcuts
|
||||||
shortcutsURL=http://guitartex2.sourceforge.net/page7/page30/page30.html
|
shortcutsURL=https://guitartex2.nikolai-rinas.de/docs/shortcuts/
|
||||||
consoleItem=Console
|
consoleItem=Konsole
|
||||||
|
|
||||||
consoleTitle=Console
|
consoleTitle=Console
|
||||||
consoleInitText=Debugging and testing console
|
consoleInitText=Debugging and testing console
|
||||||
|
|||||||
@@ -29,10 +29,12 @@ tex2pdf=TeX2Pdf
|
|||||||
helpMenu=Hilfe
|
helpMenu=Hilfe
|
||||||
aboutItem=\u00dcber GuitarTeX2
|
aboutItem=\u00dcber GuitarTeX2
|
||||||
aboutTitle=\u00dcber GuitarTeX2
|
aboutTitle=\u00dcber GuitarTeX2
|
||||||
|
docItem=Dokumentation
|
||||||
|
docURL=https://guitartex2.nikolai-rinas.de/docs/directives/
|
||||||
faqItem=FAQ
|
faqItem=FAQ
|
||||||
faqURL=http://guitartex2.sourceforge.net/page7/page6/page6.html
|
faqURL=https://guitartex2.nikolai-rinas.de/docs/faq/
|
||||||
shortcutItem=Shortcuts
|
shortcutItem=Shortcuts
|
||||||
shortcutsURL=http://guitartex2.sourceforge.net/page7/page30/page30.html
|
shortcutsURL=https://guitartex2.nikolai-rinas.de/docs/shortcuts/
|
||||||
consoleItem=Konsole
|
consoleItem=Konsole
|
||||||
|
|
||||||
consoleTitle=Konsole
|
consoleTitle=Konsole
|
||||||
|
|||||||
Reference in New Issue
Block a user