*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Sat, 18 Oct 2008 11:51:12 +0200
changeset 2419 e71445e7174c
parent 2418 05e2b9049f24
child 2420 14678b9fea60
*** empty log message ***
Tools__InternationalLanguageTranslationEditor.st
--- a/Tools__InternationalLanguageTranslationEditor.st	Wed Oct 15 17:55:59 2008 +0200
+++ b/Tools__InternationalLanguageTranslationEditor.st	Sat Oct 18 11:51:12 2008 +0200
@@ -1469,10 +1469,19 @@
 !
 
 requestPackage
-    |package|
+    |package allProjects projectsWithResources|
+
+    allProjects := Smalltalk allProjectIDs.
+    projectsWithResources := allProjects
+                                select:[:pID |
+                                    |dir|    
+                                    dir := Smalltalk projectDirectoryForPackage:pID.    
+                                    (dir asFilename construct:'resources') exists    
+                                ].
 
     package := Dialog
         requestProject:(resources string:'Name of Package:') 
+        from:projectsWithResources
         initialAnswer:LastProject 
         suggestions:nil.