From fef984d7ff45dad09e45ec4d61dc09a7cd71cec3 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Apr 26 2011 16:34:29 +0000 Subject: Update `locale' functionality: - Add separator line at the very top of the function. - Remove preamble. To much output might distract us from the main goal of the function. --- diff --git a/Scripts/Functions/Locale/locale_editMessages.sh b/Scripts/Functions/Locale/locale_editMessages.sh index bde7df0..74cda24 100755 --- a/Scripts/Functions/Locale/locale_editMessages.sh +++ b/Scripts/Functions/Locale/locale_editMessages.sh @@ -24,6 +24,10 @@ function locale_editMessages { + # Print separator line. + cli_printMessage '-' 'AsSeparatorLine' + + # Initialize local variables. local FILES='' # Define list of locale files to process using action value as @@ -37,9 +41,6 @@ function locale_editMessages { cli_printMessage "${FUNCDIRNAM}" 'AsToKnowMoreLine' fi - # Set action preamble. - cli_printActionPreamble "${FILES}" "doEdit" 'AsResponseLine' - # Use default text editor to edit files. eval ${EDITOR} ${FILES} diff --git a/Scripts/Functions/Locale/locale_updateMessageShell.sh b/Scripts/Functions/Locale/locale_updateMessageShell.sh index ae4c722..7cc1e7b 100755 --- a/Scripts/Functions/Locale/locale_updateMessageShell.sh +++ b/Scripts/Functions/Locale/locale_updateMessageShell.sh @@ -26,6 +26,10 @@ function locale_updateMessageShell { + # Print separator line. + cli_printMessage '-' 'AsSeparatorLine' + + # Initialize local variables. local FILE='' local FILES='' @@ -42,9 +46,6 @@ function locale_updateMessageShell { cli_printMessage "${FUNCDIRNAM}" 'AsToKnowMoreLine' fi - # Set action preamble. - cli_printActionPreamble "${FILES}" "doLocale" 'AsResponseLine' - # Print action message. cli_printMessage "${FILE}.pot" 'AsUpdatingLine' diff --git a/Scripts/Functions/Locale/locale_updateMessageXml.sh b/Scripts/Functions/Locale/locale_updateMessageXml.sh index 8f47a20..7e34313 100755 --- a/Scripts/Functions/Locale/locale_updateMessageXml.sh +++ b/Scripts/Functions/Locale/locale_updateMessageXml.sh @@ -25,6 +25,10 @@ function locale_updateMessageXml { + # Print separator line. + cli_printMessage '-' 'AsSeparatorLine' + + # Initialize local variables. local FILE='' local FILES='' @@ -44,9 +48,6 @@ function locale_updateMessageXml { cli_printMessage "${FUNCDIRNAM}" 'AsToKnowMoreLine' fi - # Set action preamble. - cli_printActionPreamble "${FILES}" "doLocale" 'AsResponseLine' - # Print action message. cli_printMessage "${FILE}.pot" 'AsUpdatingLine'