[Gambas-user] Bug in 0.93 ide

Fabien Bodard abidoo.too at ...11...
Sun May 16 15:06:00 CEST 2004


Bug :

The properties form crash at opening...


Error line : 92

FOR EACH sLang IN Dir(File.Dir(Project.Path) &/ ".lang", "*.po")   ===> 
Directory not exist

Correction :

    Change  :
    FOR EACH sLang IN Dir(File.Dir(Project.Path) &/ ".lang", "*.po")
      lstTranslation.Add(Language.ToName(File.BaseName(sLang)))
    NEXT  


by :


  IF Exist(File.Dir(Project.Path) &/ ".lang") THEN
    FOR EACH sLang IN Dir(File.Dir(Project.Path) &/ ".lang", "*.po")
      lstTranslation.Add(Language.ToName(File.BaseName(sLang)))
    NEXT  
  ENDIF


Fabien Bodard




More information about the User mailing list