The Trunk: System-mt.868.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: System-mt.868.mcz

commits-2
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.868.mcz

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

Name: System-mt.868
Author: mt
Time: 5 August 2016, 10:23:34.104358 am
UUID: 581dff6a-09b1-fb49-9dda-cc569326f2db
Ancestors: System-mt.867

Improve wording to not use "theme" for sets of preferences anymore to not confuse the user in the face of the new UI themes.

(Yes, UI themes could, theoretically, store any preference. This is just a minor trade-off for now.)

=============== Diff against System-mt.867 ===============

Item was changed:
  ----- Method: Preferences class>>offerThemesMenu (in category 'themes - tools') -----
  offerThemesMenu
  "Put up a menu offering the user a choice of themes.  Each theme is represented by a method in category #themes in Preferences class.  The comment at the front of each method is used as the balloon help for the theme"
 
  "Preferences offerThemesMenu"
  | selectors aMenu |
  selectors := self class allMethodsInCategory: #themes.
  selectors := selectors select: [:sel | sel numArgs = 0].
  aMenu := MenuMorph new defaultTarget: self.
+ aMenu addTitle: 'Choose a set of preferences to install' translated.
- aMenu addTitle: 'Choose a theme to install' translated.
  selectors do:
  [:sel |
  aMenu add: sel target: self selector: #installTheme: argument: sel.
  aMenu balloonTextForLastItem: (self class firstCommentAt: sel)].
  aMenu addLine.
+ aMenu add: 'browse details...' translated target: self action: #browseThemes.
+ aMenu balloonTextForLastItem: 'Puts up a tool that will allow you to view and edit the code underlying all of the available preference sets' translated.
- aMenu add: 'browse themes' translated target: self action: #browseThemes.
- aMenu balloonTextForLastItem: 'Puts up a tool that will allow you to view and edit the code underlying all of the available themes' translated.
  aMenu popUpInWorld.
  "(Workspace new contents: 'here is an example of a new window with your new theme installed' translated) openLabel: 'Testing one two three'"!