(file) Return to LanguageParser.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/LanguageParser.cpp between version 1.32 and 1.33

version 1.32, 2008/01/08 20:15:10 version 1.33, 2008/03/05 21:35:12
Line 149 
Line 149 
     {     {
         // Except for "i" and "x", primary tags must be 2 or 3 characters,         // Except for "i" and "x", primary tags must be 2 or 3 characters,
         // according to RFC 3066.         // according to RFC 3066.
         MessageLoaderParms parms(  
             "Common.LanguageParser.INVALID_LANGUAGE_TAG",          // Do not localize this message; it could cause recursion.
             "Invalid language tag \"$0\".", languageTagString);  
         PEG_METHOD_EXIT();         PEG_METHOD_EXIT();
         // throw Exception(MessageLoader::getMessage(parms));          throw Exception(Formatter::format(
         // do not localize message, requires a language tag for this              "Invalid language tag \"$0\".",
         // localization can cause recursion here              languageTagString));
         throw Exception(parms.toString());  
     }     }
  
     if (subtags.size() == 1)     if (subtags.size() == 1)
Line 173 
Line 171 
     {     {
         // The second subtag may not be a single character according to         // The second subtag may not be a single character according to
         // RFC 3066.         // RFC 3066.
         MessageLoaderParms parms(  
             "Common.LanguageParser.INVALID_LANGUAGE_TAG",          // Do not localize this message; it could cause recursion.
             "Invalid language tag \"$0\".", languageTagString);  
         PEG_METHOD_EXIT();         PEG_METHOD_EXIT();
         // throw Exception(MessageLoader::getMessage(parms));          throw Exception(Formatter::format(
         // do not localize message, requires a language tag for this              "Invalid language tag \"$0\".",
         // localization can cause recursion here              languageTagString));
         throw Exception(parms.toString());  
     }     }
  
     if (isStandardFormat)     if (isStandardFormat)


Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2