i18n() issue
Jason Keirstead
jason at keirstead.org
Mon Dec 8 18:37:07 GMT 2003
On December 08, 2003 2:01 pm, Rob Kaper wrote:
> I have a new string (in a branch, don't worry) which gives me some problems
> with i18n():
>
> i18n("Join %1's %2 Game").arg( player->name() ).arg( game->name() )
> Another small thing: if %1 ends in 's', the string should be "Join %1' %2
> Game". I could check for this, but different languages might need to
> replace "'s" under different circumstances than english.
Dunno about the previous problem, but the fix for this one is easy:
i18n("Play %1 with %2").arg( game->name() ).arg( player->name() );
--
There's no place like 127.0.0.1
http://www.keirstead.org
More information about the kde-core-devel
mailing list