Fix modules_manager module tests. 77/12577/3
Vincent COUVERT [Wed, 18 Sep 2013 09:28:46 +0000 (11:28 +0200)]
Change-Id: I0fc8de4bfd7e6114f3a44686e57480d9d84c44ce

scilab/modules/modules_manager/macros/tbx_build_localization.sci
scilab/modules/modules_manager/tests/nonreg_tests/bug_9339.unix.dia.ref
scilab/modules/modules_manager/tests/nonreg_tests/bug_9339.win.dia.ref

index d648c24..3c57a26 100644 (file)
@@ -43,7 +43,7 @@ function tbx_build_localization(tbx_name, tbx_path)
     end
 
     //find list of .po files
-    poFiles = findfiles(localePath, "*.po");
+    poFiles = gsort(findfiles(localePath, "*.po"), "lr", "i");
 
     if getos() == "Windows" then
         cmd = SCI + filesep() + "tools/gettext/msgfmt";
index f83b47d..cdaef6d 100644 (file)
@@ -26,12 +26,16 @@ ilib_verbose(0);
 exec('builder.sce');
 Building macros...
 -- Creation of [toolbox_skeletonlib] (Macros) --
+genlib: Processing file: scilab_error.sci
 genlib: Processing file: scilab_sum.sci
 genlib: Regenerate names and lib
 Building sources...
 Building gateway...
 Generating loader_gateway.sce...
 Generating cleaner_gateway.sce...
+Generating localization
+-- Building for "en_US" --
+-- Building for "fr_FR" --
 Building help...
 
 Building the master document:
index 4a405fe..f525f98 100644 (file)
@@ -26,12 +26,16 @@ ilib_verbose(0);
 exec('builder.sce');
 Building macros...
 -- Creation of [toolbox_skeletonlib] (Macros) --
+genlib: Processing file: scilab_error.sci
 genlib: Processing file: scilab_sum.sci
 genlib: Regenerate names and lib
 Building sources...
 Building gateway...
 Generating loader_gateway.sce...
 Generating cleaner_gateway.sce...
+Generating localization
+-- Building for "en_US" --
+-- Building for "fr_FR" --
 Building help...
 
 Building the master document: