diff options
author | gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-30 05:32:11 +0000 |
---|---|---|
committer | gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-04-30 05:32:11 +0000 |
commit | 0254efc01e461445240512ae1a1c2fc48ed2f70e (patch) | |
tree | f6ee29f1c4d11434b1385ff3f2e0cf61ebd9504c /MdeModulePkg/Universal/Variable/EmuRuntimeDxe | |
parent | 7eb05636e7edcad6958f8d4d36f073ea64edc919 (diff) | |
download | edk2-platforms-0254efc01e461445240512ae1a1c2fc48ed2f70e.tar.xz |
Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8212 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Variable/EmuRuntimeDxe')
-rw-r--r-- | MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c index 6925f3c6eb..d017f802e3 100644 --- a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c +++ b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c @@ -315,9 +315,9 @@ UpdateVariableInfo ( 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"
@@ -332,7 +332,7 @@ UpdateVariableInfo ( @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.
@@ -366,7 +366,7 @@ GetIndexFromSupportedLangCodes( return 0;
} else {
//
- // Compare RFC3066 language code
+ // Compare RFC4646 language code
//
while (*Supported != '\0') {
//
@@ -392,9 +392,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"
@@ -409,7 +409,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.
@@ -531,7 +531,7 @@ AutoUpdateLangVariable( Index = GetIndexFromSupportedLangCodes(mVariableModuleGlobal->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(mVariableModuleGlobal->LangCodes, Index, TRUE);
@@ -561,7 +561,7 @@ AutoUpdateLangVariable( Index = GetIndexFromSupportedLangCodes(mVariableModuleGlobal->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(mVariableModuleGlobal->PlatformLangCodes, Index, FALSE);
|