2013-09-28, 13:00
Hi,
I'm just wondering why $LOCALIZE takes a message context instead of a message id, and why the contexts are provided as numerical values.
This is much more readable:
<label>$LOCALIZE[Weather]:</label>
than this:
<label>$LOCALIZE[8]:</label>
And if a real context is needed then I'd go for something like this:
<label>$LOCALIZE[Weather, Outlook]</localize>
with strings.po file:
msgctxt "Weather"
msgid "Outlook"
msgstr "Ootloeken"
Just curious,
Paul
I'm just wondering why $LOCALIZE takes a message context instead of a message id, and why the contexts are provided as numerical values.
This is much more readable:
<label>$LOCALIZE[Weather]:</label>
than this:
<label>$LOCALIZE[8]:</label>
And if a real context is needed then I'd go for something like this:
<label>$LOCALIZE[Weather, Outlook]</localize>
with strings.po file:
msgctxt "Weather"
msgid "Outlook"
msgstr "Ootloeken"
Just curious,
Paul