View Single Post
  #1  
Unread 12-13-2008, 10:35 AM
saroiel saroiel is offline
A Darkpaw Brute
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Server: Storms
Posts: 44
Default [TIPS] French/German player + market window presets + ACT

Hello,

I use ACT on Storms server (French) i've add cl_language english in my eq2.ini file (ACT need that to work) and the Market window set the presets lists in English ....

First i've just change
Code:
COND=(MainPage.TabPages.BuyPage.FindButton.LocalText=='Chercher')
to
Code:
COND=(MainPage.TabPages.BuyPage.FindButton.LocalText=='Search')
in eq2ui_inventory_market.xml

But, it's a crapy mod

So, i change this :

in _ProfitUI_MiscSettings.txt :

Add :
Code:
	<Page Name="MarketPresets">
		<Text Name="lang">FR</Text>
	</Page>
in eq2ui_inventory_market.xml :

change :

Code:
COND=(MainPage.TabPages.BuyPage.FindButton.LocalText==&apos;Suchen&apos;)
LOCALE=COND ? DE : LOCALE
COND=(MainPage.TabPages.BuyPage.FindButton.LocalText==&apos;Chercher&apos;)
LOCALE=COND ? FR : LOCALE
to
Code:
LOCALE=Parent.Parent.Custom.ProfitUI_MiscSettings.MarketPresets.lang.Text
and now presets work fine in French and ACT work fine with English logs

For Germans players : <Text Name="lang">DE</Text>
__________________

Final Heroes of Pegasus on STORMS Server (Fr)
Reply With Quote