Til orientering:
Sjå nedst i e-posten for info om nyoppretta e-postlista for Pology. Kan vera av interesse for nokre av omsettarane her.
(Eg tek meg av det som står først i e-posten.)
---------- Vidaresend melding ----------
Emne: Classifying rules in Pology Dato: Laurdag 9. juli 2011 Frå: Chusslove Illich caslav.ilic@gmx.net Til: kde-i18n-doc@kde.org
I intend to start making releases of Pology, the first by say end of this month or so. To this end I would like to ask people who maintain rules for their languages to think about dividing rules into general and KDE-specific. Note that this is not a hard requirement, just something that would be good to do (and to hold to in the future); if you don't have the time now to do it, no problem.
The short version how to do this is as follows. The simplest is to split all KDE-specific rules into one or more separate rule files, and on top of each add a global environment directive:
environment kde
# first rule
# second rule
...
If some rule files are not convenient to split (e.g. they contain a smaller number of very specific rules; this also goes for filter files), then you can set the environment per-rule:
{somerule} ... env="kde" ...
When rules are classified like this, then check-rules sieve without further parameters will apply only non-KDE specific rules; to apply KDE specific rules too, you issue -senv:kde parameter. (If PO files contain "X-Environment: kde" header field, this too will activate KDE-specific rules.) For further details you can check the section on rules in the Pology user manual:
http://pology.nedohodnik.net/doc/user/en_US/ch-lingo.html#sec-lgrules
When you are deciding whether a particular rule is KDE-specific or general, simply think this way: if someone were to apply rules to an arbitrary non- KDE catalog, would this particular rule make sense? (Same holds for filters.)
On a side note, if you have in mind something else that should be done before the first release, do tell. (For the moment I plan to release Pology periodically, say each three or four months. It will be 0.x series, so each release will allow arbitrary changes.)
I've also created a dedicated mailing list for Pology:
http://lists.nedohodnik.net/listinfo.cgi/pology-nedohodnik.net
but if you don't feel like subscribing to it, feel free to keep writing about Pology on this list or to me personally.