mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-23 12:21:05 -04:00
adds a missing language key
This commit is contained in:
parent
d3dc1a9862
commit
fa98826542
@ -1600,10 +1600,10 @@ public final class Main extends JFrame implements ClosingWindowListener.ConfirmS
|
|||||||
SwingUtilities.invokeLater(() -> {
|
SwingUtilities.invokeLater(() -> {
|
||||||
if (model != null && model.isRunning()) {
|
if (model != null && model.isRunning()) {
|
||||||
try {
|
try {
|
||||||
advanceSimulator.advance(Main.this);
|
advanceSimulator.advance(model);
|
||||||
circuitComponent.graphicHasChanged();
|
circuitComponent.graphicHasChanged();
|
||||||
} catch (Exception e) {
|
} 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
|
* Advances the model to a certain state
|
||||||
*
|
*
|
||||||
* @param main main
|
* @param model the model
|
||||||
* @throws Exception Exception
|
* @throws Exception Exception
|
||||||
*/
|
*/
|
||||||
void advance(Main main) throws Exception;
|
void advance(Model model) throws Exception;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -189,7 +189,7 @@ public class ValueTableDialog extends JDialog {
|
|||||||
TestRow row = vtm.getRow(r);
|
TestRow row = vtm.getRow(r);
|
||||||
if (owner instanceof Main) {
|
if (owner instanceof Main) {
|
||||||
Main main = (Main) owner;
|
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()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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="btn_copyToClipboard_tt">Kopiert den Text in die Zwischenablage.</string>
|
||||||
|
|
||||||
<string name="msg_supportsHDL">Exportierbar zu VHDL/Verilog.</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="ok">Ok</string>
|
||||||
<string name="rot_0">0°</string>
|
<string name="rot_0">0°</string>
|
||||||
|
@ -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_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_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>
|
<string name="err_vgaModeNotDetected_N">Video mode was not detected ({0})</string>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user