--- trunk/installer-simple/bin/installer.sh.in 2014/01/07 20:50:46 2468 +++ trunk/installer-simple/bin/installer.sh.in 2014/01/08 08:53:38 2473 @@ -7,8 +7,10 @@ # Niels Rogalla # -# ignore the environment -LC_ALL=C +# setup locales +TEXTDOMAIN=installer +LC_MESSAGES=C + # include dir INSTALLER_LIBDIR="%LIBDIR%" @@ -110,18 +112,18 @@ dialog_setup_hdd_info() { - local SHDD="${HDD//\/dev\/}" + local drivenode="${HDD//\/dev\/}" messagebox -h $"[ Harddrive partitioning ]" \ - $"\nPlease create 1 partition.\n\n\[ \Z3${SHDD}1\Zn ] type: \Z3linux\Zn with the whole diskspace\n\Please mark ${SHDD}1 \Z3bootable\Zn." + $"Please create 1 partition.\n\n[ \Z3${drivenode}1\Zn ] type: \Z3linux\Zn with the whole diskspace.\nPlease mark ${SHDD}1 \Z3bootable\Zn." } dialog_setup_hdd_info_auto() { - local SHDD="${HDD//\/dev\/}" + local drivenode="${HDD//\/dev\/}" messagebox -h $"[ Harddrive partitioning ]" \ - $"\Z1Warning!\Zn\n\nAll data on disk [ \Z3${HDD}\Zn ] will be erased!" + $"\Z1Warning!\Zn\n\nAll data on disk [ \Z3${drivenode}\Zn ] will be erased!" } dialog_setup_system_menu() @@ -180,7 +182,7 @@ zotac*) message+=$"\n\Z2Zotac device detected.\Zn" ;; rangee) message+=$"\n\Z2Rangee device detected.\Zn" ;; maxdata) message+=$"\n\Z2Maxdata device detected.\Zn" ;; - *) message+=$"\n \\ZnCommon device detected.\Zn" ;; + *) message+=$"\n\ZnCommon device detected.\Zn" ;; esac if [[ ${FORMFACTOR} = laptop ]] then @@ -253,7 +255,7 @@ while [[ ${method} -le 2 ]] do - method=$(CANCEL_LABEL=$"Exit "menubox $"Configuration:" \ + method=$(CANCEL_LABEL=$"Exit" menubox $"Configuration:" \ $"1:Install system" \ $"2:Show detected harddrives" \ $"3:Exit and reboot" \