diff options
author | Doug Zongker <dougz@google.com> | 2012-09-18 12:37:02 -0700 |
---|---|---|
committer | Doug Zongker <dougz@google.com> | 2012-09-18 12:37:02 -0700 |
commit | 5fa8c23911759a9e81af0e7fb5eb431277b8e9a6 (patch) | |
tree | 6990ad74371795a16ac1670bb21ca2f8e6aeb6bd /screen_ui.h | |
parent | 52eeea4fa59c15ecb09c32b8e05653f4e55f5188 (diff) | |
download | bootable_recovery-5fa8c23911759a9e81af0e7fb5eb431277b8e9a6.zip bootable_recovery-5fa8c23911759a9e81af0e7fb5eb431277b8e9a6.tar.gz bootable_recovery-5fa8c23911759a9e81af0e7fb5eb431277b8e9a6.tar.bz2 |
localization for recovery messages
Add images of text for all locales we support. Make the progress bar
fill the correct way for RTL languages. (Flip the direction the
spinner turns, too, just for good measure.)
Bug: 7064142
Change-Id: I5dddb26e02ee5275c57c4dc4a03c6d68432ac7ba
Diffstat (limited to 'screen_ui.h')
-rw-r--r-- | screen_ui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/screen_ui.h b/screen_ui.h index 16ee741..8005172 100644 --- a/screen_ui.h +++ b/screen_ui.h @@ -29,6 +29,7 @@ class ScreenRecoveryUI : public RecoveryUI { ScreenRecoveryUI(); void Init(); + void SetLocale(const char* locale); // overall recovery state ("background image") void SetBackground(Icon icon); @@ -55,6 +56,7 @@ class ScreenRecoveryUI : public RecoveryUI { private: Icon currentIcon; int installingFrame; + bool rtl_locale; pthread_mutex_t updateMutex; gr_surface backgroundIcon[5]; |