summaryrefslogtreecommitdiffstats
path: root/gui/twmsg.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace cleanupMatt Mower2017-01-181-1/+1
| | | | Change-Id: I93c65973679894bb8587da4b38b410d38036b8bd
* Improve progress bar handling for backup / restore / image flashEthan Yonker2016-03-311-1/+6
| | | | | | | | | | | | | | | | | The progress bar will now be updated during image backups, restores and during image flashing (except for sparse images which will require significant changes to libsparse, and except for mtd nand using flash_utils). The progress bar will now be updated mid-file for file systems (tar) so the user will see changes even during large file backup / restore. Add a new progress tracking class to simplify handling of progress bar updates. The class will only update the progress bar 5 times a second to reduce the CPU load from updating the GUI frequently which does affect backup times. Change-Id: Iff382faef3df1f86604af336c1a8ce8993cd12c5
* Improve string resource lookup in twmsgEthan Yonker2015-12-211-15/+19
| | | | Change-Id: Iaac7d3df0bd12a4d817d4ad273254662865b775a
* twmsg: fix notfound detectionEthan Yonker2015-12-211-1/+1
| | | | Change-Id: Ie95fdfaed7011994ac11202d070edeb95032b805
* twmsg: fix build error (isdigit not declared)that2015-12-201-0/+1
| | | | Change-Id: I3101d15e5d94241cf8e583d1e06e09f3bc8b31f7
* Multiple Language SupportEthan Yonker2015-12-191-0/+129
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