[svn1754] problem with females characters classes

Posts from previous Beta sessions

[svn1754] problem with females characters classes

Postby niac » Wed Apr 23, 2008 4:08 pm

Hi.

I see than class of all feminin characters are not recognized. There are not icons in list and are not counted.

For exemple :

In english : Druid
In french : the male is "Druide" ; the female is "Druidesse"

In english : Priest
In french : the male is "Prêtre" ; the female is "Prêtresse"

In english : Rogue
In french : the male is "Voleur ; the female is "Voleuse"

In english : Hunter
In french : the male is "Chasseur" ; the female is "Chasseresse"

In english : Warrior
In french : the male is "Guerrier" ; the female is "Guerrière"

In english : Shaman
In french : the male is "Chaman" ; the female is "Chamane"

Mage have same french words for male and female. Warlock and Paladin too.

Roster informations
version 1.9.9.1754
debug_mode On (extended)
roster_lang frFR

System informations
OS Linux
Server Software Apache
MySQL Version 4.1.11
PHP Version 5.2.0-8
User avatar
niac
WR.net Apprentice
WR.net Apprentice
 
Posts: 28
Joined: Tue Apr 22, 2008 2:35 pm

[svn1754] problem with females characters classes

Postby PleegWat » Wed Apr 23, 2008 5:28 pm

This is a known issue. We're working on a fix.
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

Re: [svn1754] problem with females characters classes

Postby niac » Wed Apr 23, 2008 6:13 pm

l found a temporary solution.

I test something with the class "Druid" on the "frFR.php" localization file.

I add :
'Druidesse'=>'druid_icon', in $lang['class_iconArray']
'Druidesse' >' 'FF7C0A', in $lang['class_colorArray']
'Druidesse' >' 'Druid', in $lang['class_to_en']

And it's work for the list of members : the female druids are counted and icons appear.
User avatar
niac
WR.net Apprentice
WR.net Apprentice
 
Posts: 28
Joined: Tue Apr 22, 2008 2:35 pm

[svn1754] problem with females characters classes

Postby zanix » Thu Apr 24, 2008 4:07 am

Yeah, editing the locale file is one fix
GP stores the classid now

Can you do me a favor and see if the class ids in CP.lua match for the same class in both genders?
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: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: [svn1754] problem with females characters classes

Postby niac » Thu Apr 24, 2008 1:34 pm

zanix wrote:Can you do me a favor and see if the class ids in CP.lua match for the same class in both genders?


Yes. Same ClassId.
Last edited by niac on Tue Apr 29, 2008 5:56 pm, edited 1 time in total.
User avatar
niac
WR.net Apprentice
WR.net Apprentice
 
Posts: 28
Joined: Tue Apr 22, 2008 2:35 pm

[svn1754] problem with females characters classes

Postby zanix » Fri Apr 25, 2008 12:19 am

Nice
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: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

[svn1754] problem with females characters classes

Postby chrissamael » Sun Apr 27, 2008 4:22 am

the same issue exists in the localisation for german.
chrissamael
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Fri Apr 25, 2008 7:09 am

[svn1754] problem with females characters classes

Postby Gibin » Wed Apr 30, 2008 4:40 pm

Here is the Code for the German translation

Code: Select all
// Class Icons-Array
$lang['class_iconArray'] = array (
   'Druide'=>'druid_icon',
   'Druidin'=>'druid_icon',
   'Jäger'=>'hunter_icon',
   'Jägerin'=>'hunter_icon',
   'Magier'=>'mage_icon',
   'Magierin'=>'mage_icon',
   'Paladin'=>'paladin_icon',
   'Priester'=>'priest_icon',
   'Priesterin'=>'priest_icon',
   'Schurke'=>'rogue_icon',
   'Schurkin'=>'rogue_icon',
   'Schamane'=>'shaman_icon',
   'Schamanin'=>'shaman_icon',
   'Hexenmeister'=>'warlock_icon',
   'Hexenmeisterin'=>'warlock_icon',
   'Krieger'=>'warrior_icon',
   'Kriegerin'=>'warrior_icon'
);

// Class Color-Array
$lang['class_colorArray'] = array(
   'Druide' => 'FF7C0A',
   'Druidin' => 'FF7C0A',
   'Jäger' => 'AAD372',
        'Jägerin' => 'AAD372',
   'Magier' => '68CCEF',
   'Magierin' => '68CCEF',
   'Paladin' => 'F48CBA',
   'Priester' => 'ffffff',
   'Priesterin' => 'ffffff',
   'Schurke' => 'FFF468',
   'Schurkin' => 'FFF468',
   'Schamane' => '00DBBA',
   'Schamanin' => '00DBBA',
   'Hexenmeister' => '9382C9',
   'Hexenmeisterin' => '9382C9',
   'Krieger' => 'C69B6D',
   'Kriegerin' => 'C69B6D'
);

// Class To English Translation
$lang['class_to_en'] = array(
   'Druide' => 'Druid',
        'Druidin' => 'Druid',
   'Jäger' => 'Hunter',
   'Jägerin' => 'Hunter',
   'Magier' => 'Mage',
   'Magierin' => 'Mage',
   'Paladin' => 'Paladin',
   'Priester' => 'Priest',
   'Priesterin' => 'Priest',
   'Schurke' => 'Rogue',
   'Schurkin' => 'Rogue',
   'Schamane' => 'Shaman',
   'Schamanin' => 'Shaman',
   'Hexenmeister' => 'Warlock',
   'Hexenmeisterin' => 'Warlock',
   'Krieger' => 'Warrior',
   'Kriegerin' => 'Warrior'
);


And yes this is working.

Gibin
Last edited by Gibin on Wed Apr 30, 2008 4:42 pm, edited 1 time in total.
User avatar
Gibin
WR.net Apprentice
WR.net Apprentice
 
Posts: 14
Joined: Mon Aug 07, 2006 12:37 pm

[svn1754] problem with females characters classes

Postby zanix » Wed Apr 30, 2008 11:44 pm

Added to next svn commit
Thanks
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: 5543
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 0 guests

cron