From 607e91f5a24f4c8747ec7d59676940877635f715 Mon Sep 17 00:00:00 2001 From: gikidy Date: Thu, 30 Apr 2009 07:00:27 +0000 Subject: Replace references to RFC 3066 with RFC 4646. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8221 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/FSVariable/FSVariable.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'DuetPkg/FSVariable') diff --git a/DuetPkg/FSVariable/FSVariable.c b/DuetPkg/FSVariable/FSVariable.c index 49e92076e1..c41467c6f8 100644 --- a/DuetPkg/FSVariable/FSVariable.c +++ b/DuetPkg/FSVariable/FSVariable.c @@ -553,9 +553,9 @@ Returns: Get index from supported language codes according to language string. This code is used to get corresponding index in supported language codes. It can handle - RFC3066 and ISO639 language tags. + RFC4646 and ISO639 language tags. In ISO639 language tags, take 3-characters as a delimitation to find matched string and calculate the index. - In RFC3066 language tags, take semicolon as a delimitation to find matched string and calculate the index. + In RFC4646 language tags, take semicolon as a delimitation to find matched string and calculate the index. For example: SupportedLang = "engfraengfra" @@ -570,7 +570,7 @@ Returns: @param SupportedLang Platform supported language codes. @param Lang Configured language. - @param Iso639Language A bool value to signify if the handler is operated on ISO639 or RFC3066. + @param Iso639Language A bool value to signify if the handler is operated on ISO639 or RFC4646. @retval the index of language in the language codes. @@ -604,7 +604,7 @@ GetIndexFromSupportedLangCodes( return 0; } else { // - // Compare RFC3066 language code + // Compare RFC4646 language code // while (*Supported != '\0') { // @@ -630,9 +630,9 @@ GetIndexFromSupportedLangCodes( Get language string from supported language codes according to index. This code is used to get corresponding language string in supported language codes. It can handle - RFC3066 and ISO639 language tags. + RFC4646 and ISO639 language tags. In ISO639 language tags, take 3-characters as a delimitation. Find language string according to the index. - In RFC3066 language tags, take semicolon as a delimitation. Find language string according to the index. + In RFC4646 language tags, take semicolon as a delimitation. Find language string according to the index. For example: SupportedLang = "engfraengfra" @@ -647,7 +647,7 @@ GetIndexFromSupportedLangCodes( @param SupportedLang Platform supported language codes. @param Index the index in supported language codes. - @param Iso639Language A bool value to signify if the handler is operated on ISO639 or RFC3066. + @param Iso639Language A bool value to signify if the handler is operated on ISO639 or RFC4646. @retval the language string in the language codes. @@ -769,7 +769,7 @@ AutoUpdateLangVariable( Index = GetIndexFromSupportedLangCodes(mGlobal->PlatformLangCodes, BestPlatformLang, FALSE); // - // Get the corresponding ISO639 language tag according to RFC3066 language tag. + // Get the corresponding ISO639 language tag according to RFC4646 language tag. // BestLang = GetLangFromSupportedLangCodes(mGlobal->LangCodes, Index, TRUE); @@ -799,7 +799,7 @@ AutoUpdateLangVariable( Index = GetIndexFromSupportedLangCodes(mGlobal->LangCodes, BestLang, TRUE); // - // Get the corresponding RFC3066 language tag according to ISO639 language tag. + // Get the corresponding RFC4646 language tag according to ISO639 language tag. // BestPlatformLang = GetLangFromSupportedLangCodes(mGlobal->PlatformLangCodes, Index, FALSE); -- cgit v1.2.3