i18n improvements - still WiP though; support highly welcome ;-)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5557 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -970,7 +970,12 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
if(pl)
|
||||
{
|
||||
pl->clientrole = r;
|
||||
if(pl->name[0]) conoutf(_("%s claimed %s status"), pl == player1 ? _("you") : colorname(pl), r == CR_ADMIN ? "admin" : "master");
|
||||
if(pl->name[0])
|
||||
{
|
||||
// two messages required to allow for proper german translation - is there a better way to do it?
|
||||
if(pl==player1) conoutf(_("you claimed %s status"), r == CR_ADMIN ? "admin" : "master");
|
||||
else conoutf(_("%s claimed %s status"), colorname(pl), r == CR_ADMIN ? "admin" : "master");
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user