summaryrefslogtreecommitdiffstats
path: root/gui/theme/common/languages (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Updated Russian localization, bugs fixed (letter Ё, cities in time zones are correct, correct checksum, and other minor fixes).f20652019-04-161-84/+119
| | | | Change-Id: Id1fd250c69cdc91e8b3e76d056fb1a5935457cdd
* Use magiskboot to repack the boot partitionEthan Yonker2019-04-031-0/+22
| | | | | | | | | | | | | | | | | | Set TW_INCLUDE_REPACKTOOLS := true Must also have: AB_OTA_UPDATER := true Use magiskboot and provide GUI options to allow users to repack their existing boot image to install TWRP (or kernels) so we can stop having to provide installation zips for AB devices. There is also an option to try to fix a recovery bootloop if the kernel has been patched to always boot the ramdisk for root, etc. You will need to pull the below repo into external/magisk-prebuilt https://github.com/TeamWin/external_magisk-prebuilt Change-Id: I74196cc6f095a7576d61886dc96cbc18deba9b04
* Adding Edl button in reboot menumauronofrio2019-03-2018-0/+18
| | | | | | | | | | | Edl mode is available only on qualcomm devices and it used to fully restore the bricked devices. I made the button available only if TW_HAS_EDL_MODE := true like the download button. I set the edl button to the right of the download button, so devices can support edl button and download button. I also added the translation for all languages. Change-Id: I69d1058b8c050b722395c7b3da6dce1ccfbe7a91
* AB/Non AB Devices: updates for moving cachebigbiff bigbiff2019-03-181-3/+8
| | | | | | | | | This patchset updates all the places we touch cache on AB devices and non AB devices so that we can write to the appropriate location. AB devices removed the cache partition and moved it to /data/cache. Change-Id: I485ec205a604f1f07ceb7700ae9c4e720fd55c3e
* Vibration: allow BoardConfig to disable vibration for a device.bigbiff bigbiff2019-03-181-0/+1
| | | | Change-Id: Ibd2f67391ce6d7774498839829e0de9391508781
* Remove remaining pieces of supersuSean hoyt2018-07-301-4/+1
| | | | Change-Id: I8f92c19f9e947da29dc25f3b88f69413a13af64d
* language: italian: Fix SELinux support labelHumberto Borba2018-07-251-1/+1
| | | | | | | Thanks to David Viteri for this one. Signed-off-by: Humberto Borba <humberos@omnirom.org> Change-Id: I566179921ba1cdb3b79836eff2b78cd6289eff94
* Remove SuperSUEthan Yonker2018-07-2017-136/+17
| | | | Change-Id: I2ca7580bbde5a8903b9ba5c1513ddba887e8d49e
* Language: Add version info to copying_log in turkish lang.bigbiff bigbiff2018-03-211-1/+1
| | | | Change-Id: If07b7655265c94ad6b7ffa06629252749b5616e9
* Update Turkish translations.Fatih Fırıncı2018-03-201-8/+8
| | | | Change-Id: Ib15052832c2b25465b8a1d5c30d4659653b99f09
* Languages: Update Turkish translation.Fatih Fırıncı2018-02-271-73/+220
| | | | Change-Id: Ib3a188f867330013069b7d443bcbad5dc3bc1e90
* Merge "Add Portuguese (Portugal) translation." into android-8.1big biff2018-01-251-0/+698
|\
| * Add Portuguese (Portugal) translation.Vasco Machado2018-01-241-0/+698
| | | | | | | | Change-Id: I3ea752697cc7f085541d961a6185194badb99015
* | Merge "Fix typo in Micro SD to have a consistency" into android-8.1big biff2018-01-191-1/+1
|\ \
| * | Fix typo in Micro SD to have a consistencyPierre Roth2017-12-211-1/+1
| |/ | | | | | | Change-Id: I91b7e674cd74d9069ee0ae3e70dbfd4a6a051756
* | Merge "Added missing translation in Turkish translation" into android-8.1big biff2018-01-191-2/+2
|\ \
| * | Added missing translation in Turkish translationPierre Roth2017-12-211-2/+2
| |/ | | | | | | Change-Id: I3790f1c02daca2fcbd3afb37e0e3d1b4529aed67
* | Merge "There are a few typos and bugs in the French translation, for example where a string is to long to be displayed in the button (overlapping / cut-offs)." into android-8.1big biff2018-01-191-4/+4
|\ \
| * | There are a few typos and bugs in the French translation, for example where a string is to long to be displayed in the button (overlapping / cut-offs).Pierre Roth2017-12-211-4/+4
| |/ | | | | | | Change-Id: I2f02fa1b004c09914c618fe327490b1bb59f534d
* | Merge "Typo / Uppercase-Lowercase in German translation compared to all other translations" into android-8.1big biff2018-01-191-1/+1
|\ \
| * | Typo / Uppercase-Lowercase in German translation compared to all other translationsPierre Roth2017-12-211-1/+1
| |/ | | | | | | Change-Id: Ib8c67017dbf3a217332109b954d6123cb1a94f84
* | Merge "Typo and bug fixing in Dutch(NL) translation, for example where a translated string is too long to fit in button." into android-8.1big biff2018-01-191-13/+13
|\ \
| * | Typo and bug fixing in Dutch(NL) translation, for example where a translated string is too long to fit in button.Pierre Roth2017-12-211-13/+13
| |/ | | | | | | Change-Id: I68d71b516fc47c72a19f4b8fb7167086814cf148
* | Merge "Fix minor inconsistency in Czech translation" into android-8.1big biff2018-01-191-1/+1
|\ \
| * | Fix minor inconsistency in Czech translationPierre Roth2017-12-211-1/+1
| |/ | | | | | | Change-Id: Ifc1ac9416177c0b211506174ce23ec7c3569777f
* | Merge "Added missing translation(s) in Portuguese(BR)" into android-8.1big biff2018-01-191-2/+2
|\ \
| * | Added missing translation(s) in Portuguese(BR)Pierre Roth2017-12-211-2/+2
| |/ | | | | | | Change-Id: I5bb3297a9bfd01d242023bbf1fb1f72e9c80404e
* | Merge "Added missing translations in Swedish language file" into android-8.1big biff2018-01-191-1/+2
|\ \
| * | Added missing translations in Swedish language filePierre Roth2017-12-211-1/+2
| |/ | | | | | | Change-Id: I3141cc4b1b2c5070d30485f0523e4e606f7707aa
* | Merge "Added 2 translations in Italian language file" into android-8.1big biff2018-01-191-2/+2
|\ \
| * | Added 2 translations in Italian language filePierre Roth2017-12-211-2/+2
| |/ | | | | | | Change-Id: Ia49a9329fa6f9c0ed26aa60a3175bc7944e8f3ac
* / There's a missing translaton in the Greek language file.Pierre Roth2017-12-191-1/+1
|/ | | | Change-Id: Ibba47a1361c892159b704182b5d06aca8418aaac
* Fix the inconsistencies in the spelling of SD cardDevUt2017-12-051-10/+10
| | | | Change-Id: I30d7a3d38654292d38e3f69a196bc03928b7d22e
* Support v2 fstab formatEthan Yonker2017-11-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | Auto detect and support both the v1 and v2 fstab formats Support putting TWRP style flags in a separate /etc/twrp.flags file twrp.flags format is the same as twrp.fstab (v1 with TWRP flags) Support using a wildcard in a block device and find all partitions: /usb-otg vfat /dev/block/sda* Support using sysfs entries (voldmanaged) and read uevents and scan for wildcard partitions from uevent data. (twvold?) May not be complete for some of the newer flags found in fstabs in newer build trees and there is a slim chance of a crash if the user removes a removable device while TWRP is performing actions. May need to add some kind of mutex to prevent the 2 threads from causing this crash. We need to start somewhere though and this change is pretty innocuous when not using a v2 fstab. Change-Id: I617d97c7db332cbe671a9d2b8ad98b3d9c4f03cc
* Improve greek translationleskal2017-11-201-62/+84
| | | | Change-Id: I1642a2c89e50438fdd7308dba318d52440b0809f
* Auto detect possible use of legacy propsnkk712017-11-171-1/+0
| | | | | | | | | | | * Revert: Make legacy props an option disabled by default (reverted from commit 75aa615767457f2b62dda65b16ded41b0e6df11f) * Instead check for ANDROID_PROPERTY_WORKSPACE in the updater- binary to determine whether legacy property service can be used Change-Id: If68d5cca9a2b56edcb1c73db0474668cf46d8c91
* Merge branch 'android-7.1' of github.com:omnirom/android_bootable_recoveryEthan Yonker2017-09-261-1/+0
|\
| * Remove duplicate entries & Improve Chinese translationandroid-7.1kaneawk2017-08-181-1/+0
| | | | | | | | Change-Id: I3ed9b5731d63f69748fbbf99c626669db39a1eb4
* | Make legacy props an option disabled by defaultEthan Yonker2017-09-081-0/+1
|/ | | | Change-Id: Id0bb17ebd11e120b4676c41d6553e6a830ac7ee9
* Merge "Fix typos / inconsistencies in German language" into android-7.1big biff2017-08-151-4/+4
|\
| * Fix typos / inconsistencies in German languagePierre Roth2017-06-071-4/+4
| | | | | | | | Change-Id: Id3b4cca16ec18f63fb71f7e0ae09d2cc2d8516f8
* | twrpDigest refactorbigbiff bigbiff2017-06-1717-1580/+1571
|/ | | | | | | | | | | | | | | | | | | This patch is to refactor twrpDigest using polymorphism and inheritance to use the same call patterns for creating and reading a digest. Now a library. Use SHA2 from libcrypto. SHA2 is default if device has libcrypto. Change string MD5 everywhere to use digest or Digest instead. Updated string tags to digest. Translation will be required. Switch out digest code into a driver class from partitionmanager. SHA2 is better for digest creation due to decreased collision space compared to MD5 and SHA1. See https://en.wikipedia.org/wiki/SHA-2 Change-Id: I74b5546789990b12aa4ce2e389d25f80a3fe213f
* vold_decrypt: Add back missing xml and get rid of compiler warningnkk712017-03-061-0/+1
| | | | Change-Id: I883112e2618f560e96002e2076e2735cc20cfac3
* Update Hungarian localizationWechy772017-02-251-37/+59
| | | | Change-Id: I13c1b6be4e1f7dcd026bfaa03d0c097200d498ba
* Update Russian localizationSevenMaxs2017-02-211-17/+14
| | | | | | Added new strings (Scripts language_helper.py and compare_xml.py were used). Change-Id: Id6f220d17e748cd10ff8ff8b21c2e40d84be5ec9
* DE language updatez31s1g2017-02-121-10/+32
| | | | Change-Id: I20b8e99bf011e8f3894f20fef1a5d46cca4cd3b6
* Merge "languages: update italian translation" into android-7.1big biff2017-02-101-6/+28
|\
| * languages: update italian translationStefano Gottardo2017-02-101-6/+28
| | | | | | | | Change-Id: I03c194ccf270ef9dfb910626741d6be76945df05
* | Update ru.xml for TWRP ver. 3.0.3.0SevenMaxs2017-02-101-9/+29
|/ | | | | | Added new strings and minor fix for Russian localization. Change-Id: I696b9088813a543e5b05366552a6630828dd12df
* Improve backup display names with emulated storageEthan Yonker2017-02-081-0/+2
| | | | | | | | | | | | | -Change backup display name to say that we are excluding storage -Add warning message during backup of any partition with data media -Also eliminate unused variable from twrpTar class Maybe this will make the people in issue 276 happy, but probably not because they already lost their data, or because the warning text is yellow instead of red. https://github.com/TeamWin/Team-Win-Recovery-Project/issues/276 Change-Id: I98303fe7f6b7a25fea029637c90145258d41ee46
* Update Ukraine language translation (via jemmini)Ethan Yonker2016-12-161-254/+681
| | | | Change-Id: Ice2bb6c66d47ca2da968f223dd47207159cc0b66
* Add TWRP app install via TWRP recoveryEthan Yonker2016-12-161-0/+7
| | | | | | | | | Note: I will have to add a build flag for excluding the app later for watches and maybe Android TV. I will also have to add support in the tablet and watch layouts later. I will merge this for the initial roll out to select devices and finish up later. Change-Id: Ia4ce5522fae542afa1539b10c0691315392a19ab
* TWRP Language UpdateMiroslav Brzychcy2016-12-151-640/+640
| | | | | | Update slovak language on behalf of translator. Change-Id: I90f289dd082aef1780d63b4880092f57c48ad9ac
* Support File Based EncryptionEthan Yonker2016-12-131-0/+1
| | | | Change-Id: Ib688ddd0c32d3999590cacd86b6d9b18eac336e9
* Add boot slot supportEthan Yonker2016-12-131-0/+6
| | | | Change-Id: I7eaf80e327985f53791f90fbdebad022a9650d31
* Support new AB OTA zipsEthan Yonker2016-12-051-1/+1
| | | | Change-Id: I1ff883375a0a769bf27a834c9bf04c6cdbb42117
* Copy Kernel Logsbigbiff bigbiff2016-12-021-2/+4
| | | | | | Give user option to copy kernel logs to current storage Change-Id: I0c61122fb34826ddb08977e6cbf98e3adf477acd
* MD5 verification sanityJames Christopher Adduono2016-11-3014-1/+15
| | | | | | | | | | | | | We can use switches and enums to make things more understandable and work with results in a more sensible manner. PS2: Move file MD5 verification and error handling into a separate function to reduce code. PS3: Default to false in Check_Restore_File_MD5 function Change-Id: Id3ee0bb444cf13be67bb5dec2c43f7c26a86b954 (cherry picked from commit 5c3950716e5c7c6279efd5f3f338d6d22e5215e2)
* GUI: Add countdown & cancel to install auto-rebootMatt Mower2016-08-191-1/+1
| | | | | | | Provide a countdown from 5 sec for the automated reboot after install. Include a cancel button to interrupt the process. Change-Id: Ib5e1447918adfde45eba361c088800812b690890
* Finish creating disable_free_space_check variableMatt Mower2016-08-191-1/+1
| | | | | | | | | | * Create data manager variable for 'tw_disable_free_space' * Make configurable through Settings * Fix the "two presses needed to enable" issue for the checkbox on the backup screen * No need to capitalize every word, but do specify precedes backup Change-Id: Id436cef13e4ca9349618420aac03862ec4e3c35e
* ADB: Add adb backup for TWRP.bigbiff2016-08-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Functionality for client side to backup tar and image streams over adbd to the client under backup.ab. Using adb backup on the client side you can backup the partitions TWRP knows about. On the client side you can do the following: adb backup -f <filename> --twrp <options> where options are --compress: compress data system: backup system cache: backup cache data: backup data boot: backup boot etc for each partition. You can string multiple options, i.e. adb backup -f <filename> --twrp --compress cache system data adb backup in TWRP will take any option corresponding to TWRP fstab partitions, e.g. efs boot as well. If you do not specify the filename with the -f option, adb will backup your data to a filename backup.ab on the client. You can then rename the file and encrypt it with desktop tools. If you don't want to use command line arguments: adb backup --twrp will bring up the gui and allow you to choose partitions from the backup page. To restore the backup use the following convention: adb restore <filename> Structures are used to store metadata in binary inside of the file itself. If the metadata structure is modified, update the adb version so that it will invalidate older backups and not cause issues on restore. When restoring, we currently do not support picking specific partitions. It's all or nothing. Change-Id: Idb92c37fc9801dc8d89ed2a4570e9d12e76facf8
* Improve greek translationAlex Kalles2016-04-281-19/+19
| | | | | | Some words are too big for the boxes Change-Id: I48c2361dd9c7937361c3fb63b9bd8834c57fe0e0
* Update spanish translationmagdeoz2016-04-091-228/+270
| | | | Change-Id: I4591a5fae396e7a993d4f70d80a1d1f3b2a83654
* Update hungarian translationWechy772016-04-061-0/+2
| | | | Change-Id: Iabd66596c0d1b83935c4adc4ac048f3881284269
* translate install reboot option to dutchthecrazyskull2016-04-051-0/+2
| | | | Change-Id: I23b2c44afca5c903becd201503f81766828c9304
* Greek Translation from the updated en.xmlAlex Kalles2016-04-041-0/+651
| | | | Change-Id: I5cd1b9c394c2777503e5567aaaa01210cfdb4caa
* language: add 2 new strings in it.xmlSlimShadys2016-04-041-0/+2
| | | | Change-Id: I45a6a75d2b9332e523a7f61f19594c4029665ed7
* languages: add 2 new strings for RUSevenMaxs2016-04-041-1/+3
| | | | | | Added translation Reboot Option and minor fix for Russian localization. Change-Id: Ibeade0ce85ac65daf68dfd6b085a32148f66d1cb
* fix typothecrazyskull2016-04-031-1/+1
| | | | Change-Id: I65f16530565c4b510274c72227a5f1483519a677
* Merge "language: add 2 new strings to DE" into android-6.0Dees Troy2016-03-311-0/+2
|\
| * language: add 2 new strings to DEz31s1g2016-03-311-0/+2
| | | | | | | | Change-Id: Ic9d51ddb7a8e47c62399d2e3101e788994276104
* | languages: add Reboot Option translationDaniel Sikorski2016-03-311-0/+2
|/ | | | Change-Id: I33acec5b4d0a371978bf2a6ab3beb26d0d18400f
* TWRP Install Reboot Optionbigbiff2016-03-311-0/+2
| | | | | | | | This is a simple patch to allow users to reboot after installation of zip queue. Current timeout is 5 seconds before reboot. Change-Id: I1a18cbf7025086e35031ab7241b330babebb8343
* languages: fix and improve german translationAndreas Blaesius2016-03-311-2/+2
| | | | Change-Id: I7c5a0fbb1853836cfb5a7d1dfbbeb5f5613572b7
* languages: add Polish translationdadi112016-03-311-0/+670
| | | | | | translated by @dadi11 & @linar10 Change-Id: I09a550c3ee99d44c4ada0bb7d71eb763471c7fda
* twrp: update Dutch translationsAndreas Blaesius2016-03-311-1/+555
| | | | Change-Id: Ibcad999a1276b4519fc2b104b458ee77c984dc8b
* Merge "recovery: czech translation" into android-6.0Dees Troy2016-03-311-0/+639
|\
| * recovery: czech translationAndreas Blaesius2016-03-051-0/+639
| | | | | | | | | | | | | | Uploaded on XDA from XDA-User "kodein" http://forum.xda-developers.com/showpost.php?p=65371227&postcount=1400 Change-Id: I6c3c4fe90b91a21400b11541f3895d92cc80ea1d
* | Update & Fix ru.xmlSevenMaxs2016-03-311-52/+52
| | | | | | | | | | | | Updating and minor fix of the translation for Russian localization. Change-Id: Ic68e0580a12521e71a8da926901a30a31489a079
* | recovery: update italian translationAndreas Blaesius2016-03-311-491/+491
| | | | | | | | | | | | Translated by: Death Mask Salesman Change-Id: I87f1f4417689b62c171264bfc05bf58e2ddfea03
* | gui: add italian translationDiegool2016-03-311-0/+670
| | | | | | | | Change-Id: Ia0bf0a3e1831016a0a418095356e236d55b07fe6
* | TWRP: hungarian translationWechy772016-03-311-2/+33
|/ | | | | | | | | add more strings and fixes my mistakes in crowdin ps2 remove whitespace Change-Id: If79e61fba5c1b2e54be29286b23a1b418095b07c
* Unix file endings and remove execute permissionMatt Mower2016-02-292-669/+669
| | | | Change-Id: Iceaae3f7f20c3c6f23da807786b4cf4739c887c9
* twrp: translations: formatting and fix Turkish language fileAndreas Blaesius2016-02-055-2616/+2617
| | | | Change-Id: I3159a2a0c37589f9472aba83b699840356da33a7
* More languages, some partial, from Omni crowdinEthan Yonker2016-02-056-0/+2924
| | | | Change-Id: I05d0e8516686ba2610ea4b437c83323e84eb4595
* Add font settings to some language filesEthan Yonker2016-02-053-0/+18
| | | | Change-Id: I949fe4bd99d2a4471fef3e3967980a6163943e71
* Import approved translations from crowdinAndreas Blaesius2016-02-054-0/+1999
| | | | | | | - PS2: generic xml instead android xml - PS3: formatting Change-Id: I4c552e172d670278ab2bad1897ceb89b7ee7fec2
* gui: imrove Russian translationAlexander Agura2016-02-051-163/+162
| | | | | | | Seems that previous translator is overmind Anyway, thanx him for initial translation Change-Id: Ia98e344c24671cb60a0765e7c6dcb8aace6428fb
* gui: add german translationz31s1g2016-02-055-28/+672
| | | | | | | | | | | | | | also correct typo in all language files also remove dummy language files for ES and FI german translation was done on omni crowdin by multiple translators: https://crowdin.com/project/OmniROM/de# result was updated in line with latest changes (as of 02032016) to en.xml Change-Id: Iddd8dbee7e050833a4dc61174288514d408267f7 Signed-off-by: z31s1g <z31s1g@googlemail.com>
* Add ru.xml to translation engine on behalf on jemminiMax Matviychuk2016-02-031-0/+672
| | | | Change-Id: I5d2d92f0d24228de9c63640d866e087542499d9d
* Remove execute permissions from source filesthat2016-01-291-0/+0
| | | | Change-Id: I5deef665ab374491c0f498b498971abd525d1111
* Replace fix permissions with fix contexts for emulated storageEthan Yonker2016-01-291-11/+9
| | | | | | | | | | Fix permissions rarely fixed anything on more recent versions of Android and usually made things worse. Instead we will replace it with a more dumbed down option that should fix contexts on /data/media with a few improvements to ensure that contexts get fixed for multiple users and on adopted storage. Change-Id: If5523781936a0b04196e2ad871cae767ebae2583
* Fix translation spellingssndnvaps2016-01-291-2/+2
| | | | | Change-Id: I16f71797901ed21763b52a5cf750f383a460ce4d Signed-off-by: sndnvaps <sndnvaps@gmail.com>
* gui: move "(Up A Level)" in file selector to resource stringthat2016-01-291-0/+1
| | | | | | Doing it at display time is easier. Change-Id: Ic0f2ca1f425f6267452157524a05b51d9324be16
* Adopted Storage supportEthan Yonker2016-01-251-0/+1
| | | | | | | | | | | | | | | | | | | | | -Detects, decrypts, and mounts an adopted SD card if a secondary block device is defined (usually mmcblk1) -Handles unified storage -Displays the adopted storage in MTP along with internal -Factory Reset - wiped just like a data media device, we retain the keys folder and the storage.xml during a factory reset -Backup / Restore -Disable mass storage when adopted storage is present -Read storage nickname from storage.xml and apply it to display names in the GUI -Read storage.xml and determine what storage location is in use for /sdcard and remap accordingly libgpt_twrp is source code mostly kanged from an efimanager project. It is GPL v2 or higher, so we will opt for GPL v3. Change-Id: Ieda0030bec5155ba8d2b9167dc0016cebbf39d55
* gui: add language selection to several pagesz31s1g2016-01-231-1/+2
| | | | | | | | | | | | | Language selection for decrypt, decrypt_pattern and system_readonly pages. Done: portrait landscape watch Change-Id: I5fd595cadcdebdd06e9dbb164d0736c84426ff1b Signed-off-by: z31s1g <z31s1g@googlemail.com>
* gui: language EN fixesz31s1g2016-01-221-2/+4
| | | | | | | | | | -swipe to reboot added -added comment regarding "type yes to confirm format data" -Remove the word "Settings" from the from some header subheadings (some had it, some don't) Change-Id: Id3810c4f3aa5c02e94d854118805da7e51d309f3 Signed-off-by: z31s1g <z31s1g@googlemail.com>
* Fix a bunch of messagesMatt Mower2016-01-221-17/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Find and rename/remove duplicate string variable names * Add missing string variables to en language file * Fix display of some strings missing @ in front of variable name * Fix several %s --> {1} * Be consistent in usage of cancelled vs. canceled (both spellings acceptable) Tip for finding strings missing from language files: 1) Find all messages: egrep -hr "gui_msg.+=" > /tmp/msgs.txt 2) Regex replace to trim them down WHAT: ^\s+gui_msg(?:[^"]+)"([a-zA-Z0-9_]+)=([^"]+).+ WITH: $1 Note that $2 can be used to retain the message 3) Find missing strings: for i in $(cat /tmp/msgs.txt); do if ! grep -q $i gui/theme/common/languages/en.xml; then echo $i; fi done Change-Id: Ic193162e4b5468bf027472928a370be39840ea1d
* Add theme version checkingEthan Yonker2016-01-161-0/+1
| | | | | | | | | | | | | | | | Add a themeversion value to the ui.xml details section. Check this value against a define during early theme loading. If we are loading a custom theme, then reject the custom theme if the version does not match (or not defined) and load the stock theme. If it is the stock theme, show a warning but continue loading. Also fix an issue with changing overlays. Not sure how it ever worked before, but it works now. TLDR: Use the stock theme if the custom theme version does not match. Change-Id: I0277cbe035cbec7e16b6327500762dadf9c1c5c8
* Improve sdcard partitioning processEthan Yonker2016-01-141-0/+1
| | | | | | | | | | | | | | | | | -Improve code for partitioning sdcards -Allow user to select a device for partitioning (must be removable) -Use sgdisk to partition sdcards -Set default sizes for ext and swap to 0 -Change increments for ext to 256MB and swap to 64MB Note: sgdisk is included in 6.0. I have included a static prebuilt sgdisk for trees that do not have sgdisk, however the prebuilt sgdisk is a decent bit larger than the old parted binary. The old parted binary is quite old at this point and we only have it for armv7a. sgdisk should be maintained by AOSP and can be built from source so it should work across architectures. Change-Id: Ib80882d9b5776e5e9358b11340fba392e6f1ae09
* Fix translation spellingsEthan Yonker2016-01-051-1/+2
| | | | Change-Id: I3fc40c61d78cf017c6753ddd9520aa2ef2e853fc
* gui: Fix partition repair messageGreg Wallace2016-01-041-0/+1
| | | | | | | The message was named something non-existent. Fix the spelling error and add the default message into the language files. Change-Id: I4e9e10d2705b1edf75b185d3badba59eb86ffb8b
* gui: Fix typo of formatting_using messageGreg Wallace2016-01-041-1/+1
| | | | Change-Id: I6df4937658815350366ed3dd2cf92156f98c96c4
* gui: PatternPassword: allow any N*N gridAleksa Sarai2016-01-021-0/+1
| | | | | | | | | | Rather than only supporting a 3x3 grid, allow for multiple grid sizes (using the CyanogenMod method of generating passphrases for non-3x3 grids). Also fix the detection of touches, as the old code was far too sensitive for larger grids (and also didn't make much sense). Change-Id: I343ef654e6d29ce0cb790a28281be7c7c9b171d9 Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
* twrp: fix a typo and remove whitespaceAndreas Blaesius2015-12-291-2/+2
| | | | Change-Id: I783e2bbc15ad8e10aab81d14d140a995681e860f
* gui: fix screenshot_saved messagethat2015-12-291-0/+1
| | | | Change-Id: I7d047fe3436100dbe7c7515860a143a97f7ef0d4
* Multiple Language SupportEthan Yonker2015-12-193-0/+692
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