Hello,

I do not know if this is the right way or place or time to treat this thread.
Please correct me if necessary.

But i would propose to code msgid-strings without formatting characters.
This would make maintenance of  locale/po/ files a lot easier.
Changes could be done when doing maintance . Need not to be changed immediately.

for instance

$self->{_locale}->text('Error from Function:')
$self->{_locale}->text('Error from Function') . ':'

<th><?lsmb text('Ending GL Balance:') ?></th>
<th><?lsmb text('Ending GL Balance') ?>:</th>

$form->error($locale->text('Invalid Project Data:')
$form->error($locale->text('Invalid Project Data') . ':'

etc etc

regexp-expression to find such constructs:
grep -Er "text[ ]*\([a-zA-Z0-9 ']*[a-zA-Z0-9 ]*:'\)" ./|grep -v '\.svn'|less

Greetings,
Herman Vierendeels
Belgium

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Ledger-smb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel

Reply via email to