]> git.pld-linux.org Git - packages/ZendFramework.git/blobdiff - ZendFramework-find-lang.sh
- updated to 1.9.5
[packages/ZendFramework.git] / ZendFramework-find-lang.sh
index 7ffc29abebe14e41eb09820a2cebb44561c4b718..05a03d00f280699cb58c26d7d493b39976df0c7c 100644 (file)
@@ -4,10 +4,8 @@ langfile=${1:-ZendFramework.lang}
 
 > $langfile
 find $dir -type f -name '*.xml' | while read file; do
-       file=${file#$RPM_BUILD_ROOT}
-
        case "${file##*/}" in
-       supplementalData.xml)
+       supplementalData.xml|telephoneCodeData.xml|plurals.xml|characters.xml|root.xml|likelySubtags.xml|postalCodeData.xml|metazoneInfo.xml|numberingSystems.xml)
                # skip - no lang tag for this one
                continue
                ;;
@@ -25,5 +23,6 @@ find $dir -type f -name '*.xml' | while read file; do
        # TODO: <variant type="SAAHO"/>
 
        lang=$language${territory:+_$territory}${script:+@$script}
+       file=${file#$RPM_BUILD_ROOT}
        echo "%lang($lang) ${file#$RPM_BUILD_ROOT}" >> $langfile
 done
This page took 0.074155 seconds and 4 git commands to generate.