Made the "agriculture", "mining" and "warfare" strings translatable.

This commit is contained in:
Lari Nieminen 2009-11-22 13:02:39 +00:00
parent d9fa44d329
commit 6f76180c38
2 changed files with 6 additions and 6 deletions

View file

@ -116,7 +116,7 @@ Our mines produce $player_$side_number|.mining.gold|g
Farmers produce +1 gold
Study Progress: $player_$side_number|.farming.progress|/$player_$side_number|.farming.target")}
[command]
{VARIABLE player_$side_number|.research.current_target "agriculture"}
{VARIABLE player_$side_number|.research.current_target _"agriculture"}
{VARIABLE finished_options yes}
{VARIABLE unit.status.worked_this_turn yes}
{VARIABLE unit.moves 0}
@ -130,7 +130,7 @@ Study Progress: $player_$side_number|.farming.progress|/$player_$side_number|.fa
Miners produce +1 gold
Study Progress: $player_$side_number|.mining.progress|/$player_$side_number|.mining.target")}
[command]
{VARIABLE player_$side_number|.research.current_target "mining"}
{VARIABLE player_$side_number|.research.current_target _"mining"}
{VARIABLE finished_options yes}
{VARIABLE unit.status.worked_this_turn yes}
{VARIABLE unit.moves 0}
@ -166,7 +166,7 @@ Study Progress: $player_$side_number|.warfare.progress|/$player_$side_number|.wa
[/show_if]
[command]
{VARIABLE player_$side_number|.research.current_target "warfare"}
{VARIABLE player_$side_number|.research.current_target _"warfare"}
{VARIABLE finished_options yes}
{VARIABLE unit.status.worked_this_turn yes}
{VARIABLE unit.moves 0}

View file

@ -116,19 +116,19 @@
#define ADDING_TO_CURRENT_RESEARCH_FIELD SIDE NUM
[if]
{CONDITION player_{SIDE}.research.current_target equals "agriculture"}
{CONDITION player_{SIDE}.research.current_target equals _"agriculture"}
[then]
{VARIABLE_OP player_{SIDE}.farming.progress add {NUM}}
[/then]
[/if]
[if]
{CONDITION player_{SIDE}.research.current_target equals "mining"}
{CONDITION player_{SIDE}.research.current_target equals _"mining"}
[then]
{VARIABLE_OP player_{SIDE}.mining.progress add {NUM}}
[/then]
[/if]
[if]
{CONDITION player_{SIDE}.research.current_target equals "warfare"}
{CONDITION player_{SIDE}.research.current_target equals _"warfare"}
[then]
{VARIABLE_OP player_{SIDE}.warfare.progress add {NUM}}
[/then]