Problem with race_to_en

Posts from previous Beta sessions

Problem with race_to_en

Postby poetter » Tue Sep 25, 2007 5:04 am

tuigii wrote:Small frFR issue (my fault :? )
The image for NightElfs is still not present.
It askes for this image :
...
<img src="/roster_20b1/addons/info/images/portrait/night elf-female.gif
...
of course, only these are present:
nightelf-female.gif
nightelf-male.gif



This problem is made by the race_to_en arrays in the locales. Classes Night Elf and Blood Elf should be NightElf and BloodElf, or the other way around it must be somewhere in the creation of the charimage, that will need a str_replace( "\s", "", $whatever).
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Problem with race_to_en

Postby zanix » Tue Sep 25, 2007 6:04 am

We expect the data to not have a space as that is how it is in CP
So this needs to be entered in the db with no space

Also, CP gets 'Undead' as 'Scourge' for the EN translation, so that probably needs to be changed as well

The base locale files should keep using the proper names 'Night Elf' and not 'NightElf' just in case the space is needed for some reason

It's just as easy to add str_replace( ' ', '', $race) to armory sync as well

Remember, you are faking a CP upload, so you need to match a CP file


Please discuss if you feel this is untrue
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Problem with race_to_en

Postby poetter » Tue Sep 25, 2007 6:15 am

No, you are right. Just thought that this could be a problem somewhere else. I will add the str_replace to ArmorySync.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Problem with race_to_en

Postby zanix » Tue Sep 25, 2007 6:20 am

Ok, I didn't want to come off as harsh though
That's why I added the "Please discuss" part
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Problem with race_to_en

Postby poetter » Tue Sep 25, 2007 6:25 am

hey, np. i'm not pissed ;-)
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Problem with race_to_en

Postby zanix » Tue Sep 25, 2007 7:51 am

Thats good :)
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron