aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--UefiLessonsPkg/HIIStringsUNI/HIIStringsUNI.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/UefiLessonsPkg/HIIStringsUNI/HIIStringsUNI.c b/UefiLessonsPkg/HIIStringsUNI/HIIStringsUNI.c
index 160108b..6d6123d 100644
--- a/UefiLessonsPkg/HIIStringsUNI/HIIStringsUNI.c
+++ b/UefiLessonsPkg/HIIStringsUNI/HIIStringsUNI.c
@@ -28,5 +28,11 @@ UefiMain (
Print(L"fr-FR ID=2: %s\n", HiiGetString(Handle, STRING_TOKEN(STR_HELLO), "fr-FR"));
Print(L"fr-FR ID=3: %s\n", HiiGetString(Handle, STRING_TOKEN(STR_BYE), "fr-FR"));
+ Print(L"Best language ID=1: %s\n", HiiGetString(Handle, 1, NULL));
+ Print(L"Best language ID=2: %s\n", HiiGetString(Handle, STRING_TOKEN(STR_HELLO), NULL));
+ Print(L"Best language ID=3: %s\n", HiiGetString(Handle, STRING_TOKEN(STR_BYE), NULL));
+
+ Print(L"fr ID=3: %s\n", HiiGetString(Handle, STRING_TOKEN(STR_BYE), "fr"));
+
return EFI_SUCCESS;
}