FR: [474619] WebStore getAD_Language
https://sourceforge.net/tracker/?func=detail&aid=2474619&group_id=176962&atid=883808
This commit is contained in:
parent
ac248245ea
commit
655df3e1a0
|
@ -1,3 +1,5 @@
|
|||
#Sat Dec 17 10:51:04 PST 2005
|
||||
#Mon Apr 06 20:35:33 EEST 2009
|
||||
eclipse.preferences.version=1
|
||||
encoding//src/org/adempiere/model/MAttributeSetInstance.java=UTF-8
|
||||
encoding//src/org/compiere/util/AmtInWords_HR.java=UTF-8
|
||||
encoding//src/org/compiere/util/AmtInWords_VI.java=UTF-8
|
||||
|
|
|
@ -352,7 +352,7 @@ public class Language implements Serializable
|
|||
{
|
||||
for (int i = 0; i < s_languages.length; i++)
|
||||
{
|
||||
if (locale.equals(s_languages[i].getLocale()))
|
||||
if (locale.getLanguage().equals(s_languages[i].getLocale().getLanguage()))
|
||||
return s_languages[i].getAD_Language();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue