aboutsummaryrefslogtreecommitdiffstats
path: root/Lessons/Lesson_48/UefiLessonsPkg
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2021-10-25 13:05:30 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2021-10-25 13:05:30 +0300
commit37d91719f1219366b25c8a315d1cec543d2220b4 (patch)
tree81b104ecce48df6833aed254123cd1ae94a1e521 /Lessons/Lesson_48/UefiLessonsPkg
parenteca7b5976d9d7f8c5afc578aaf1beb0b7aacb2fe (diff)
downloadUEFI-Lessons-37d91719f1219366b25c8a315d1cec543d2220b4.tar.gz
UEFI-Lessons-37d91719f1219366b25c8a315d1cec543d2220b4.tar.bz2
UEFI-Lessons-37d91719f1219366b25c8a315d1cec543d2220b4.zip
Add information about best language to the lesson 48
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'Lessons/Lesson_48/UefiLessonsPkg')
-rw-r--r--Lessons/Lesson_48/UefiLessonsPkg/HIIStringsUNI/HIIStringsUNI.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lessons/Lesson_48/UefiLessonsPkg/HIIStringsUNI/HIIStringsUNI.c b/Lessons/Lesson_48/UefiLessonsPkg/HIIStringsUNI/HIIStringsUNI.c
index 160108b..6d6123d 100644
--- a/Lessons/Lesson_48/UefiLessonsPkg/HIIStringsUNI/HIIStringsUNI.c
+++ b/Lessons/Lesson_48/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;
}