| | 16 | |
| | 17 | |
| | 18 | # Get all the various language files and copy them to the PBI |
| | 19 | LANGFILE="k3b.mo" |
| | 20 | LANGFILE1="k3bsetup.mo" |
| | 21 | LANGFILE2="libk3b.mo" |
| | 22 | LANGFILE3="libk3bdevice.mo" |
| | 23 | mkdir ${PBIDIR}/locale/ |
| | 24 | cd /usr/local/share/locale |
| | 25 | for i in `ls` |
| | 26 | do |
| | 27 | if [ -e "/usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE}" ] |
| | 28 | then |
| | 29 | mkdir ${PBIDIR}/locale/${i} |
| | 30 | cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE} ${PBIDIR}/locale/${i}/ |
| | 31 | cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE1} ${PBIDIR}/locale/${i}/ |
| | 32 | cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE2} ${PBIDIR}/locale/${i}/ |
| | 33 | cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE3} ${PBIDIR}/locale/${i}/ |
| | 34 | fi |
| | 35 | done |