Changeset 1018:ee11a72141fb

Show
Ignore:
Timestamp:
03/22/10 17:43:08 (3 years ago)
Author:
tgambet
Branch:
default
convert_revision:
svn:cdcfb263-7567-472c-a848-e2c2df3466e7/trunk@1019
Message:

fixed isComplete function

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/org/w3c/unicorn/util/Language.java

    r1012 r1018  
    151151        public static boolean isComplete(ULocale localeParam) { 
    152152                Properties testedProps = LanguageAction.getLanguageProperties().get(localeParam); 
    153                 Properties testedMetadataProps = Framework.getMetadataProperties().get(localeParam); 
     153                Properties testedMetadataProps = LanguageAction.getMetadataProperties().get(localeParam); 
    154154                 
    155155                if (testedProps == null) 
     
    157157                 
    158158                if (testedProps.get("complete") == null) { 
    159                         for (Object key : Framework.getLanguageProperties().get(defaultLocale).keySet()) { 
     159                        for (Object key : LanguageAction.getLanguageProperties().get(defaultLocale).keySet()) { 
    160160                                if (!testedProps.containsKey(key) && key != "complete") { 
    161161                                        testedProps.put("complete", "false"); 
     
    163163                                } 
    164164                        } 
    165                         for (Object key : Framework.getMetadataProperties().get(defaultLocale).keySet()) { 
     165                        for (Object key : LanguageAction.getMetadataProperties().get(defaultLocale).keySet()) { 
    166166                                if (!testedMetadataProps.containsKey(key)) { 
    167167                                        testedProps.put("complete", "false");