excellent idea - enum'd error codes or something would be great<br><br><div><span class="gmail_quote">On 2/13/07, <b class="gmail_sendername">Ian Goldberg</b> <<a href="mailto:ian@cypherpunks.ca">ian@cypherpunks.ca</a>
> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Mon, Feb 12, 2007 at 02:16:17AM +0100, Thomas B. wrote:<br>> > Also, Miranda already contains its own simple but quite effective
<br>> > translation machanism. Would it be possible to use callback functions<br>> > or similar to allow applications using the library to do their own<br>> > translation?<br>><br>> I have also thought about something like that, and that should be
<br>> possible. However, I think a disadvantage of letting applications<br>> translate the messages themselves could be that then each of those<br>> applications would have to maintain the set of translations for the
<br>> libotr messages themselves. But if that's less a nightmare for you than<br>> linking gettext into your plugin, then I could try to implement that ;-)<br><br>I think it *might* be better to remove all of the strings from libotr,
<br>and let the applications deal with any user-visible behaviour; that way,<br>when an app like Miranda that doesn't use the usual markup comes along,<br>it can easily do the right thing.  Of course, there could be some
<br>default behaviour for apps that don't provide explicit functionality.<br><br>   - Ian<br>_______________________________________________<br>OTR-dev mailing list<br><a href="mailto:OTR-dev@lists.cypherpunks.ca">OTR-dev@lists.cypherpunks.ca
</a><br><a href="http://lists.cypherpunks.ca/mailman/listinfo/otr-dev">http://lists.cypherpunks.ca/mailman/listinfo/otr-dev</a><br></blockquote></div><br>