initrmafs: Add user confirmation string to minios
Add text asking for user confirmation to localized text.
BUG=b:181248366
TEST=build and run minios, test user permission screen.
Change-Id: I91cd854ba17113dbba7d3c7cf73fe3574d211459
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/initramfs/+/2884618
Tested-by: Vyshu Khota <vyshu@google.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Vyshu Khota <vyshu@google.com>
diff --git a/recovery/localized_text/cros_recovery.grd b/recovery/localized_text/cros_recovery.grd
index 5c4263d..32696c1 100644
--- a/recovery/localized_text/cros_recovery.grd
+++ b/recovery/localized_text/cros_recovery.grd
@@ -429,6 +429,12 @@
<message name="title_MiniOS_wait_for_connection" desc="Title shown to the user while waiting for the network connection status">
Connecting to the network. Please wait.
</message>
+ <message name="title_MiniOS_user_confirm" desc="Title shown to the user asking for permission to recover">
+Please confirm to continue
+ </message>
+ <message name="desc_MiniOS_user_confirm" desc="Detailed description presented to the user asking for permission to recover">
+This process will wipe your personal data. This will take several minutes. Do not power off the device.
+ </message>
<message name="title_MiniOS_network_error" desc="Title shown to the user when there is an error getting networks">
Could not find any networks
</message>
diff --git a/recovery/menu_ui/make_images b/recovery/menu_ui/make_images
index a86ce5d..e456464 100755
--- a/recovery/menu_ui/make_images
+++ b/recovery/menu_ui/make_images
@@ -395,6 +395,7 @@
'MiniOS_password', 'MiniOS_download_error',
'MiniOS_network_error', 'MiniOS_password_error',
'MiniOS_pick_image', 'MiniOS_downloading',
+ 'MiniOS_user_confirm',
'MiniOS_welcome', 'MiniOS_connection_error']
for instruction in instructions:
title_img_path = os.path.join(screendir, locale,