Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2019-09-12 12:13:39 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-09-12 12:13:39 +0300
commitfa9fdd4322ec9677ef9705b48954ea76c7015b6e (patch)
tree372a90b1a55f221f64be0206b70ea735ad9695e3 /include/tests_mail_messaging
parentc68279f5b30c21e8a88a3e6e2da4da655548692b (diff)
[MAIL-8804] replaced static strings with translation-aware strings
Diffstat (limited to 'include/tests_mail_messaging')
-rw-r--r--include/tests_mail_messaging22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/tests_mail_messaging b/include/tests_mail_messaging
index 088ee371..a8d33398 100644
--- a/include/tests_mail_messaging
+++ b/include/tests_mail_messaging
@@ -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