i18n fixes optimized using WML variables

This commit is contained in:
Ignacio R. Morelle 2008-04-27 21:29:28 +00:00
parent a3a8c41498
commit 17e9e2628b

View file

@ -231,13 +231,6 @@
[/have_unit]
[then]
[store_unit]
[filter]
id=$ally_name
[/filter]
kill=no
variable=temp_ally_store
[/store_unit]
[if]
[variable]
name=ally_race
@ -247,7 +240,7 @@
[then]
[message]
speaker=Melusand
message= _ "No, you don't have to introduce yourselves. I already know who you are and why you have been journeying all this way. And I must say, $temp_ally_store.name, that your recent actions and indeed your presence with these fine folk is a credit to your race."
message= _ "No, you don't have to introduce yourselves. I already know who you are and why you have been journeying all this way. And I must say, $intl_ally_name, that your recent actions and indeed your presence with these fine folk is a credit to your race."
[/message]
[message]
@ -260,18 +253,16 @@
[else]
[message]
speaker=Melusand
message= _ "No, you don't have to introduce yourselves. I already know who you are and why you have been journeying all this way. And I must say, $temp_ally_store.name, that your recent actions and indeed your presence with these fine folk is a credit to your race."
message= _ "No, you don't have to introduce yourselves. I already know who you are and why you have been journeying all this way. And I must say, $intl_ally_name, that your recent actions and indeed your presence with these fine folk is a credit to your race."
[/message]
[message]
speaker=$ally_name
image=portraits/grog.png
message= _ "$temp_ally_store.name says thank you."
message= _ "$intl_ally_name says thank you."
[/message]
[/else]
[/if]
{CLEAR_VARIABLE temp_ally_store}
[/then]
[else]
@ -626,7 +617,7 @@
[message]
speaker=$ally_name
image=portraits/grog.png
message= _ "$temp_ally_store.name not sure if he trust fish lady. What if she just want you elves to fight her war for her?"
message= _ "$intl_ally_name not sure if he trust fish lady. What if she just want you elves to fight her war for her?"
[/message]
[/else]
[/if]
@ -741,19 +732,11 @@
[/then]
[else]
[store_unit]
[filter]
id=$ally_name
[/filter]
kill=no
variable=temp_ally_store
[/store_unit]
[message]
speaker=$ally_name
image=portraits/grog.png
message= _ "Even in deepest tunnels my people could not escape Yechnagoth's power forever if she is not stopped. Against such evil I am sure the Great Leader would give you whole army of trolls, but I am afraid you only have $temp_ally_store.name|. Still, $temp_ally_store.name will do what he can to see her destroyed."
message= _ "Even in deepest tunnels my people could not escape Yechnagoth's power forever if she is not stopped. Against such evil I am sure the Great Leader would give you whole army of trolls, but I am afraid you only have $intl_ally_name|. Still, $intl_ally_name will do what he can to see her destroyed."
[/message]
{CLEAR_VARIABLE temp_ally_store}
[/else]
[/if]