No Color an female classtext SVN1799

Posts from previous Beta sessions

No Color an female classtext SVN1799

Postby Lesyde » Sat Jun 21, 2008 2:02 am

On the german roster the female warrior classtext is formated with 'class="classKriegerintxt">Kriegerin</span></td>', the male warrior with 'class="classWarriortxt">Krieger</span></td>'.
In style.css is only .classWarriortxt { color:#C69B6D; }.
Is this a bug in the memberlist generator ? Or is this because of missing translations ?
I didn't know enough php for checking the code.
Lesyde
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Tue Jul 04, 2006 1:47 pm

No Color an female classtext SVN1799

Postby PleegWat » Sat Jun 21, 2008 3:05 am

It's because of a missing translation key in the german localization. I think german female class names are not in the locale file yet.

To get this fixed, you can help by posting correct locale strings in the "Call to localize" announced thread.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

No Color an female classtext SVN1799

Postby Nefuh » Sat Jun 21, 2008 3:16 am

PleegWat the german translation is correct.

Only line 490 must be changed to:

Code: Select all
'Schamanin' => 7


But this is not the failure.
Administrator of the german User2User Community for WoWRoster.
Guild Master from Scum from Hell - Horde @ EU-Anetheron.
User avatar
Nefuh
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 213
Joined: Fri Sep 15, 2006 8:34 pm
Location: Krefeld Germany

No Color an female classtext SVN1799

Postby zanix » Sat Jun 21, 2008 4:20 am

The section of code that places the text uses array_search
With the class-to-en translations in the locale files, this is unnecessary and has been changed to use class-to-en

Roster 2.0 final will have this fix
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