From bbac1c7a9b3b1a92e9d6c0bd8a54932f49cefb29 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Apr 26 2011 18:14:49 +0000 Subject: Update locale_editMessages.sh. --- diff --git a/Scripts/Functions/Locale/locale_editMessages.sh b/Scripts/Functions/Locale/locale_editMessages.sh index 74cda24..c8c43e9 100755 --- a/Scripts/Functions/Locale/locale_editMessages.sh +++ b/Scripts/Functions/Locale/locale_editMessages.sh @@ -41,10 +41,18 @@ function locale_editMessages { cli_printMessage "${FUNCDIRNAM}" 'AsToKnowMoreLine' fi - # Use default text editor to edit files. - eval ${EDITOR} ${FILES} + # Go throguh files, one by one. + for FILE in $FILES;do - # Update machine object (.mo) from portable object (.po). - locale_updateMessageBinary ${FILES} + # Print the file we are editing. + cli_printMessage "$FILE" 'AsUpdatingLine' + + # Use default text editor to edit file. + eval ${EDITOR} ${FILE} + + # Update machine object (.mo) from portable object (.po). + locale_updateMessageBinary ${FILE} + + done }