Added German translation

This commit is contained in:
mmk2410 2015-02-15 23:01:03 +01:00
parent 60b56a5b25
commit 39c83a7a38
8 changed files with 269 additions and 102 deletions

View File

@ -1,7 +0,0 @@
/* AUTOMATICALLY GENERATED ON Tue Apr 16 17:20:59 EDT 2002*/
/* DO NOT EDIT */
grant {
permission java.security.AllPermission;
};

View File

@ -32,8 +32,10 @@ import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JLabel;
import javax.swing.border.TitledBorder;
import java.util.ResourceBundle;
public class About extends JDialog {
private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("de.marcel_kapfer.c.morseconverter.strings"); //$NON-NLS-1$
/**
*
@ -68,48 +70,48 @@ public class About extends JDialog {
contentPanel.setLayout(null);
JPanel panel = new JPanel();
panel.setBorder(new TitledBorder(null, "About", TitledBorder.LEADING, TitledBorder.TOP, null, null));
panel.setBorder(new TitledBorder(null, BUNDLE.getString("About.panel.borderTitle"), TitledBorder.LEADING, TitledBorder.TOP, null, null)); //$NON-NLS-1$
panel.setBounds(5, 17, 436, 148);
contentPanel.add(panel);
panel.setLayout(null);
JLabel lblDeveloper = new JLabel("Marcel Kapfer");
JLabel lblDeveloper = new JLabel(BUNDLE.getString("About.lblDeveloper.text")); //$NON-NLS-1$
lblDeveloper.setBounds(124, 17, 307, 15);
panel.add(lblDeveloper);
JLabel lblDev = new JLabel("Developer");
JLabel lblDev = new JLabel(BUNDLE.getString("About.lblDev.text")); //$NON-NLS-1$
lblDev.setBounds(12, 17, 100, 15);
panel.add(lblDev);
JLabel lblWeb = new JLabel("Website");
JLabel lblWeb = new JLabel(BUNDLE.getString("About.lblWeb.text")); //$NON-NLS-1$
lblWeb.setBounds(12, 44, 100, 15);
panel.add(lblWeb);
JLabel lblCont = new JLabel("Contact");
JLabel lblCont = new JLabel(BUNDLE.getString("About.lblCont.text")); //$NON-NLS-1$
lblCont.setBounds(12, 71, 100, 15);
panel.add(lblCont);
JLabel lblVer = new JLabel("Version");
JLabel lblVer = new JLabel(BUNDLE.getString("About.lblVer.text")); //$NON-NLS-1$
lblVer.setBounds(12, 98, 100, 15);
panel.add(lblVer);
JLabel lblLic = new JLabel("License");
JLabel lblLic = new JLabel(BUNDLE.getString("About.lblLic.text")); //$NON-NLS-1$
lblLic.setBounds(12, 125, 100, 15);
panel.add(lblLic);
JLabel lblWebsite = new JLabel("marcel-kapfer.de/projects/morse");
JLabel lblWebsite = new JLabel(BUNDLE.getString("About.lblWebsite.text")); //$NON-NLS-1$
lblWebsite.setBounds(124, 44, 307, 15);
panel.add(lblWebsite);
JLabel lblContact = new JLabel("marcelmichaelkapfer@yahoo.co.nz");
JLabel lblContact = new JLabel(BUNDLE.getString("About.lblContact.text")); //$NON-NLS-1$
lblContact.setBounds(124, 71, 307, 15);
panel.add(lblContact);
JLabel lblVersion = new JLabel("1.0.2");
JLabel lblVersion = new JLabel(BUNDLE.getString("About.lblVersion.text")); //$NON-NLS-1$
lblVersion.setBounds(124, 98, 307, 15);
panel.add(lblVersion);
JLabel lblLicense = new JLabel("GNU v3.0");
JLabel lblLicense = new JLabel(BUNDLE.getString("About.lblLicense.text")); //$NON-NLS-1$
lblLicense.setBounds(124, 125, 307, 15);
panel.add(lblLicense);
{
@ -117,14 +119,14 @@ public class About extends JDialog {
buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT));
getContentPane().add(buttonPane, BorderLayout.SOUTH);
{
JButton cancelButton = new JButton("Close");
JButton cancelButton = new JButton(BUNDLE.getString("About.cancelButton.text")); //$NON-NLS-1$
cancelButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
setVisible(false);
dispose();
}
});
cancelButton.setActionCommand("Cancel");
cancelButton.setActionCommand(BUNDLE.getString("About.cancelButton.actionCommand")); //$NON-NLS-1$
buttonPane.add(cancelButton);
}
}

View File

@ -32,8 +32,10 @@ import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JLabel;
import javax.swing.border.TitledBorder;
import java.util.ResourceBundle;
public class Bug extends JDialog {
private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("de.marcel_kapfer.c.morseconverter.strings"); //$NON-NLS-1$
/**
*
@ -60,43 +62,43 @@ public class Bug extends JDialog {
public Bug() {
setUndecorated(true);
setResizable(false);
setBounds(100, 100, 450, 263);
setBounds(100, 100, 575, 263);
getContentPane().setLayout(new BorderLayout());
contentPanel.setBorder(new EmptyBorder(0, 0, 0, 0));
getContentPane().add(contentPanel, BorderLayout.CENTER);
contentPanel.setLayout(null);
JPanel panel = new JPanel();
panel.setBorder(new TitledBorder(null, "Bug", TitledBorder.LEADING, TitledBorder.TOP, null, null));
panel.setBounds(5, 17, 436, 199);
panel.setBorder(new TitledBorder(null, BUNDLE.getString("Bug.panel.borderTitle"), TitledBorder.LEADING, TitledBorder.TOP, null, null)); //$NON-NLS-1$
panel.setBounds(5, 17, 558, 199);
contentPanel.add(panel);
panel.setLayout(null);
JLabel lblIntro = new JLabel("If you found a bug, please write me a mail to");
lblIntro.setBounds(5, 17, 325, 15);
JLabel lblIntro = new JLabel(BUNDLE.getString("Bug.lblIntro.text")); //$NON-NLS-1$
lblIntro.setBounds(5, 17, 541, 15);
panel.add(lblIntro);
JLabel lblAddress = new JLabel("marcelmichaelkapfer@yahoo.co.nz");
JLabel lblAddress = new JLabel(BUNDLE.getString("Bug.lblAddress.text")); //$NON-NLS-1$
lblAddress.setBounds(5, 44, 419, 15);
panel.add(lblAddress);
JLabel lblTitleIntro = new JLabel("with the title");
JLabel lblTitleIntro = new JLabel(BUNDLE.getString("Bug.lblTitleIntro.text")); //$NON-NLS-1$
lblTitleIntro.setBounds(5, 71, 92, 15);
panel.add(lblTitleIntro);
JLabel lblTitle = new JLabel("Bug in Morse Version [your program version]");
lblTitle.setBounds(5, 98, 316, 15);
JLabel lblTitle = new JLabel(BUNDLE.getString("Bug.lblTitle.text")); //$NON-NLS-1$
lblTitle.setBounds(5, 98, 541, 15);
panel.add(lblTitle);
JLabel lblDescription = new JLabel("a short description of the bug");
JLabel lblDescription = new JLabel(BUNDLE.getString("Bug.lblDescription.text")); //$NON-NLS-1$
lblDescription.setBounds(5, 125, 426, 15);
panel.add(lblDescription);
JLabel lblReproduce = new JLabel("and how to re-produce the bug.");
JLabel lblReproduce = new JLabel(BUNDLE.getString("Bug.lblReproduce.text")); //$NON-NLS-1$
lblReproduce.setBounds(5, 152, 325, 15);
panel.add(lblReproduce);
JLabel lblThanks = new JLabel("Thank you very much");
JLabel lblThanks = new JLabel(BUNDLE.getString("Bug.lblThanks.text")); //$NON-NLS-1$
lblThanks.setBounds(5, 179, 148, 15);
panel.add(lblThanks);
{
@ -104,14 +106,14 @@ public class Bug extends JDialog {
buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT));
getContentPane().add(buttonPane, BorderLayout.SOUTH);
{
JButton cancelButton = new JButton("Cancel");
JButton cancelButton = new JButton(BUNDLE.getString("Bug.cancelButton.text")); //$NON-NLS-1$
cancelButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
setVisible(false);
dispose();
}
});
cancelButton.setActionCommand("Cancel");
cancelButton.setActionCommand(BUNDLE.getString("Bug.cancelButton.actionCommand")); //$NON-NLS-1$
buttonPane.add(cancelButton);
}
}

View File

@ -32,8 +32,10 @@ import javax.swing.JLabel;
import javax.swing.border.TitledBorder;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.util.ResourceBundle;
public class HowTo extends JDialog {
private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("de.marcel_kapfer.c.morseconverter.strings"); //$NON-NLS-1$
/**
*
@ -58,27 +60,27 @@ public class HowTo extends JDialog {
* Create the dialog.
*/
public HowTo() {
setTitle("How to");
setTitle(BUNDLE.getString("HowTo.this.title")); //$NON-NLS-1$
setUndecorated(true);
setBounds(100, 100, 474, 128);
setBounds(100, 100, 579, 128);
getContentPane().setLayout(new BorderLayout());
contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
getContentPane().add(contentPanel, BorderLayout.CENTER);
contentPanel.setLayout(null);
{
JPanel jPanel = new JPanel();
jPanel.setBorder(new TitledBorder(null, "How to", TitledBorder.LEADING, TitledBorder.TOP, null, null));
jPanel.setBounds(5, 12, 462, 68);
jPanel.setBorder(new TitledBorder(null, BUNDLE.getString("HowTo.jPanel.borderTitle"), TitledBorder.LEADING, TitledBorder.TOP, null, null)); //$NON-NLS-1$
jPanel.setBounds(5, 12, 562, 68);
contentPanel.add(jPanel);
jPanel.setLayout(null);
{
JLabel lblIntro = new JLabel("A detailed description about how to use this software is on:");
JLabel lblIntro = new JLabel(BUNDLE.getString("HowTo.lblIntro.text")); //$NON-NLS-1$
lblIntro.setBounds(5, 17, 448, 15);
jPanel.add(lblIntro);
}
{
JLabel lblHttpwwwmarcelkapferdeprojectsmorseindexhtmlhowto = new JLabel("http://www.marcel-kapfer.de/projects/morse/index.html#howto");
lblHttpwwwmarcelkapferdeprojectsmorseindexhtmlhowto.setBounds(5, 44, 448, 15);
JLabel lblHttpwwwmarcelkapferdeprojectsmorseindexhtmlhowto = new JLabel(BUNDLE.getString("HowTo.lblHttpwwwmarcelkapferdeprojectsmorseindexhtmlhowto.text")); //$NON-NLS-1$
lblHttpwwwmarcelkapferdeprojectsmorseindexhtmlhowto.setBounds(5, 41, 545, 15);
jPanel.add(lblHttpwwwmarcelkapferdeprojectsmorseindexhtmlhowto);
}
}
@ -87,14 +89,14 @@ public class HowTo extends JDialog {
buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT));
getContentPane().add(buttonPane, BorderLayout.SOUTH);
{
JButton cancelButton = new JButton("Cancel");
JButton cancelButton = new JButton(BUNDLE.getString("HowTo.cancelButton.text")); //$NON-NLS-1$
cancelButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
setVisible(false);
dispose();
}
});
cancelButton.setActionCommand("Cancel");
cancelButton.setActionCommand(BUNDLE.getString("HowTo.cancelButton.actionCommand")); //$NON-NLS-1$
buttonPane.add(cancelButton);
}
}

