summaryrefslogtreecommitdiffstats
path: root/gui/twmsg.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-01-18Whitespace cleanupMatt Mower1-1/+1
Change-Id: I93c65973679894bb8587da4b38b410d38036b8bd
2016-03-31Improve progress bar handling for backup / restore / image flashEthan Yonker1-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
2015-12-21Improve string resource lookup in twmsgEthan Yonker1-15/+19
Change-Id: Iaac7d3df0bd12a4d817d4ad273254662865b775a
2015-12-21twmsg: fix notfound detectionEthan Yonker1-1/+1
Change-Id: Ie95fdfaed7011994ac11202d070edeb95032b805
2015-12-20twmsg: fix build error (isdigit not declared)that1-0/+1
Change-Id: I3101d15e5d94241cf8e583d1e06e09f3bc8b31f7
2015-12-19Multiple Language SupportEthan Yonker1-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