mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-12 14:26:09 -04:00
improved an error message, see #404
This commit is contained in:
parent
113969d1f4
commit
e56963dc9e
@ -49,7 +49,7 @@ public final class CustomShapeDescription implements Iterable<CustomShapeDescrip
|
||||
Pin getPin(String name) throws PinException {
|
||||
final Pin pin = pins.get(name);
|
||||
if (pin == null)
|
||||
throw new PinException(Lang.get("err_pin_N_notFound", name));
|
||||
throw new PinException(Lang.get("err_customShapeHasNoPin_N", name));
|
||||
return pin;
|
||||
}
|
||||
|
||||
|
@ -925,6 +925,7 @@
|
||||
<string name="err_clockWithoutName">Es gibt ein Taktelement ohne einen Namen. Wenn ein Taktelement eingebettet wird, benötigt auch dieses eine Bezeichnung.</string>
|
||||
<string name="err_pin_N0_atElement_N1_notFound">Pin {0} von Element {1} wurde nicht gefunden</string>
|
||||
<string name="err_pin_N_notFound">Pin {0} wurde nicht gefunden.</string>
|
||||
<string name="err_customShapeHasNoPin_N">Die importierte SVG Datei definiert keinen Pin {0}</string>
|
||||
<string name="err_pin_N_unknown">Pin {0} ist unbekannt</string>
|
||||
<string name="err_seemsToOscillate">Die Schaltung scheint zu oszillieren!
|
||||
Zur Analyse können Sie die Schaltung im Gatterschrittmodus ausführen.</string>
|
||||
|
@ -911,6 +911,7 @@
|
||||
<string name="err_clockWithoutName">Found a clock without a label. If a clock is embedded also the clock needs a label.</string>
|
||||
<string name="err_pin_N0_atElement_N1_notFound">Pin {0} not found at component {1}</string>
|
||||
<string name="err_pin_N_notFound">Pin {0} not found</string>
|
||||
<string name="err_customShapeHasNoPin_N">The custom shape does not define a pin {0}</string>
|
||||
<string name="err_pin_N_unknown">Pin {0} unknown</string>
|
||||
<string name="err_seemsToOscillate">Logic seems to oscillate.
|
||||
To analyse you can run the circuit in single gate step mode.</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user