diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-06-18 12:15:57 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-06-18 12:15:57 +0300 |
commit | cb55c34175702ab1508c4c8f75482a8f0d9c2bb9 (patch) | |
tree | 24909b65cf63e13ab6c1401ea21b4f605cce418a /lynis | |
parent | 6861e8065f5cc6a4bcc0432036ce2f30657eb322 (diff) |
Replaced text strings to allow translations
Diffstat (limited to 'lynis')
-rwxr-xr-x | lynis | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 |