wok-current view slitaz-i18n-extra/stuff/locale-pack.functions @ rev 16597
ARM: Add python-pifacecommon python-pifacedigitalio (let play with PiFace)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 07 14:57:33 2014 +0200 (2014-05-07) |
parents | |
children |
line source
1 #!/bin/sh
3 # Standard directories having translated files.
4 mk_locale_dir()
5 {
6 mkdir -p $fs/usr/share/locale/$LOCALE
7 }
9 # Get the core packages messages.
10 get_extra_messages()
11 {
12 for i in $EXTRA_PKGS
13 do
14 if [ -d $WOK/$i/install/usr/share/locale/$LOCALE ]; then
15 echo "* Found $LOCALE locale for: $i"
16 cp -a $WOK/$i/install/usr/share/locale/$LOCALE \
17 $fs/usr/share/locale
18 fi
19 done
20 }