OpenSearch:

- cosmetic changes as suggested by marketing eyes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4958 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2007-01-29 15:22:19 +00:00
parent d232397358
commit 200ff43d6e
17 changed files with 184 additions and 138 deletions

View File

@@ -144,8 +144,11 @@ public class SearchEngines extends APIServiceTemplateImpl
String labelId = engineConfig.getLabelId();
if (labelId != null && labelId.length() > 0)
{
String i18nLabel = I18NUtil.getMessage(labelId);
label = (i18nLabel == null) ? "$$" + labelId + "$$" : i18nLabel;
String i18nLabel = I18NUtil.getMessage(labelId);
if (i18nLabel == null && label == null)
{
label = (i18nLabel == null) ? "$$" + labelId + "$$" : i18nLabel;
}
}
urls.add(new UrlTemplate(label, type, url));
}