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
path: root/lynis
diff options
context:
space:
mode:
authorStéphane <steph78630@gmail.com>2020-10-22 01:13:42 +0300
committerGitHub <noreply@github.com>2020-10-22 01:13:42 +0300
commit67d04f25367bc069e717c7b811c0c6e13eeedcf6 (patch)
treeb7a2d1f0b9e165f6c1f19dfb550e2c72228b5256 /lynis
parentc2e0c28912f479b816f04f78ce428172dae42645 (diff)
Add translate function for all sections
+ add EN and FR up to date languages files
Diffstat (limited to 'lynis')
-rwxr-xr-xlynis4
1 files changed, 2 insertions, 2 deletions
diff --git a/lynis b/lynis
index 17cd9e91..e7af15da 100755
--- a/lynis
+++ b/lynis
@@ -862,7 +862,7 @@ ${NORMAL}
#################################################################################
#
if IsVerbose; then
- InsertSection "Program Details"
+ InsertSection "${SECTION_PROGRAM_DETAILS}"
Display --indent 2 --text "- ${GEN_VERBOSE_MODE}" --result "YES" --color GREEN
if IsDebug; then
Display --indent 2 --text "- ${GEN_DEBUG_MODE}" --result "YES" --color GREEN
@@ -1017,7 +1017,7 @@ ${NORMAL}
LogText "Exception: skipping test category ${INCLUDE_TEST}, file ${INCLUDE_FILE} has bad permissions (should be 640, 600 or 400)"
ReportWarning "NONE" "Invalid permissions on tests file tests_${INCLUDE_TEST}"
# Insert a section and warn user also on screen
- InsertSection "General"
+ InsertSection "${SECTION_GENERAL}"
Display --indent 2 --text "- Running test category ${INCLUDE_TEST}... " --result "SKIPPED" --color RED
fi
else