adds a missing language key

This commit is contained in:
hneemann 2020-11-26 15:25:51 +01:00
parent d3dc1a9862
commit fa98826542
4 changed files with 7 additions and 5 deletions

View File

@ -1600,10 +1600,10 @@ public final class Main extends JFrame implements ClosingWindowListener.ConfirmS
SwingUtilities.invokeLater(() -> {
if (model != null && model.isRunning()) {
try {
advanceSimulator.advance(Main.this);
advanceSimulator.advance(model);
circuitComponent.graphicHasChanged();
} catch (Exception e) {
showError("Message", e);
showError(Lang.get("msg_errorSettingModelToTestCase"), e);
}
}
});
@ -2141,9 +2141,9 @@ public final class Main extends JFrame implements ClosingWindowListener.ConfirmS
/**
* Advances the model to a certain state
*
* @param main main
* @param model the model
* @throws Exception Exception
*/
void advance(Main main) throws Exception;
void advance(Model model) throws Exception;
}
}

View File

@ -189,7 +189,7 @@ public class ValueTableDialog extends JDialog {
TestRow row = vtm.getRow(r);
if (owner instanceof Main) {
Main main = (Main) owner;
main.startSimulation(m -> new TestExecutor(valueTableHolder.testCaseDescription, m.getModel()).executeTo(row.getRow()));
main.startSimulation(m -> new TestExecutor(valueTableHolder.testCaseDescription, m).executeTo(row.getRow()));
}
}
}

View File

@ -2004,6 +2004,7 @@ Stellen Sie sicher, dass der Flash-Vorgang abgeschlossen ist, bevor Sie diesen D
<string name="btn_copyToClipboard_tt">Kopiert den Text in die Zwischenablage.</string>
<string name="msg_supportsHDL">Exportierbar zu VHDL/Verilog.</string>
<string name="msg_errorSettingModelToTestCase">Fehler beim Setzen der Zeile des Testfalles.</string>
<string name="ok">Ok</string>
<string name="rot_0"></string>

View File

@ -2017,6 +2017,7 @@
<string name="msg_dataWillBeLost_n">Do you really want to discard the changes in the "{0}" field?</string>
<string name="msg_supportsHDL">Exportable to VHDL/Verilog.</string>
<string name="msg_errorSettingModelToTestCase">Error while setting the test case row.</string>
<string name="err_vgaModeNotDetected_N">Video mode was not detected ({0})</string>