Präfix Erz

This commit is contained in:
Enno Rehling 2015-09-12 14:13:45 +02:00
parent 42f1030251
commit bd1b568da2
3 changed files with 13 additions and 1 deletions

View File

@ -27,6 +27,7 @@
"flame",
"ice",
"star",
"black"
"black",
"arch"
]
}

View File

@ -6833,6 +6833,11 @@
<text locale="en">black </text>
</string>
<string name="arch">
<text locale="de">Erz</text>
<text locale="en">arch</text>
</string>
<string name="star">
<text locale="de">Sternen</text>
<text locale="en">star </text>

View File

@ -1110,4 +1110,10 @@ function test_prefix()
set_order(u1, "PRAEFIX")
process_orders()
assert_not_nil(u1:show():find("Elf"))
set_order(u1, "PRAEFIX Erz")
process_orders()
assert_not_nil(u1:show():find("Erzelf"))
u1.faction.locale = "en"
assert_not_nil(u1:show():find("archelf"))
end