]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- suppress @quot|@boldquot modifiers from lang() tags
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 6 Jan 2008 18:01:34 +0000 (18:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-find-lang -> 1.25

rpm-find-lang

index 0b5f3c141c4d949edd638ddedc21b1a2bf52e1bc..c5785ab2ed6b02809612e7fc0aef01d4bd6d0ba4 100644 (file)
@@ -145,8 +145,8 @@ fi
                cat __find.files
        fi
 ) | sed '
-'"$ALL_NAME$MO"'s:\(.*/share/locale/\)\([^/]\+\)\(/.*\.mo$\):%lang(\2) \1\2\3:
-'"$NO_ALL_NAME$MO"'s:\(.*/share/locale/\)\([^/]\+\)\(/.*/'"$NAME"'\.mo$\):%lang(\2) \1\2\3:
+'"$ALL_NAME$MO"'s:\(.*/share/locale/\)\([^/@]\+\)\(@quot\|@boldquot\)\?\(@[^/]*\)\?\(/.*\.mo$\):%lang(\2\4) \1\2\3\4\5:
+'"$NO_ALL_NAME$MO"'s:\(.*/share/locale/\)\([^/@]\+\)\(@quot\|@boldquot\)\?\(@[^/]*\)\?\(/.*/'"$NAME"'\.mo$\):%lang(\2\4) \1\2\3\4\5:
 /^[^%]/d
 s:%lang(C) ::' >> $MO_NAME
 
This page took 0.051667 seconds and 4 git commands to generate.