The Inbox: PreferenceBrowser-ct.98.mcz

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

The Inbox: PreferenceBrowser-ct.98.mcz

commits-2
Christoph Thiede uploaded a new version of PreferenceBrowser to project The Inbox:
http://source.squeak.org/inbox/PreferenceBrowser-ct.98.mcz

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

Name: PreferenceBrowser-ct.98
Author: ct
Time: 31 December 2019, 2:46:27.747022 am
UUID: 7843a000-fb85-a745-8df7-ed5b9b885018
Ancestors: PreferenceBrowser-mt.97

Fix serious translation issues in PreferenceBrowser

=============== Diff against PreferenceBrowser-mt.97 ===============

Item was changed:
  ----- Method: PreferenceBrowserMorph>>defaultButton (in category 'submorphs - buttons') -----
  defaultButton
+
+ ^ defaultButton ifNil: [defaultButton :=
+ self basicButton
+ label: 'default' translated;
+ action: #defaultSelected;
+ setBalloonText: 'Click here to reset all the preferences to their standard default values.' translated]!
- ^defaultButton ifNil:
- [defaultButton := self basicButton
- label: 'default' translated;
- action: #defaultSelected;
- setBalloonText:
- 'Click here to reset all the preferences to their standard ',
- 'default values.' translated]!

Item was changed:
  ----- Method: PreferenceBrowserMorph>>helpButton (in category 'submorphs - buttons') -----
  helpButton
+
+ ^ helpButton ifNil: [helpButton :=
+ self basicButton
+ label: 'help' translated;
+ setBalloonText: 'Click here to get some hints on use of this Preferences Panel' translated;
+ action: #helpSelected]!
- ^helpButton ifNil:
- [helpButton := self basicButton
- label: 'help' translated;
- setBalloonText:
- 'Click here to get some hints on use of this Preferences ',
- 'Panel' translated;
- action: #helpSelected]!

Item was changed:
  ----- Method: PreferenceBrowserMorph>>loadButton (in category 'submorphs - buttons') -----
  loadButton
+
+ ^ loadButton ifNil: [loadButton :=
+ self basicButton
+ label: 'load' translated;
+ action: #loadSelected;
+ setBalloonText: 'Click here to reset all the preferences to their values in your Personal Preferences.' translated]!
- ^loadButton ifNil:
- [loadButton := self basicButton
- label: 'load' translated;
- action: #loadSelected;
- setBalloonText:
- 'Click here to reset all the preferences to their values ',
- 'in your Personal Preferences.' translated]!

Item was changed:
  ----- Method: PreferenceBrowserMorph>>loadFromDiskButton (in category 'submorphs - buttons') -----
  loadFromDiskButton
+
+ ^ loadFromDiskButton ifNil: [loadFromDiskButton :=
+ self basicButton
+ label: 'load from disk' translated;
+ action: #loadFromDiskSelected;
+ setBalloonText: 'Click here to load all the preferences from their saved values on disk.' translated]!
- ^loadFromDiskButton ifNil:
- [loadFromDiskButton := self basicButton
- label: 'load from disk' translated;
- action: #loadFromDiskSelected;
- setBalloonText:
- 'Click here to load all the preferences from ',
- 'their saved values on disk.' translated]!

Item was changed:
  ----- Method: PreferenceBrowserMorph>>newSearchButton (in category 'submorphs - search panel') -----
  newSearchButton
+
+ ^ self basicButton
+ label: 'search' translated;
+ actionSelector: #searchSelected;
+ setBalloonText: 'Type what you want to search for here, then hit the "Search" button, or else hit RETURN or ENTER' translated!
- ^self basicButton
- label: 'search' translated;
- actionSelector: #searchSelected;
- setBalloonText:
- 'Type what you want to search for here, then hit ',
- 'the "Search" button, or else hit RETURN or ENTER' translated.!

Item was changed:
  ----- Method: PreferenceBrowserMorph>>saveButton (in category 'submorphs - buttons') -----
  saveButton
+
+ ^ saveButton ifNil: [saveButton :=
+ self basicButton
+ label: 'save' translated;
+ action: #saveSelected;
+ setBalloonText: ('Click here to save the current constellation of Preferences settings as your personal defaults; you can get them all reinstalled with a single gesture by clicking "{1}".' translated
+ format: {self loadButton label})]!
- ^saveButton ifNil:
- [saveButton := self basicButton
- label: 'save' translated;
- action: #saveSelected;
- setBalloonText:
- 'Click here to save the current constellation of Preferences ',
- 'settings as your personal defaults; you can get them all ',
- 'reinstalled with a single gesture by clicking the "Restore ',
- 'my Personal Preferences".' translated]!

Item was changed:
  ----- Method: PreferenceBrowserMorph>>saveToDiskButton (in category 'submorphs - buttons') -----
  saveToDiskButton
+
+ ^ saveToDiskButton ifNil: [saveToDiskButton :=
+ self basicButton
+ label: 'save to disk' translated;
+ action: #saveToDiskSelected;
+ setBalloonText: ('Click here to save the current constellation of Preferences settings to a file; you can get them all reinstalled with a single gesture by clicking "{1}".' translated
+ format: {self loadFromDiskButton label})]!
- ^saveToDiskButton ifNil:
- [saveToDiskButton := self basicButton
- label: 'save to disk' translated;
- action: #saveToDiskSelected;
- setBalloonText:
- 'Click here to save the current constellation of Preferences ',
- 'settings to a file; you can get them all reinstalled with a ',
- 'single gesture by clicking "Restore Settings From Disk".'
- translated]!

Item was changed:
  ----- Method: PreferenceBrowserMorph>>themeButton (in category 'submorphs - buttons') -----
  themeButton
+
+ ^ themeButton ifNil: [themeButton :=
+ self basicButton
+ label: 'more ...' translated;
+ action: #themeSelected;
+ setBalloonText: 'Presents you with a menu of sets or preferences; each item''s balloon-help will tell you about the particular set.  If you choose one, many different preferences that come along are set at the same time; you can subsequently change any settings by using a Preferences Panel.' translated].!
- ^themeButton ifNil:
- [themeButton := self basicButton
- label: 'more ...' translated;
- action: #themeSelected;
- setBalloonText: 'Presents you with a menu of sets or preferences; each item''s balloon-help will tell you about the particular set.  If you choose one, many different preferences that come along are set at the same time; you can subsequently change any settings by using a Preferences Panel' translated].!