View File

@ -32,8 +32,10 @@ import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JLabel;
import javax.swing.border.TitledBorder;
import java.util.ResourceBundle;
public class MissingCode extends JDialog {
private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("de.marcel_kapfer.c.morseconverter.strings"); //$NON-NLS-1$
/**
*
@ -60,58 +62,58 @@ public class MissingCode extends JDialog {
public MissingCode() {
setUndecorated(true);
setResizable(false);
setBounds(100, 100, 450, 263);
setBounds(100, 100, 522, 263);
getContentPane().setLayout(new BorderLayout());
contentPanel.setBorder(new EmptyBorder(0, 0, 0, 0));
getContentPane().add(contentPanel, BorderLayout.CENTER);
contentPanel.setLayout(null);
JPanel panel = new JPanel();
panel.setBorder(new TitledBorder(null, "Missing Code", TitledBorder.LEADING, TitledBorder.TOP, null, null));
panel.setBounds(5, 17, 436, 199);
panel.setBorder(new TitledBorder(null, BUNDLE.getString("MissingCode.panel.borderTitle"), TitledBorder.LEADING, TitledBorder.TOP, null, null)); //$NON-NLS-1$
panel.setBounds(5, 17, 505, 199);
contentPanel.add(panel);
panel.setLayout(null);
JLabel lblIntro = new JLabel("If you found out that a code is missing,");
lblIntro.setBounds(5, 17, 419, 15);
JLabel lblIntro = new JLabel(BUNDLE.getString("MissingCode.lblIntro.text")); //$NON-NLS-1$
lblIntro.setBounds(5, 17, 488, 15);
panel.add(lblIntro);
JLabel lblAddress = new JLabel("marcelmichaelkapfer@yahoo.co.nz");
JLabel lblAddress = new JLabel(BUNDLE.getString("MissingCode.lblAddress.text")); //$NON-NLS-1$
lblAddress.setBounds(5, 71, 419, 15);
panel.add(lblAddress);
JLabel lblTitleIntro = new JLabel("with the title");
JLabel lblTitleIntro = new JLabel(BUNDLE.getString("MissingCode.lblTitleIntro.text")); //$NON-NLS-1$
lblTitleIntro.setBounds(5, 98, 92, 15);
panel.add(lblTitleIntro);
JLabel lblTitle = new JLabel("Missing Code in Morse Version [your program version]");
JLabel lblTitle = new JLabel(BUNDLE.getString("MissingCode.lblTitle.text")); //$NON-NLS-1$
lblTitle.setBounds(5, 125, 419, 15);
panel.add(lblTitle);
JLabel lblThanks = new JLabel("Thank you very much");
JLabel lblThanks = new JLabel(BUNDLE.getString("MissingCode.lblThanks.text")); //$NON-NLS-1$
lblThanks.setBounds(5, 179, 148, 15);
panel.add(lblThanks);
JLabel lblIntroTwo = new JLabel("please write me a mail to");
lblIntroTwo.setBounds(5, 44, 179, 15);
JLabel lblIntroTwo = new JLabel(BUNDLE.getString("MissingCode.lblIntroTwo.text")); //$NON-NLS-1$
lblIntroTwo.setBounds(5, 44, 488, 15);
panel.add(lblIntroTwo);
JLabel lblMissingCode = new JLabel("and tell me which code is missing.");
lblMissingCode.setBounds(5, 152, 316, 15);
JLabel lblMissingCode = new JLabel(BUNDLE.getString("MissingCode.lblMissingCode.text")); //$NON-NLS-1$
lblMissingCode.setBounds(5, 152, 488, 15);
panel.add(lblMissingCode);
{
JPanel buttonPane = new JPanel();
buttonPane.setLayout(new FlowLayout(FlowLayout.RIGHT));
getContentPane().add(buttonPane, BorderLayout.SOUTH);
{
JButton cancelButton = new JButton("Cancel");
JButton cancelButton = new JButton(BUNDLE.getString("MissingCode.cancelButton.text")); //$NON-NLS-1$
cancelButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
setVisible(false);
dispose();
}
});
cancelButton.setActionCommand("Cancel");
cancelButton.setActionCommand(BUNDLE.getString("MissingCode.cancelButton.actionCommand")); //$NON-NLS-1$
buttonPane.add(cancelButton);
}
}

View File

@ -49,8 +49,10 @@ import javax.swing.JPopupMenu;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.ResourceBundle;
public class Morse extends JFrame {
private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("de.marcel_kapfer.c.morseconverter.strings"); //$NON-NLS-1$
/**
*
@ -90,7 +92,7 @@ public class Morse extends JFrame {
public Morse() {
setIconImage(Toolkit.getDefaultToolkit().getImage(Morse.class.getResource("/de/marcel_kapfer/c/morseconverter/icon.png")));
setResizable(false);
setTitle("Morse Converter");
setTitle(BUNDLE.getString("Morse.this.title")); //$NON-NLS-1$
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setBounds(100, 100, 792, 443);
contentPane = new JPanel();
@ -102,11 +104,11 @@ public class Morse extends JFrame {
menuBar.setBounds(0, 0, 820, 21);
contentPane.add(menuBar);
JMenu mnMain = new JMenu("Main Menu");
JMenu mnMain = new JMenu(BUNDLE.getString("Morse.mnMain.text")); //$NON-NLS-1$
menuBar.add(mnMain);
JMenuItem mntmAbout = new JMenuItem("About");
mntmAbout.setToolTipText("Information about the Software");
JMenuItem mntmAbout = new JMenuItem(BUNDLE.getString("Morse.mntmAbout.text")); //$NON-NLS-1$
mntmAbout.setToolTipText(BUNDLE.getString("Morse.mntmAbout.toolTipText")); //$NON-NLS-1$
mntmAbout.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
About.main(null);
@ -114,29 +116,29 @@ public class Morse extends JFrame {
});
mnMain.add(mntmAbout);
JMenuItem mntmBug = new JMenuItem("Bug");
JMenuItem mntmBug = new JMenuItem(BUNDLE.getString("Morse.mntmBug.text")); //$NON-NLS-1$
mntmBug.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
Bug.main(null);
}
});
mntmBug.setToolTipText("Information about handling a bug");
mntmBug.setToolTipText(BUNDLE.getString("Morse.mntmBug.toolTipText")); //$NON-NLS-1$
mnMain.add(mntmBug);
JMenuItem mntmHowTo = new JMenuItem("How to");
JMenuItem mntmHowTo = new JMenuItem(BUNDLE.getString("Morse.mntmHowTo.text")); //$NON-NLS-1$
mntmHowTo.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
HowTo.main(null);
}
});
mntmHowTo.setToolTipText("Information about how to use the software");
mntmHowTo.setToolTipText(BUNDLE.getString("Morse.mntmHowTo.toolTipText")); //$NON-NLS-1$
mnMain.add(mntmHowTo);
JMenuItem mntmMissingCode = new JMenuItem("Missing Code");
JMenuItem mntmMissingCode = new JMenuItem(BUNDLE.getString("Morse.mntmMissingCode.text")); //$NON-NLS-1$
mntmMissingCode
.setToolTipText("Information about handling a missing code");
.setToolTipText(BUNDLE.getString("Morse.mntmMissingCode.toolTipText")); //$NON-NLS-1$
mnMain.add(mntmMissingCode);
JMenuItem mntmExit = new JMenuItem("Exit");
JMenuItem mntmExit = new JMenuItem(BUNDLE.getString("Morse.mntmExit.text")); //$NON-NLS-1$
mntmExit.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
setVisible(false);
@ -150,12 +152,12 @@ public class Morse extends JFrame {
}
});
JMenu mnClipboard = new JMenu("Clipboard");
JMenu mnClipboard = new JMenu(BUNDLE.getString("Morse.mnClipboard.text")); //$NON-NLS-1$
menuBar.add(mnClipboard);
JMenuItem mntnPaste = new JMenuItem("Paste from Clipboard");
JMenuItem mntnPaste = new JMenuItem(BUNDLE.getString("Morse.mntnPaste.text")); //$NON-NLS-1$
mntnPaste
.setToolTipText("Paste the text from your Clipboard into the input field");
.setToolTipText(BUNDLE.getString("Morse.mntnPaste.toolTipText")); //$NON-NLS-1$
mntnPaste.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
onPaste(tfInput);
@ -163,8 +165,8 @@ public class Morse extends JFrame {
});
mnClipboard.add(mntnPaste);
JMenuItem mntmCopy = new JMenuItem("Copy into Clipboard");
mntmCopy.setToolTipText("Copy the text from the output field into your clipboard");
JMenuItem mntmCopy = new JMenuItem(BUNDLE.getString("Morse.mntmCopy.text")); //$NON-NLS-1$
mntmCopy.setToolTipText(BUNDLE.getString("Morse.mntmCopy.toolTipText")); //$NON-NLS-1$
mntmCopy.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
onCopy(tfOutput);
@ -173,9 +175,9 @@ public class Morse extends JFrame {
mnClipboard.add(mntmCopy);
chckbxmntmClipboardAutomatic = new JCheckBoxMenuItem(
"Copy automatically into Clipboard");
BUNDLE.getString("Morse.chckbxmntmClipboardAutomatic.text")); //$NON-NLS-1$
chckbxmntmClipboardAutomatic
.setToolTipText("Copy the text form the output field automatically into your clipboard");
.setToolTipText(BUNDLE.getString("Morse.chckbxmntmClipboardAutomatic.toolTipText")); //$NON-NLS-1$
mnClipboard.add(chckbxmntmClipboardAutomatic);
JScrollPane scrollPaneInput = new JScrollPane();
@ -183,7 +185,7 @@ public class Morse extends JFrame {
contentPane.add(scrollPaneInput);
tfInput = new JTextArea();
tfInput.setToolTipText("Enter here your text");
tfInput.setToolTipText(BUNDLE.getString("Morse.tfInput.toolTipText")); //$NON-NLS-1$
scrollPaneInput.setViewportView(tfInput);
tfInput.addKeyListener(new KeyAdapter() {
@Override
@ -206,9 +208,9 @@ public class Morse extends JFrame {
JPopupMenu popupMenuIp = new JPopupMenu();
addPopup(tfInput, popupMenuIp);
JMenuItem mntmIpPaste = new JMenuItem("Paste from Clipboard");
JMenuItem mntmIpPaste = new JMenuItem(BUNDLE.getString("Morse.mntmIpPaste.text")); //$NON-NLS-1$
mntmIpPaste
.setToolTipText("Paste the text from your Clipboard into the input field");
.setToolTipText(BUNDLE.getString("Morse.mntmIpPaste.toolTipText")); //$NON-NLS-1$
mntmIpPaste.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
onPaste(tfInput);
@ -216,8 +218,8 @@ public class Morse extends JFrame {
});
popupMenuIp.add(mntmIpPaste);
JMenuItem mntnIpSelect = new JMenuItem("Select text");
mntnIpSelect.setToolTipText("Select the whole text");
JMenuItem mntnIpSelect = new JMenuItem(BUNDLE.getString("Morse.mntnIpSelect.text")); //$NON-NLS-1$
mntnIpSelect.setToolTipText(BUNDLE.getString("Morse.mntnIpSelect.toolTipText")); //$NON-NLS-1$
mntnIpSelect.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
tfInput.requestFocus();
@ -226,8 +228,8 @@ public class Morse extends JFrame {
});
popupMenuIp.add(mntnIpSelect);
JMenuItem mntmIpDelete = new JMenuItem("Delete text");
mntmIpDelete.setToolTipText("Delete the whole text");
JMenuItem mntmIpDelete = new JMenuItem(BUNDLE.getString("Morse.mntmIpDelete.text")); //$NON-NLS-1$
mntmIpDelete.setToolTipText(BUNDLE.getString("Morse.mntmIpDelete.toolTipText")); //$NON-NLS-1$
mntmIpDelete.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
tfInput.setText(null);
@ -235,39 +237,39 @@ public class Morse extends JFrame {
});
popupMenuIp.add(mntmIpDelete);
JLabel lblEnterYourText = new JLabel("Enter your text:");
lblEnterYourText.setBounds(10, 33, 111, 15);
JLabel lblEnterYourText = new JLabel(BUNDLE.getString("Morse.lblEnterYourText.text")); //$NON-NLS-1$
lblEnterYourText.setBounds(10, 33, 178, 15);
contentPane.add(lblEnterYourText);
rdbtnwmll = new JRadioButton("writtenMorse to Latin Letters");
rdbtnwmll = new JRadioButton(BUNDLE.getString("Morse.rdbtnwmll.text")); //$NON-NLS-1$
rdbtnwmll
.setToolTipText("Convert writtenMorse into normal latin letters");
.setToolTipText(BUNDLE.getString("Morse.rdbtnwmll.toolTipText")); //$NON-NLS-1$
buttonGroup.add(rdbtnwmll);
rdbtnwmll.setBounds(12, 208, 250, 23);
contentPane.add(rdbtnwmll);
rdbtnllwm = new JRadioButton("Latin Letters to writtenMorse");
rdbtnllwm = new JRadioButton(BUNDLE.getString("Morse.rdbtnllwm.text")); //$NON-NLS-1$
rdbtnllwm
.setToolTipText("Convert normal latin letters into writtenMorse");
.setToolTipText(BUNDLE.getString("Morse.rdbtnllwm.toolTipText")); //$NON-NLS-1$
buttonGroup.add(rdbtnllwm);
rdbtnllwm.setBounds(266, 208, 250, 23);
contentPane.add(rdbtnllwm);
rdbtnmll = new JRadioButton("Morse to Latin Letters");
rdbtnmll.setToolTipText("Convert normal morse code into normal latin letters");
rdbtnmll = new JRadioButton(BUNDLE.getString("Morse.rdbtnmll.text")); //$NON-NLS-1$
rdbtnmll.setToolTipText(BUNDLE.getString("Morse.rdbtnmll.toolTipText")); //$NON-NLS-1$
buttonGroup.add(rdbtnmll);
rdbtnmll.setBounds(12, 235, 250, 23);
contentPane.add(rdbtnmll);
rdbtnllm = new JRadioButton("Latin Letters to Morse");
rdbtnllm.setToolTipText("convert normal latin letters into normal morse code");
rdbtnllm = new JRadioButton(BUNDLE.getString("Morse.rdbtnllm.text")); //$NON-NLS-1$
rdbtnllm.setToolTipText(BUNDLE.getString("Morse.rdbtnllm.toolTipText")); //$NON-NLS-1$
buttonGroup.add(rdbtnllm);
rdbtnllm.setBounds(266, 235, 250, 23);
contentPane.add(rdbtnllm);
btnConvert = new JButton("Convert");
btnConvert = new JButton(BUNDLE.getString("Morse.btnConvert.text")); //$NON-NLS-1$
btnConvert
.setToolTipText("Convert the insert text to the choosen code");
.setToolTipText(BUNDLE.getString("Morse.btnConvert.toolTipText")); //$NON-NLS-1$
btnConvert.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
ChooseProcess();
@ -281,7 +283,7 @@ public class Morse extends JFrame {
contentPane.add(scrollPaneOutput);
tfOutput = new JTextArea();
tfOutput.setToolTipText("This is the output text field");
tfOutput.setToolTipText(BUNDLE.getString("Morse.tfOutput.toolTipText")); //$NON-NLS-1$
scrollPaneOutput.setViewportView(tfOutput);
tfOutput.setEditable(false);
tfOutput.setLineWrap(true);
@ -289,7 +291,7 @@ public class Morse extends JFrame {
JPopupMenu popupMenuOp = new JPopupMenu();
addPopup(tfOutput, popupMenuOp);
JMenuItem mntmOpClipboardCopy = new JMenuItem("Copy into Clipboard");
JMenuItem mntmOpClipboardCopy = new JMenuItem(BUNDLE.getString("Morse.mntmOpClipboardCopy.text")); //$NON-NLS-1$
mntmOpClipboardCopy.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
onCopy(tfOutput);
@ -297,7 +299,7 @@ public class Morse extends JFrame {
});
popupMenuOp.add(mntmOpClipboardCopy);
JMenuItem mntmOpSelect = new JMenuItem("Select Text");
JMenuItem mntmOpSelect = new JMenuItem(BUNDLE.getString("Morse.mntmOpSelect.text")); //$NON-NLS-1$
mntmOpSelect.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
tfOutput.requestFocus();
@ -306,8 +308,8 @@ public class Morse extends JFrame {
});
popupMenuOp.add(mntmOpSelect);
btnSelectInput = new JButton("Select Input Text");
btnSelectInput.setToolTipText("Select the whole text of the input box");
btnSelectInput = new JButton(BUNDLE.getString("Morse.btnSelectInput.text")); //$NON-NLS-1$
btnSelectInput.setToolTipText(BUNDLE.getString("Morse.btnSelectInput.toolTipText")); //$NON-NLS-1$
btnSelectInput.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
tfInput.requestFocus();
@ -315,7 +317,7 @@ public class Morse extends JFrame {
btnSelectInput.setVisible(false);
}
});
btnSelectInput.setBounds(612, 28, 158, 25);
btnSelectInput.setBounds(569, 28, 201, 25);
btnSelectInput.setVisible(false);
contentPane.add(btnSelectInput);
}
@ -1206,4 +1208,4 @@ public class Morse extends JFrame {
Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();
clipboard.setContents(selection, selection);
}
}
}

View File

@ -0,0 +1,82 @@
#Field ResourceBundle: BUNDLE
#Sun Feb 15 22:59:16 CET 2015
About.cancelButton.actionCommand=Cancel
About.cancelButton.text=Close
About.lblCont.text=Contact
About.lblContact.text=marcelmichaelkapfer@yahoo.co.nz
About.lblDev.text=Developer
About.lblDeveloper.text=Marcel Kapfer
About.lblLic.text=License
About.lblLicense.text=GNU v3.0
About.lblVer.text=Version
About.lblVersion.text=1.0.3
About.lblWeb.text=Website
About.lblWebsite.text=marcel-kapfer.de/projects/morse
About.panel.borderTitle=About
Bug.cancelButton.actionCommand=Cancel
Bug.cancelButton.text=Cancel
Bug.lblAddress.text=marcelmichaelkapfer@yahoo.co.nz
Bug.lblDescription.text=a short description of the bug
Bug.lblIntro.text=If you found a bug, please write me a mail to
Bug.lblReproduce.text=and how to re-produce the bug.
Bug.lblThanks.text=Thank you very much
Bug.lblTitle.text=Bug in Morse Version [your program version]
Bug.lblTitleIntro.text=with the title
Bug.panel.borderTitle=Bug
HowTo.cancelButton.actionCommand=Cancel
HowTo.cancelButton.text=Cancel
HowTo.jPanel.borderTitle=How to
HowTo.lblHttpwwwmarcelkapferdeprojectsmorseindexhtmlhowto.text=http\://www.marcel-kapfer.de/projects/morse/index.html\#howto_desktop
HowTo.lblIntro.text=A detailed description about how to use this software is on\:
HowTo.this.title=How to
MissingCode.cancelButton.actionCommand=Cancel
MissingCode.cancelButton.text=Cancel
MissingCode.lblAddress.text=marcelmichaelkapfer@yahoo.co.nz
MissingCode.lblIntro.text=If you found out that a code is missing,
MissingCode.lblIntroTwo.text=please write me a mail to
MissingCode.lblMissingCode.text=and tell me which code is missing.
MissingCode.lblThanks.text=Thank you very much
MissingCode.lblTitle.text=Missing Code in Morse Version [your program version]
MissingCode.lblTitleIntro.text=with the title
MissingCode.panel.borderTitle=Missing Code
Morse.btnConvert.text=Convert
Morse.btnConvert.toolTipText=Convert the insert text to the choosen code
Morse.btnSelectInput.text=Select Input Text
Morse.btnSelectInput.toolTipText=Select the whole text of the input box
Morse.chckbxmntmClipboardAutomatic.text=Copy automatically into Clipboard
Morse.chckbxmntmClipboardAutomatic.toolTipText=Copy the text form the output field automatically into your clipboard
Morse.lblEnterYourText.text=Enter your text\:
Morse.mnClipboard.text=Clipboard
Morse.mnMain.text=Main Menu
Morse.mntmAbout.text=About
Morse.mntmAbout.toolTipText=Information about the Software
Morse.mntmBug.text=Bug
Morse.mntmBug.toolTipText=Information about handling a bug
Morse.mntmCopy.text=Copy into Clipboard
Morse.mntmCopy.toolTipText=Copy the text from the output field into your clipboard
Morse.mntmExit.text=Exit
Morse.mntmHowTo.text=How to
Morse.mntmHowTo.toolTipText=Information about how to use the software
Morse.mntmIpDelete.text=Delete text
Morse.mntmIpDelete.toolTipText=Delete the whole text
Morse.mntmIpPaste.text=Paste from Clipboard
Morse.mntmIpPaste.toolTipText=Paste the text from your Clipboard into the input field
Morse.mntmMissingCode.text=Missing Code
Morse.mntmMissingCode.toolTipText=Information about handling a missing code
Morse.mntmOpClipboardCopy.text=Copy into Clipboard
Morse.mntmOpSelect.text=Select Text
Morse.mntnIpSelect.text=Select text
Morse.mntnIpSelect.toolTipText=Select the whole text
Morse.mntnPaste.text=Paste from Clipboard
Morse.mntnPaste.toolTipText=Paste the text from your Clipboard into the input field
Morse.rdbtnllm.text=Text to Morse
Morse.rdbtnllm.toolTipText=convert normal text into normal morse code
Morse.rdbtnllwm.text=Text to writtenMorse
Morse.rdbtnllwm.toolTipText=Convert normal text into writtenMorse
Morse.rdbtnmll.text=Morse to Text
Morse.rdbtnmll.toolTipText=Convert normal morse code into normal text
Morse.rdbtnwmll.text=writtenMorse to Text
Morse.rdbtnwmll.toolTipText=Convert writtenMorse into normal text
Morse.tfInput.toolTipText=Enter here your text
Morse.tfOutput.toolTipText=This is the output text field
Morse.this.title=Morse Converter

View File

@ -0,0 +1,82 @@
#Field ResourceBundle: BUNDLE
#Sun Feb 15 22:59:16 CET 2015
About.cancelButton.actionCommand=Schlie\u00DFen
About.cancelButton.text=Schlie\u00DFen
About.lblCont.text=Kontakt
About.lblContact.text=marcelmichaelkapfer@yahoo.co.nz
About.lblDev.text=Entwickler
About.lblDeveloper.text=Marcel Kapfer
About.lblLic.text=Lizenz
About.lblLicense.text=GNU v3.0
About.lblVer.text=Version
About.lblVersion.text=1.0.3
About.lblWeb.text=Website
About.lblWebsite.text=marcel-kapfer.de/projects/morse/
About.panel.borderTitle=\u00DCber
Bug.cancelButton.actionCommand=Schlie\u00DFen
Bug.cancelButton.text=Schlie\u00DFen
Bug.lblAddress.text=marcelmichaelkapfer@yahoo.co.nz
Bug.lblDescription.text=eine kurze Beschreibung des Fehlers
Bug.lblIntro.text=Wenn Sie einen Fehler entdeckt haben, schreiben Sie mit bitte eine Mail an
Bug.lblReproduce.text=und wie man diesen reproduzieren kann
Bug.lblThanks.text=Vielen Dank
Bug.lblTitle.text=Fehler in Morse Version [Ihre Programm Version]
Bug.lblTitleIntro.text=mit dem Titel
Bug.panel.borderTitle=Fehler
HowTo.cancelButton.actionCommand=Schlie\u00DFen
HowTo.cancelButton.text=Schlie\u00DFen
HowTo.jPanel.borderTitle=Bedienung
HowTo.lblHttpwwwmarcelkapferdeprojectsmorseindexhtmlhowto.text=http\://www.marcel-kapfer.de/projects/morse/index.html\#howto_desktop
HowTo.lblIntro.text=Eine genaue Anleitung ist hier zu finden\:
HowTo.this.title=Bedienung
MissingCode.cancelButton.actionCommand=Schlie\u00DFen
MissingCode.cancelButton.text=Schlie\u00DFen
MissingCode.lblAddress.text=marcelmichaelkapfer@yahoo.co.nz
MissingCode.lblIntro.text=Wenn Sie auf einen fehlenden Code aufmerksam geworden bist,
MissingCode.lblIntroTwo.text=schreiben Sie mir bitte eine Email an
MissingCode.lblMissingCode.text=und benachrichtigen Sie mich \u00FCber den fehlenden Code
MissingCode.lblThanks.text=Vielen Dank
MissingCode.lblTitle.text=Fehlender Code in Morse Converter [Ihre Program Version]
MissingCode.lblTitleIntro.text=mit dem Titel
MissingCode.panel.borderTitle=Fehlender Code
Morse.btnConvert.text=Umwandeln
Morse.btnConvert.toolTipText=Umwandelt den eingegebenen Text zum ausgew\u00E4hlten Code
Morse.btnSelectInput.text=Eingabetext ausw\u00E4hlen
Morse.btnSelectInput.toolTipText=W\u00E4hlt den ganzen Text des Eingabe-Felds aus
Morse.chckbxmntmClipboardAutomatic.text=Automatisch in die Zwischenablage kopieren
Morse.chckbxmntmClipboardAutomatic.toolTipText=Kopiert den umgewandelten Text automatisch in die Zwischenablage
Morse.lblEnterYourText.text=Geben Sie Ihren Text ein\:
Morse.mnClipboard.text=Zwischenablage
Morse.mnMain.text=Hauptmen\u00FC
Morse.mntmAbout.text=\u00DCber
Morse.mntmAbout.toolTipText=Informationen \u00FCber die Software
Morse.mntmBug.text=Fehler
Morse.mntmBug.toolTipText=Informationen \u00FCber die Fehlerbehandlung
Morse.mntmCopy.text=In die Zwischenablage kopieren
Morse.mntmCopy.toolTipText=Kopiert den umgewandelten Text in Ihre Zwischenablage
Morse.mntmExit.text=Verlassen
Morse.mntmHowTo.text=Benutzung
Morse.mntmHowTo.toolTipText=Informationen \u00FCber die Benutzung der Software
Morse.mntmIpDelete.text=Text l\u00F6schen
Morse.mntmIpDelete.toolTipText=L\u00F6scht den ganzen Text
Morse.mntmIpPaste.text=Von der Zwischenablage einf\u00FCgen
Morse.mntmIpPaste.toolTipText=F\u00FCgt den Text von Ihrer Zwischenablage in das Eingabefeld ein
Morse.mntmMissingCode.text=Fehlender Code
Morse.mntmMissingCode.toolTipText=Informationen \u00FCber das Umgehen mit fehlenden Code
Morse.mntmOpClipboardCopy.text=In die Zwischenablage kopieren
Morse.mntmOpSelect.text=Text ausw\u00E4hlen
Morse.mntnIpSelect.text=Text ausw\u00E4hlen
Morse.mntnIpSelect.toolTipText=W\u00E4hlt den ganzen Text aus
Morse.mntnPaste.text=Aus der Zwischenablage einf\u00FCgen
Morse.mntnPaste.toolTipText=F\u00FCgt den Text von Ihrer Zwischenablage in das Eingabefeld ein
Morse.rdbtnllm.text=Text zu Morse
Morse.rdbtnllm.toolTipText=Wandelt normalen Text in Morse Code um
Morse.rdbtnllwm.text=Text zu writtenMorse
Morse.rdbtnllwm.toolTipText=Wandelt normalen Text in writtenMorse um
Morse.rdbtnmll.text=Morse zu Text
Morse.rdbtnmll.toolTipText=Wandelt normales Morse in normalen Text um
Morse.rdbtnwmll.text=writtenMorse zu Text
Morse.rdbtnwmll.toolTipText=Wandelt writtenMorse in normalen Text um
Morse.tfInput.toolTipText=Geben Sie Ihren Text hier ein
Morse.tfOutput.toolTipText=Dies ist das Ausgabefeld
Morse.this.title=Morse Converter