X-Git-Url: http://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=Docs%2Fgettext-howto;fp=Docs%2Fgettext-howto;h=c24e67de78fe4ffaaf9e2221b895bb9bb1948a70;hp=1c78ab1853559187fcdff60cc45f834c3a40ff1a;hb=1379b6d01c3c3bd082a8ab32433450d8a2f3419c;hpb=a363234939c6030f24d092e9d4d97ee40f50ce03 diff --git a/Docs/gettext-howto b/Docs/gettext-howto index 1c78ab1..c24e67d 100644 --- a/Docs/gettext-howto +++ b/Docs/gettext-howto @@ -100,25 +100,3 @@ SnowWhite:/tmp/gnokii$ The second line is in czech language :-) There are some problems - for example with "Mar" which is substitute by the C preprocessor. -6. How to use locale in the gnokii code - -It's simple. Instead uf using: -"some string" -use: -_("some string") - -In some cases _() cannot be used but the text still needs to be localized. -In such cases use: -N_("some string") -For more detailes refer to gettext info pages. - -When sending us the patches and writing code for gnokii follow the rules: - - do NOT translate DEBUG output (usually done by dprintf()), - - translate all other output - - do not output to stdout, unless you are in the application level code - (gnokii/*.c, gnokiid/*.c, xgnokii/*.c, smsd/*.c) - --- -$Id$ -Pavel Janik -Pawel Kot