Skip to content

Commit

Permalink
Changed to use default font settings when a non-existing locale was s…
Browse files Browse the repository at this point in the history
…pcified.
  • Loading branch information
EiichiroIto committed Jan 11, 2023
1 parent ad3ad1c commit 90b97d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ setLocale: aString
fr := ('locale/' , aString , '.po') asFileReference.
fr isFile
ifFalse: [ self current: nil.
GraphicFontSettings setFontsToStyleNamed: #medium.
GraphicFontSettings resetAllFontToDefault.
^ aString = 'en' ].
tr := self new.
tr readFrom: fr readStream.
Expand Down

0 comments on commit 90b97d0

Please sign in to comment.