forked from github/server
Präfix Erz
This commit is contained in:
parent
42f1030251
commit
bd1b568da2
|
@ -27,6 +27,7 @@
|
|||
"flame",
|
||||
"ice",
|
||||
"star",
|
||||
"black"
|
||||
"black",
|
||||
"arch"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue