summaryrefslogtreecommitdiffstats
path: root/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Run language_helper.py from inside languages dirMatt Mower2017-02-231-2/+2
| | | | | | | | compare_xml.py and language_helper.py make different assumptions about the directory from which they are called. Assume the script is run from within the languages directory for both. Change-Id: I4207919360d82dcd3cfbdebcff38f0e872554744
* Add language_helper.pyEthan Yonker2016-03-312-0/+156
| | | | | | | | | | | | | | | | This script is intended to make managing the language files a little easier. This script reads the English and supplied other language files and compares the 2 and reorders and rewrites the other language to a new XML file such that all the strings are placed in the same order as the English file. It will place commented out string lines for items that are not present in the new file and will not include any strings in the new file that are no longer present in the English source. There is also a version tag that may be compared if present between the English and other language in case a translation string changes. Change-Id: If49d7efbf99c033d9736af971a78ed8455ac5c6f
* Fix up logd make file rulesEthan Yonker2016-02-151-0/+0
| | | | | | | | | logd, the init.recovery.logd.rc, and other related files were included by default if your device configs specified TARGET_USES_LOGD := true which would be the case for any device that has a full ROM tree instead of a minimal TWRP tree. Change-Id: Ia1e55703631f0f22beab2f4d4479599b88539e1a
* Add compare xml script and move/update relink-binaries.shEthan Yonker2016-01-303-0/+108
Add script to compare string values between 2 language xml files which will make it easier to identify strings that are missing between the 2 files. Move relink-binaries.sh to scripts folder and update it to handle relinking 64 bit binaries. Change-Id: Ia7a8bdbeea02256b3b864ab77e15912795275d33