<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hi Marcel,</p>
<p><br>
</p>
<p>would this fix be okay for you?</p>
<p><br>
</p>
<p>And was it a deliberate decision not to add multilingual support to the system reporter or has it just been forgotten? :-)</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von commits@source.squeak.org <commits@source.squeak.org><br>
<b>Gesendet:</b> Donnerstag, 7. April 2022 17:57:06<br>
<b>An:</b> squeak-dev@lists.squeakfoundation.org<br>
<b>Betreff:</b> [squeak-dev] The Inbox: SystemReporter-ct.62.mcz</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">A new version of SystemReporter was added to project The Inbox:<br>
<a href="http://source.squeak.org/inbox/SystemReporter-ct.62.mcz">http://source.squeak.org/inbox/SystemReporter-ct.62.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: SystemReporter-ct.62<br>
Author: ct<br>
Time: 7 April 2022, 5:57:05.904555 pm<br>
UUID: 9807e6b3-6613-374c-ab14-5f055f8e750d<br>
Ancestors: SystemReporter-ct.61<br>
<br>
Fixes "image locale" report when the new preference for compressed sources is turned on.<br>
<br>
=============== Diff against SystemReporter-ct.61 ===============<br>
<br>
Item was changed:<br>
  ----- Method: SystemReporter>>reportImageLocale: (in category 'reporting') -----<br>
  reportImageLocale: aStream<br>
         <br>
         | imageLocale platformLocale |<br>
         imageLocale := Locale current.<br>
         platformLocale := Locale currentPlatform.<br>
         <br>
         self header: 'Image Locale Information' on: aStream.<br>
         aStream<br>
                 nextPutAll: '   Locale ID: ', imageLocale localeID; cr;<br>
                 nextPutAll: '  Translator: ', imageLocale languageTranslator; cr;<br>
                 nextPutAll: ' Environment: ', imageLocale languageEnvironment class; nextPutAll: ' (see languages below)'; cr;<br>
                 nextPutAll: 'Leading char: ', imageLocale leadingChar; nextPutAll: ' (ie. tag in characters)'; cr.<br>
         <br>
         aStream cr.<br>
         self header: 'Image Default Language(s)' on: aStream.<br>
         aStream<br>
                 nextPutAll: (imageLocale languageEnvironment class supportedLanguageNames sorted joinSeparatedBy: ', '); cr;<br>
                 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.<br>
         <br>
         aStream cr.<br>
         self header: 'Data Interpretation and Conversion' on: aStream.<br>
         <br>
         aStream<br>
+                nextPutAll: '   Source code: ',<br>
+                        (SourceFiles<br>
+                                "Some source files, e.g., CompressedSources, do not have a converter"<br>
+                                detect: [:file | file respondsTo: #converter]<br>
+                                ifFound: [:file | file converter class]<br>
+                                ifNone: ['(none)' translated]);<br>
+                nextPutAll: ' (ie. .sources .changes .cs .st)'; cr;<br>
-                nextPutAll: '   Source code: ', SourceFiles anyOne converter class; nextPutAll: ' (ie. .sources .changes .cs .st)'; cr;<br>
                 nextPutAll: ' Platform data: ',  platformLocale systemConverter class; nextPutAll: ' (aka. #systemConverter)'; cr;<br>
                 nextPutAll: '    File names: ',  platformLocale fileNameConverter class; nextPutAll: ' (ie. no content but paths)'; cr;<br>
                 nextPutAll: '    User input: ', platformLocale inputInterpreter class; cr;<br>
                 nextPutAll: 'Clipboard data: ', platformLocale clipboardInterpreter class; cr.<br>
  <br>
         aStream cr.<br>
         self header: 'Platform Locale Information' on: aStream.<br>
  <br>
         aStream<br>
                 nextPutAll: '          Locale ID: ', platformLocale localeID; cr;<br>
                 nextPutAll: '    Currency symbol: ', platformLocale fetchCurrencySymbol;<br>
                         nextPutAll: (platformLocale primCurrencyNotation ifTrue: ['  (prefix)'] ifFalse: [' (postfix)']); cr;<br>
                 nextPutAll: ('            Numbers: 1{1}234{2}56'<br>
                         format: { platformLocale primDigitGrouping. platformLocale primDecimalSymbol}); cr;<br>
                 nextPutAll: '        Measurement: ', (platformLocale primMeasurement ifTrue: ['metric'] ifFalse: ['imperial']); cr;<br>
                 nextPutAll: '           Timezone: UTC', (platformLocale primTimezone >= 0 ifTrue: ['+']), (platformLocale primTimezone / 60);
<br>
                         nextPutAll: (platformLocale primDST ifTrue: [' (daylight saving time)'] ifFalse: ['']); cr;<br>
                 nextPutAll: '        Time format: ', platformLocale primTimeFormat; cr;<br>
                 nextPutAll: '(Short) Date format: ', platformLocale primShortDateFormat; cr;
<br>
                 nextPutAll: ' (Long) Date format: ', platformLocale primLongDateFormat; cr;
<br>
                 cr.!<br>
<br>
<br>
</div>
</span></font>
</body>
</html>