[Patch] make IMAP messages translatable
Albrecht Dreß <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.balsa |
|---|---|
| Message-ID | <[email protected]> |
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. _______________________________________________ balsa-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/balsa-list
imap_i18n.diff.bz2
(application/x-bzip, 3.2 KB) - not displayed
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEcCEPemLFTtyGf4zATKlvDmfn2fgFAlwwo+cACgkQTKlvDmfn 2fjzoQf/WVvb0NOJ/YVZBni456pwd2uGH+LmeSs9AxH3vYElFiSDptTp0s9Bnwiw W6ue20ie8SmtNzIRcMZczCk0M79QrItSS20vnXG6wXOBhYCIC0Ey9C+zOla44QAO XzIO5SxvpvjRkGc2z2W4L5RERbAXgdyKw8Ws5JMfOAs1X6KLrfjAbP98QOwpBxGw 87dKi0ocsW5+uxudLaOhdNMLofTgrA4hPqpi0DXVrqIAiGd6qp2ZnbO+X/6Mc5Vd y9QPnZbPlIn1f+96f2PdZsuhRUeYfooQnRlodUQIEsrrGyNRu2OeuL31L8lrdesX 0BTRDGkXUaqhv0mexrEDO9qRtwJy/w== =o8+h -----END PGP SIGNATURE-----