translate all terms
This commit is contained in:
parent
870941d29d
commit
63af3f72f8
1 changed files with 23 additions and 20 deletions
43
generate.py
43
generate.py
|
@ -81,14 +81,18 @@ network = Network(
|
||||||
),
|
),
|
||||||
hat_den = Choice(
|
hat_den = Choice(
|
||||||
versuch = [": ",],
|
versuch = [": ",],
|
||||||
prüfungszeit = [f": Prüfung am {date} um ",],
|
prüfungszeit = [(f": Prüfung am {date} um ", f": exam on {date}, ")],
|
||||||
augenfarbe = [": ",],
|
augenfarbe = [": ",],
|
||||||
),
|
),
|
||||||
augenfarbe = Choice(
|
augenfarbe = Choice(
|
||||||
augen = ["grüne ", "braune ", "blaue ",],
|
augen = [
|
||||||
|
("grüne ", "green "),
|
||||||
|
("braune ", "brown "),
|
||||||
|
("blaue ", "blue "),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
augen = FixedText(
|
augen = FixedText(
|
||||||
stop = "Augen.",
|
stop = ("Augen.", "eyes."),
|
||||||
),
|
),
|
||||||
prüfungszeit = Choice(
|
prüfungszeit = Choice(
|
||||||
uhr = [
|
uhr = [
|
||||||
|
@ -109,29 +113,28 @@ network = Network(
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
uhr = FixedText(
|
uhr = FixedText(
|
||||||
stop = " Uhr.",
|
stop = (" Uhr.", "."),
|
||||||
),
|
|
||||||
prüfungsart = Choice( #inactive
|
|
||||||
prüfung = ["schriftliche ", "mündliche "],
|
|
||||||
),
|
|
||||||
prüfung = FixedText( #inactive
|
|
||||||
stop = "Prüfung.",
|
|
||||||
),
|
|
||||||
prüfungsname = Choice( #inactive
|
|
||||||
prüfungsname_end = get_names("chemie.csv"),
|
|
||||||
),
|
|
||||||
prüfungsname_end = FixedText( #incative
|
|
||||||
stop = "'.",
|
|
||||||
),
|
),
|
||||||
versuch = Choice(
|
versuch = Choice(
|
||||||
nicht = ["Erstversuch ", "1. Versuch "],
|
nicht = [
|
||||||
bestanden = ["Erstversuch ", "1. Versuch ", "Zweitversuch ", "2. Versuch "],
|
("Erstversuch ", "first attempt"),
|
||||||
|
("1. Versuch ", "1st attempt"),
|
||||||
|
],
|
||||||
|
bestanden = [
|
||||||
|
("Erstversuch ", "first attempt"),
|
||||||
|
("1. Versuch ", "1st attempt"),
|
||||||
|
("Zweitversuch ", "second attempt"),
|
||||||
|
("2. Versuch ", "2nd attempt"),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
nicht = Choice(
|
nicht = Choice(
|
||||||
bestanden = ["nicht ", ""],
|
bestanden = [
|
||||||
|
("nicht ", "not "),
|
||||||
|
""
|
||||||
|
],
|
||||||
),
|
),
|
||||||
bestanden = FixedText(
|
bestanden = FixedText(
|
||||||
stop = "bestanden.",
|
stop = ("bestanden.", "passed."),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue