Smalltalk.st
branchjv
changeset 20342 219a5a47e8b1
parent 20210 b265371d06f7
parent 20294 dc408807328e
child 20579 9add81aadb7a
equal deleted inserted replaced
20248:34ed3b6c7307 20342:219a5a47e8b1
  6875     "Modified: 11.12.1995 / 14:51:10 / cg"
  6875     "Modified: 11.12.1995 / 14:51:10 / cg"
  6876 !
  6876 !
  6877 
  6877 
  6878 constructPathFor:aDirectoryName
  6878 constructPathFor:aDirectoryName
  6879     "search for aDirectory in SystemPath;
  6879     "search for aDirectory in SystemPath;
  6880      return a collection of pathes which include that directory."
  6880      return a collection of paths which include that directory."
  6881 
  6881 
  6882     ^ self realSystemPath select:[:dirName |
  6882     ^ self realSystemPath select:[:dirName |
  6883 	|fullPath|
  6883         |fullPath|
  6884 
  6884 
  6885 	fullPath := dirName asFilename construct:aDirectoryName.
  6885         fullPath := dirName asFilename construct:aDirectoryName.
  6886 	"/ fullPath exists and:[fullPath isDirectory and:[fullPath isReadable]]
  6886         "/ fullPath exists and:[fullPath isDirectory and:[fullPath isReadable]]
  6887 	fullPath isDirectory and:[fullPath isReadable]
  6887         fullPath isDirectory and:[fullPath isReadable]
  6888     ].
  6888     ].
  6889 !
  6889 !
  6890 
  6890 
  6891 fileInFileStreamFor:aFileName
  6891 fileInFileStreamFor:aFileName
  6892     "obsolete
  6892     "obsolete
  8344     ] ifFalse:[ (lang == #it) ifTrue:[
  8344     ] ifFalse:[ (lang == #it) ifTrue:[
  8345         proto := 'Ciao, benvenuto al %1 (%4versione %2 di %3)'
  8345         proto := 'Ciao, benvenuto al %1 (%4versione %2 di %3)'
  8346     ] ifFalse:[ (lang == #es) ifTrue:[
  8346     ] ifFalse:[ (lang == #es) ifTrue:[
  8347         proto := 'Hola, bienvenida a %1 (%4version %2 de %3)'
  8347         proto := 'Hola, bienvenida a %1 (%4version %2 de %3)'
  8348     ] ifFalse:[ (lang == #pt) ifTrue:[
  8348     ] ifFalse:[ (lang == #pt) ifTrue:[
  8349         proto := 'Olá!!, mem-vindo a %1 (%4version %2 de %3)'
  8349         proto := 'Ol!!, mem-vindo a %1 (%4version %2 de %3)'
  8350     ] ifFalse:[ (lang == #no) ifTrue:[
  8350     ] ifFalse:[ (lang == #no) ifTrue:[
  8351         proto := 'Hei, verdenmottakelse til %1 (%4versjon %2 av %3)'
  8351         proto := 'Hei, verdenmottakelse til %1 (%4versjon %2 av %3)'
  8352     ]]]]]].
  8352     ]]]]]].
  8353 
  8353 
  8354     "/ ... more needed here ...
  8354     "/ ... more needed here ...