1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2011 - DIGITEO - Allan CORNET
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- ENGLISH IMPOSED -->
10 // <-- NO CHECK ERROR OUTPUT -->
12 // <-- Non-regression test for bug 9339 -->
14 // <-- Bugzilla URL -->
15 // http://bugzilla.scilab.org/show_bug.cgi?id=9339
17 // <-- Short Description -->
18 // 'tbx_build_help' function did not manage languages correctly.
19 SRC = SCI + '/contrib/toolbox_skeleton';
20 DST = TMPDIR + '/toolbox_skeleton';
22 assert_checkequal(isdir(DST), %T);
28 -- Creation of [toolbox_skeletonlib] (Macros) --
29 genlib: Processing file: scilab_error.sci
30 genlib: Processing file: scilab_sum.sci
31 genlib: Regenerate names and lib
34 Generating loader_gateway.sce...
35 Generating cleaner_gateway.sce...
36 Generating localization
37 -- Building for "en_US" --
38 -- Building for "fr_FR" --
41 Building the master document:
42 TMPDIR\toolbox_skeleton\help\en_US
44 Building the manual file [javaHelp] in TMPDIR\toolbox_skeleton\help\en_US.
46 Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
48 Generate image ./c_sub_en_US_2.png from Scilab code from file c_sub.xm
51 Building the master document:
52 TMPDIR\toolbox_skeleton\help\fr_FR
54 Building the manual file [javaHelp] in TMPDIR\toolbox_skeleton\help\fr_FR.
56 Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
58 Generate image ./c_sub_fr_FR_2.png from Scilab code from file c_sub.xm
60 Generating loader.sce...
61 Generating unloader.sce...
62 Generating cleaner.sce...
63 assert_checkequal(isdir(DST + '/help/fr_FR/scilab_fr_FR_help'), %T);
64 assert_checkequal(isdir(DST + '/help/en_US/scilab_en_US_help'), %T);