[squeak-dev] The Inbox: System-ct.1374.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Nov 19 15:38:31 UTC 2022


A new version of System was added to project The Inbox:
http://source.squeak.org/inbox/System-ct.1374.mcz

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

Name: System-ct.1374
Author: ct
Time: 19 November 2022, 4:38:24.247392 pm
UUID: 24c7f156-4cfc-7b43-8110-31c482fa909e
Ancestors: System-ct.1372

Fixes formatting of greeting message when entering author initials. Commonly, punctuation marks after a word should have the same bold emphasis as the word before.

=============== Diff against System-ct.1372 ===============

Item was changed:
  ----- Method: Utilities class>>setAuthorInitials (in category 'identification') -----
  setAuthorInitials
  	"Put up a dialog allowing the user to specify the author's initials. Inform the user about collisions with known contributors. See SystemNavigation class >> #authors. "
  
  	| newInitials newName |
  	newInitials := Project uiManager
  		request: 'Please type your initials:' translated
  		initialAnswer: AuthorInitials.
  	newInitials ifEmpty: [^ self "No Change"].
  
  	(SystemNavigation authorsInverted at: newInitials ifPresent: [:existingNames |
  		newName := existingNames sorted joinSeparatedBy: '/'.
  
+ 	(self confirm: ('Hello, <b>{1}!!</b> :-)<br><br>Our <a href="code://{3}">list of known contributors</{4}> associates the initials you have entered with this name. If this is not you, please consider alternative initials, preferably more than just a few characters, to avoid collisions.<br><br>Do you want to use these author initials?<br><br>	<b>{2}</b>' translated format: {
- 	(self confirm: ('Hello, <b>{1}</b>!! :-)<br><br>Our <a href="code://{3}">list of known contributors</{4}> associates the initials you have entered with this name. If this is not you, please consider alternative initials, preferably more than just a few characters, to avoid collisions.<br><br>Do you want to use these author initials?<br><br>	<b>{2}</b>' translated format: {
  		newName ifNil: [newInitials].
  		newInitials.
  		'SystemReporter open model categoryAt: 1 put: true'.
  		"mt: Avoid triggering the Windows Defender. See http://lists.squeakfoundation.org/pipermail/squeak-dev/2021-December/217346.html"
  		'a' }) asTextFromHtml) ] ifAbsent: [true])
  			ifTrue: [self authorInitials: newInitials].!



More information about the Squeak-dev mailing list