commit | 3c36697b2d1572f963a8e6d34e648efa004029cc | [log] [tgz] |
---|---|---|
author | Matt Mower <mowerm@gmail.com> | Fri Dec 25 19:28:31 2015 -0600 |
committer | Dees Troy <dees_troy@teamw.in> | Fri Jan 22 05:29:04 2016 +0100 |
tree | 822c1fb8881a6aa3f1cd3f8e4786371be4554ec6 | |
parent | 8e5692ffe00ea982da5c548af7b29cbe1b2af934 [diff] |
Fix a bunch of messages * 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
Team Win Recovery Project (TWRP)
You can find a compiling guide here.