[Koha-bugs] [Bug 11631] Make translation toolchain ignore useless translatable strings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 20 20:19:21 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11631

--- Comment #4 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 26492
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26492&action=edit
Useless to translation strings

Jonathan suggestion works.
Using 

 next if ( $t =~
/^(›|%%|%s|\s|\d|\.|,|;|:|\?|\!|\*|#|-|\+|x|=|~|<|>|\||\/|\\|\(|\)|\[|\]|\{|\}|"|')*$/
);

also catch more strings, see attached file.

My question: Is there a better o more elegant way to write this?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list