Re: Code review

Ingo Klöcker <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <4965103.apc4ji3dmR@thufir>
Hi Peter,

On Mittwoch, 21. August 2019 17:51:01 CEST Peter Humphrey wrote:
> Hello list,
> 
> Is this the proper place to point out any oddities I may find in trying to
> make sense of KMail code? Some questions will no doubt be newbie grade,
> becuase I've never looked at C++ before. I've extracted and configured the
> source under ~/projects/myKmail/kmail-19.04.3.

The proper place for questions concerning the development of KMail is the kde-
pim mailing list (https://mail.kde.org/mailman/listinfo/kde-pim).

> The first thing I've noticed is that the file kmail-19.04.3/po/en_GB/
> akonadi_mailfilteragent.po contains lots of four-line stanzas like this:
> 
> #: filterlogdialog.cpp:102
> #, kde-format
> msgid "Share..."
> msgstr "Share..."
> 
> But one of them has an extra line:
> 
> #. i18n( "" ) );
> #: filterlogdialog.cpp:136
> #, kde-format
> msgid "Log filter &rule evaluation"
> msgstr "Log filter &rule evaluation"
> 
> First, what does the i18n line do, and second, why does it have an extra
> closing bracket? Could anything go wrong because of this?

Having said the above, you shouldn't worry about the .po files. They are 
automatically generated from the source code and then translated by our 
translators usually using nice UI tools (I suppose).

Regards,
Ingo
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRxKgkQMhrHYtSAVAgadH5FMOC52AUCXV15+QAKCRAadH5FMOC5
2EY1AKCY/BZ1BQf7+mL2rcQVGWPur2ROOgCg5Tq/X3tA08461N1Y5q9H5wz56ug=
=iQf9
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.