Replaced text strings to allow translations

This commit is contained in:
Michael Boelen 2016-06-18 11:15:11 +02:00
parent b553f01b2a
commit 87efe5651f
1 changed files with 7 additions and 7 deletions

View File

@ -195,8 +195,8 @@
echo "" echo ""
echo "================================================================================" echo "================================================================================"
if [ ${PROGRAM_LV} -gt ${PROGRAM_AC} ]; then if [ ${PROGRAM_LV} -gt ${PROGRAM_AC} ]; then
echo " ${NOTICE}Notice: ${WHITE}${PROGRAM_NAME} update available${NORMAL}" echo " ${NOTICE}Notice: ${WHITE}${PROGRAM_NAME} ${GEN_UPDATE_AVAILABLE}${NORMAL}"
echo " Current version : ${WHITE}${PROGRAM_AC}${NORMAL} Latest version : ${WHITE}${PROGRAM_LV}${NORMAL}" echo " ${GEN_CURRENT_VERSION} : ${WHITE}${PROGRAM_AC}${NORMAL} ${GEN_LATEST_VERSION} : ${WHITE}${PROGRAM_LV}${NORMAL}"
echo "================================================================================" echo "================================================================================"
else else
########################################################################################### ###########################################################################################
@ -211,11 +211,11 @@
FIND=`${GREPBINARY} "^exception" ${REPORTFILE}` FIND=`${GREPBINARY} "^exception" ${REPORTFILE}`
if [ ! "${FIND}" = "" ]; then if [ ! "${FIND}" = "" ]; then
echo "" echo ""
echo " ${RED}Exceptions found${NORMAL}" echo " ${RED}${NOTE_EXCEPTIONS_FOUND}${NORMAL}"
echo " ${WHITE}Some exceptional events or information was found!${NORMAL}" echo " ${WHITE}${NOTE_EXCEPTIONS_FOUND_DETAILED}!${NORMAL}"
echo "" echo ""
echo " ${CYAN}What to do:${NORMAL}" echo " ${CYAN}${GEN_WHAT_TO_DO}:${NORMAL}"
echo " You can help improving Lynis by providing your /var/log/lynis.log file." echo " ${TEXT_YOU_CAN_HELP_LOGFILE} (${LOGFILE})."
echo " Go to https://cisofy.com/contact/ and send your file to the e-mail address listed" echo " Go to https://cisofy.com/contact/ and send your file to the e-mail address listed"
echo "" echo ""
echo "================================================================================" echo "================================================================================"
@ -226,7 +226,7 @@
# Display what tests are skipped in non-privileged scan for awareness # Display what tests are skipped in non-privileged scan for awareness
if [ ${PENTESTINGMODE} -eq 1 -a ! "${SKIPPED_TESTS_ROOTONLY}" = "" ]; then if [ ${PENTESTINGMODE} -eq 1 -a ! "${SKIPPED_TESTS_ROOTONLY}" = "" ]; then
echo "" echo ""
echo " ${PURPLE}Skipped tests due to non-privileged scan${NORMAL}" echo " ${PURPLE}${NOTE_SKIPPED_TESTS_NON_PRIVILEGED}${NORMAL}"
FIND=`echo ${SKIPPED_TESTS_ROOTONLY} | sed 's/ /:space:/g'` FIND=`echo ${SKIPPED_TESTS_ROOTONLY} | sed 's/ /:space:/g'`
# Split entries # Split entries