mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-31 01:34:23 +02:00
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
|
# Try to find a default and custom profile, unless one was specified manually
|
||||||
if [ "${PROFILE}" = "" ]; then
|
if [ "${PROFILE}" = "" ]; then
|
||||||
@ -719,7 +719,7 @@ ${NORMAL}
|
|||||||
if [ ${UPDATE_AVAILABLE} -eq 1 ]; then
|
if [ ${UPDATE_AVAILABLE} -eq 1 ]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo " ==============================================================================="
|
echo " ==============================================================================="
|
||||||
echo " ${CYAN}${PROGRAM_NAME} update available${NORMAL}"
|
echo " ${CYAN}${PROGRAM_NAME} ${TEXT_UPDATE_AVAILABLE}${NORMAL}"
|
||||||
echo " ==============================================================================="
|
echo " ==============================================================================="
|
||||||
echo ""
|
echo ""
|
||||||
if [ ${OLD_RELEASE} -eq 1 ]; then
|
if [ ${OLD_RELEASE} -eq 1 ]; then
|
||||||
@ -772,11 +772,11 @@ ${NORMAL}
|
|||||||
#
|
#
|
||||||
if IsVerbose; then
|
if IsVerbose; then
|
||||||
InsertSection "Program Details"
|
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
|
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
|
else
|
||||||
Display --indent 2 --text "- Debug mode" --result "NO" --color RED
|
Display --indent 2 --text "- ${GEN_DEBUG_MODE}" --result "NO" --color RED
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
@ -796,7 +796,7 @@ ${NORMAL}
|
|||||||
LogTextBreak
|
LogTextBreak
|
||||||
InsertPluginSection "Plugins (${GEN_PHASE} ${PLUGIN_PHASE})"
|
InsertPluginSection "Plugins (${GEN_PHASE} ${PLUGIN_PHASE})"
|
||||||
if [ ${PLUGIN_PHASE} -eq 1 ]; then
|
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 " "
|
Display --text " "
|
||||||
LogText "Searching plugins..."
|
LogText "Searching plugins..."
|
||||||
fi
|
fi
|
||||||
@ -857,7 +857,7 @@ ${NORMAL}
|
|||||||
RunPlugins 1
|
RunPlugins 1
|
||||||
|
|
||||||
if [ ${N_PLUGIN_ENABLED} -eq 0 ]; then
|
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"
|
Report "plugins_enabled=0"
|
||||||
else
|
else
|
||||||
Report "plugins_enabled=1"
|
Report "plugins_enabled=1"
|
||||||
@ -928,7 +928,7 @@ ${NORMAL}
|
|||||||
|
|
||||||
if [ ${RUN_TESTS} -eq 1 ]; then
|
if [ ${RUN_TESTS} -eq 1 ]; then
|
||||||
|
|
||||||
InsertSection "Custom Tests"
|
InsertSection "${SECTION_CUSTOM_TESTS}"
|
||||||
LogText "Test: Checking for tests_custom file"
|
LogText "Test: Checking for tests_custom file"
|
||||||
# Custom tests
|
# Custom tests
|
||||||
if [ -f ${INCLUDEDIR}/tests_custom ]; then
|
if [ -f ${INCLUDEDIR}/tests_custom ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user