Change the Headings of Avatar Groupings
Posted
#6729
(In Topic #1550)
Posted
They come from the theme image subfolder. E.g. if upload a theme image with the ID of cns_default_avatars/example/foobar, it will be categorised under "Foobar".
Posted
Posted
The bundled ones are localised via the language pack. Here's the code doing it:
Code
$ret = str_replace('Default Set/cartoons', do_lang('cns:AVATARS_CARTOONS'), $ret);
$ret = str_replace('Default Set/thematic', do_lang('cns:AVATARS_THEMATIC'), $ret);
$ret = str_replace('Default Set', do_lang('cns:AVATARS_MISC'), $ret);
Here's the language strings in cns.ini:
Code
AVATARS_CARTOONS=Cartoons
AVATARS_THEMATIC=Hobbies
AVATARS_MISC=Miscellaneous
AVATARS_THEMATIC actually is labelled "Hobbies".
Go to Admin Zone > Style > Translate/rephrase Composr, select cns as the file. Change the strings as required.
Posted
Once I found the words in translate/rephrase Composr it was simple. Thank you Chris!!
Posted
0 guests and 0 members have recently viewed this.

