summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scilab/tools/localization/updateLocalizationModule.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scilab/tools/localization/updateLocalizationModule.sh b/scilab/tools/localization/updateLocalizationModule.sh
index dda46ae..45deb82 100644
--- a/scilab/tools/localization/updateLocalizationModule.sh
+++ b/scilab/tools/localization/updateLocalizationModule.sh
@@ -58,7 +58,7 @@ process_XML_files(){
58# Retrieve all the sources files 58# Retrieve all the sources files
59FILESCMD='find . -type f ' 59FILESCMD='find . -type f '
60# Gettext arg 60# Gettext arg
61XGETTEXT_OPTIONS="--add-location --strict --keyword=_ --from-code $FROM_CODE --omit-header " 61XGETTEXT_OPTIONS="--add-location --strict --keyword=_ --from-code $FROM_CODE --omit-header --sort-output "
62####### GENERATES THE FIND COMMAND 62####### GENERATES THE FIND COMMAND
63i=0 63i=0
64NB_ELEMENT=${#EXTENSIONS[@]} 64NB_ELEMENT=${#EXTENSIONS[@]}
@@ -126,7 +126,7 @@ for MODULE in $MODULES; do
126 LOCALIZATION_FILE_LANG=$DIR_LANG/$MODULE_NAME.po 126 LOCALIZATION_FILE_LANG=$DIR_LANG/$MODULE_NAME.po
127 if test -f $LOCALIZATION_FILE_LANG; then 127 if test -f $LOCALIZATION_FILE_LANG; then
128 echo "........ Merging new locales for $l" 128 echo "........ Merging new locales for $l"
129 $MSGMERGE $LOCALIZATION_FILE_LANG $LOCALIZATION_FILE_US --output-file $LOCALIZATION_FILE_LANG > /dev/null 129 $MSGMERGE $LOCALIZATION_FILE_LANG $LOCALIZATION_FILE_US --sort-output --output-file $LOCALIZATION_FILE_LANG > /dev/null
130 else 130 else
131 echo "........ Localization file for $l in this module not existing" 131 echo "........ Localization file for $l in this module not existing"
132 echo "........ Creating it ..." 132 echo "........ Creating it ..."