summaryrefslogtreecommitdiffstats
path: root/gui/twmsg.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
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