The Trunk: GetText-ul.41.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-ul.41.mcz

commits-2
Levente Uzonyi uploaded a new version of GetText to project The Trunk:
http://source.squeak.org/trunk/GetText-ul.41.mcz

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

Name: GetText-ul.41
Author: ul
Time: 27 February 2017, 2:09:25.828444 am
UUID: a5562ee7-7751-4503-92e7-c94a4999b222
Ancestors: GetText-tfel.40

- omit ifAbsent from #index* sends when the default value, 0 would used

=============== Diff against GetText-tfel.40 ===============

Item was changed:
  ----- Method: LanguageEditor>>selectNewerKeys (in category 'gui methods') -----
  selectNewerKeys
 
- | index |
  self deselectAllTranslation.
+ newerKeys do: [ :k |
+ | index |
+ (index := self translations indexOf: k) > 0 ifTrue: [
+ self selectedTranslationsAt: index put: true ] ]
- newerKeys do: [:k |
- index := self translations indexOf: k ifAbsent: [0].
- index > 0 ifTrue: [
- self selectedTranslationsAt: index put: true
- ].
- ].
  !