rwdtinker 1.4 → 1.23
Sign up to get free protection for your applications and to get access to all the features.
- data/code/al5languagefiles/templangfile.rb +6 -0
- data/code/lm1installapplets/ll5listzips.rb +14 -0
- data/code/lm1installapplets/lm1installapplet.rb +20 -0
- data/code/ssdiagnostictab/diagnostictab.rb +20 -0
- data/code/xb1rwdtinkerbackwindow/diagnostictab.rb +1 -2
- data/configuration/aa0rwdframework.cnf +3 -6
- data/configuration/ab1tinkerwin2.cnf +0 -1
- data/gui/en/aa2core/aa0rwdtop.rwd +3 -0
- data/gui/en/cc0viewphoto/cc0openphoto.rwd +17 -0
- data/gui/en/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
- data/gui/en/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
- data/gui/en/lz1selectiontabend/endselectiontab.rwd +1 -0
- data/gui/en/tt0documentsbegin/tt0documentbegin.rwd +5 -0
- data/gui/{uu5rwddocuments → en/uu5rwddocuments}/uu5documents.rwd +7 -9
- data/gui/{uu6rwdtinkerwin2documents → en/uu6rwdtinkerwin2documents}/uu5documents.rwd +2 -4
- data/gui/en/ww0documentsend/ww0documentend.rwd +6 -0
- data/gui/en/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
- data/gui/{xa1versionwindow → en/xa1versionwindow}/1appname.rwd +2 -4
- data/gui/en/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
- data/gui/en/xa5rwdtinkercallablewindow/9end.rwd +4 -0
- data/gui/en/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
- data/gui/en/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
- data/gui/en/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
- data/gui/en/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
- data/gui/en/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
- data/gui/en/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
- data/gui/en/xx9photoview/xx9photoview.rwd +3 -0
- data/gui/en/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
- data/gui/en/yg5rwdhelpabout/1appname.rwd +2 -0
- data/gui/en/yg5rwdhelpabout/3copyright.rwd +1 -0
- data/gui/en/yg5rwdhelpabout/5version.rwd +9 -0
- data/gui/en/yg6rwdwin2helpabout/1appname.rwd +2 -0
- data/gui/en/yg6rwdwin2helpabout/3copyright.rwd +1 -0
- data/gui/en/yg6rwdwin2helpabout/5version.rwd +9 -0
- data/gui/en/za1applicationend/yy9rwdend.rwd +2 -0
- data/gui/es/aa2core/aa0rwdtop.rwd +3 -0
- data/gui/es/cc0viewphoto/cc0openphoto.rwd +17 -0
- data/gui/es/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
- data/gui/es/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
- data/gui/es/lz1selectiontabend/endselectiontab.rwd +1 -0
- data/gui/es/tt0documentsbegin/tt0documentbegin.rwd +5 -0
- data/gui/es/uu5rwddocuments/uu5documents.rwd +13 -0
- data/gui/es/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
- data/gui/es/ww0documentsend/ww0documentend.rwd +6 -0
- data/gui/es/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
- data/gui/es/xa1versionwindow/1appname.rwd +17 -0
- data/gui/es/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
- data/gui/es/xa5rwdtinkercallablewindow/9end.rwd +4 -0
- data/gui/es/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
- data/gui/es/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
- data/gui/es/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
- data/gui/es/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
- data/gui/es/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
- data/gui/es/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
- data/gui/es/xx9photoview/xx9photoview.rwd +3 -0
- data/gui/es/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
- data/gui/es/yg5rwdhelpabout/1appname.rwd +2 -0
- data/gui/es/yg5rwdhelpabout/3copyright.rwd +1 -0
- data/gui/es/yg5rwdhelpabout/5version.rwd +9 -0
- data/gui/es/yg6rwdwin2helpabout/1appname.rwd +2 -0
- data/gui/es/yg6rwdwin2helpabout/3copyright.rwd +1 -0
- data/gui/es/yg6rwdwin2helpabout/5version.rwd +9 -0
- data/gui/es/za1applicationend/yy9rwdend.rwd +2 -0
- data/gui/nl/aa2core/aa0rwdtop.rwd +3 -0
- data/gui/nl/cc0viewphoto/cc0openphoto.rwd +17 -0
- data/gui/nl/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
- data/gui/nl/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
- data/gui/nl/lz1selectiontabend/endselectiontab.rwd +1 -0
- data/gui/nl/tt0documentsbegin/tt0documentbegin.rwd +5 -0
- data/gui/nl/uu5rwddocuments/uu5documents.rwd +13 -0
- data/gui/nl/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
- data/gui/nl/ww0documentsend/ww0documentend.rwd +6 -0
- data/gui/nl/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
- data/gui/nl/xa1versionwindow/1appname.rwd +17 -0
- data/gui/nl/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
- data/gui/nl/xa5rwdtinkercallablewindow/9end.rwd +4 -0
- data/gui/nl/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
- data/gui/nl/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
- data/gui/nl/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
- data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
- data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
- data/gui/nl/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
- data/gui/nl/xx9photoview/xx9photoview.rwd +3 -0
- data/gui/nl/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
- data/gui/nl/yg5rwdhelpabout/1appname.rwd +2 -0
- data/gui/nl/yg5rwdhelpabout/3copyright.rwd +1 -0
- data/gui/nl/yg5rwdhelpabout/5version.rwd +9 -0
- data/gui/nl/yg6rwdwin2helpabout/1appname.rwd +2 -0
- data/gui/nl/yg6rwdwin2helpabout/3copyright.rwd +1 -0
- data/gui/nl/yg6rwdwin2helpabout/5version.rwd +9 -0
- data/gui/nl/za1applicationend/yy9rwdend.rwd +2 -0
- data/init.rb +5 -74
- data/installed/rwdtinkerwin2-0.5.inf +12 -4
- data/installed/rwdviewphoto-0.3.inf +9 -0
- data/lang/en/rwdcore/languagefile.rb +3 -13
- data/lang/es/rwdcore/languagefile.rb +4 -0
- data/lang/nl/rwdcore/{languagefile-nl.rb → languagefile.rb} +1 -1
- data/rwd_files/HowTo_Tinker.html +370 -0
- data/rwd_files/HowTo_Tinker.txt +0 -32
- data/tests/rubyslippers-0.92.gemspec +17 -0
- data/tests/rwdtinker-1.2.gemspec +17 -0
- data/tests/rwdtinkertestEN.rb +87 -0
- data/tests/temptest.out +18 -0
- data/zips/rwdaviewphoto-0.3.zip +0 -0
- data/zips/{rwdhelloworld-0.3.zip → rwdhelloworld-0.2.zip} +0 -0
- data/zips/rwdrefreshacpi-0.1.zip +0 -0
- data/zips/rwdwtinkerwin2-0.5.zip +0 -0
- metadata +105 -43
- data/gui/aa2core/aa0rwdtop.rwd +0 -4
- data/gui/cc0viewphoto/cc0openphoto.rwd +0 -17
- data/gui/ll1selectiontabbegin/selectiontabbegin.rwd +0 -16
- data/gui/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +0 -12
- data/gui/lz1selectiontabend/endselectiontab.rwd +0 -3
- data/gui/tt0documentsbegin/tt0documentbegin.rwd +0 -6
- data/gui/ww0documentsend/ww0documentend.rwd +0 -7
- data/gui/wz6finaltabs/xx0rwdfirsttab.rwd +0 -6
- data/gui/xa5rwdtinkercallablewindow/1appname.rwd +0 -17
- data/gui/xa5rwdtinkercallablewindow/9end.rwd +0 -4
- data/gui/xb1rwdtinkerbackwindow/1appname.rwd +0 -5
- data/gui/xb1rwdtinkerbackwindow/2tab1.rwd +0 -11
- data/gui/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +0 -33
- data/gui/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +0 -44
- data/gui/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +0 -35
- data/gui/xb1rwdtinkerbackwindow/9backend.rwd +0 -6
- data/gui/ya1helpaboutbegin/ya0helpscreenstart.rwd +0 -3
- data/gui/yg5rwdhelpabout/1appname.rwd +0 -4
- data/gui/yg5rwdhelpabout/3copyright.rwd +0 -3
- data/gui/yg5rwdhelpabout/5version.rwd +0 -10
- data/gui/yg6rwdwin2helpabout/1appname.rwd +0 -4
- data/gui/yg6rwdwin2helpabout/3copyright.rwd +0 -3
- data/gui/yg6rwdwin2helpabout/5version.rwd +0 -10
- data/gui/yy5helpaboutend/helpscreenend.rwd +0 -3
- data/gui/za1applicationend/yy9rwdend.rwd +0 -4
- data/installed/rwdviewlogo-0.4.inf +0 -4
- data/lang/es/rwdcore/languagefile-es.rb +0 -14
- data/lang/templangfile.rb +0 -3
- data/lang/wlocallangstart.rb +0 -5
- data/lang/xlocallangfile.rb +0 -3
- data/lang/zlocallangend.rb +0 -2
- data/zips/rwdwshell-0.91.zip +0 -0
- data/zips/wrubyslippers-0.93.zip +0 -0
- /data/{lang → code/al5languagefiles}/alanguagehashbegin.rb +0 -0
- /data/{lang → code/al5languagefiles}/languagehash.rb +0 -0
- /data/{lang/vlanguagehashend.rb → code/al5languagefiles/zlanguagehashend.rb} +0 -0
@@ -0,0 +1,42 @@
|
|
1
|
+
<tab name="filelister" caption="List Applets">
|
2
|
+
|
3
|
+
|
4
|
+
<table>
|
5
|
+
<row> <p align="right">File Name:</p> <text name="a_installlist"/> </row>
|
6
|
+
|
7
|
+
</table>
|
8
|
+
|
9
|
+
<horizontal>
|
10
|
+
<button caption="View Install Text" action="openname"/>
|
11
|
+
<button caption="Cancel" action="main"/>
|
12
|
+
</horizontal>
|
13
|
+
<p>%displaytext%</p>
|
14
|
+
|
15
|
+
<table>
|
16
|
+
<row> <p align="right">File Name:</p> <text name="a_removeapplet"/> </row>
|
17
|
+
|
18
|
+
</table>
|
19
|
+
|
20
|
+
<p>%removeapplettext%</p>
|
21
|
+
<horizontal>
|
22
|
+
<button caption="remove applet" action="removeapplet"/>
|
23
|
+
<button caption="Cancel" action="main"/>
|
24
|
+
|
25
|
+
</horizontal>
|
26
|
+
<table>
|
27
|
+
<row> <p> </row>
|
28
|
+
<row> <p align="right">View the list of installation files </row>
|
29
|
+
|
30
|
+
</table>
|
31
|
+
<horizontal>
|
32
|
+
|
33
|
+
<button caption="List Files" action="listinstalledfiles"/>
|
34
|
+
|
35
|
+
</horizontal>
|
36
|
+
|
37
|
+
<p>%%filesresult%%</p>
|
38
|
+
|
39
|
+
</tab>
|
40
|
+
|
41
|
+
|
42
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<tab name="zipslister" caption="List Zips">
|
2
|
+
|
3
|
+
<table>
|
4
|
+
<row> <p align="right">File Name:</p> <text name="a_installapplet"/> </row>
|
5
|
+
|
6
|
+
</table>
|
7
|
+
|
8
|
+
<horizontal>
|
9
|
+
<button caption="install applet" action="installapplet"/>
|
10
|
+
<button caption="Cancel" action="main"/>
|
11
|
+
|
12
|
+
</horizontal>
|
13
|
+
<p>%installapplettext%</p>
|
14
|
+
|
15
|
+
|
16
|
+
<table>
|
17
|
+
<row> <p align="right">Click below to view the list of zip files </row>
|
18
|
+
|
19
|
+
</table>
|
20
|
+
|
21
|
+
<horizontal>
|
22
|
+
<button caption="List applets available for installing" action="listzipfilestoinstall"/>
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
</horizontal>
|
27
|
+
|
28
|
+
<p>%%zipslistresult%%</p>
|
29
|
+
|
30
|
+
</tab>
|
31
|
+
|
32
|
+
|
33
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
<helpwindow name="main" title="Help About">
|
@@ -0,0 +1 @@
|
|
1
|
+
<row> <p align="center">copyright s. gibson 2004</p></row>
|
@@ -0,0 +1 @@
|
|
1
|
+
<row> <p align="center">copyright s. gibson 2004</p></row>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
|
2
|
+
<tab name="selectiontab" caption="Selection Panel">
|
3
|
+
|
4
|
+
<table>
|
5
|
+
<row> <p align="right">Open a new window with callable applets you have loaded</row>
|
6
|
+
|
7
|
+
</table>
|
8
|
+
<horizontal>
|
9
|
+
|
10
|
+
<button caption="RwdTinker Help Window" action="runrwdtinkerhelpwindow"/>
|
11
|
+
|
12
|
+
|
13
|
+
</horizontal>
|
14
|
+
|
15
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
</tab>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<row> <p align="left">
|
2
|
+
<a href=HowTo_Tinker.html>Howto_Tinker.html</a></p></row>
|
3
|
+
<row> <p align="left">
|
4
|
+
<a href=Readme.txt>Readme.txt</a></p></row>
|
5
|
+
<row> <p align="left">
|
6
|
+
<a href=COPYING>GPL License </a></p></row>
|
7
|
+
<row> <p align="left">
|
8
|
+
<a href=rwdapplications.html>more information about rwdapplications </a></p></row>
|
9
|
+
<row> <p align="left">
|
10
|
+
<a href=rwdindex.html>Link to online information about RubyWebdialogs </a></p></row>
|
11
|
+
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<window name = "applicationversion" title="Application Version">
|
2
|
+
|
3
|
+
<row> <p></row>
|
4
|
+
<p>%versionappnamedisplay%</p>
|
5
|
+
<row> <p></row>
|
6
|
+
<p>%versioncopyrightdisplay%</p>
|
7
|
+
|
8
|
+
<row> <p></row>
|
9
|
+
<p>%versionnumberdisplay%</p>
|
10
|
+
|
11
|
+
<horizontal>
|
12
|
+
<cancel/>
|
13
|
+
</horizontal>
|
14
|
+
|
15
|
+
</window>
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<window name = "rwdtinkerhelpwindow" title="RwdTinker Help">
|
2
|
+
<tabs>
|
3
|
+
<tab name="main" caption="Help">
|
4
|
+
<row> <p></row>
|
5
|
+
<row> <p>RwdTinker</row>
|
6
|
+
<cancel/>
|
7
|
+
</tab>
|
8
|
+
|
9
|
+
<tab name="nexttab" caption="Next">
|
10
|
+
<row> <p></row>
|
11
|
+
<row> <p>RwdTinker Help</row>
|
12
|
+
<cancel/>
|
13
|
+
</tab>
|
14
|
+
|
15
|
+
</tabs>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<tab name="diagnostictab" caption="Diagnostic Tab">
|
2
|
+
<horizontal>
|
3
|
+
<button caption="View Ruby Version" action="runrubyversion"/>
|
4
|
+
|
5
|
+
|
6
|
+
</horizontal>
|
7
|
+
<p>%rubyversion%</p>
|
8
|
+
|
9
|
+
|
10
|
+
<table>
|
11
|
+
<row> <p> </row>
|
12
|
+
|
13
|
+
</table>
|
14
|
+
|
15
|
+
<horizontal>
|
16
|
+
<button caption="view platform" action="runviewplatform"/>
|
17
|
+
|
18
|
+
</horizontal>
|
19
|
+
|
20
|
+
<p>%platformdisplay%</p>
|
21
|
+
<horizontal>
|
22
|
+
<button caption="View rwdtinker Version" action="rwdtinkerversiondiagnostic"/>
|
23
|
+
|
24
|
+
</horizontal>
|
25
|
+
|
26
|
+
<p>%rwdtinkerversionreturn%</p>
|
27
|
+
|
28
|
+
</tab>
|
29
|
+
|
30
|
+
|
31
|
+
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<tab name="filelister" caption="List Applets">
|
2
|
+
|
3
|
+
|
4
|
+
<table>
|
5
|
+
<row> <p align="right">File Name:</p> <text name="a_installlist"/> </row>
|
6
|
+
|
7
|
+
</table>
|
8
|
+
|
9
|
+
<horizontal>
|
10
|
+
<button caption="View Install Text" action="openname"/>
|
11
|
+
<button caption="Cancel" action="main"/>
|
12
|
+
</horizontal>
|
13
|
+
<p>%displaytext%</p>
|
14
|
+
|
15
|
+
<table>
|
16
|
+
<row> <p align="right">File Name:</p> <text name="a_removeapplet"/> </row>
|
17
|
+
|
18
|
+
</table>
|
19
|
+
|
20
|
+
<p>%removeapplettext%</p>
|
21
|
+
<horizontal>
|
22
|
+
<button caption="remove applet" action="removeapplet"/>
|
23
|
+
<button caption="Cancel" action="main"/>
|
24
|
+
|
25
|
+
</horizontal>
|
26
|
+
<table>
|
27
|
+
<row> <p> </row>
|
28
|
+
<row> <p align="right">View the list of installation files </row>
|
29
|
+
|
30
|
+
</table>
|
31
|
+
<horizontal>
|
32
|
+
|
33
|
+
<button caption="List Files" action="listinstalledfiles"/>
|
34
|
+
|
35
|
+
</horizontal>
|
36
|
+
|
37
|
+
<p>%%filesresult%%</p>
|
38
|
+
|
39
|
+
</tab>
|
40
|
+
|
41
|
+
|
42
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<tab name="zipslister" caption="List Zips">
|
2
|
+
|
3
|
+
<table>
|
4
|
+
<row> <p align="right">File Name:</p> <text name="a_installapplet"/> </row>
|
5
|
+
|
6
|
+
</table>
|
7
|
+
|
8
|
+
<horizontal>
|
9
|
+
<button caption="install applet" action="installapplet"/>
|
10
|
+
<button caption="Cancel" action="main"/>
|
11
|
+
|
12
|
+
</horizontal>
|
13
|
+
<p>%installapplettext%</p>
|
14
|
+
|
15
|
+
|
16
|
+
<table>
|
17
|
+
<row> <p align="right">Click below to view the list of zip files </row>
|
18
|
+
|
19
|
+
</table>
|
20
|
+
|
21
|
+
<horizontal>
|
22
|
+
<button caption="List applets available for installing" action="listzipfilestoinstall"/>
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
</horizontal>
|
27
|
+
|
28
|
+
<p>%%zipslistresult%%</p>
|
29
|
+
|
30
|
+
</tab>
|
31
|
+
|
32
|
+
|
33
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
<helpwindow name="main" title="Help About">
|
@@ -0,0 +1 @@
|
|
1
|
+
<row> <p align="center">copyright s. gibson 2004</p></row>
|
@@ -0,0 +1 @@
|
|
1
|
+
<row> <p align="center">copyright s. gibson 2004</p></row>
|
data/init.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
#***********************************************************************
|
3
3
|
#* Rwd/Tinker -- A Ruby program for the RudyWebDialog.
|
4
|
-
#* Copyright (c) 2004
|
4
|
+
#* Copyright (c) 2004 by Steven Gibson. All Rights Reserved.
|
5
5
|
#*
|
6
6
|
#* This library is free software; you can redistribute it and/or
|
7
7
|
#* modify it under the terms of the GNU General Public
|
@@ -43,20 +43,7 @@ $progdir = File::expand_path( File.dirname(__FILE__))
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
end
|
46
|
-
|
47
|
-
a = Array.new(Dir[d].entries.sort)
|
48
|
-
#loop through and get the files names
|
49
|
-
a.each do |x|
|
50
|
-
#adjust the filters to the files you want to see...
|
51
|
-
if(!test(?d,x))
|
52
|
-
# only rwd files
|
53
|
-
if x =~ /rb|rwd|txt/
|
54
|
-
load x #opens the file thats in fileName and reads it
|
55
|
-
$tempdoc += $rwdguivar # adds the file into the doc string
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
46
|
+
|
60
47
|
|
61
48
|
# Read in the configuration files
|
62
49
|
|
@@ -72,8 +59,8 @@ $progdir = File::expand_path( File.dirname(__FILE__))
|
|
72
59
|
|
73
60
|
Dir.chdir($progdir) # change back to top program directory
|
74
61
|
|
75
|
-
# build the
|
76
|
-
startlangdir = @@langdir +"/" +
|
62
|
+
# build the Language hash file from the parts
|
63
|
+
startlangdir = @@langdir +"/" + $lang
|
77
64
|
#get a list of the files and subdirectories on the starting directory only
|
78
65
|
alanghash = Array.new(Dir[startlangdir].entries.sort)
|
79
66
|
#loop through the list, ignore the files and add all new directories found
|
@@ -106,62 +93,6 @@ $progdir = File::expand_path( File.dirname(__FILE__))
|
|
106
93
|
# END of Lang building
|
107
94
|
$tempdoc = " "
|
108
95
|
Dir.chdir($progdir) # change back to top program directory
|
109
|
-
|
110
|
-
# build the local Language hash file from the parts
|
111
|
-
startlangdir = @@langdir +"/" + $lang
|
112
|
-
#get a list of the files and subdirectories on the starting directory only
|
113
|
-
alanghash = Array.new(Dir[startlangdir].entries.sort)
|
114
|
-
#loop through the list, ignore the files and add all new directories found
|
115
|
-
alanghash.each do |x|
|
116
|
-
#if a directory...
|
117
|
-
if(test(?d,x))
|
118
|
-
# add to the original list of directories
|
119
|
-
@@tmproot = x + "/**"
|
120
|
-
#adds the new ones to the array
|
121
|
-
blanghash = Dir[@@tmproot].entries.sort
|
122
|
-
blanghash.each do |x|
|
123
|
-
if(test(?d,x))
|
124
|
-
alanghash.push(x) #appends to the end of the array...
|
125
|
-
end
|
126
|
-
end
|
127
|
-
end
|
128
|
-
end
|
129
|
-
alanghash.each do |x|
|
130
|
-
#if it is a file...
|
131
|
-
if(!test(?d,x))
|
132
|
-
alanghash.delete(x)
|
133
|
-
else #it is a directory...
|
134
|
-
findfiles(x + "/**")
|
135
|
-
end
|
136
|
-
end
|
137
|
-
|
138
|
-
filelocalLangHash=File.open(LocalLangHashFile,"w") #deletes and opens a the file in fileName
|
139
|
-
filelocalLangHash.write($tempdoc) #writes the contents of doc into the file
|
140
|
-
filelocalLangHash.close
|
141
|
-
|
142
|
-
$tempdoc = " "
|
143
|
-
|
144
|
-
Dir.chdir($progdir) # change back to top program directory
|
145
|
-
|
146
|
-
# build the language hash constant object from the lang parts
|
147
|
-
#get a list of the files in lang directory only
|
148
|
-
alangfile = Dir.new(@@langdir).entries.sort.reverse.delete_if { |x| ! (x =~ /rb$/) }
|
149
|
-
alangfile.length.times{
|
150
|
-
fileName = alangfile.pop
|
151
|
-
Dir.chdir($progdir)
|
152
|
-
Dir.chdir(@@langdir)
|
153
|
-
fileLangA=File.open("#{fileName}","r") #opens the file thats in fileName as read only
|
154
|
-
$tempdoc += fileLangA.read #reads the file into the doc string
|
155
|
-
fileLangA.close
|
156
|
-
}
|
157
|
-
|
158
|
-
Dir.chdir($progdir)
|
159
|
-
fileLangB=File.open(LangNameFile,"w") #deletes and opens a the file in fileName
|
160
|
-
fileLangB.write($tempdoc) #writes the contents of doc into the file
|
161
|
-
fileLangB.close
|
162
|
-
load LangNameFile # load the file
|
163
|
-
|
164
|
-
$tempdoc = " "
|
165
96
|
|
166
97
|
# build the actual program from the code parts
|
167
98
|
#get a list of the files and subdirectories on the starting directory only
|
@@ -220,7 +151,7 @@ Dir.chdir($progdir)
|
|
220
151
|
a.delete(x)
|
221
152
|
|
222
153
|
else #it is a directory...
|
223
|
-
|
154
|
+
findfiles(x + "/**")
|
224
155
|
end
|
225
156
|
end
|
226
157
|
|
@@ -1,8 +1,16 @@
|
|
1
1
|
# rwdwin2 - rwd applet in second window - core for Tinker: Applet adding/removing and Diagnostic tab
|
2
2
|
configuration/ab1tinkerwin2.cnf
|
3
3
|
code/xb1rwdtinkerbackwindow
|
4
|
-
gui/ll5rwdtinkerwin2selectiontab
|
5
|
-
gui/xb1rwdtinkerbackwindow
|
6
|
-
gui/uu6rwdtinkerwin2documents
|
7
|
-
gui/yg6rwdwin2helpabout
|
4
|
+
gui/en/ll5rwdtinkerwin2selectiontab
|
5
|
+
gui/en/xb1rwdtinkerbackwindow
|
6
|
+
gui/en/uu6rwdtinkerwin2documents
|
7
|
+
gui/en/yg6rwdwin2helpabout
|
8
|
+
gui/es/ll5rwdtinkerwin2selectiontab
|
9
|
+
gui/es/xb1rwdtinkerbackwindow
|
10
|
+
gui/es/uu6rwdtinkerwin2documents
|
11
|
+
gui/es/yg6rwdwin2helpabout
|
12
|
+
gui/nl/ll5rwdtinkerwin2selectiontab
|
13
|
+
gui/nl/xb1rwdtinkerbackwindow
|
14
|
+
gui/nl/uu6rwdtinkerwin2documents
|
15
|
+
gui/nl/yg6rwdwin2helpabout
|
8
16
|
rwd_files/HowTo_TinkerWin2.txt
|
@@ -1,16 +1,6 @@
|
|
1
1
|
# English Language files for RwdTinker core
|
2
2
|
|
3
|
-
|
3
|
+
:module_unknown => "Module unknown",
|
4
4
|
:applet_installed => "applet installed!.",
|
5
|
-
|
6
|
-
|
7
|
-
:help => '"Help"',
|
8
|
-
:module_unknown => "Module unknown",
|
9
|
-
:next => '"Next"',
|
10
|
-
:rwdtinker_window_2 => "RwdTinker Window 2",
|
11
|
-
:rwdtinker => "RwdTinker",
|
12
|
-
:rwdtinker_help_window => '"RwdTinker Help Window"',
|
13
|
-
:rwdtinker_back_window => '"RwdTinker Back Window"',
|
14
|
-
:rwdtinker_help => '"RwdTinker Help"',
|
15
|
-
:tinker_logo => "Tinker Logo",
|
16
|
-
:selection_panel => '"Selection Panel"',
|
5
|
+
|
6
|
+
|