[OTR-dev] Unlocalized message

Thomas B. tommy.b at gmx.net
Sun Sep 2 17:52:16 EDT 2007


On Sun, Sep 02, 2007 at 10:58:57PM +0200, Michael Meier wrote:
> I've experienced the unlocalized message "Your message was not sent. 
> Either end your private conversation, or restart it." With simple
> grepping through the source files, i couldn't find out, where this
> message originates. Could you provide any hints, why this occurs?

Right, the reason for this is that several such messages are not
generated by pidgin-otr, but by libotr itself. You can find this message
in libotr's src/message.c, for example.

There have been discussions on this list some months ago about what
would be the best way to internationalise libotr, and I think the idea
was to just move all UI messages out of libotr and modify the API such
that libotr passes some sort of enum'd error code to the UI instead of a
text message, and then the UI plugin can generate a suitable message (in
the right language) to display to the user.

I don't know if anyone has been working on that, though (I can't do it
unfortunately, because I'm quite busy with university at the moment).

Regards,
Thomas

PS: I attached another minor patch for de.po ;-)

-------------- next part --------------
--- de.po.bak	2007-09-02 23:26:51.000000000 +0200
+++ de.po	2007-09-02 23:27:35.000000000 +0200
@@ -375,7 +375,7 @@
 #: ../gtk-ui.c:96
 #, c-format
 msgid "Fingerprint: %.80s"
-msgstr "Fingerprint :%.80s"
+msgstr "Fingerprint: %.80s"
 
 #: ../gtk-ui.c:100
 #, c-format


More information about the OTR-dev mailing list