From cda00bba51c6adbf95e451fd8c6cad7a5390503a Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Tue, 18 Sep 2012 14:52:18 -0700 Subject: tweak recovery text images Center and fix the extents for those locales that have multiple lines of text. Add Urdu as an RTL language. Bug: 7064142 Change-Id: I4c1aa1198be29cab01129dabf2c4a026b93719a6 --- res/images/erasing_text.png | Bin 31490 -> 31491 bytes res/images/error_text.png | Bin 17498 -> 17504 bytes res/images/installing_text.png | Bin 66587 -> 66592 bytes res/images/no_command_text.png | Bin 40633 -> 40632 bytes screen_ui.cpp | 3 ++- 5 files changed, 2 insertions(+), 1 deletion(-) diff --git a/res/images/erasing_text.png b/res/images/erasing_text.png index 8b9f265fb..441768a0c 100644 Binary files a/res/images/erasing_text.png and b/res/images/erasing_text.png differ diff --git a/res/images/error_text.png b/res/images/error_text.png index b64b3d7ac..4ac6391ff 100644 Binary files a/res/images/error_text.png and b/res/images/error_text.png differ diff --git a/res/images/installing_text.png b/res/images/installing_text.png index 9c16c7708..e1ac819e6 100644 Binary files a/res/images/installing_text.png and b/res/images/installing_text.png differ diff --git a/res/images/no_command_text.png b/res/images/no_command_text.png index 2241259e2..a688f0935 100644 Binary files a/res/images/no_command_text.png and b/res/images/no_command_text.png differ diff --git a/screen_ui.cpp b/screen_ui.cpp index 64a5dcdd2..ab7546d40 100644 --- a/screen_ui.cpp +++ b/screen_ui.cpp @@ -393,7 +393,8 @@ void ScreenRecoveryUI::SetLocale(const char* locale) { if (strcmp(lang, "ar") == 0 || // Arabic strcmp(lang, "fa") == 0 || // Persian (Farsi) strcmp(lang, "he") == 0 || // Hebrew (new language code) - strcmp(lang, "iw") == 0) { // Hebrew (old language code) + strcmp(lang, "iw") == 0 || // Hebrew (old language code) + strcmp(lang, "ur") == 0) { // Urdu rtl_locale = true; } free(lang); -- cgit v1.2.3