[Patch] make IMAP messages translatable



Hi all,

I noticed that the messages coming from libbalsa/imap/*.c are not marked as being translatable.  The attached 
simple patch fixes this.  In addition, the macro imap_mbox_handle_set_msg() is replaced by a variadic 
function as to simplify adding error information.  Affected files are:

- libbalsa/imap/auth-cram.c, libbalsa/imap/auth-gssapi.c, libbalsa/imap/imap-commands.c, 
libbalsa/imap/imap-handle.c: make message strings translatable
- libbalsa/imap/imap-handle.c, libbalsa/imap/imap_private.h: implement imap_mbox_handle_set_msg() as function
- libbalsa/imap/imap-commands.h, libbalsa/imap/imap-tls.c: add GError to imap_handle_starttls() api
- po/POTFILES.in: add files with translatable strings

Note that I created the patch for the autocrypt branch, so applying it to master will probably throw an 
offset warning for POTFILES.in.

Opinions?

Cheers,
Albrecht.

Attachment: imap_i18n.diff.bz2
Description: application/bzip

Attachment: pgpWpfs5_3b7Z.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]