FR: [474619] WebStore getAD_Language

https://sourceforge.net/tracker/?func=detail&aid=2474619&group_id=176962&atid=883808
This commit is contained in:
trifonnt 2009-04-06 18:00:10 +00:00
parent ac248245ea
commit 655df3e1a0
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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();
}
}