[MAIL-8804] replaced static strings with translation-aware strings

This commit is contained in:
Michael Boelen 2019-09-12 11:13:39 +02:00
parent c68279f5b3
commit fa9fdd4322
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
1 changed files with 11 additions and 11 deletions

View File

@ -94,7 +94,7 @@
Display --indent 4 --text "- Type" --result "${EXIM_TYPE}" --color GREEN
else
LogText "Result: Exim Type - Not Configured"
Display --indent 4 --text "- Type" --result "Not Configured" --color WHITE
Display --indent 4 --text "- Type" --result "${STATUS_NOT_CONFIGURED}" --color WHITE
fi
if [ "${EXIM_TYPE}" = "INTERNET HOST" -o "${EXIM_TYPE}" = "SMARTHOST" ]; then
@ -112,10 +112,10 @@
EXIM_TLS=$(${EXIMBINARY} -bP tls_advertise_hosts | ${CUTBINARY} -d '=' -f2 | ${SEDBINARY} -e 's/^\s*//' -e 's/\s*$//')
if [ -n "${EXIM_TLS}" ]; then
LogText "Result: Enabled"
Display --indent 4 --text "- TLS" --result "ENABLED" --color GREEN
Display --indent 4 --text "- TLS" --result "${STATUS_ENABLED}" --color GREEN
else
LogText "Result: Not enabled"
Display --indent 4 --text "- TLS" --result "NOT ENABLED" --color WHITE
Display --indent 4 --text "- TLS" --result "${STATUS_DISABLED}" --color WHITE
fi
fi
@ -144,7 +144,7 @@
fi
else
LogText "Result: Certificate not set"
Display --indent 4 --text "- Certificate" --result "Not Configured" --color WHITE
Display --indent 4 --text "- Certificate" --result "${STATUS_NOT_CONFIGURED}" --color WHITE
fi
if [ -n "${EXIM_PRIVATEKEY}" ]; then
@ -158,7 +158,7 @@
fi
else
LogText "Result: Private Key not set"
Display --indent 4 --text "- Private Key" --result "Not Configured" --color WHITE
Display --indent 4 --text "- Private Key" --result "${STATUS_NOT_CONFIGURED}" --color WHITE
fi
LogText "Test: Exim Verify Certificates"
@ -207,15 +207,15 @@
LogText "Result: Try Verify Hosts enabled"
case "${EXIM_TYPE}" in
"INTERNET HOST" )
Display --indent 4 --text "- Try Verify Hosts" --result "ENABLED" --color GREEN
Display --indent 4 --text "- Try Verify Hosts" --result "${STATUS_ENABLED}" --color GREEN
;;
"SATELLITE" | "SMARTHOST" )
Display --indent 4 --text "- Try Verify Hosts" --result "ENABLED" --color YELLOW
Display --indent 4 --text "- Try Verify Hosts" --result "${STATUS_ENABLED}" --color YELLOW
;;
esac
else
LogText "Result: Try Verify Hosts not enabled"
Display --indent 4 --text "- Try Verify Hosts" --result "NOT ENABLED" --color WHITE
Display --indent 4 --text "- Try Verify Hosts" --result "${STATUS_DISABLED}" --color WHITE
fi
LogText "Test: Exim Verify Hosts"
@ -223,15 +223,15 @@
LogText "Result: Verify Hosts enabled"
case "${EXIM_TYPE}" in
"INTERNET HOST" )
Display --indent 4 --text "- Verify Hosts" --result "ENABLED" --color YELLOW
Display --indent 4 --text "- Verify Hosts" --result "${STATUS_ENABLED}" --color YELLOW
;;
"SATELLITE" | "SMARTHOST" )
Display --indent 4 --text "- Verify Hosts" --result "ENABLED" --color GREEN
Display --indent 4 --text "- Verify Hosts" --result "${STATUS_ENABLED}" --color GREEN
;;
esac
else
LogText "Result: Verify Hosts not enabled"
Display --indent 4 --text "- Verify Hosts" --result "NOT ENABLED" --color WHITE
Display --indent 4 --text "- Verify Hosts" --result "${STATUS_DISABLED}" --color WHITE
fi
fi
fi