Community
Participate
Working Groups
for (String languageSettings : BugzillaCorePlugin.getLanguageSettings().keySet()) {
languageSettingCombo.add(languageSettings);
}
// languageSettingCombo.addSelectionListener(new SelectionAdapter() {
// @Override
// public void widgetSelected(SelectionEvent e) {
// String text = languageSettingCombo.getText();
//// RepositoryTemplate template = connector.getTemplate(text);
//// if (template != null) {
//// repositoryLabelEditor.setStringValue(template.label);
//// setUrl(template.repositoryUrl);
//// // setAnonymous(info.anonymous);
//// setBugzillaVersion(template.version);
//// if (template.characterEncoding != null) {
//// setEncoding(template.characterEncoding);
//// }
// getContainer().updateButtons();
// return;
// }
// });
if (repository != null) {
String language = repository.getProperty(IBugzillaConstants.BUGZILLA_LANGUAGE_SETTING);
if (language != null && !language.equals(""))
&& ((HtmlTag) token.getValue()).getTagType() == HtmlTag.Type.TITLE
&& ((HtmlTag) token.getValue()).isEndTag()) {
languageSettings.getProcessed();
if (title.indexOf(languageSettings.getLogin()) != -1
|| (title.indexOf(languageSettings.getInvalid()) != -1 && title.indexOf(languageSettings.getPassword()) != -1)
|| title.indexOf(languageSettings.getCheckEmail()) != -1) {