Hi Guys,
Today
$self->setError (1234567,
$self->{gettext} ("File __var__ is missing.", "__var__" $var));
Proposal
$self->setError (OPENCA_I18N_MODULE_AC_INIT_NO_FILE);
Question: Whats about the "variable extension" like seen above ? Have you omitted this for better reading ? - I would not miss this feature....
We have a global hash where we can get an errornumber for this string. Additionally this string is present in our openca.pot file. The advantage is that even a new parameter does not break the existing translations if they were not updated and these strings are really easy to identify. The disadvantage is that we need an english translation (and we loose all existing translations).
If we use this approach, I think that moving the Transaltions to a Database like Til suggested some weeks ago should be considered
Oliver -- Diese Nachricht wurde digital unterschrieben oliwel's public key: http://www.oliwel.de/oliwel.crt Basiszertifikat: http://www.ldv.ei.tum.de/page72
smime.p7s
Description: S/MIME Cryptographic Signature