rwdtinker 1.4 → 1.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. data/code/al5languagefiles/templangfile.rb +6 -0
  2. data/code/lm1installapplets/ll5listzips.rb +14 -0
  3. data/code/lm1installapplets/lm1installapplet.rb +20 -0
  4. data/code/ssdiagnostictab/diagnostictab.rb +20 -0
  5. data/code/xb1rwdtinkerbackwindow/diagnostictab.rb +1 -2
  6. data/configuration/aa0rwdframework.cnf +3 -6
  7. data/configuration/ab1tinkerwin2.cnf +0 -1
  8. data/gui/en/aa2core/aa0rwdtop.rwd +3 -0
  9. data/gui/en/cc0viewphoto/cc0openphoto.rwd +17 -0
  10. data/gui/en/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  11. data/gui/en/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  12. data/gui/en/lz1selectiontabend/endselectiontab.rwd +1 -0
  13. data/gui/en/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  14. data/gui/{uu5rwddocuments → en/uu5rwddocuments}/uu5documents.rwd +7 -9
  15. data/gui/{uu6rwdtinkerwin2documents → en/uu6rwdtinkerwin2documents}/uu5documents.rwd +2 -4
  16. data/gui/en/ww0documentsend/ww0documentend.rwd +6 -0
  17. data/gui/en/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  18. data/gui/{xa1versionwindow → en/xa1versionwindow}/1appname.rwd +2 -4
  19. data/gui/en/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  20. data/gui/en/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  21. data/gui/en/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  22. data/gui/en/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  23. data/gui/en/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  24. data/gui/en/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  25. data/gui/en/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  26. data/gui/en/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  27. data/gui/en/xx9photoview/xx9photoview.rwd +3 -0
  28. data/gui/en/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  29. data/gui/en/yg5rwdhelpabout/1appname.rwd +2 -0
  30. data/gui/en/yg5rwdhelpabout/3copyright.rwd +1 -0
  31. data/gui/en/yg5rwdhelpabout/5version.rwd +9 -0
  32. data/gui/en/yg6rwdwin2helpabout/1appname.rwd +2 -0
  33. data/gui/en/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  34. data/gui/en/yg6rwdwin2helpabout/5version.rwd +9 -0
  35. data/gui/en/za1applicationend/yy9rwdend.rwd +2 -0
  36. data/gui/es/aa2core/aa0rwdtop.rwd +3 -0
  37. data/gui/es/cc0viewphoto/cc0openphoto.rwd +17 -0
  38. data/gui/es/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  39. data/gui/es/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  40. data/gui/es/lz1selectiontabend/endselectiontab.rwd +1 -0
  41. data/gui/es/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  42. data/gui/es/uu5rwddocuments/uu5documents.rwd +13 -0
  43. data/gui/es/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  44. data/gui/es/ww0documentsend/ww0documentend.rwd +6 -0
  45. data/gui/es/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  46. data/gui/es/xa1versionwindow/1appname.rwd +17 -0
  47. data/gui/es/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  48. data/gui/es/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  49. data/gui/es/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  50. data/gui/es/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  51. data/gui/es/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  52. data/gui/es/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  53. data/gui/es/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  54. data/gui/es/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  55. data/gui/es/xx9photoview/xx9photoview.rwd +3 -0
  56. data/gui/es/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  57. data/gui/es/yg5rwdhelpabout/1appname.rwd +2 -0
  58. data/gui/es/yg5rwdhelpabout/3copyright.rwd +1 -0
  59. data/gui/es/yg5rwdhelpabout/5version.rwd +9 -0
  60. data/gui/es/yg6rwdwin2helpabout/1appname.rwd +2 -0
  61. data/gui/es/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  62. data/gui/es/yg6rwdwin2helpabout/5version.rwd +9 -0
  63. data/gui/es/za1applicationend/yy9rwdend.rwd +2 -0
  64. data/gui/nl/aa2core/aa0rwdtop.rwd +3 -0
  65. data/gui/nl/cc0viewphoto/cc0openphoto.rwd +17 -0
  66. data/gui/nl/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  67. data/gui/nl/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  68. data/gui/nl/lz1selectiontabend/endselectiontab.rwd +1 -0
  69. data/gui/nl/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  70. data/gui/nl/uu5rwddocuments/uu5documents.rwd +13 -0
  71. data/gui/nl/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  72. data/gui/nl/ww0documentsend/ww0documentend.rwd +6 -0
  73. data/gui/nl/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  74. data/gui/nl/xa1versionwindow/1appname.rwd +17 -0
  75. data/gui/nl/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  76. data/gui/nl/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  77. data/gui/nl/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  78. data/gui/nl/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  79. data/gui/nl/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  80. data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  81. data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  82. data/gui/nl/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  83. data/gui/nl/xx9photoview/xx9photoview.rwd +3 -0
  84. data/gui/nl/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  85. data/gui/nl/yg5rwdhelpabout/1appname.rwd +2 -0
  86. data/gui/nl/yg5rwdhelpabout/3copyright.rwd +1 -0
  87. data/gui/nl/yg5rwdhelpabout/5version.rwd +9 -0
  88. data/gui/nl/yg6rwdwin2helpabout/1appname.rwd +2 -0
  89. data/gui/nl/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  90. data/gui/nl/yg6rwdwin2helpabout/5version.rwd +9 -0
  91. data/gui/nl/za1applicationend/yy9rwdend.rwd +2 -0
  92. data/init.rb +5 -74
  93. data/installed/rwdtinkerwin2-0.5.inf +12 -4
  94. data/installed/rwdviewphoto-0.3.inf +9 -0
  95. data/lang/en/rwdcore/languagefile.rb +3 -13
  96. data/lang/es/rwdcore/languagefile.rb +4 -0
  97. data/lang/nl/rwdcore/{languagefile-nl.rb → languagefile.rb} +1 -1
  98. data/rwd_files/HowTo_Tinker.html +370 -0
  99. data/rwd_files/HowTo_Tinker.txt +0 -32
  100. data/tests/rubyslippers-0.92.gemspec +17 -0
  101. data/tests/rwdtinker-1.2.gemspec +17 -0
  102. data/tests/rwdtinkertestEN.rb +87 -0
  103. data/tests/temptest.out +18 -0
  104. data/zips/rwdaviewphoto-0.3.zip +0 -0
  105. data/zips/{rwdhelloworld-0.3.zip → rwdhelloworld-0.2.zip} +0 -0
  106. data/zips/rwdrefreshacpi-0.1.zip +0 -0
  107. data/zips/rwdwtinkerwin2-0.5.zip +0 -0
  108. metadata +105 -43
  109. data/gui/aa2core/aa0rwdtop.rwd +0 -4
  110. data/gui/cc0viewphoto/cc0openphoto.rwd +0 -17
  111. data/gui/ll1selectiontabbegin/selectiontabbegin.rwd +0 -16
  112. data/gui/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +0 -12
  113. data/gui/lz1selectiontabend/endselectiontab.rwd +0 -3
  114. data/gui/tt0documentsbegin/tt0documentbegin.rwd +0 -6
  115. data/gui/ww0documentsend/ww0documentend.rwd +0 -7
  116. data/gui/wz6finaltabs/xx0rwdfirsttab.rwd +0 -6
  117. data/gui/xa5rwdtinkercallablewindow/1appname.rwd +0 -17
  118. data/gui/xa5rwdtinkercallablewindow/9end.rwd +0 -4
  119. data/gui/xb1rwdtinkerbackwindow/1appname.rwd +0 -5
  120. data/gui/xb1rwdtinkerbackwindow/2tab1.rwd +0 -11
  121. data/gui/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +0 -33
  122. data/gui/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +0 -44
  123. data/gui/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +0 -35
  124. data/gui/xb1rwdtinkerbackwindow/9backend.rwd +0 -6
  125. data/gui/ya1helpaboutbegin/ya0helpscreenstart.rwd +0 -3
  126. data/gui/yg5rwdhelpabout/1appname.rwd +0 -4
  127. data/gui/yg5rwdhelpabout/3copyright.rwd +0 -3
  128. data/gui/yg5rwdhelpabout/5version.rwd +0 -10
  129. data/gui/yg6rwdwin2helpabout/1appname.rwd +0 -4
  130. data/gui/yg6rwdwin2helpabout/3copyright.rwd +0 -3
  131. data/gui/yg6rwdwin2helpabout/5version.rwd +0 -10
  132. data/gui/yy5helpaboutend/helpscreenend.rwd +0 -3
  133. data/gui/za1applicationend/yy9rwdend.rwd +0 -4
  134. data/installed/rwdviewlogo-0.4.inf +0 -4
  135. data/lang/es/rwdcore/languagefile-es.rb +0 -14
  136. data/lang/templangfile.rb +0 -3
  137. data/lang/wlocallangstart.rb +0 -5
  138. data/lang/xlocallangfile.rb +0 -3
  139. data/lang/zlocallangend.rb +0 -2
  140. data/zips/rwdwshell-0.91.zip +0 -0
  141. data/zips/wrubyslippers-0.93.zip +0 -0
  142. /data/{lang → code/al5languagefiles}/alanguagehashbegin.rb +0 -0
  143. /data/{lang → code/al5languagefiles}/languagehash.rb +0 -0
  144. /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,5 @@
