[squeak-dev] The Trunk: GetText-ul.41.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Feb 27 01:09:31 UTC 2017


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
- 		].
- 	].
  !



More information about the Squeak-dev mailing list