From: Bjoern V. <bj...@cs...> - 2006-03-26 12:22:02
|
Hello! I found that the search comment for Jabber user search is not translatable. Please take a look at the attached screen shot. I made this screen shot using the following steps: * Jabber account at jabber.org * search in "Accounts -> (my jabber account> -> Search for Users..." * "Select a user directory to search": users.jabber.org (default) * "Search Directory" There is an English comment "Find a contact [...] wild card searches (%)". The code comes from src/protocols/jabber/buddy.c: user_search_fields_result_cb() [...] if((instnode =3D xmlnode_get_child(query, "instructions"))) =09=09instructions =3D xmlnode_get_data(instnode); else =09=09instructions =3D g_strdup(_("Fill in one or more fields to search " =09=09=09=09=09"for any matching Jabber users.")); [...] The English text is not part of Gaim and not part of the Jabber daemon (searched in jabberd-2.0s10). My Internet search resulted in the fact that the English text is part of a Jabber configuration file: http://support.jabber.com/troubleshooting/know_base/jud_setup.html How should we deal with the original English text message? I see some possible solutions: (1) leave it as is (2) explain the user that this is a Jabber server comment (something like: _("Jabber server comment: ") + instructions) (3) don't use the server comment, only use Gaim's own comment (4) write a dummy translation string for this message (something like=20 char *server_comment_dummy=3DN_("Find a contact [...] wild " "card searches (%)"); if(instructions =3D=3D=3D server_comment_dummy)=20 instructions2=3D_(server_comment_dummy); else instructions2=3Dinstructions; of course this is pseudo code, not C) This only makes sense, if the server search comment is more or less a standard comment. (5) inform the Jabber maintainers about the problem I would prefer (2), may be in combination with (4) but let's discuss it. The missing i18n markers in the search results dialog are already reported in=20 http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1458542&group_= id=3D235&atid=3D713922 Greetings, Bj=F6rn |