forked from github/server
nobody segnet nicht mehr.
This commit is contained in:
parent
28214d0974
commit
4a3b2b0a46
|
@ -410,6 +410,14 @@ eval_add(opstack ** stack, const void * userdata) /* (int, int) -> int */
|
|||
unused(userdata);
|
||||
}
|
||||
|
||||
static void
|
||||
eval_isnull(opstack ** stack, const void * userdata) /* (int, int) -> int */
|
||||
{
|
||||
void * a = opop(stack, void *);
|
||||
opush(stack, (a==NULL)?1:0);
|
||||
unused(userdata);
|
||||
}
|
||||
|
||||
static void
|
||||
eval_if(opstack ** stack, const void * userdata) /* (int, int) -> int */
|
||||
{
|
||||
|
@ -466,6 +474,7 @@ translation_init(void)
|
|||
add_function("add", &eval_add);
|
||||
add_function("strlen", &eval_strlen);
|
||||
add_function("if", &eval_if);
|
||||
add_function("isnull", &eval_isnull);
|
||||
add_function("localize", &eval_localize);
|
||||
add_function("locale", &eval_locale);
|
||||
}
|
||||
|
|
|
@ -6374,7 +6374,7 @@
|
|||
</type>
|
||||
<locale name="de">
|
||||
<nr section="magic">
|
||||
<text>"$unit($mage) segnet in einem kurzen Ritual die Felder."</text>
|
||||
<text>"$if($isnull($mage),"Ein unentdeckter Magier",$unit($mage)) segnet in einem kurzen Ritual die Felder."</text>
|
||||
</nr>
|
||||
</locale>
|
||||
</message>
|
||||
|
@ -6386,12 +6386,12 @@
|
|||
</type>
|
||||
<locale name="de">
|
||||
<nr section="magic">
|
||||
<text>"$unit($mage) erschuf einen heiligen Hain von $int($amount) Schößlingen."</text>
|
||||
<text>"$if($isnull($mage),"Ein unentdeckter Magier",$unit($mage)) erschuf einen heiligen Hain von $int($amount) Schößlingen."</text>
|
||||
</nr>
|
||||
</locale>
|
||||
<locale name="en">
|
||||
<nr section="magic">
|
||||
<text>"$unit($mage) created a holy forest of $int($amount) young trees."</text>
|
||||
<text>$if($isnull($mage),"An unknown magician ",$unit($mage)) created a holy forest of $int($amount) young trees."</text>
|
||||
</nr>
|
||||
</locale>
|
||||
</message>
|
||||
|
|
Loading…
Reference in New Issue