On 16-05-2009 22:49:17 +0200, Martin Kersten wrote:
Fabian Groffen wrote:
On 16-05-2009 22:28:29 +0200, Martin Kersten wrote:
Why not do it the gettext way, in that case? Yes, i am fully aware of gettext. It is a multi-step process, first condense..... and gettext() performs translations based on strings e.g. the ones now identified.
So after gettext you have to reverse this step again... no, gettext performs a string-based lookup only. There is no requirement that this should be an abbreviated one
_("the string that is translated") Point was, readability and less obfuscation.
Perhaps this is *not* a good thing to throw in just before a code freeze? Yes, a concerted check on error messages is needed. There are a limited number of changes
Another thing, if you need the same message a lot of times, you can probably be more specific to *improve* your error messages.