The Trunk: GetText-tpr.44.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: GetText-tpr.44.mcz

commits-2
tim Rowledge uploaded a new version of GetText to project The Trunk:
http://source.squeak.org/trunk/GetText-tpr.44.mcz

==================== Summary ====================

Name: GetText-tpr.44
Author: tpr
Time: 28 December 2017, 12:45:54.870455 pm
UUID: e71e10c0-bcf7-4460-a555-aedcca4daa61
Ancestors: GetText-dtl.43

Use new file dialog for saving a language file

=============== Diff against GetText-dtl.43 ===============

Item was changed:
  ----- Method: LanguageEditor>>saveToFile (in category 'gui methods') -----
  saveToFile
  "save the translator to a file"
  | fileName |
+ fileName := UIManager default saveFilenameRequest: 'file name' translated initialAnswer: translator localeID isoString , '.translation'.
+ fileName
+ ifNil: [self beep.
- fileName := UIManager default request: 'file name' translated initialAnswer: translator localeID isoString , '.translation'.
- (fileName isNil
- or: [fileName isEmpty])
- ifTrue: [
- self beep.
  ^ self].
+ Cursor wait
+ showWhile: [self translator saveToFileNamed: fileName]!
-
- Cursor wait
- showWhile: [
- self translator saveToFileNamed: fileName]!