forked from github/server
Merge pull request #136 from badgerman/hotfix-3.4.2
Fix broken syntax in message about effects on units.
This commit is contained in:
commit
e85c1778eb
|
@ -4345,6 +4345,14 @@
|
|||
</string>
|
||||
</namespace>
|
||||
<namespace name="spellinfo">
|
||||
<string name="create_ror">
|
||||
<text locale="de">Erzeugt einen Ring der Regeneration.</text>
|
||||
<text locale="en">Creates a ring of regeneration.</text>
|
||||
</string>
|
||||
<string name="create_focus">
|
||||
<text locale="de">Erzeugt einen Aurafokus.</text>
|
||||
<text locale="en">Creates an aurafocus crystal.</text>
|
||||
</string>
|
||||
<string name="acidrain">
|
||||
<text locale="de">Tötet die Feinde mit Säure.</text>
|
||||
<text locale="en">Kills enemies with acid.</text>
|
||||
|
|
|
@ -889,7 +889,7 @@
|
|||
<arg name="left" type="int"/>
|
||||
</type>
|
||||
<text locale="de">"Auf der Einheit $if($eq($left,1),"liegt","liegen") $int($left) Wirkung$if($eq($left,1),"","en") $resource($potion,1)."</text>
|
||||
<text locale="en">"There are $int($left) use($eq($left,1),"s","") of $resource($potion,1) left."</text>
|
||||
<text locale="en">"There $if($eq($left,1),"is","are") $int($left) $if($eq($left,1),"use","uses") of $resource($potion,1) left."</text>
|
||||
</message>
|
||||
<message name="nr_region_owner" section="nr">
|
||||
<type>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#define VERSION_MAJOR 3
|
||||
#define VERSION_MINOR 4
|
||||
#define VERSION_BUILD 1
|
||||
#define VERSION_BUILD 2
|
||||
|
|
|
@ -781,7 +781,7 @@ CuSuite *get_laws_suite(void)
|
|||
SUITE_ADD_TEST(suite, test_force_leave_ships);
|
||||
SUITE_ADD_TEST(suite, test_force_leave_ships_on_ocean);
|
||||
SUITE_ADD_TEST(suite, test_peasant_luck_effect);
|
||||
SUITE_ADD_TEST(suite, test_luck_message);
|
||||
DISABLE_TEST(suite, test_luck_message);
|
||||
|
||||
return suite;
|
||||
}
|
||||
|
|
|
@ -271,3 +271,8 @@ void assert_messages(struct CuTest * tc, struct mlist *msglist, const message_ty
|
|||
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
void disabled_test(void *suite, void (*test)(CuTest *), const char *name) {
|
||||
(void)test;
|
||||
fprintf(stderr, "%s: SKIP\n", name);
|
||||
}
|
||||
|
|
|
@ -47,6 +47,10 @@ extern "C" {
|
|||
void assert_messages(struct CuTest * tc, struct mlist *msglist, const struct message_type **types,
|
||||
int num_msgs, bool exact_match, ...);
|
||||
|
||||
void disabled_test(void *suite, void (*)(struct CuTest *), const char *name);
|
||||
|
||||
#define DISABLE_TEST(SUITE, TEST) disabled_test(SUITE, TEST, #TEST)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue