WoF: fix macro argument in translatable string
This commit is contained in:
parent
5cb60d7f2f
commit
978cf98c18
2 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
||||||
### Add-ons client
|
### Add-ons client
|
||||||
### Add-ons server
|
### Add-ons server
|
||||||
### Campaigns
|
### Campaigns
|
||||||
|
* Winds of Fate
|
||||||
|
* Fix macro argument in translatable string
|
||||||
### Editor
|
### Editor
|
||||||
### Multiplayer
|
### Multiplayer
|
||||||
### Lua API
|
### Lua API
|
||||||
|
|
|
@ -159,10 +159,12 @@
|
||||||
[/filter]
|
[/filter]
|
||||||
experience="$($unit.experience + {AMOUNT})"
|
experience="$($unit.experience + {AMOUNT})"
|
||||||
[/modify_unit]
|
[/modify_unit]
|
||||||
|
{VARIABLE amount {AMOUNT}}
|
||||||
[floating_text]
|
[floating_text]
|
||||||
x,y=$x1,$y1
|
x,y=$x1,$y1
|
||||||
text="<span color='cyan'>" + _ "+{AMOUNT} experience" + "</span>"
|
text="<span color='cyan'>" + _ "+$amount experience" + "</span>"
|
||||||
[/floating_text]
|
[/floating_text]
|
||||||
|
{CLEAR_VARIABLE amount}
|
||||||
[/event]
|
[/event]
|
||||||
#enddef
|
#enddef
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue