forked from github/server
fix missing keywords for GIVE
This commit is contained in:
parent
b6b790d7e7
commit
04845526ca
|
@ -2143,6 +2143,9 @@
|
||||||
<string name="enter">
|
<string name="enter">
|
||||||
<text locale="de">BETRETEN</text>
|
<text locale="de">BETRETEN</text>
|
||||||
</string>
|
</string>
|
||||||
|
<string name="give">
|
||||||
|
<text locale="de">GIB</text>
|
||||||
|
</string>
|
||||||
<string name="guard">
|
<string name="guard">
|
||||||
<text locale="de">BEWACHEN</text>
|
<text locale="de">BEWACHEN</text>
|
||||||
</string>
|
</string>
|
||||||
|
|
|
@ -1412,6 +1412,9 @@
|
||||||
<string name="enter">
|
<string name="enter">
|
||||||
<text locale="en">ENTER</text>
|
<text locale="en">ENTER</text>
|
||||||
</string>
|
</string>
|
||||||
|
<string name="give">
|
||||||
|
<text locale="en">GIVE</text>
|
||||||
|
</string>
|
||||||
<string name="guard">
|
<string name="guard">
|
||||||
<text locale="en">GUARD</text>
|
<text locale="en">GUARD</text>
|
||||||
</string>
|
</string>
|
||||||
|
|
|
@ -1420,6 +1420,9 @@
|
||||||
<string name="enter">
|
<string name="enter">
|
||||||
<text locale="fr">ENTRER</text>
|
<text locale="fr">ENTRER</text>
|
||||||
</string>
|
</string>
|
||||||
|
<string name="give">
|
||||||
|
<text locale="fr">DONNER</text>
|
||||||
|
</string>
|
||||||
<string name="guard">
|
<string name="guard">
|
||||||
<text locale="fr">GUARDER</text>
|
<text locale="fr">GUARDER</text>
|
||||||
</string>
|
</string>
|
||||||
|
|
|
@ -770,10 +770,10 @@ function test_hero_hero_transfer()
|
||||||
u1:add_order("GIB " .. itoa36(u2.id) .. " 1 PERSONEN")
|
u1:add_order("GIB " .. itoa36(u2.id) .. " 1 PERSONEN")
|
||||||
u1:add_order("REKRUTIEREN 1")
|
u1:add_order("REKRUTIEREN 1")
|
||||||
process_orders()
|
process_orders()
|
||||||
assert_equal(1, u1.number)
|
|
||||||
assert_equal(2, u2.number)
|
assert_equal(2, u2.number)
|
||||||
assert_false(is_flag_set(u1.flags, 128), 128, "recruiting into an empty hero unit should not create a hero")
|
|
||||||
assert_true(is_flag_set(u2.flags, 128), 128, "unit is not a hero?")
|
assert_true(is_flag_set(u2.flags, 128), 128, "unit is not a hero?")
|
||||||
|
assert_equal(1, u1.number)
|
||||||
|
assert_false(is_flag_set(u1.flags, 128), 128, "recruiting into an empty hero unit should not create a hero")
|
||||||
end
|
end
|
||||||
|
|
||||||
function test_hero_normal_transfer()
|
function test_hero_normal_transfer()
|
||||||
|
|
Loading…
Reference in New Issue