fix missing keywords for GIVE

This commit is contained in:
Enno Rehling 2014-06-17 18:00:01 -07:00
parent b6b790d7e7
commit 04845526ca
4 changed files with 11 additions and 2 deletions

View File

@ -2143,6 +2143,9 @@
<string name="enter">
<text locale="de">BETRETEN</text>
</string>
<string name="give">
<text locale="de">GIB</text>
</string>
<string name="guard">
<text locale="de">BEWACHEN</text>
</string>

View File

@ -1412,6 +1412,9 @@
<string name="enter">
<text locale="en">ENTER</text>
</string>
<string name="give">
<text locale="en">GIVE</text>
</string>
<string name="guard">
<text locale="en">GUARD</text>
</string>

View File

@ -1420,6 +1420,9 @@
<string name="enter">
<text locale="fr">ENTRER</text>
</string>
<string name="give">
<text locale="fr">DONNER</text>
</string>
<string name="guard">
<text locale="fr">GUARDER</text>
</string>

View File

@ -770,10 +770,10 @@ function test_hero_hero_transfer()
u1:add_order("GIB " .. itoa36(u2.id) .. " 1 PERSONEN")
u1:add_order("REKRUTIEREN 1")
process_orders()
assert_equal(1, u1.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_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
function test_hero_normal_transfer()