mirror of https://github.com/CISOfy/lynis.git
Replaced text strings to allow translations
This commit is contained in:
parent
6861e8065f
commit
cb55c34175
16
lynis
16
lynis
|
@ -273,7 +273,7 @@ ${NORMAL}
|
|||
#
|
||||
#################################################################################
|
||||
#
|
||||
InsertSection "Initializing program"
|
||||
InsertSection "${GEN_INITIALIZE_PROGRAM}"
|
||||
|
||||
# Try to find a default and custom profile, unless one was specified manually
|
||||
if [ "${PROFILE}" = "" ]; then
|
||||
|
@ -719,7 +719,7 @@ ${NORMAL}
|
|||
if [ ${UPDATE_AVAILABLE} -eq 1 ]; then
|
||||
echo ""
|
||||
echo " ==============================================================================="
|
||||
echo " ${CYAN}${PROGRAM_NAME} update available${NORMAL}"
|
||||
echo " ${CYAN}${PROGRAM_NAME} ${TEXT_UPDATE_AVAILABLE}${NORMAL}"
|
||||
echo " ==============================================================================="
|
||||
echo ""
|
||||
if [ ${OLD_RELEASE} -eq 1 ]; then
|
||||
|
@ -772,11 +772,11 @@ ${NORMAL}
|
|||
#
|
||||
if IsVerbose; then
|
||||
InsertSection "Program Details"
|
||||
Display --indent 2 --text "- Verbose mode" --result "YES" --color GREEN
|
||||
Display --indent 2 --text "- ${GEN_VERBOSE_MODE}" --result "YES" --color GREEN
|
||||
if IsDebug; then
|
||||
Display --indent 2 --text "- Debug mode" --result "YES" --color GREEN
|
||||
Display --indent 2 --text "- ${GEN_DEBUG_MODE}" --result "YES" --color GREEN
|
||||
else
|
||||
Display --indent 2 --text "- Debug mode" --result "NO" --color RED
|
||||
Display --indent 2 --text "- ${GEN_DEBUG_MODE}" --result "NO" --color RED
|
||||
fi
|
||||
fi
|
||||
#
|
||||
|
@ -796,7 +796,7 @@ ${NORMAL}
|
|||
LogTextBreak
|
||||
InsertPluginSection "Plugins (${GEN_PHASE} ${PLUGIN_PHASE})"
|
||||
if [ ${PLUGIN_PHASE} -eq 1 ]; then
|
||||
Display --text "Note: plugins have more extensive tests, which may take a few minutes to complete"
|
||||
Display --text "${NOTE_PLUGINS_TAKE_TIME}"
|
||||
Display --text " "
|
||||
LogText "Searching plugins..."
|
||||
fi
|
||||
|
@ -857,7 +857,7 @@ ${NORMAL}
|
|||
RunPlugins 1
|
||||
|
||||
if [ ${N_PLUGIN_ENABLED} -eq 0 ]; then
|
||||
Display --indent 2 --text "- Plugins enabled " --result "NONE" --color WHITE
|
||||
Display --indent 2 --text "- ${GEN_PLUGINS_ENABLED}" --result "NONE" --color WHITE
|
||||
Report "plugins_enabled=0"
|
||||
else
|
||||
Report "plugins_enabled=1"
|
||||
|
@ -928,7 +928,7 @@ ${NORMAL}
|
|||
|
||||
if [ ${RUN_TESTS} -eq 1 ]; then
|
||||
|
||||
InsertSection "Custom Tests"
|
||||
InsertSection "${SECTION_CUSTOM_TESTS}"
|
||||
LogText "Test: Checking for tests_custom file"
|
||||
# Custom tests
|
||||
if [ -f ${INCLUDEDIR}/tests_custom ]; then
|
||||
|
|
Loading…
Reference in New Issue