summaryrefslogtreecommitdiffstats
path: root/scilab/modules/intersci/etc
diff options
context:
space:
mode:
authorAllan Cornet <allan.cornet@scilab.org>2007-02-06 15:53:52 +0000
committerAllan Cornet <allan.cornet@scilab.org>2007-02-06 15:53:52 +0000
commita73582c795b88a4f17923d193f9848b4ea8ca390 (patch)
tree117612399f8ffa4411c617321eafe2a1e9412133 /scilab/modules/intersci/etc
parent2163b9c240b06cd2fbb5b28beb487e9f832bd9cc (diff)
downloadscilab-a73582c795b88a4f17923d193f9848b4ea8ca390.zip
scilab-a73582c795b88a4f17923d193f9848b4ea8ca390.tar.gz
LANGUAGE --> getlanguage()
split add chapter & remove chapter
Diffstat (limited to 'scilab/modules/intersci/etc')
-rw-r--r--scilab/modules/intersci/etc/intersci.quit10
-rw-r--r--scilab/modules/intersci/etc/intersci.start15
2 files changed, 2 insertions, 23 deletions
diff --git a/scilab/modules/intersci/etc/intersci.quit b/scilab/modules/intersci/etc/intersci.quit
index fcd2351..9bf3154 100644
--- a/scilab/modules/intersci/etc/intersci.quit
+++ b/scilab/modules/intersci/etc/intersci.quit
@@ -4,13 +4,5 @@
4// Copyright INRIA 2006 4// Copyright INRIA 2006
5// ==================================================================== 5// ====================================================================
6// delete help chapter 6// delete help chapter
7global LANGUAGE 7exec(SCI+'/modules/intersci/help/'+getlanguage()+'/removechapter.sce');
8
9if LANGUAGE == 'fr' then
10 del_help_chapter("Intersci");
11elseif LANGUAGE == 'en' then
12 del_help_chapter("Intersci");
13end
14
15clear del_help_chapter LANGUAGE;
16// ==================================================================== 8// ====================================================================
diff --git a/scilab/modules/intersci/etc/intersci.start b/scilab/modules/intersci/etc/intersci.start
index 352d55b..7ec87b3 100644
--- a/scilab/modules/intersci/etc/intersci.start
+++ b/scilab/modules/intersci/etc/intersci.start
@@ -6,18 +6,5 @@
6//load('SCI/modules/intersci/macros/lib'); 6//load('SCI/modules/intersci/macros/lib');
7// ==================================================================== 7// ====================================================================
8//add help chapter 8//add help chapter
9global LANGUAGE 9exec(SCI+'/modules/intersci/help/'+getlanguage()+'/addchapter.sce');
10
11path = get_absolute_file_path('intersci.start');
12path = getshortpathname(path);
13
14if LANGUAGE == 'fr' then
15 path = pathconvert(part(path,1:(length(path)-5))+'/help/fr',%f,%f);
16 add_help_chapter("Intersci",path);
17elseif LANGUAGE == 'en' then
18 path = pathconvert(part(path,1:(length(path)-5))+'/help/en',%f,%f);
19 add_help_chapter("Intersci",path);
20end
21
22clear path get_absolute_file_path add_help_chapter LANGUAGE;
23// ==================================================================== 10// ====================================================================