SMF Update to 2.0 done. Default theme set to curve w/TCL stuff for all users. Installed Bad Behavior Mod, notCaptcha Mod, Anti-Spam-Link Mod. dokuwiki updated to "Rincewind", SMF auth is working again.
Want to help translate the base GUIs?https://translations.launchpad.net/tctools
The first release to support base apps' translations is 3.1.
* Internationalization (setlocale) added to FLTK GUIs.
is the "&" supported? So the user can use alt+something?
how have u tried?
cat /proc/cmdline
sudo getlocale.sh
Download translation
msgfmt tinycore.po -o - > /usr/local/share/locale/it/LC_MESSAGES/tinycore.mo
echo "usr/local/share/locale/${LANG:0:2}/LC_MESSAGES/tinycore.mo" >> /opt/.filetool.lst
And what about the shell scripts?
Let's keep tinycore.pot for the GUIs for now.
I'm against translating shell scripts, because it would clutter them
#!/bin/sh# (c) Robert Shingledecker 2010# After boot setup for TCE directory and backup# i18n by eluring 2010#export TEXTDOMAINDIR=/usr/local/share/localeexport TEXTDOMAINDIR=/home/tc/tc_scripts # first test onlyexport TEXTDOMAIN=tc_scripts source /usr/local/bin/gettext.sh. /etc/init.d/tc-functions[ -f /opt/.tce_dir ] || exit 1read TCEDIR < /opt/.tce_dirif [ "${TCEDIR:0:8}" != "/tmp/tce" ]; then echo echo -n "${GREEN}`eval_gettext \"Your TCE Drive, ${TCEDIR}, has already been selected!\"`${NORMAL}" sleep 5 exit 1fiTMP="/tmp/tcesetdev.$$"TMP2="/tmp/tcesetdev2.$$"awk '/mnt/{printf "%s\n",$2}' /etc/fstab|sort -n > "$TMP"while read F; do if grep -qv ${F##*/} /etc/sysconfig/cdroms ; then echo $F >> "$TMP2"; fidone < "$TMP"mv "$TMP2" "$TMP"[ -s "$TMP" ] || exit 1echo "${GREEN}"select "tce-setdrive - `gettext \"Choose Drive for TCE directory\"`" "$TMP" 1echo "${NORMAL}"ANSWER=`cat /tmp/select.ans`;rm "$TMP"[ "$ANSWER" == "q" ] && exit 1DEVICE="$ANSWER"LOCAL_DEVICE="${DEVICE##/*/}"[ -z "$LOCAL_DEVICE" ] && exit 1find_mountpoint "$LOCAL_DEVICE"if [ -n "$MOUNTPOINT" ]; then if [ "$MOUNTED" == "no" ]; then mount "$MOUNTPOINT" fifi TCEDIR="$ANSWER"/tceif [ ! -d "$TCEDIR"/optional ]; then sudo mkdir -p "$TCEDIR"/optional sudo chown -R ${USER}.staff "$TCEDIR" sudo chmod -R g+w "$TCEDIR"fi[ -f "$TCEDIR"/mydata.tgz ] || touch "$TCEDIR"/mydata.tgzecho "$TCEDIR" > /opt/.tce_direchoecho -n "${GREEN}`eval_gettext \"Your TCE Drive, \\\${TCEDIR}, is now enabled!\"`${NORMAL}"sleep 5exit 0
have to be able to work in all consoles
Could you please explain what is clutter?
why that?We are talking only about cpanel which is launching one console.
Fixed wallpaper and swapfile. Appsaudit would need refactoring, I'll ping Robert on that.Shell scripts won't get translations.