summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJindrich Novy <jnovy@redhat.com>2011-04-27 10:28:43 +0200
committerJindrich Novy <jnovy@redhat.com>2011-04-27 10:28:43 +0200
commitb19a896ecd1ae45835bf2a74ed376de935c6486d (patch)
treec709c36987b33a763a7df06f74f14fb904df5faa /scripts
parent7b352a1de27ff11d4439ab9efdbb9d6074885353 (diff)
downloadlibrpm-tizen-b19a896ecd1ae45835bf2a74ed376de935c6486d.tar.gz
librpm-tizen-b19a896ecd1ae45835bf2a74ed376de935c6486d.tar.bz2
librpm-tizen-b19a896ecd1ae45835bf2a74ed376de935c6486d.zip
Fix find-lang so that it finds *@*.qm QT i18n files (RhBug:699945)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/find-lang.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/find-lang.sh b/scripts/find-lang.sh
index e33ed0cca..c3dbdbe64 100755
--- a/scripts/find-lang.sh
+++ b/scripts/find-lang.sh
@@ -161,10 +161,10 @@ fi
find $TOP_DIR -type f -o -type l|sed '
s:'"$TOP_DIR"'::
-'"$NO_ALL_NAME$QT"'s:\(.*/'"$NAME"'_\([a-zA-Z]\{2\}\(_[a-zA-Z]\{2\}\)\?\)\.qm$\):%lang(\2) \1:
-'"$ALL_NAME$QT"'s:\(.*/[^/_]\+_\([a-zA-Z]\{2\}_[a-zA-Z]\{2\}\)\.qm$\):%lang(\2) \1:
+'"$NO_ALL_NAME$QT"'s:\(.*/'"$NAME"'_\([a-zA-Z]\{2\}\([_@].*\)\?\)\.qm$\):%lang(\2) \1:
+'"$ALL_NAME$QT"'s:\(.*/[^/_]\+_\([a-zA-Z]\{2\}[_@].*\)\.qm$\):%lang(\2) \1:
'"$ALL_NAME$QT"'s:\(.*/[^/_]\+_\([a-zA-Z]\{2\}\)\.qm$\):%lang(\2) \1:
-'"$ALL_NAME$QT"'s:^\([^%].*/[^/]\+_\([a-zA-Z]\{2\}_[a-zA-Z]\{2\}\)\.qm$\):%lang(\2) \1:
+'"$ALL_NAME$QT"'s:^\([^%].*/[^/]\+_\([a-zA-Z]\{2\}[_@].*\)\.qm$\):%lang(\2) \1:
'"$ALL_NAME$QT"'s:^\([^%].*/[^/]\+_\([a-zA-Z]\{2\}\)\.qm$\):%lang(\2) \1:
s:^[^%].*::
s:%lang(C) ::