Re: [poedit-users] How to display the character % in a translation

Stéphane ANCELOT <[email protected]>
Newsgroups gmane.editors.poedit.user
Message-ID <[email protected]>
But, a % in cpp is coded a %%  ? isn't it ?

Arnaud wrote:
> Hi,
> 
> I'm a newcomer in this list, so I hope my question won't seem too stupid 
> :-)
> 
> This is my problem:
> I'm translating the program called Boinc from English to French.
> Several string starts by a % character: exemple:
> 
> #: clientgui/DlgAdvPreferencesBase.cpp:249
> #, c-format
> msgid "% CPU time"
> msgstr " % de temps CPU"
> 
> or
> 
> #: clientgui/DlgAdvPreferencesBase.cpp:493
> #, c-format
> msgid "% of total disk space"
> msgstr "% de l'espace disque total"
> 
> When compiling the .po file, I have a fatal error:
> 
> 23:33:40: /home/arnaud/Traductions/BOINC Manager.po:991: format 
> specifications in 'msgid' and 'msgstr' for argument 1 are not the same
> 23:33:40: msgfmt: found 1 fatal error
> 
> How can I do to translate a sentence beginning by a %
> 
> Thanks you in advance for your help and suggestions.
> 
> Regards,
> Arnaud
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Poedit-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/poedit-users
> 
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.