From michael.meier@mmsources.de Sun Sep 2 21:58:57 2007 From: michael.meier@mmsources.de (Michael Meier) Date: Sun, 02 Sep 2007 22:58:57 +0200 Subject: [OTR-dev] Unlocalized message Message-ID: <46DB2411.5060409@mmsources.de> This is a multi-part message in MIME format. --------------090502090805010203020808 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit 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? Btw, i have attached a minor patch for the de.po language file Regards, Michael --------------090502090805010203020808 Content-Type: text/plain; name="de.po.diff" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="de.po.diff" --- de.po.sent 2007-08-31 11:43:35.000000000 +0200 +++ de.po 2007-08-31 11:31:30.000000000 +0200 @@ -8,7 +8,7 @@ "Project-Id-Version: pidgin-otr 3.1.0-de\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-08-29 17:46+0200\n" -"PO-Revision-Date: 2007-08-29 20:29+0200\n" +"PO-Revision-Date: 2007-08-31 07:36+0200\n" "Last-Translator: Michael Meier \n" "Language-Team: Michael Meier \n" "MIME-Version: 1.0\n" @@ -92,7 +92,7 @@ #: ../gtk-dialog.c:1209 msgid "Generating private key" -msgstr "Generiere private Schlüssel" +msgstr "Generiere privaten Schlüssel" #: ../gtk-dialog.c:1210 msgid "Please wait" --------------090502090805010203020808-- From tommy.b@gmx.net Sun Sep 2 22:52:16 2007 From: tommy.b@gmx.net (Thomas B.) Date: Sun, 2 Sep 2007 23:52:16 +0200 Subject: [OTR-dev] Unlocalized message In-Reply-To: <46DB2411.5060409@mmsources.de> References: <46DB2411.5060409@mmsources.de> Message-ID: <20070902215216.GA19989@tommy> --oj4kGyHlBMXGt3Le Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 ;-) --oj4kGyHlBMXGt3Le Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="de.po.diff" --- 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 --oj4kGyHlBMXGt3Le-- From ian@cypherpunks.ca Mon Sep 3 22:47:29 2007 From: ian@cypherpunks.ca (Ian Goldberg) Date: Mon, 3 Sep 2007 17:47:29 -0400 Subject: [OTR-dev] Unlocalized message In-Reply-To: <20070902215216.GA19989@tommy> References: <46DB2411.5060409@mmsources.de> <20070902215216.GA19989@tommy> Message-ID: <20070903214729.GA6102@yoink.cs.uwaterloo.ca> On Sun, Sep 02, 2007 at 11:52:16PM +0200, Thomas B. wrote: > 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). That's all correct. It's part of the plan for 4.0, but no one's actually started working on 4.0 yet. - Ian