[squeak-dev] The Trunk: SystemReporter-mt.59.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Mar 11 10:38:47 UTC 2022


Marcel Taeumel uploaded a new version of SystemReporter to project The Trunk:
http://source.squeak.org/trunk/SystemReporter-mt.59.mcz

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

Name: SystemReporter-mt.59
Author: mt
Time: 11 March 2022, 11:38:45.856685 am
UUID: a2abf3e2-3fd2-7649-8fff-b173299a61dd
Ancestors: SystemReporter-mt.58

Complements System-mt.1323

=============== Diff against SystemReporter-mt.58 ===============

Item was changed:
  ----- Method: SystemReporter>>reportImageLocale: (in category 'reporting') -----
  reportImageLocale: aStream
  	
  	| imageLocale platformLocale |
  	imageLocale := Locale current.
  	platformLocale := Locale currentPlatform.
  	
  	self header: 'Image Locale Information' on: aStream.
  	aStream
  		nextPutAll: '   Locale ID: ', imageLocale localeID; cr;
  		nextPutAll: '  Translator: ', imageLocale languageTranslator; cr;
  		nextPutAll: ' Environment: ', imageLocale languageEnvironment class; nextPutAll: ' (see languages below)'; cr;
  		nextPutAll: 'Leading char: ', imageLocale leadingChar; nextPutAll: ' (ie. tag in characters)'; cr.
  	
  	aStream cr.
  	self header: 'Image Default Language(s)' on: aStream.
  	aStream
  		nextPutAll: (imageLocale languageEnvironment class supportedLanguageNames sorted joinSeparatedBy: ', '); cr;
  		cr; nextPutAll: '(These languages belong to the same category when Squeak uses the environment or leading char above to derive rules for language-specific text composition and display. Strings are not limited to this default. See LanguageEnvironment and its subclasses.)'; cr.
  	
  	aStream cr.
  	self header: 'Data Interpretation and Conversion' on: aStream.
  	
  	aStream
  		nextPutAll: '   Source code: ', SourceFiles anyOne converter class; nextPutAll: ' (ie. .sources .changes .cs .st)'; cr;
  		nextPutAll: ' Platform data: ',  platformLocale systemConverter class; nextPutAll: ' (aka. #systemConverter)'; cr;
  		nextPutAll: '    File names: ',  platformLocale fileNameConverter class; nextPutAll: ' (ie. no content but paths)'; cr;
  		nextPutAll: '    User input: ', platformLocale inputInterpreter class; cr;
  		nextPutAll: 'Clipboard data: ', platformLocale clipboardInterpreter class; cr.
  
  	aStream cr.
  	self header: 'Platform Locale Information' on: aStream.
  
  	aStream
  		nextPutAll: '          Locale ID: ', platformLocale localeID; cr;
+ 		nextPutAll: '    Currency symbol: ', platformLocale fetchCurrencySymbol;
- 		nextPutAll: '    Currency symbol: ', platformLocale primCurrencySymbol;
  			nextPutAll: (platformLocale primCurrencyNotation ifTrue: ['  (prefix)'] ifFalse: [' (postfix)']); cr;
  		nextPutAll: ('            Numbers: 1{1}234{2}56'
  			format: { platformLocale primDigitGrouping. platformLocale primDecimalSymbol}); cr;
  		nextPutAll: '        Measurement: ', (platformLocale primMeasurement ifTrue: ['metric'] ifFalse: ['imperial']); cr;
  		nextPutAll: '           Timezone: UTC', (platformLocale primTimezone >= 0 ifTrue: ['+']), (platformLocale primTimezone / 60); 
  			nextPutAll: (platformLocale primDST ifTrue: [' (daylight saving time)'] ifFalse: ['']); cr;
  		nextPutAll: '        Time format: ', platformLocale primTimeFormat; cr;
  		nextPutAll: '(Short) Date format: ', platformLocale primShortDateFormat; cr; 
  		nextPutAll: ' (Long) Date format: ', platformLocale primLongDateFormat; cr; 
  		cr.!



More information about the Squeak-dev mailing list