From 04845526caf4490c28b980c8bc4c7dea237172b7 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 17 Jun 2014 18:00:01 -0700 Subject: [PATCH] fix missing keywords for GIVE --- core/res/de/strings.xml | 3 +++ core/res/en/strings.xml | 3 +++ core/res/fr/strings.xml | 3 +++ core/scripts/tests/common.lua | 4 ++-- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/core/res/de/strings.xml b/core/res/de/strings.xml index 12d613ccc..895d26f53 100644 --- a/core/res/de/strings.xml +++ b/core/res/de/strings.xml @@ -2143,6 +2143,9 @@ BETRETEN + + GIB + BEWACHEN diff --git a/core/res/en/strings.xml b/core/res/en/strings.xml index 46544a1fc..18b164aa8 100644 --- a/core/res/en/strings.xml +++ b/core/res/en/strings.xml @@ -1412,6 +1412,9 @@ ENTER + + GIVE + GUARD diff --git a/core/res/fr/strings.xml b/core/res/fr/strings.xml index 619af075e..fea603a8b 100644 --- a/core/res/fr/strings.xml +++ b/core/res/fr/strings.xml @@ -1420,6 +1420,9 @@ ENTRER + + DONNER + GUARDER diff --git a/core/scripts/tests/common.lua b/core/scripts/tests/common.lua index 1c1cb86a8..93f2e8c05 100755 --- a/core/scripts/tests/common.lua +++ b/core/scripts/tests/common.lua @@ -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()