From 74db157b9406594a549a70415668dd6cbe17d1d3 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Wed, 28 Oct 2015 12:44:49 -0500 Subject: Multiple Language Support This is similar to https://gerrit.omnirom.org/#/c/14014 A lot of the features built in the older patch set have been split out into separate patches, most of which have already been merged. The remaining functionality here should all be directly related to language selection and loading. We always load English as a base before loading other languages over the top of the base. The idea is that if another language is missing a translation, then we will still display the English. Maybe still to do: read the /cache/recovery/last_locale file and load a language based on that. For me, this file contains just: en_US We probably won't bother with region specific translations so we would have to look at either trimming off the _US or using some other method like perhaps a symlink or a combination of the two. Thanks to _that for twmsg.cpp class Change-Id: I9647a22e47883a3ddd2de1da51f64aab7c328f74 --- gui/theme/common/languages/en.xml | 666 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 666 insertions(+) create mode 100755 gui/theme/common/languages/en.xml (limited to 'gui/theme/common/languages/en.xml') diff --git a/gui/theme/common/languages/en.xml b/gui/theme/common/languages/en.xml new file mode 100755 index 000000000..62b5b3dd4 --- /dev/null +++ b/gui/theme/common/languages/en.xml @@ -0,0 +1,666 @@ + + + + English + + + + + + + + + + System + System Image + Vendor + Vendor Image + Boot + Recovery + Cache + Data + SDCard + Internal Storage + Micro SDCard + USB OTG + Android Secure + Dalvik / ART Cache + + SD-EXT + Adopted Data + Adopted Storage + + + Team Win Recovery Project + TWRP %tw_version% + CPU: %tw_cpu_temp% °C + Battery: %tw_battery% + Sort by Name + Sort by Date + Sorty by Size + Name + Date + Size + GENERAL + OPTIONS + BACKUP + TIME ZONE + SCREEN + VIBRATION + LANGUAGE + + Install + Wipe + Backup + Restore + Mount + Settings + Advanced + Reboot + Files + Copy Log + Select Type + Install Zip + Install Zip + Install Image + Install Image + Select File + Folders + Select File from %tw_storage_display_name% (%tw_storage_free_size% MB) + ADB Sideload + Install + Select Storage + Select Storage + Queue + %tw_zip_queue_count% of max of 10 Files queued + File %tw_zip_queue_count% of 10: + This operation may install incompatible + software and render your device unusable. + Press back to cancel adding this zip. + Press back button to clear the queue. + Folder: + File: + Zip signature verification + Inject TWRP after install + Options + Confirm Flash + Queue: + Options: + Confirm + Add more Zips + Clear Zip Queue + Install Zip %tw_zip_index% of %tw_zip_queue_count% + Installing Zip: %tw_file% + Failed + Successful + Installation Failed + Installation Successful + Wipe cache/dalvik + Reboot System + Select Target Partition + Select Partition to Flash Image: + Target Partition: + Flashing Image... + Image Flashed + Wipe Cache & Dalvik? + Wiping Cache & Dalvik... + Cache & Dalvik Wipe Complete + Swipe to Wipe + Wipe + No OS Installed! Are you + sure you wish to reboot? + sure you wish to power off? + Rebooting... + Reboot + Swipe to confirm Flash + Confirm Action + Press back button to cancel. + Cancel + Wipe + Factory Reset + Factory Reset + Wipes Data, Cache, and Dalvik + (not including internal storage) + Most of the time this is + the only wipe that you need. + Factory Reset... + Advanced Wipe + Advanced Wipe + Wipe Encryption from Data? + Formatting Data... + Swipe to Format Data + Format Data + Factory Reset Complete + Select Partitions + Wipe Selected Partition(s)? + Wiping Partition(s)... + Wipe Complete + Select Partitions to Wipe: + Invalid partition selection + Format Data + Format Data + Format Data will wipe all of your apps, + backups, pictures, videos, media, and + removes encryption on internal storage. + Format Data will wipe all of your apps, backups, pictures, videos, media, and + removes encryption on internal storage. + Format Data will wipe all of your apps, + backups and media. This cannot be undone. + This cannot be undone. + Data Format Complete + Type yes to continue. Press back to cancel. + Partition Options for: %tw_partition_name% + Select Action + File System Options + Partition: %tw_partition_name% + Mount Point: %tw_partition_mount_point% + File system: %tw_partition_file_system% + Present: Yes + Present: No + Removable: Yes + Removable: No + Size: %tw_partition_size%MB + Used: %tw_partition_used%MB + Free: %tw_partition_free%MB + Backup Size: %tw_partition_backup_size%MB + Resize File System + Resize + Resize %tw_partition_name%? + Resizing... + Resize Complete + Swipe to Resize + Resize + Repair File System + Repair + Repair %tw_partition_name%? + Repairing... + Repair Complete + Swipe to Repair + Repair + Change File System + Change + Change File System for: %tw_partition_name% + Partition: %tw_partition_name% > Select File System + Some ROMs or kernels may not support some + file systems. Proceed with caution! + Change %tw_partition_name%? + Formatting... + Format Complete + Swipe to Change + Change + Back + Wipe Encryption + Swipe to Factory Reset + Repair or Change File System + Storage: %tw_storage_display_name% (%tw_storage_free_size% MB) + Backup + Confirm Backup + ENCRYPTION + Encryption: + Name: + Select Partitions to Backup: + Storage: + disabled - set a password to enable + enabled + Enable compression + Skip MD5 generation during backup + Disable Free Space Check + Refresh Sizes + Swipe to Backup + Append Date + A backup with that name already exists! + Encrypt your Backup? + Enter Password: + Enter Password Again: + Passwords do not match! + Partitions: + Disabled + Enabled + Set Backup Name + Progress: + Backup Complete + Backup Cancelled + Restore + Select Backup + Select Backup from %tw_storage_display_name% (%tw_storage_free_size% MB) + Select Package to Restore: + Encrypted Backup + Password failed, please try again! + Delete Backup + Delete Backup? + This cannot be undone! + Deleting Backup... + Backup Delete Complete + Swipe to Delete + Delete + Encrypted Backup - Trying Decryption + Trying Decryption + Backup made on %tw_restore_file_date% + Select Partitions to Restore: + Enable MD5 Verification of Backup Files + Swipe to Restore + Restore + Rename Backup + Rename Backup? + This cannot be undone! + Renaming Backup... + Backup Rename Complete + Swipe to Rename + Rename + Confirm + Mount + + Select Partitions to Mount: + Mount system partition read-only + Mount System RO + Decrypt Data + Disable MTP + Enable MTP + Mount USB Storage + USB Storage + USB Storage Mounted + Be sure to safely remove your device + from your computer before unmounting! + Unmount + Reboot Menu + System + Power Off + Recovery + Bootloader + Download + Turning Off... + Swipe to Power Off + Power Off + Unmodified System Partition + Keep System Read only? + TWRP can leave your system partition unmodified + to make it easier for you to take official updates. + TWRP will be unable to prevent the stock ROM from + replacing TWRP and will not offer to root your device. + Installing zips or performing adb operations may still + modify the system partition. + TWRP can leave your system partition unmodified to make it easier for you to take official updates. + TWRP will be unable to prevent the stock ROM from replacing TWRP and will not offer to root your device. + Installing zips or performing adb operations may still modify the system partition. + Never show this screen during boot again + Keep Read Only + Swipe to Allow Modifications + Allow Modifications + Settings + General Settings + General + General + Use rm -rf instead of formatting + Use 24-hour clock + Reversed navbar layout + Simulate actions for theme testing + Simulate failure for actions + Center navbar buttons + Left align navbar buttons + Right align navbar buttons + Restore Defaults + Time Zone + Screen + Screen Brightness + Vibration + Language + Time Zone + Select Time Zone: + + (UTC -11) Samoa, Midway Island + (UTC -10) Hawaii + (UTC -9) Alaska + (UTC -8) Pacific Time + (UTC -7) Mountain Time + (UTC -6) Central Time + (UTC -5) Eastern Time + (UTC -4) Atlantic Time + (UTC -3) Brazil, Buenos Aires + (UTC -2) Mid-Atlantic + (UTC -1) Azores, Cape Verde + (UTC 0) London, Dublin, Lisbon + (UTC +1) Berlin, Brussels, Paris + (UTC +2) Athens, Istanbul, South Africa + (UTC +3) Moscow, Baghdad + (UTC +4) Abu Dhabi, Tbilisi, Muscat + (UTC +5) Yekaterinburg, Islamabad + (UTC +6) Almaty, Dhaka, Colombo + (UTC +7) Bangkok, Hanoi, Jakarta + (UTC +8) Beijing, Singapore, Hong Kong + (UTC +9) Tokyo, Seoul, Yakutsk + (UTC +10) Eastern Australia, Guam + (UTC +11) Vladivostok, Solomon Islands + (UTC +12) Auckland, Wellington, Fiji + Select Offset (usually 0): %tw_time_zone_guioffset% + None + 0 + 15 + 30 + 45 + Use daylight savings time (DST) + Current Time Zone: %tw_time_zone% + Current Time Zone: + Set Time Zone + Screen Settings + Screen Timeout + Enable screen timeout + Screen timeout in seconds: + Screen timeout in seconds (0=disabled): %tw_screen_timeout_secs% + Screen timeout setting unavailable + Brightness: %tw_brightness_pct%% + Brightness setting unavailable + Vibration + Button Vibration + Keyboard Vibration + Action Vibration + Button Vibration: + Keyboard Vibration: + Action Vibration: + Select Language: + Set Language + Advanced + Copy Log to SD Card? + Copying Log to SD Card... + Log Copy Complete + Fix Permissions + Fix Perms + Partition SD Card + SD Card + File Manager + Language + Terminal + Reload Theme + HTC Dumlock + Inject TWRP + Re-Inject TWRP? + Re-Injecting TWRP... + TWRP Injection Complete + Swipe to Confirm + Partition SD Card + You will lose all files on your SD card! + This action cannot be undone! + EXT Size: + Swap Size: + - + + + File System: + Swipe to Partition + Partition + Partitioning SD Card... + This will take a few minutes. + Partitioning Complete + HTC Dumlock + Restore Original Boot + Restore original boot image? + Restoring Original Boot... + Restore Original Boot Complete + Reflash Recovery + Reflash recovery to boot? + Flashing recovery to boot... + Recovery Flash to Boot Complete + Install HTC Dumlock + Install HTC dumlock files to ROM? + Installing HTC Dumlock... + HTC Dumlock Install Complete + Swipe to Unlock + Unlock + File Manager + Select a File or Folder + Folder + File + Choose Action + %tw_fm_type% selected: + Copy + Copy File + Copy Folder + Copying + Move + Moving + chmod 755 + chmod 755 + chmod + Delete + Deleting + Rename + Rename File + Rename Folder + Renaming + Select Destination Folder + Select Current Folder + Rename + Set Permissions + Permissions: + File Operation Complete + Decrypt Data + + Password failed, please try again! + Enter Pattern. + Trying Decryption + Terminal Command + Terminal + KILL + Browse to Starting Folder + ADB Sideload + Wipe Dalvik Cache + Wipe Cache + Swipe to Start Sideload + Start + ADB Sideload + Usage: adb sideload filename.zip + ADB Sideload Complete + Fix Permissions + Note: Fixing permissions is rarely needed. + Also fix SELinux Contexts + Fixing SELinux Contexts may cause + your device to not boot properly. + Swipe to Fix Permissions + Fix Perms + Fixing Permissions... + Fix Permissions Complete + Reboot + SuperSU Check + Your device does not appear to be rooted. + Install SuperSU now? + This will root your device. + Do Not Install + Swipe to Install + Install + Installing SuperSU + Select Storage + OK + + + Kernel does not have support for reading SELinux contexts. + Full SELinux support is present. + No SELinux support (no libselinux). + MTP Enabled + MTP Crashed, not starting MTP on boot. + Rebooting... + Successfully decrypted with default password. + Unable to decrypt with default password. You may need to perform a Format Data. + Generating MD5 + + * Generating md5... + * MD5 Created. + * MD5 Error! + * Error computing MD5. + * MD5 Created. + (Current Date) + (Auto Generate) + Unable to locate '{1}' partition for backup calculations. + No partitions selected for backup. + * Total number of partitions to back up: {1} + * Total size of all data: {1}MB + * Available space: {1}MB + Unable to locate storage device. + Not enough free space on storage. + [BACKUP STARTED] + * Backup Folder: {1} + Failed to make backup folder. + Average backup rate for file systems: {1} MB/sec + Average backup rate for imaged drives: {1} MB/sec + [{1} MB TOTAL BACKED UP] + [BACKUP COMPLETED IN {1} SECONDS] + [RESTORE STARTED] + Restore folder: '{1}' + + [{1} done ({2} seconds)] + Verifying MD5 + Skipping MD5 check based on user setting. + Calculating restore details... + Cannot restore {1} -- mounted read only. + Unable to locate '{1}' partition for restoring. + No partitions selected for restore. + Restoring {1} partitions... + Total restore size is {1}MB + Updating System Details + [RESTORE COMPLETED IN {1} SECONDS] + + Error opening: '{1}' ({2}) + Unable to locate partition by backup name: '{1}' + Unable to find partition for path '{1}' + Updating partition details... + ...done + Wiping Dalvik Cache Directories... + Cleaned: {1}... + -- Dalvik Cache Directories Wipe Complete! + No android secure partitions found. + Unable to locate {1}. + Wiping internal storage -- /data/media... + Unable to mount {1} + Unable to mount internal_storage + Unable to mount storage + Failed to decrypt data. + No crypto support was compiled into this build. + Data successfully decrypted, new block device: '{1}' + Done. + Partitioning SD Card... + Unable to locate device to partition. + EXT + Swap size is larger than sdcard size. + Removing partition table... + Unable to remove partition table. + Creating {1} partition... + Unable to create {1} partition. + Formatting sd-ext as {1}... + Partitioning complete. + Unable to open '{1}'. + MTP already enabled + Failed to enable MTP + MTP support not included + [IMAGE FLASH STARTED] + Image to flash: '{1}' + Unable to locate '{1}' partition for flashing. + No partitions selected for flashing. + Too many partitions selected for flashing. + Invalid flash partition specified. + [IMAGE FLASH COMPLETED] + Wiping {1} + {1} does not exist! Cannot repair! + Unable to repair {1}. + Could not mount /data and unable to find crypto footer. + + Can not create '{1}' folder ({2}). + + Failed to mount '{1}' ({2}) + + Failed to unmount '{1}' ({2}) + Cannot resize {1}. + Repairing {1} before resizing. + Unable to resize {1}. + No md5 file found for '{1}'. Please unselect Enable MD5 verification to restore. + MD5 failed to match on '{1}'. + Restoring + You may need to reboot recovery to be able to use /data again. + Unable to format to remove encryption. + Formatting {1} using {2}... + Unable to wipe {1}. + Removing all files under '{1}' + Wiping data without wiping /data/media ... + Backing up {1}... + Backing Up + Backup file size for '{1}' is 0 bytes. + WARNING: This /data backup was made with {1} file system! The backup may not boot unless you change back to {1}. + Restoring {1}... + Restoring + Unable to recreate {1} folder. + Size of image is larger than target device + Flashing {1}... + Backup folder set to '{1}' + Unable to locate backup '{1}' + Setting restore options: '{1}': + MD5 check skip is on + Unable to use OpenRecoveryScript to restore an encrypted backup. + Mounting + Unmounting + Mounted '{1}' + Unmounted '{1}' + Setting '{1}' to '{2}' + Setting '{1}' to empty + Making Directory + Making directory: '{1}' + Running Command + ADB Sideload + Starting ADB sideload feature... + You need adb 1.0.32 or newer to sideload to this device. + No password provided. + Done processing script file + Injecting TWRP into boot image... + Error installing zip file '{1}' + Installing zip file '{1}' + Setting backup options: + Compression is on + MD5 Generation is off + Backup Failed + Backup complete! + Running Recovery Commands + Recovery Commands Complete + Running OpenRecoveryScript + OpenRecoveryScript Complete + Could not find '{1}' in the zip file. + Checking for MD5 file... + Failed to map file '{1}' + Verifying zip signature... + Zip signature verification failed! + Zip signature verified successfully. + Zip file is corrupt! + Skipping MD5 check: no MD5 file found + MD5 does not match + MD5 matched + {1} process ended with signal: {2} + {1} process ended with ERROR: {2} + Installing HTC Dumlock to system... + Restoring original boot... + Reflashing recovery to boot... + Running {1} script... + Renamed stock recovery file in /system to prevent the stock ROM from replacing TWRP. + Breaking backup file into multiple archives... + Error creating backup. + Error during restore process. + Splitting thread ID {1} into archive {2} + + %llu of %llu files, %i%% + %lluMB of %lluMB, %i%% + Attempting to decrypt data partition via command line. + Failed to load base packages. + Simulating actions... + Backup Canceled. + Configuring TWRP... + Unable to configure TWRP with this kernel. + Copied recovery log to {1}. + Maximum zip queue reached! + Minimum zip queue reached! + Failed to take a screenshot! + One or more zip requested a cache wipe -- Wiping cache now. + Unable to wipe android secure + Failed to wipe dalvik + (Auto Generate) + (Current Date) + Backup name is too long. + Backup name '{1}' contains invalid character: '{1}' + A backup with this name already exists. + This device does not have a real SD Card! Aborting! + Cancelling ADB sideload... + Error changing file system. + + -- cgit v1.2.3