Hello, I tested it a while, and updated the files install-i18n and config.h now. To get hungarian to work, you'll need to remove the first line of languages/hungarian/month.xpm. Then every language supported by upstream works (tested on Debian/PPC).
If you have any questions regarding my patch, please don't hesitate to
ask. I suggest the following changelog entry:
asclock (2.0.12-8.3) unstable; urgency=low
* Detect locale at run time and choose appropriate xpm if available
* Install pximaps for all languages with proper extension
* Fix typo in debian/rules
* Remove empty line at the beginning of languages/hungarian/month.xpm which
prevents it from being displayed
Greetings
Helge
--
Dr. Helge Kreutzmann [EMAIL PROTECTED]
Dipl.-Phys. http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
Help keep free software "libre": http://www.ffii.de/
#!/bin/bash
cd languages
for i in *; do
wfile="$i/weekday.xpm"
mfile="$i/month.xpm"
ext="XX"
case $i in
breton)
ext="br"
;;
czech)
ext="cs"
;;
danish)
ext="da"
;;
dutch)
ext="nl"
;;
english)
ext="en"
;;
french)
ext="fr" # There a two versions present
;;
german)
ext="de"
;;
hebrew)
ext="he"
;;
hungarian)
ext="hu"
;;
indonesian)
ext="id"
;;
italian)
ext="it"
;;
japanese)
ext="ja"
;;
norwegian)
ext="nb"
;;
portuguese)
ext="pt"
;;
russian)
ext="ru"
;;
slovene)
ext="sl"
;;
spanish)
ext="es"
;;
swedish)
ext="sv"
;;
ukrainian)
ext="uk"
;;
esac
if [ x$ext == "xXX" ]; then
echo "Unknown language: $i"
exit 1
fi
for j in ../debian/asclock-themes/usr/share/asclock/*; do
cp -ip $wfile $j/weekday.${ext}.xpm
cp -ip $mfile $j/month.${ext}.xpm
done
done
cd -
char *supported_locales[]={ "br", "cs", "de", "da", "en", "es", "fr", "he", "hu", "id", "ja", "nb", "it", "nl", "pt", "ru", "sl", "sv", "uk", NULL };
signature.asc
Description: Digital signature

