Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 231227
Collapse All | Expand All

(-)src/org/eclipse/equinox/internal/security/ui/storage/ChallengeResponseDialog.java (-6 / +8 lines)
Lines 65-71 Link Here
65
65
66
		Composite composite = new Composite(compositeTop, SWT.NONE);
66
		Composite composite = new Composite(compositeTop, SWT.NONE);
67
67
68
		setMessage(SecUIMessages.passwordMsg, IMessageProvider.INFORMATION);
68
		setMessage(SecUIMessages.passwordMsg, IMessageProvider.NONE);
69
70
		Label storyLabel = new Label(composite, SWT.WRAP);
71
		GridData labelData = new GridData(SWT.FILL, SWT.BEGINNING, true, false);
72
		labelData.widthHint = 500;
73
		storyLabel.setLayoutData(labelData);
74
		storyLabel.setText(SecUIMessages.passwordRecoveryLabel);
69
75
70
		for (int i = 0; i < size; i++) {
76
		for (int i = 0; i < size; i++) {
71
			Group group = new Group(composite, SWT.NONE);
77
			Group group = new Group(composite, SWT.NONE);
Lines 92-101 Link Here
92
			});
98
			});
93
		}
99
		}
94
100
95
		Label storyLabel = new Label(composite, SWT.LEFT);
96
		storyLabel.setText(SecUIMessages.passwordRecoveryLabel);
97
		storyLabel.setLayoutData(new GridData(GridData.FILL, GridData.BEGINNING, true, false));
98
99
		composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
101
		composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
100
		GridLayoutFactory.swtDefaults().generateLayout(composite);
102
		GridLayoutFactory.swtDefaults().generateLayout(composite);
101
103
Lines 121-127 Link Here
121
			}
123
			}
122
		}
124
		}
123
		if (valid)
125
		if (valid)
124
			setMessage(SecUIMessages.passwordMsg, IMessageProvider.INFORMATION);
126
			setMessage(SecUIMessages.passwordMsg, IMessageProvider.NONE);
125
		else
127
		else
126
			setMessage(SecUIMessages.passwordErrMsg, IMessageProvider.WARNING);
128
			setMessage(SecUIMessages.passwordErrMsg, IMessageProvider.WARNING);
127
		okButton.setEnabled(valid);
129
		okButton.setEnabled(valid);
(-)src/org/eclipse/equinox/internal/security/ui/nls/messages.properties (-3 / +3 lines)
Lines 144-152 Link Here
144
pswdRecoveryOptionTitle = Secure Storage
144
pswdRecoveryOptionTitle = Secure Storage
145
pswdRecoveryOptionMsg = A new master password has been created. Password recovery can be enabled by providing additional information. Would you like to do so now?
145
pswdRecoveryOptionMsg = A new master password has been created. Password recovery can be enabled by providing additional information. Would you like to do so now?
146
passwordRecoveryTitle = Password Recovery
146
passwordRecoveryTitle = Password Recovery
147
passwordRecoveryTitleMsg = Please enter Question/Answer pairs
147
passwordRecoveryTitleMsg = Password Recovery Setup
148
passwordMsg = Lost passwords can be recovered using \'Recover\' option on the Secure Storage preference page. 
148
passwordMsg = Specify the questions and answers required for future password recovery. 
149
passwordRecoveryLabel = To be able to recover lost password in future, enter questions and answers above.\nAnswers are case-sensitive; treat answers as secondary passwords.\n
149
passwordRecoveryLabel = To be able to recover a lost \'master\' password for the secure storage, enter questions and their expected answers. The questions will be asked when \'Recover Password\' is pressed on the 'Secure Storage' preference page.\n\nThe answers are case sensitive. Treat answers as secondary passwords.
150
passwordErrMsg = Questions and answers can not be empty.
150
passwordErrMsg = Questions and answers can not be empty.
151
passwordGroup = Question {0}
151
passwordGroup = Question {0}
152
passwordQuestion = &Question:
152
passwordQuestion = &Question:

Return to bug 231227