Item parsing [frFR] svn[1329]

Posts from previous Beta sessions

Item parsing [frFR] svn[1329]

Postby brisenez » Thu Sep 13, 2007 5:53 pm

lib/item.php
Notice line 225: Undefined variable: html
Roster Notice line 1189: Failed to Parse "Bouclier des ténèbres impénétrables": [28606:1071:0:0:0:0:0:-1822264682] (frFR) colorToolTip() used
Bloquer : 122
Notice line 225: Undefined variable: html
Roster Notice line 1189: Failed to Parse "Bouclier des ténèbres impénétrables": [28606:1071:0:0:0:0:0:-1822264682] (frFR) colorToolTip() used
Bloquer : 122

MOD: Changed the subject of this thread
Last edited by brisenez on Thu Sep 13, 2007 10:35 pm, edited 1 time in total.
brisenez
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Thu Aug 16, 2007 5:04 pm

Re: Localization [frFR] svn[1329]

Postby kalimucho » Thu Sep 13, 2007 7:13 pm

I've got the same problem:

Notice line 1189: Failed to Parse "Bouclier en écailles de dragon du champion": [25085:1071:0:0:0:0:-45:1834549280] (frFR) colorToolTip() used
Bloquer : 86

Notice line 1189: Failed to Parse "Bouclier en écailles de dragon du champion": [25085:1071:0:0:0:0:-45:1834549280] (frFR) colorToolTip() used
Bloquer : 86

Notice line 1189: Failed to Parse "Garde de forge-sang": [30986:2654:0:0:0:0:0:1516677944] (frFR) colorToolTip() used
Bloquer : 77


thanks
User avatar
kalimucho
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Tue Aug 28, 2007 3:41 pm
Location: Paris, France

Item parsing [frFR] svn[1329]

Postby ds » Fri Sep 14, 2007 2:29 am

FIND in
File: localization/frFR.php
Line:587
Code: Select all
$lang['tooltip_preg_block']='/(Bloquer).?..(\d+)/i';


Change to:
Code: Select all
$lang['tooltip_preg_block']='/(Bloquer)...(\d+)/i';


Please make this change and let me know the results. Thanks.
Image
ds
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 297
Joined: Sat Jul 08, 2006 9:58 am

Re: Item parsing [frFR] svn[1329]

Postby kalimucho » Fri Sep 14, 2007 3:11 am

I've made the change and i've got the same mistake sorry :(

you can see it there:

roster 2.0b character Artemuze
User avatar
kalimucho
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Tue Aug 28, 2007 3:41 pm
Location: Paris, France

Item parsing [frFR] svn[1329]

Postby ds » Fri Sep 14, 2007 3:21 am

I checked out your roster and you have a TON of parsing problems. Mostly gems aren't getting parsed at all. When you update characters do you get errors about Gems or anything? FR isn't this bad for everyone is it?
Image
ds
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 297
Joined: Sat Jul 08, 2006 9:58 am

Re: Item parsing [frFR] svn[1329]

Postby brisenez » Fri Sep 14, 2007 7:50 pm

ds wrote:FIND in
File: localization/frFR.php
Line:587
Code: Select all
$lang['tooltip_preg_block']='/(Bloquer).?..(\d+)/i';


Change to:
Code: Select all
$lang['tooltip_preg_block']='/(Bloquer)...(\d+)/i';


Please make this change and let me know the results. Thanks.


Same for me : Here
brisenez
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Thu Aug 16, 2007 5:04 pm

Item parsing [frFR] svn[1329]

Postby kalideda » Fri Sep 14, 2007 8:39 pm

Hello,
for the "bloquer" thing I have :
$lang['tooltip_preg_block']='/(Bloquer)....(\d+)/i';
and it works ...
(4 dots because of the nbsp thing...)

For the gem not parsing no big problems, except for the empty slot that show as "rouge" or "méta" instead of "chasse rouge" or "méta-chasse"

other changes needed :

$lang['tooltip_reg_conjureditems']='Objet invoqué disparaissant';
need to be :
$lang['tooltip_reg_conjureditems']='Objet invoqué';

for locked items:
the string in french is "Verrouillé(e)"

and for item showing nothing except a note you catch an error ... but everythig is fine, nothing to parse... (for example the burn pages when u use a book found in kharazan)
Last edited by kalideda on Fri Sep 14, 2007 8:51 pm, edited 2 times in total.
kalideda
WR.net Apprentice
WR.net Apprentice
 
Posts: 25
Joined: Thu Aug 31, 2006 1:48 pm

Item parsing [frFR] svn[1329]

Postby ds » Sat Sep 15, 2007 4:27 am

We can also try this pattern for shields. This might be the way to go because I seems that the amount of "whitespace" seems to change for different types of shields. So please give this a shot and let me know if it works or not. Thanks for the help guys...

Code: Select all
$lang['tooltip_preg_block']='/(Bloquer).+?(\d+)/i';

This will match "Bloquer" literally followed by 0 or more characters that are not line breaks giving back as needed until a digit is found. Then captures the digits.

As for kalideda other suggestions I will fix up the socket patterns as well. Those are a little tricky so I need to make a test script so will do that later.

-ds
Image
ds
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 297
Joined: Sat Jul 08, 2006 9:58 am

Item parsing [frFR] svn[1329]

Postby ds » Sat Sep 15, 2007 7:42 am

Here is the new pattern for Empty Sockets.

Code: Select all
$lang['tooltip_preg_emptysocket']='/(?:Châsse )?(rouge|jaune|bleue|Méta)(?:-Châsse)?/i';


This will match:
Châsse rouge
Châsse jaune
Châsse bleue
Méta-Châsse

Returns 'Color' as group 1, line as group 0.

(Hey kalideda, looks a lot like the one you gave me orginally! lol.. I should have left good enough alone! 8) )
Image
ds
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 297
Joined: Sat Jul 08, 2006 9:58 am

Item parsing [frFR] svn[1329]

Postby kalideda » Sat Sep 15, 2007 7:21 pm

hehe, this final one is prettier and works perfectly :) same for the bloquer thing...
thank you!
kalideda
WR.net Apprentice
WR.net Apprentice
 
Posts: 25
Joined: Thu Aug 31, 2006 1:48 pm


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron