mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-26 06:22:48 -04:00
added missing language keys
This commit is contained in:
parent
b51abacc8c
commit
80bcfe82ac
@ -838,7 +838,9 @@ public final class Main extends JFrame implements ClosingWindowListener.ConfirmS
|
||||
if (tsl.isEmpty())
|
||||
throw new TestingDataException(Lang.get("err_noTestData"));
|
||||
|
||||
windowPosManager.register("testResult", new ValueTableDialog(Main.this).addTestResult(tsl, circuitComponent.getCircuit(), library)).setVisible(true);
|
||||
windowPosManager.register("testResult", new ValueTableDialog(Main.this, Lang.get("msg_testResult"))
|
||||
.addTestResult(tsl, circuitComponent.getCircuit(), library))
|
||||
.setVisible(true);
|
||||
|
||||
ensureModelIsStopped();
|
||||
} catch (NodeException | ElementNotFoundException | PinException | TestingDataException | RuntimeException e1) {
|
||||
|
@ -130,7 +130,9 @@ public class GraphDialog extends JDialog implements ModelStateObserver {
|
||||
showTable = new ToolTipAction(Lang.get("menu_showDataAsTable")) {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
new ValueTableDialog(owner).addValueTable("Data", logData).disableGraph().setVisible(true);
|
||||
new ValueTableDialog(owner, title)
|
||||
.addValueTable(Lang.get("win_data"), logData).disableGraph()
|
||||
.setVisible(true);
|
||||
}
|
||||
}.setToolTip(Lang.get("menu_showDataAsTable_tt"));
|
||||
|
||||
|
@ -46,9 +46,10 @@ public class ValueTableDialog extends JDialog {
|
||||
* Creates a new result dialog.
|
||||
*
|
||||
* @param owner the parent frame
|
||||
* @param title the frame title
|
||||
*/
|
||||
public ValueTableDialog(JFrame owner) {
|
||||
super(owner, Lang.get("msg_testResult"), false);
|
||||
public ValueTableDialog(JFrame owner, String title) {
|
||||
super(owner, title, false);
|
||||
this.owner = owner;
|
||||
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
|
||||
setAlwaysOnTop(true);
|
||||
|
@ -950,6 +950,7 @@ Die Icons stammen aus dem Tango Desktop Project.</string>
|
||||
<string name="tt_moveItemUp">Eintrag nach oben schieben</string>
|
||||
<string name="win_allSolutions">Alle möglichen Lösungen</string>
|
||||
<string name="win_testdata_N">Testdaten {0}</string>
|
||||
<string name="win_data">Daten</string>
|
||||
<string name="win_confirmExit">Beenden bestätigen!</string>
|
||||
<string name="win_measures">Messwerte</string>
|
||||
<string name="win_measures_fullstep">Messwerte im Vollschrittmodus</string>
|
||||
|
@ -946,6 +946,7 @@ The icons are taken from the Tango Desktop Project.</string>
|
||||
<string name="win_table_exportDialog">Export</string>
|
||||
<string name="win_itempicker_title">Select</string>
|
||||
<string name="win_testdata_N">Testdata {0}</string>
|
||||
<string name="win_data">Data</string>
|
||||
|
||||
<string name="btn_help">Help</string>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user