local cli_text="${CMD}: `gettext \"error\"`: ${@}"
local dialog_text="${@}
Unsafe Browser will exit now."
`gettext \"Unsafe Browser will exit now.\"`"
echo"${cli_text}">&2
zenity --error--title""--text"${dialog_text}"
exit 1
...
...
@@ -46,15 +52,15 @@ Unsafe Browser will exit now."
warning (){
local text="${@}"
echo"${0}: warning: ${text}">&2
echo"${CMD}: `gettext \"warning\"`: ${text}">&2
zenity --warning--title""--text"${text}"
}
verify_start (){
# Make sure the user really wants to start the browser
local dialog_msg="<b>Do you really want to launch the Unsafe Browser?</b>
local dialog_msg="<b>`gettext \"Do you really want to launch the Unsafe Browser?\"`</b>
All activity within the Unsafe Browser will <b>not</b> be anonymous. Only use the the Unsafe Browser if necessary, for example if you have to login or register in order to activate your Internet connection."
`gettext \"All activity within the Unsafe Browser will <b>not</b> be anonymous. Only use the the Unsafe Browser if necessary, for example if you have to login or register in order to activate your Internet connection.\"`"