diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-11-01 12:26:17 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-11-01 12:27:37 +0100 |
commit | 649c52bef3806dfeffd18dab2e5452aa8499d307 (patch) | |
tree | b606ca905c831a6c1cbfd27244402ad1764594c9 /share | |
parent | abe9797d3773e32d1541863112e025910420de9a (diff) | |
download | qt-creator-649c52bef3806dfeffd18dab2e5452aa8499d307.tar.gz |
include region-qualified languages into the list
Diffstat (limited to 'share')
-rwxr-xr-x | share/qtcreator/translations/check-ts.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/translations/check-ts.pl b/share/qtcreator/translations/check-ts.pl index 02909f2512..36256a2479 100755 --- a/share/qtcreator/translations/check-ts.pl +++ b/share/qtcreator/translations/check-ts.pl @@ -48,7 +48,7 @@ my %scores = (); my $files = join("\n", <*_??.ts>); my $res = `xmlpatterns -param files=\"$files\" check-ts.xq`; for my $i (split(/ /, $res)) { - $i =~ /^(?:[^\/]+\/)*qtcreator_(..)\.ts:(.*)$/; + $i =~ /^(?:[^\/]+\/)*qtcreator_([^.]+)\.ts:(.*)$/; my ($lang, $pc) = ($1, $2); $scores{$lang} = $pc; } |