wok-6.x annotate slitaz-i18n-extra/stuff/locale-pack.functions @ rev 24697
updated kbd, kbd-base, kbd-busybox and kbd-vlock (2.2.0 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 13 17:45:34 2022 +0100 (2022-03-13) |
parents | |
children |
rev | line source |
---|---|
pankso@10751 | 1 #!/bin/sh |
pankso@10751 | 2 |
pankso@10751 | 3 # Standard directories having translated files. |
pankso@10751 | 4 mk_locale_dir() |
pankso@10751 | 5 { |
pankso@10751 | 6 mkdir -p $fs/usr/share/locale/$LOCALE |
pankso@10751 | 7 } |
pankso@10751 | 8 |
pankso@10751 | 9 # Get the core packages messages. |
pankso@10751 | 10 get_extra_messages() |
pankso@10751 | 11 { |
pankso@10751 | 12 for i in $EXTRA_PKGS |
pankso@10751 | 13 do |
pankso@10751 | 14 if [ -d $WOK/$i/install/usr/share/locale/$LOCALE ]; then |
pankso@10751 | 15 echo "* Found $LOCALE locale for: $i" |
pankso@10751 | 16 cp -a $WOK/$i/install/usr/share/locale/$LOCALE \ |
pankso@10751 | 17 $fs/usr/share/locale |
pankso@10751 | 18 fi |
pankso@10751 | 19 done |
pankso@10751 | 20 } |