mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Multilingual Content Fixes
- Fixed parsing of locale string to use I18NUtil.parseLocale and not Locale constructor - Fixed type conversion of properties returned from MLPropertyInterceptor's directNodeService - Fixed handling of ALL_LANGUAGES filter selection - Fixed MultilingualContentService NPE when checking for duplicate locales git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5007 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -99,7 +99,7 @@ public class UserPreferencesBean
|
||||
}
|
||||
|
||||
/**
|
||||
* @return current content filter language
|
||||
* @return current content filter language, or <tt>null</tt> if all languages was selected
|
||||
*/
|
||||
public String getContentFilterLanguage()
|
||||
{
|
||||
@@ -116,7 +116,7 @@ public class UserPreferencesBean
|
||||
this.contentFilterLanguage = locale.toString();
|
||||
}
|
||||
}
|
||||
return contentFilterLanguage;
|
||||
return (contentFilterLanguage.equals(MSG_CONTENTALLLANGUAGES)) ? null : contentFilterLanguage;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user