1
+
2
+ </tabs>
3
+ </window>
4
+
5
+
@@ -0,0 +1,3 @@
1
+ <window name="photo" title="Frames">
2
+ <image src="tinker.png"> frames </image>
3
+ </window>
@@ -0,0 +1 @@
1
+ <helpwindow name="main" title="Help About">
@@ -0,0 +1,2 @@
1
+
2
+ <row> <p align="center">rwdtinker</p></row>
@@ -0,0 +1 @@
1
+ <row> <p align="center">copyright s. gibson 2004</p></row>
@@ -0,0 +1,9 @@
1
+
2
+ <horizontal>
3
+ <button caption="Click for Version" action="runrwdtinkerversion"/>
4
+ </horizontal>
5
+
6
+
7
+
8
+
9
+
@@ -0,0 +1,2 @@
1
+
2
+ <row> <p align="center">rwdtinker window 2</p></row>
@@ -0,0 +1 @@
1
+ <row> <p align="center">copyright s. gibson 2004</p></row>
@@ -0,0 +1,9 @@
1
+
2
+ <horizontal>
3
+ <button caption="Click for Version" action="runrwdtinkerwin2version"/>
4
+ </horizontal>
5
+ <p>%rwdtinkerwin2versiondisplay%</p>
6
+
7
+
8
+
9
+
@@ -0,0 +1,2 @@
1
+ </application>
2
+
@@ -0,0 +1,3 @@
1
+ <application>
2
+ <window name="main" title="Tinker - RubyWebDialogs">
3
+ <tabs>
@@ -0,0 +1,17 @@
1
+
2
+
3
+
4
+ <tab name="View frames" caption="Tinker">
5
+
6
+ <table>
7
+ <row> <p align="right">Tinker </row>
8
+
9
+ </table>
10
+ <horizontal>
11
+
12
+ <button caption="View Photo" action="viewphoto"/>
13
+
14
+
15
+ </horizontal>
16
+
17
+ </tab>
@@ -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,11 @@
1
+
2
+ <row> <p></row>
3
+
4
+ <horizontal>
5
+
6
+ <button caption="RwdTinker Back Window" action="runrwdtinkerbackwindow"/>
7
+
8
+
9
+ </horizontal>
10
+
11
+
@@ -0,0 +1 @@
1
+ </tab>
@@ -0,0 +1,5 @@
1
+
2
+ <tab name="one" caption="Documents">
3
+ <horizontal>
4
+ <table>
5
+
@@ -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,4 @@
1
+ <row> <p align="left">
2
+ <a href=HowTo_TinkerWin2.txt>Howto_TinkerWin2.txt</a></p></row>
3
+
4
+
@@ -0,0 +1,6 @@
1
+
2
+ <row> <p align="left"><a href=.>Spawn a clone Dialog window</a></p></row>
3
+ </table>
4
+ </horizontal>
5
+ </tab>
6
+
@@ -0,0 +1,4 @@
1
+ </tabs>
2
+ </window>
3
+
4
+
@@ -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,4 @@
1
+
2
+ </window>
3
+
4
+
@@ -0,0 +1,3 @@
1
+ <window name = "tinkerbackwindow" title="Tinker Back Window">
2
+
3
+ <tabs>
@@ -0,0 +1,9 @@
1
+ <tab name="backone" caption="Back Tab">
2
+
3
+ <row> You can return to the previous window</row>
4
+ <row><p> </row>
5
+ <row><p> </row>
6
+ <button caption="Return to top menu" action="main"/>
7
+
8
+ </tab>
9
+
@@ -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,5 @@
1
+
2
+ </tabs>
3
+ </window>
4
+
5
+
@@ -0,0 +1,3 @@
1
+ <window name="photo" title="Frames">
2
+ <image src="tinker.png"> frames </image>
3
+ </window>
@@ -0,0 +1 @@
1
+ <helpwindow name="main" title="Help About">
@@ -0,0 +1,2 @@
1
+
2
+ <row> <p align="center">rwdtinker</p></row>
@@ -0,0 +1 @@
1
+ <row> <p align="center">copyright s. gibson 2004</p></row>
@@ -0,0 +1,9 @@
1
+
2
+ <horizontal>
3
+ <button caption="Click for Version" action="runrwdtinkerversion"/>
4
+ </horizontal>
5
+
6
+
7
+
8
+
9
+
@@ -0,0 +1,2 @@
1
+
2
+ <row> <p align="center">rwdtinker window 2</p></row>
@@ -0,0 +1 @@
1
+ <row> <p align="center">copyright s. gibson 2004</p></row>
@@ -0,0 +1,9 @@
1
+
2
+ <horizontal>
3
+ <button caption="Click for Version" action="runrwdtinkerwin2version"/>
4
+ </horizontal>
5
+ <p>%rwdtinkerwin2versiondisplay%</p>
6
+
7
+
8
+
9
+
@@ -0,0 +1,2 @@
1
+ </application>
2
+
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, 2005 by Steven Gibson. All Rights Reserved.
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
- def loadguifile(d)
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 English Language hash file from the parts
76
- startlangdir = @@langdir +"/" + "en"
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
- loadguifile(x + "/**")
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
@@ -0,0 +1,9 @@
1
+ # rwdphoto - small applet to display one picture
2
+ code/dd0viewphoto
3
+ gui/en/cc0viewphoto
4
+ gui/en/xx9photoview
5
+ gui/es/cc0viewphoto
6
+ gui/es/xx9photoview
7
+ gui/nl/cc0viewphoto
8
+ gui/nl/xx9photoview
9
+ rwd_files/tinker.png
@@ -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
- :clickfor_version => '"click for version"',
6
- :documents => '"Documents"',
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
+
@@ -0,0 +1,4 @@
1
+ :module_unknown => "Module desconocido.",
2
+ :applet_installed => "applet instalado! ",
3
+
4
+
@@ -1,4 +1,4 @@
1
1
  :module_unknown => "Module unknown",
2
- :applet_installed => "applet installed!"
2
+ :applet_installed => "applet installed!",
3
3
 
4
4