mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
104023: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud) 103943: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2) 103908: Merged DEV to V4.2-BUG-FIX (4.2.5) 103901 : MNT-13575 : Incorrect behaviour in org.alfresco.rep.i18n.MessageServiceImpl.java - Fixed getMessage(messageKey,locale) method according to the locale being passed - Added test git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@104118 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2005-2014 Alfresco Software Limited.
|
||||
* Copyright (C) 2005-2015 Alfresco Software Limited.
|
||||
*
|
||||
* This file is part of Alfresco
|
||||
*
|
||||
@@ -254,7 +254,7 @@ public class MessageServiceImpl implements MessageService
|
||||
if (message == null)
|
||||
{
|
||||
// get default static message (if it exists)
|
||||
message = I18NUtil.getMessage(tenantService.getBaseName(messageKey));
|
||||
message = I18NUtil.getMessage(tenantService.getBaseName(messageKey), locale);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user