diff options
author | Sylvestre Ledru <sylvestre.ledru@scilab.org> | 2008-01-04 10:52:15 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre.ledru@scilab.org> | 2008-01-04 10:52:15 +0000 |
commit | 29396bf40f57e634d6cdb236e1244ed18caae663 (patch) | |
tree | 3ff454162d7e5d974f597f52db74cd830f711e5c /scilab | |
parent | 7b8f482eea43d74efb4d853c0c752e891eebed12 (diff) | |
download | scilab-29396bf40f57e634d6cdb236e1244ed18caae663.zip scilab-29396bf40f57e634d6cdb236e1244ed18caae663.tar.gz |
getlanguage('LANGUAGE_DEFAULT') => getdefaultlanguage()
Diffstat (limited to 'scilab')
62 files changed, 79 insertions, 79 deletions
diff --git a/scilab/modules/STRING_V2/help/en_US/addchapter.sce b/scilab/modules/STRING_V2/help/en_US/addchapter.sce index e671fee..632bd60 100644 --- a/scilab/modules/STRING_V2/help/en_US/addchapter.sce +++ b/scilab/modules/STRING_V2/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/STRING_V2/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/STRING_V2/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Strings",path,%T); | 8 | add_help_chapter("Strings",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/action_binding/help/en_US/addchapter.sce b/scilab/modules/action_binding/help/en_US/addchapter.sce index b68a64c..6558313 100644 --- a/scilab/modules/action_binding/help/en_US/addchapter.sce +++ b/scilab/modules/action_binding/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | //path = SCI+'/modules/action_binding/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | //path = SCI+'/modules/action_binding/help/'+getdefaultlanguage(); |
8 | //add_help_chapter("action_binding",path,%T); | 8 | //add_help_chapter("action_binding",path,%T); |
9 | //clear path add_help_chapter; | 9 | //clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/arnoldi/help/en_US/addchapter.sce b/scilab/modules/arnoldi/help/en_US/addchapter.sce index e5e3a38..f56252b 100644 --- a/scilab/modules/arnoldi/help/en_US/addchapter.sce +++ b/scilab/modules/arnoldi/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/arnoldi/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/arnoldi/help/'+getdefaultlanguage(); |
8 | add_help_chapter("ARnoldi PACKage",path,%T); | 8 | add_help_chapter("ARnoldi PACKage",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/boolean/help/en_US/addchapter.sce b/scilab/modules/boolean/help/en_US/addchapter.sce index a8b659d..cd55a76 100644 --- a/scilab/modules/boolean/help/en_US/addchapter.sce +++ b/scilab/modules/boolean/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/boolean/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/boolean/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Boolean",path,%T); | 8 | add_help_chapter("Boolean",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/cacsd/help/en_US/addchapter.sce b/scilab/modules/cacsd/help/en_US/addchapter.sce index 01a4f5f..04c90d1 100644 --- a/scilab/modules/cacsd/help/en_US/addchapter.sce +++ b/scilab/modules/cacsd/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/cacsd/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/cacsd/help/'+getdefaultlanguage(); |
8 | add_help_chapter("CACSD",path,%T); | 8 | add_help_chapter("CACSD",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/compatibility_functions/help/en_US/addchapter.sce b/scilab/modules/compatibility_functions/help/en_US/addchapter.sce index 84b1de1..5d394ea 100644 --- a/scilab/modules/compatibility_functions/help/en_US/addchapter.sce +++ b/scilab/modules/compatibility_functions/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Vincent COUVERT | 5 | // Vincent COUVERT |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/compatibility_functions/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/compatibility_functions/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Compatibility Functions",path,%T); | 8 | add_help_chapter("Compatibility Functions",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/completion/help/en_US/addchapter.sce b/scilab/modules/completion/help/en_US/addchapter.sce index 0f936eb..b24fe67 100644 --- a/scilab/modules/completion/help/en_US/addchapter.sce +++ b/scilab/modules/completion/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/completion/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/completion/help/'+getdefaultlanguage(); |
8 | add_help_chapter("completion",path,%T); | 8 | add_help_chapter("completion",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/console/help/en_US/addchapter.sce b/scilab/modules/console/help/en_US/addchapter.sce index fed1d44..970679f 100644 --- a/scilab/modules/console/help/en_US/addchapter.sce +++ b/scilab/modules/console/help/en_US/addchapter.sce | |||
@@ -5,7 +5,7 @@ | |||
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // Vincent COUVERT | 6 | // Vincent COUVERT |
7 | // ==================================================================== | 7 | // ==================================================================== |
8 | //path = SCI+'/modules/console/help/'+getlanguage('LANGUAGE_DEFAULT'); | 8 | //path = SCI+'/modules/console/help/'+getdefaultlanguage(); |
9 | //add_help_chapter("console",path,%T); | 9 | //add_help_chapter("console",path,%T); |
10 | //clear path add_help_chapter; | 10 | //clear path add_help_chapter; |
11 | // ==================================================================== | 11 | // ==================================================================== |
diff --git a/scilab/modules/core/help/en_US/addchapter.sce b/scilab/modules/core/help/en_US/addchapter.sce index fd491fe..cef78cf 100644 --- a/scilab/modules/core/help/en_US/addchapter.sce +++ b/scilab/modules/core/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/core/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/core/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Core Module",path,%T); | 8 | add_help_chapter("Core Module",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/data_structures/help/en_US/addchapter.sce b/scilab/modules/data_structures/help/en_US/addchapter.sce index 890542b..f83836a 100644 --- a/scilab/modules/data_structures/help/en_US/addchapter.sce +++ b/scilab/modules/data_structures/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/data_structures/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/data_structures/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Data Structures",path,%T); | 8 | add_help_chapter("Data Structures",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/demo_tools/help/en_US/addchapter.sce b/scilab/modules/demo_tools/help/en_US/addchapter.sce index bf67461..dcf11f1 100644 --- a/scilab/modules/demo_tools/help/en_US/addchapter.sce +++ b/scilab/modules/demo_tools/help/en_US/addchapter.sce | |||
@@ -5,6 +5,6 @@ | |||
5 | // Pierre MARECHAL | 5 | // Pierre MARECHAL |
6 | // ============================================================================= | 6 | // ============================================================================= |
7 | 7 | ||
8 | path = SCI+'/modules/demo_tools/help/'+getlanguage('LANGUAGE_DEFAULT'); | 8 | path = SCI+'/modules/demo_tools/help/'+getdefaultlanguage(); |
9 | add_help_chapter("Demo Tools",path,%T); | 9 | add_help_chapter("Demo Tools",path,%T); |
10 | clear path add_help_chapter; | 10 | clear path add_help_chapter; |
diff --git a/scilab/modules/development_tools/help/en_US/addchapter.sce b/scilab/modules/development_tools/help/en_US/addchapter.sce index 5e4533a..a3b9ec9 100644 --- a/scilab/modules/development_tools/help/en_US/addchapter.sce +++ b/scilab/modules/development_tools/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/development_tools/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/development_tools/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Development tools",path,%T); | 8 | add_help_chapter("Development tools",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/differential_equations/help/en_US/addchapter.sce b/scilab/modules/differential_equations/help/en_US/addchapter.sce index b3f030a..ae24dda 100644 --- a/scilab/modules/differential_equations/help/en_US/addchapter.sce +++ b/scilab/modules/differential_equations/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/differential_equations/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/differential_equations/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Differential Equations",path,%T); | 8 | add_help_chapter("Differential Equations",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/double/help/en_US/addchapter.sce b/scilab/modules/double/help/en_US/addchapter.sce index 26555da..59d0662 100644 --- a/scilab/modules/double/help/en_US/addchapter.sce +++ b/scilab/modules/double/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/double/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/double/help/'+getdefaultlanguage(); |
8 | //add_help_chapter("Doubles",path,%T); | 8 | //add_help_chapter("Doubles",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/elementary_functions/help/en_US/addchapter.sce b/scilab/modules/elementary_functions/help/en_US/addchapter.sce index ec9c1b3..0056e7f 100644 --- a/scilab/modules/elementary_functions/help/en_US/addchapter.sce +++ b/scilab/modules/elementary_functions/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/elementary_functions/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/elementary_functions/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Elementaries Functions",path,%T); | 8 | add_help_chapter("Elementaries Functions",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/fftw/help/en_US/addchapter.sce b/scilab/modules/fftw/help/en_US/addchapter.sce index 6be71a4..32dd9d2 100644 --- a/scilab/modules/fftw/help/en_US/addchapter.sce +++ b/scilab/modules/fftw/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/fftw/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/fftw/help/'+getdefaultlanguage(); |
8 | add_help_chapter("FFTW",path,%T); | 8 | add_help_chapter("FFTW",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/fileio/help/en_US/addchapter.sce b/scilab/modules/fileio/help/en_US/addchapter.sce index ac7f1aa..76c722f 100644 --- a/scilab/modules/fileio/help/en_US/addchapter.sce +++ b/scilab/modules/fileio/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/fileio/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/fileio/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Input/Output functions [files]",path,%T); | 8 | add_help_chapter("Input/Output functions [files]",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/functions/help/en_US/addchapter.sce b/scilab/modules/functions/help/en_US/addchapter.sce index 4f34dd8..e4e4037 100644 --- a/scilab/modules/functions/help/en_US/addchapter.sce +++ b/scilab/modules/functions/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/functions/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/functions/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Functions",path,%T); | 8 | add_help_chapter("Functions",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/graphics/help/en_US/addchapter.sce b/scilab/modules/graphics/help/en_US/addchapter.sce index d734453..3ca1a08 100644 --- a/scilab/modules/graphics/help/en_US/addchapter.sce +++ b/scilab/modules/graphics/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/graphics/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/graphics/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Graphics Library",path,%T); | 8 | add_help_chapter("Graphics Library",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/gui/help/en_US/addchapter.sce b/scilab/modules/gui/help/en_US/addchapter.sce index c1c856e..84a6ce6 100644 --- a/scilab/modules/gui/help/en_US/addchapter.sce +++ b/scilab/modules/gui/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/gui/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/gui/help/'+getdefaultlanguage(); |
8 | add_help_chapter("GUI",path,%T); | 8 | add_help_chapter("GUI",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/helptools/help/en_US/addchapter.sce b/scilab/modules/helptools/help/en_US/addchapter.sce index a1b6857..ef194fe 100644 --- a/scilab/modules/helptools/help/en_US/addchapter.sce +++ b/scilab/modules/helptools/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/helptools/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/helptools/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Online help management",path,%T); | 8 | add_help_chapter("Online help management",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/helptools/macros/add_module_help_chapter.sci b/scilab/modules/helptools/macros/add_module_help_chapter.sci index d5ab55c..893fd4c 100644 --- a/scilab/modules/helptools/macros/add_module_help_chapter.sci +++ b/scilab/modules/helptools/macros/add_module_help_chapter.sci | |||
@@ -3,14 +3,14 @@ | |||
3 | // INRIA 2007 | 3 | // INRIA 2007 |
4 | // ==================================================================== | 4 | // ==================================================================== |
5 | function add_module_help_chapter(modulename) | 5 | function add_module_help_chapter(modulename) |
6 | path_addchapter = SCI+"/modules/"+modulename+"/help/"+getlanguage()+'/addchapter.sce'; | 6 | path_addchapter = SCI+"/modules/"+modulename+"/help/"+getlanguage()+"/addchapter.sce"; |
7 | if ( fileinfo(path_addchapter) == [] ) then | 7 | if ( fileinfo(path_addchapter) == [] ) then |
8 | path_addchapter = SCI+"/modules/"+modulename+"/help/"+getlanguage('LANGUAGE_DEFAULT')+'/addchapter.sce'; | 8 | path_addchapter = SCI+"/modules/"+modulename+"/help/"+getdefaultlanguage()+"/addchapter.sce"; |
9 | end | 9 | end |
10 | try | 10 | // try |
11 | exec(path_addchapter); | 11 | exec(path_addchapter); |
12 | catch | 12 | // catch |
13 | warning(' incorrect module path '+path_addchapter); | 13 | // warning(gettext("Incorrect module path ")+path_addchapter); |
14 | end | 14 | // end |
15 | endfunction | 15 | endfunction |
16 | // ==================================================================== | 16 | // ==================================================================== |
diff --git a/scilab/modules/helptools/macros/del_module_help_chapter.sci b/scilab/modules/helptools/macros/del_module_help_chapter.sci index 9015c50..ca7ebca 100644 --- a/scilab/modules/helptools/macros/del_module_help_chapter.sci +++ b/scilab/modules/helptools/macros/del_module_help_chapter.sci | |||
@@ -5,7 +5,7 @@ | |||
5 | function del_module_help_chapter(modulename) | 5 | function del_module_help_chapter(modulename) |
6 | path_removechapter = SCI+"/modules/"+modulename+"/help/"+getlanguage()+'/removechapter.sce'; | 6 | path_removechapter = SCI+"/modules/"+modulename+"/help/"+getlanguage()+'/removechapter.sce'; |
7 | if ( fileinfo(path_removechapter) == [] ) then | 7 | if ( fileinfo(path_removechapter) == [] ) then |
8 | path_removechapter = SCI+"/modules/"+modulename+"/help/"+getlanguage('LANGUAGE_DEFAULT')+'/removechapter.sce'; | 8 | path_removechapter = SCI+"/modules/"+modulename+"/help/"+getdefaultlanguage()+'/removechapter.sce'; |
9 | end | 9 | end |
10 | try | 10 | try |
11 | exec(path_removechapter); | 11 | exec(path_removechapter); |
diff --git a/scilab/modules/helptools/macros/xmltohtml.sci b/scilab/modules/helptools/macros/xmltohtml.sci index a88b5f2..f2b4510 100644 --- a/scilab/modules/helptools/macros/xmltohtml.sci +++ b/scilab/modules/helptools/macros/xmltohtml.sci | |||
@@ -94,17 +94,17 @@ function xmltohtml(dirs,titles,xsl,step,directory_language,default_language) | |||
94 | default_language = []; | 94 | default_language = []; |
95 | language_system = []; | 95 | language_system = []; |
96 | 96 | ||
97 | if getlanguage() == getlanguage('LANGUAGE_DEFAULT') then | 97 | if getlanguage() == getdefaultlanguage() then |
98 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getlanguage('LANGUAGE_DEFAULT')+".xsl",%f,%f); | 98 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getdefaultlanguage()+".xsl",%f,%f); |
99 | for k=1:size(dirs,'*') | 99 | for k=1:size(dirs,'*') |
100 | directory_language = [directory_language;getlanguage('LANGUAGE_DEFAULT')]; | 100 | directory_language = [directory_language;getdefaultlanguage()]; |
101 | language_system = [language_system;%F]; | 101 | language_system = [language_system;%F]; |
102 | end | 102 | end |
103 | else | 103 | else |
104 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getlanguage()+".xsl",%f,%f); | 104 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getlanguage()+".xsl",%f,%f); |
105 | for k=1:size(dirs,'*') | 105 | for k=1:size(dirs,'*') |
106 | directory_language = [directory_language;getlanguage()]; | 106 | directory_language = [directory_language;getlanguage()]; |
107 | default_language = [default_language;getlanguage('LANGUAGE_DEFAULT')]; | 107 | default_language = [default_language;getdefaultlanguage()]; |
108 | language_system = [language_system;%T]; | 108 | language_system = [language_system;%T]; |
109 | end | 109 | end |
110 | end | 110 | end |
@@ -120,8 +120,8 @@ function xmltohtml(dirs,titles,xsl,step,directory_language,default_language) | |||
120 | language_system = []; | 120 | language_system = []; |
121 | titles = []; | 121 | titles = []; |
122 | 122 | ||
123 | if getlanguage() == getlanguage('LANGUAGE_DEFAULT') then | 123 | if getlanguage() == getdefaultlanguage() then |
124 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getlanguage('LANGUAGE_DEFAULT')+".xsl",%f,%f); | 124 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getdefaultlanguage()+".xsl",%f,%f); |
125 | for k=1:size(dirs,'*') | 125 | for k=1:size(dirs,'*') |
126 | titles = [titles;"Help chapter ("+dirs(k)+")"]; | 126 | titles = [titles;"Help chapter ("+dirs(k)+")"]; |
127 | language_system = [language_system;%F]; | 127 | language_system = [language_system;%F]; |
@@ -180,8 +180,8 @@ function xmltohtml(dirs,titles,xsl,step,directory_language,default_language) | |||
180 | if ~exists("step") | step == [] | step == "" then step = "all"; end | 180 | if ~exists("step") | step == [] | step == "" then step = "all"; end |
181 | 181 | ||
182 | if ~exists("xsl") | xsl == [] | xsl == "" then | 182 | if ~exists("xsl") | xsl == [] | xsl == "" then |
183 | if getlanguage() == getlanguage('LANGUAGE_DEFAULT') then | 183 | if getlanguage() == getdefaultlanguage() then |
184 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getlanguage('LANGUAGE_DEFAULT')+".xsl",%f,%f); | 184 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getdefaultlanguage()+".xsl",%f,%f); |
185 | else | 185 | else |
186 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getlanguage()+".xsl",%f,%f); | 186 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getlanguage()+".xsl",%f,%f); |
187 | end | 187 | end |
@@ -202,8 +202,8 @@ function xmltohtml(dirs,titles,xsl,step,directory_language,default_language) | |||
202 | if ~exists("step") | step == [] | step == "" then step = "all"; end | 202 | if ~exists("step") | step == [] | step == "" then step = "all"; end |
203 | 203 | ||
204 | if ~exists("xsl") | xsl == [] | xsl == "" then | 204 | if ~exists("xsl") | xsl == [] | xsl == "" then |
205 | if getlanguage() == getlanguage('LANGUAGE_DEFAULT') then | 205 | if getlanguage() == getdefaultlanguage() then |
206 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getlanguage('LANGUAGE_DEFAULT')+".xsl",%f,%f); | 206 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getdefaultlanguage()+".xsl",%f,%f); |
207 | else | 207 | else |
208 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getlanguage()+".xsl",%f,%f); | 208 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getlanguage()+".xsl",%f,%f); |
209 | end | 209 | end |
@@ -225,8 +225,8 @@ function xmltohtml(dirs,titles,xsl,step,directory_language,default_language) | |||
225 | if ~exists("step") | step == [] | step == "" then step = "all"; end | 225 | if ~exists("step") | step == [] | step == "" then step = "all"; end |
226 | 226 | ||
227 | if ~exists("xsl") | xsl == [] | xsl == "" then | 227 | if ~exists("xsl") | xsl == [] | xsl == "" then |
228 | if getlanguage() == getlanguage('LANGUAGE_DEFAULT') then | 228 | if getlanguage() == getdefaultlanguage() then |
229 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getlanguage('LANGUAGE_DEFAULT')+".xsl",%f,%f); | 229 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getdefaultlanguage()+".xsl",%f,%f); |
230 | else | 230 | else |
231 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getlanguage()+".xsl",%f,%f); | 231 | xsl = pathconvert(SCI+"/modules/helptools/help_"+getlanguage()+".xsl",%f,%f); |
232 | end | 232 | end |
@@ -788,7 +788,7 @@ function gener_contents(dirs1) | |||
788 | 788 | ||
789 | select getlanguage() | 789 | select getlanguage() |
790 | case 'fr_FR' then type_title = " <H2>Fonctions Scilab</H2>"; | 790 | case 'fr_FR' then type_title = " <H2>Fonctions Scilab</H2>"; |
791 | case getlanguage('LANGUAGE_DEFAULT') then type_title = " <H2>Scilab functions</H2>"; | 791 | case getdefaultlanguage() then type_title = " <H2>Scilab functions</H2>"; |
792 | end | 792 | end |
793 | 793 | ||
794 | full_whatis=["<html>" | 794 | full_whatis=["<html>" |
diff --git a/scilab/modules/history_manager/help/en_US/addchapter.sce b/scilab/modules/history_manager/help/en_US/addchapter.sce index 689dddc..1302265 100644 --- a/scilab/modules/history_manager/help/en_US/addchapter.sce +++ b/scilab/modules/history_manager/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/history_manager/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/history_manager/help/'+getdefaultlanguage(); |
8 | add_help_chapter("history_manager",path,%T); | 8 | add_help_chapter("history_manager",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/incremental_link/help/en_US/addchapter.sce b/scilab/modules/incremental_link/help/en_US/addchapter.sce index 1a7d2ac..3f52313 100644 --- a/scilab/modules/incremental_link/help/en_US/addchapter.sce +++ b/scilab/modules/incremental_link/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/incremental_link/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/incremental_link/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Incremental Link",path,%T); | 8 | add_help_chapter("Incremental Link",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/integer/help/en_US/addchapter.sce b/scilab/modules/integer/help/en_US/addchapter.sce index 94f276b..200127f 100644 --- a/scilab/modules/integer/help/en_US/addchapter.sce +++ b/scilab/modules/integer/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/integer/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/integer/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Integers",path,%T); | 8 | add_help_chapter("Integers",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/interpolation/help/en_US/addchapter.sce b/scilab/modules/interpolation/help/en_US/addchapter.sce index b86203f..786a4b8 100644 --- a/scilab/modules/interpolation/help/en_US/addchapter.sce +++ b/scilab/modules/interpolation/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/interpolation/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/interpolation/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Interpolation",path,%T); | 8 | add_help_chapter("Interpolation",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/intersci/help/en_US/addchapter.sce b/scilab/modules/intersci/help/en_US/addchapter.sce index 003cba5..4631e79 100644 --- a/scilab/modules/intersci/help/en_US/addchapter.sce +++ b/scilab/modules/intersci/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/intersci/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/intersci/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Intersci",path,%T); | 8 | add_help_chapter("Intersci",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/io/help/en_US/addchapter.sce b/scilab/modules/io/help/en_US/addchapter.sce index 6cb9287..6b62e53 100644 --- a/scilab/modules/io/help/en_US/addchapter.sce +++ b/scilab/modules/io/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/io/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/io/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Input/Output functions",path,%T); | 8 | add_help_chapter("Input/Output functions",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/javasci/help/en_US/addchapter.sce b/scilab/modules/javasci/help/en_US/addchapter.sce index 9e5798b..76f368d 100644 --- a/scilab/modules/javasci/help/en_US/addchapter.sce +++ b/scilab/modules/javasci/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/javasci/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/javasci/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Java Interface",path,%T); | 8 | add_help_chapter("Java Interface",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/jvm/help/en_US/addchapter.sce b/scilab/modules/jvm/help/en_US/addchapter.sce index fc7f146..cfd1e69 100644 --- a/scilab/modules/jvm/help/en_US/addchapter.sce +++ b/scilab/modules/jvm/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/jvm/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/jvm/help/'+getdefaultlanguage(); |
8 | add_help_chapter("jvm",path,%T); | 8 | add_help_chapter("jvm",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/linear_algebra/help/en_US/addchapter.sce b/scilab/modules/linear_algebra/help/en_US/addchapter.sce index 3a93764..29ba5ea 100644 --- a/scilab/modules/linear_algebra/help/en_US/addchapter.sce +++ b/scilab/modules/linear_algebra/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/linear_algebra/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/linear_algebra/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Linear Algebra",path,%T); | 8 | add_help_chapter("Linear Algebra",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/localization/help/en_US/addchapter.sce b/scilab/modules/localization/help/en_US/addchapter.sce index 1278541..3773553 100644 --- a/scilab/modules/localization/help/en_US/addchapter.sce +++ b/scilab/modules/localization/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/localization/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/localization/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Localization",path,%T); | 8 | add_help_chapter("Localization",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/m2sci/help/en_US/addchapter.sce b/scilab/modules/m2sci/help/en_US/addchapter.sce index 9bd0f30..c856753 100644 --- a/scilab/modules/m2sci/help/en_US/addchapter.sce +++ b/scilab/modules/m2sci/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/m2sci/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/m2sci/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Matlab to Scilab Conversion Tips",path,%T); | 8 | add_help_chapter("Matlab to Scilab Conversion Tips",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/maple2scilab/help/en_US/addchapter.sce b/scilab/modules/maple2scilab/help/en_US/addchapter.sce index 57c28d6..8b805fe 100644 --- a/scilab/modules/maple2scilab/help/en_US/addchapter.sce +++ b/scilab/modules/maple2scilab/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/maple2scilab/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/maple2scilab/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Maple Interface",path,%T); | 8 | add_help_chapter("Maple Interface",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/metanet/help/en_US/addchapter.sce b/scilab/modules/metanet/help/en_US/addchapter.sce index be25a8b..2698a4d 100644 --- a/scilab/modules/metanet/help/en_US/addchapter.sce +++ b/scilab/modules/metanet/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/metanet/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/metanet/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Metanet : Graph and Network toolbox",path,%T); | 8 | add_help_chapter("Metanet : Graph and Network toolbox",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/mexlib/help/en_US/addchapter.sce b/scilab/modules/mexlib/help/en_US/addchapter.sce index bd1de7e..67cf459 100644 --- a/scilab/modules/mexlib/help/en_US/addchapter.sce +++ b/scilab/modules/mexlib/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/mexlib/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/mexlib/help/'+getdefaultlanguage(); |
8 | //add_help_chapter("mexlib",path,%T); | 8 | //add_help_chapter("mexlib",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/optimization/help/en_US/addchapter.sce b/scilab/modules/optimization/help/en_US/addchapter.sce index 1b0ed85..631fe9e 100644 --- a/scilab/modules/optimization/help/en_US/addchapter.sce +++ b/scilab/modules/optimization/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/optimization/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/optimization/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Optimization and Simulation",path,%T); | 8 | add_help_chapter("Optimization and Simulation",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/others/help/en_US/addchapter.sce b/scilab/modules/others/help/en_US/addchapter.sce index 451f3c7..1746d9e 100644 --- a/scilab/modules/others/help/en_US/addchapter.sce +++ b/scilab/modules/others/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/others/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/others/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Others",path,%T); | 8 | add_help_chapter("Others",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/overloading/help/en_US/addchapter.sce b/scilab/modules/overloading/help/en_US/addchapter.sce index b93a8b4..e7fba17 100644 --- a/scilab/modules/overloading/help/en_US/addchapter.sce +++ b/scilab/modules/overloading/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/overloading/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/overloading/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Overloading",path,%T); | 8 | add_help_chapter("Overloading",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/polynomials/help/en_US/addchapter.sce b/scilab/modules/polynomials/help/en_US/addchapter.sce index 0cf0149..de626a7a 100644 --- a/scilab/modules/polynomials/help/en_US/addchapter.sce +++ b/scilab/modules/polynomials/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/polynomials/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/polynomials/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Polynomials",path,%T); | 8 | add_help_chapter("Polynomials",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/pvm/help/en_US/addchapter.sce b/scilab/modules/pvm/help/en_US/addchapter.sce index fbf162c..b08a9db 100644 --- a/scilab/modules/pvm/help/en_US/addchapter.sce +++ b/scilab/modules/pvm/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/pvm/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/pvm/help/'+getdefaultlanguage(); |
8 | add_help_chapter("PVM parallel Toolbox",path,%T); | 8 | add_help_chapter("PVM parallel Toolbox",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/randlib/help/en_US/addchapter.sce b/scilab/modules/randlib/help/en_US/addchapter.sce index 52562814..a095929 100644 --- a/scilab/modules/randlib/help/en_US/addchapter.sce +++ b/scilab/modules/randlib/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/randlib/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/randlib/help/'+getdefaultlanguage(); |
8 | add_help_chapter("randlib",path,%T); | 8 | add_help_chapter("randlib",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/renderer/help/en_US/addchapter.sce b/scilab/modules/renderer/help/en_US/addchapter.sce index 4fd3150..bd35795 100644 --- a/scilab/modules/renderer/help/en_US/addchapter.sce +++ b/scilab/modules/renderer/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/renderer/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/renderer/help/'+getdefaultlanguage(); |
8 | add_help_chapter("renderer",path,%T); | 8 | add_help_chapter("renderer",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/sci2c/help/en_US/addchapter.sce b/scilab/modules/sci2c/help/en_US/addchapter.sce index 44efc39..52aa974 100644 --- a/scilab/modules/sci2c/help/en_US/addchapter.sce +++ b/scilab/modules/sci2c/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/sci2c/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/sci2c/help/'+getdefaultlanguage(); |
8 | //add_help_chapter("Scilab to C language",path,%T); | 8 | //add_help_chapter("Scilab to C language",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/scicos/help/en_US/addchapter.sce b/scilab/modules/scicos/help/en_US/addchapter.sce index a8ddc16..86565cb 100644 --- a/scilab/modules/scicos/help/en_US/addchapter.sce +++ b/scilab/modules/scicos/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/scicos/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/scicos/help/'+getdefaultlanguage(); |
8 | add_help_chapter("scicos",path,%T); | 8 | add_help_chapter("scicos",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/scilab2fortran/help/en_US/addchapter.sce b/scilab/modules/scilab2fortran/help/en_US/addchapter.sce index a48bed5..88b8c6a 100644 --- a/scilab/modules/scilab2fortran/help/en_US/addchapter.sce +++ b/scilab/modules/scilab2fortran/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/scilab2fortran/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/scilab2fortran/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Scilab to Fortran",path,%T); | 8 | add_help_chapter("Scilab to Fortran",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/scipad/help/en_US/addchapter.sce b/scilab/modules/scipad/help/en_US/addchapter.sce index 98d4746..21881c5 100644 --- a/scilab/modules/scipad/help/en_US/addchapter.sce +++ b/scilab/modules/scipad/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/scipad/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/scipad/help/'+getdefaultlanguage(); |
8 | add_help_chapter("scipad",path,%T); | 8 | add_help_chapter("scipad",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/shell/help/en_US/addchapter.sce b/scilab/modules/shell/help/en_US/addchapter.sce index a445ee9..2b077eb 100644 --- a/scilab/modules/shell/help/en_US/addchapter.sce +++ b/scilab/modules/shell/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/shell/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/shell/help/'+getdefaultlanguage(); |
8 | add_help_chapter("shell",path,%T); | 8 | add_help_chapter("shell",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/signal_processing/help/en_US/addchapter.sce b/scilab/modules/signal_processing/help/en_US/addchapter.sce index 7d4af31..132ca77 100644 --- a/scilab/modules/signal_processing/help/en_US/addchapter.sce +++ b/scilab/modules/signal_processing/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/signal_processing/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/signal_processing/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Signal Processing",path,%T); | 8 | add_help_chapter("Signal Processing",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/sound/help/en_US/addchapter.sce b/scilab/modules/sound/help/en_US/addchapter.sce index 334fd97..b530158 100644 --- a/scilab/modules/sound/help/en_US/addchapter.sce +++ b/scilab/modules/sound/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/sound/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/sound/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Sound file handling",path,%T); | 8 | add_help_chapter("Sound file handling",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/sparse/help/en_US/addchapter.sce b/scilab/modules/sparse/help/en_US/addchapter.sce index 05bdb3a..c2ff293 100644 --- a/scilab/modules/sparse/help/en_US/addchapter.sce +++ b/scilab/modules/sparse/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/sparse/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/sparse/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Sparses Matrix",path,%T); | 8 | add_help_chapter("Sparses Matrix",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/special_functions/help/en_US/addchapter.sce b/scilab/modules/special_functions/help/en_US/addchapter.sce index 5ded80b..56cba97 100644 --- a/scilab/modules/special_functions/help/en_US/addchapter.sce +++ b/scilab/modules/special_functions/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/special_functions/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/special_functions/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Special Functions",path,%T); | 8 | add_help_chapter("Special Functions",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/spreadsheet/help/en_US/addchapter.sce b/scilab/modules/spreadsheet/help/en_US/addchapter.sce index a271fd6..458c57f 100644 --- a/scilab/modules/spreadsheet/help/en_US/addchapter.sce +++ b/scilab/modules/spreadsheet/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/spreadsheet/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/spreadsheet/help/'+getdefaultlanguage(); |
8 | add_help_chapter("spreadsheet",path,%T); | 8 | add_help_chapter("spreadsheet",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/statistics/help/en_US/addchapter.sce b/scilab/modules/statistics/help/en_US/addchapter.sce index 3c41adb..93006db 100644 --- a/scilab/modules/statistics/help/en_US/addchapter.sce +++ b/scilab/modules/statistics/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/statistics/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/statistics/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Statistics",path,%T); | 8 | add_help_chapter("Statistics",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/string/help/en_US/addchapter.sce b/scilab/modules/string/help/en_US/addchapter.sce index 9091164..87c4af1 100644 --- a/scilab/modules/string/help/en_US/addchapter.sce +++ b/scilab/modules/string/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/string/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/string/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Strings",path,%T); | 8 | add_help_chapter("Strings",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/symbolic/help/en_US/addchapter.sce b/scilab/modules/symbolic/help/en_US/addchapter.sce index 48e26ae..fc4b664 100644 --- a/scilab/modules/symbolic/help/en_US/addchapter.sce +++ b/scilab/modules/symbolic/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/symbolic/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/symbolic/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Symbolic",path,%T); | 8 | add_help_chapter("Symbolic",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/tclsci/help/en_US/addchapter.sce b/scilab/modules/tclsci/help/en_US/addchapter.sce index 602ab6d..bf1a1e8 100644 --- a/scilab/modules/tclsci/help/en_US/addchapter.sce +++ b/scilab/modules/tclsci/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/tclsci/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/tclsci/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Tcl/Tk Interface",path,%T); | 8 | add_help_chapter("Tcl/Tk Interface",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/texmacs/help/en_US/addchapter.sce b/scilab/modules/texmacs/help/en_US/addchapter.sce index 133e5c9..72932e6 100644 --- a/scilab/modules/texmacs/help/en_US/addchapter.sce +++ b/scilab/modules/texmacs/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/texmacs/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/texmacs/help/'+getdefaultlanguage(); |
8 | add_help_chapter("texmacs",path,%T); | 8 | add_help_chapter("texmacs",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/time/help/en_US/addchapter.sce b/scilab/modules/time/help/en_US/addchapter.sce index 8f82f10..4649475 100644 --- a/scilab/modules/time/help/en_US/addchapter.sce +++ b/scilab/modules/time/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/time/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/time/help/'+getdefaultlanguage(); |
8 | add_help_chapter("Time and Date",path,%T); | 8 | add_help_chapter("Time and Date",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |
diff --git a/scilab/modules/windows_tools/help/en_US/addchapter.sce b/scilab/modules/windows_tools/help/en_US/addchapter.sce index 356f598..38bec9c 100644 --- a/scilab/modules/windows_tools/help/en_US/addchapter.sce +++ b/scilab/modules/windows_tools/help/en_US/addchapter.sce | |||
@@ -4,7 +4,7 @@ | |||
4 | // Copyright INRIA 2007 | 4 | // Copyright INRIA 2007 |
5 | // Allan CORNET | 5 | // Allan CORNET |
6 | // ==================================================================== | 6 | // ==================================================================== |
7 | path = SCI+'/modules/windows_tools/help/'+getlanguage('LANGUAGE_DEFAULT'); | 7 | path = SCI+'/modules/windows_tools/help/'+getdefaultlanguage(); |
8 | add_help_chapter("windows_tools",path,%T); | 8 | add_help_chapter("windows_tools",path,%T); |
9 | clear path add_help_chapter; | 9 | clear path add_help_chapter; |
10 | // ==================================================================== | 10 | // ==================================================================== |