view po/POTFILES.in @ 7724:613b20c69d2c

[gaim-migrate @ 8369] this didn't cause me any problems yesterday, and it compiles, and bug fixing is a good thing. "Some month ago I introduced translatable texts for "gaim --help" and "gaim-remote --help". Unfortunately the output of the translated text is often unreadable. The problem is, that Gaim's *.po files have the UTF-8 locale (because this is the default charset for GTK+ 2.0). But the users may have configured other locales. For instance my SuSE Linux 9.0 system is configured with LANG=de_DE@euro. "euro" is ISO-8859-1 (Western character set, 8 Bit, with the Euro currency symbol). Lots of UTF-8 characters are unreadable if they are displayed in a 8 Bit charset without conversion. Only the 7 Bit chars are displayed right. There are two possible solutions: 1) Make the console texts untranslatable. This isn't very clever. 2) Convert the texts from UTF-8 to user's locale. I choose the second solution. The conversion cannot be made during the translation, because gettext does not allow a mix of different character sets in one po-file. My patch converts the console strings from UTF-8 to users locale. Normally this works right, because most users have a locale which is compatible with their language. The case where a user uses a language (for instance German: LANG=de_DE) with an incompatible character set (for instance the 7Bit charset LC_CTYPE=C) is also handled. The user then sees a warning and the original UTF-8 message. At first I tried to make a new UTF-8 function in src/util.c. But the function is needed 5 times in src/gaim-remote.c and 2 times in src/main.c. gaim-remote is not linked against util.o. Also there are a lot of dependencies from util.o to other files, so I will introduce a lot of trouble to link gaim-remote against util.o. So I only wrote a function in src/gaim-remote.c and used the UTF-8 conversion inline in src/main.c." --Bjoern Voigt committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 03 Dec 2003 13:21:55 +0000
parents 7e0fa656d672
children fdbac6662b04
line wrap: on
line source

plugins/autorecon.c
plugins/chkmail.c
plugins/contact_priority.c
plugins/docklet/docklet-win32.c
plugins/docklet/docklet.c
plugins/filectl.c
plugins/gaim-remote/remote.c
plugins/gaiminc.c
plugins/gestures/gestures.c
plugins/gtik.c
plugins/history.c
plugins/iconaway.c
plugins/idle.c
plugins/ipc-test-client.c
plugins/ipc-test-server.c
plugins/mailchk.c
plugins/notify.c
plugins/perl/perl.c
plugins/raw.c
plugins/relnot.c
plugins/signals-test.c
plugins/simple.c
plugins/spellchk.c
plugins/ssl/ssl-gnutls.c
plugins/ssl/ssl-nss.c
plugins/ssl/ssl.c
plugins/statenotify.c
plugins/tcl/tcl.c
plugins/ticker/ticker.c
plugins/timestamp.c
plugins/win32/transparency/win2ktrans.c
plugins/win32/winprefs/winprefs.c
src/about.c
src/account.c
src/away.c
src/blist.c
src/buddy_chat.c
src/connection.c
src/conversation.c
src/dialogs.c
src/ft.c
src/gaim-disclosure.c
src/gaim-remote.c
src/gaimrc.c
src/gtkaccount.c
src/gtkblist.c
src/gtkconn.c
src/gtkconv.c
src/gtkdebug.c
src/gtkft.c
src/gtkimhtml.c
src/gtklog.c
src/gtknotify.c
src/gtkpounce.c
src/gtkprefs.c
src/gtkprivacy.c
src/gtkrequest.c
src/gtksound.c
src/gtkutils.c
src/log.c
src/main.c
src/plugin.c
src/prefs.c
src/protocols/gg/gg.c
src/protocols/icq/gaim_icq.c
src/protocols/irc/cmds.c
src/protocols/irc/irc.c
src/protocols/irc/msgs.c
src/protocols/irc/parse.c
src/protocols/jabber/auth.c
src/protocols/jabber/buddy.c
src/protocols/jabber/chat.c
src/protocols/jabber/jabber.c
src/protocols/jabber/jutil.c
src/protocols/jabber/message.c
src/protocols/jabber/parser.c
src/protocols/jabber/presence.c
src/protocols/jabber/roster.c
src/protocols/jabber/si.c
src/protocols/msn/dispatch.c
src/protocols/msn/error.c
src/protocols/msn/httpmethod.c
src/protocols/msn/msn.c
src/protocols/msn/notification.c
src/protocols/msn/servconn.c
src/protocols/msn/session.c
src/protocols/msn/state.c
src/protocols/msn/switchboard.c
src/protocols/napster/napster.c
src/protocols/oscar/oscar.c
src/protocols/toc/toc.c
src/protocols/trepia/trepia.c
src/protocols/yahoo/yahoo.c
src/protocols/yahoo/yahoo_filexfer.c
src/protocols/yahoo/yahoochat.c
src/protocols/zephyr/zephyr.c
src/proxy.c
src/prpl.h
src/request.h
src/server.c
src/status.c
src/stock.c
src/util.c
src/win32/win32dep.c