summaryrefslogtreecommitdiffstats
path: root/screen_ui.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2012-09-18 23:52:18 +0200
committerDoug Zongker <dougz@google.com>2012-09-18 23:52:18 +0200
commitb66cb69e3933d5f56f06d88cd31817f49d87df5f (patch)
tree0afa7d4bca2d1042f1cf3085c121967de2a92815 /screen_ui.cpp
parentlocalization for recovery messages (diff)
downloadandroid_bootable_recovery-b66cb69e3933d5f56f06d88cd31817f49d87df5f.tar
android_bootable_recovery-b66cb69e3933d5f56f06d88cd31817f49d87df5f.tar.gz
android_bootable_recovery-b66cb69e3933d5f56f06d88cd31817f49d87df5f.tar.bz2
android_bootable_recovery-b66cb69e3933d5f56f06d88cd31817f49d87df5f.tar.lz
android_bootable_recovery-b66cb69e3933d5f56f06d88cd31817f49d87df5f.tar.xz
android_bootable_recovery-b66cb69e3933d5f56f06d88cd31817f49d87df5f.tar.zst
android_bootable_recovery-b66cb69e3933d5f56f06d88cd31817f49d87df5f.zip
Diffstat (limited to '')
-rw-r--r--screen_ui.cpp3
1 files changed, 2 insertions, 1 deletions
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);