Commit graph

198 commits

Author SHA1 Message Date
Eric House
66768c7e7d better formatting and key identity checking 2014-04-22 07:30:32 -07:00
Eric House
94597ee287 record R.java where it won't be used. I want to see how often, and in what ways, it changes. 2014-04-21 19:46:27 -07:00
Eric House
45b1b0bfa8 script to produce the translation array that's downloaded to device 2014-04-21 07:13:41 -07:00
Eric House
0bf8b45157 implement reverse fake-locale 2014-04-20 21:36:41 -07:00
Eric House
5d3beb6404 script to generate fake locales from English strings.xml for use testing downloading translations 2014-04-20 21:26:43 -07:00
Eric House
e0404801ba fix clean builds 2014-04-18 19:25:40 -07:00
Eric House
538cd7b154 disallow duplicate strings in strings.xml, manually appending #<digit>. Will eventually filter that out of displayed strings. 2014-04-16 21:14:53 -07:00
Eric House
f5f7428683 fix debug tree to build again, this time with a paramaterized common
xml file
2014-04-16 21:06:41 -07:00
Eric House
79dc66b3a7 add array index as comment 2014-04-16 07:44:10 -07:00
Eric House
d3c5aeb977 add param 2014-04-14 07:40:35 -07:00
Eric House
a0fd457ad1 add stuff, including ability to list strings missing in english or translated version 2014-04-14 07:40:24 -07:00
Eric House
9a4474ac1e ignore .pyc file 2014-04-14 06:28:48 -07:00
Eric House
42ba1baaf7 include preceeding comments with string text 2014-04-12 08:19:48 -07:00
Eric House
1b79bcb1c4 add and use ability to remove nodes 2014-04-12 06:37:55 -07:00
Eric House
64ebbcfbae mods to export getString 2014-04-12 06:16:32 -07:00
Eric House
ac4fc367bb first changes made by script 2014-04-11 23:12:16 -07:00
Eric House
30b861879a first modification made by script 2014-04-11 22:54:13 -07:00
Eric House
77b87c6458 localized files as read in and printed back out, unmodifed but for how
python prints them differently.  This is a baseline: modifications
will follow.
2014-04-11 22:43:56 -07:00
Eric House
10d6969930 fix release builds: generate empty version of checker function 2014-04-10 07:43:57 -07:00
Eric House
67bca0dd4e Because loc: strings can't be supplied for all Views, don't do
that. Instead use the English strings themselves as keys.  Generate a
java array of all R.string.whatever contants at build time, and use
that at runtime to build a hashmap of localizable strings that may be
found in UI widgets.  When one is found and there's a translation,
substitute.
2014-04-09 21:09:46 -07:00
Eric House
ce3fab3b15 don't try to write file if not specified 2014-04-09 07:29:56 -07:00
Eric House
edf720c58c add EditText's hint. But Spinner's prompt MUST be a reference -- fuck you Android -- so I need another way to do this 2014-04-09 07:28:31 -07:00
Eric House
812c54f598 CheckBoxes get translated too 2014-04-09 07:10:55 -07:00
Eric House
0b93e77018 combine the xml-manipulation and java-class-generation scripts 2014-04-08 18:57:31 -07:00
Eric House
d27f2d580a (more of prev commit) generate xml layout files from res_src, and run all inflation through LocUtils that tries to substitute strings 2014-04-08 06:48:42 -07:00
Eric House
aad4872f68 generate menu resources from the old files, adding the 'loc:' key for those title strings listed in strings.xml 2014-04-07 08:14:09 -07:00
Eric House
437e2024cc generate hashmap from strings.xml -- all of them -- making it
unmodifiable, and test for stuff not being in it.
2014-04-06 18:58:33 -07:00
Eric House
663f4293a9 display English text on left side of table 2014-04-05 11:45:20 -07:00
Eric House
16346beeb1 enforce new convention: strings containing formatting must be names whatever_fmt (and strings containing formatting must be so named.) I'm going to have to parse such strings, which will be expensive, so being able to determine from the name whether there's a need should help. 2014-04-04 23:42:57 -07:00
Eric House
2b2fd32951 replace %s and %d (and enforce) 2014-04-04 23:09:50 -07:00
Eric House
589b740af6 include loc: strings from common_rsrc.xml 2014-04-04 07:59:16 -07:00
Eric House
11dabca721 generate mapping from actual strings to R.string.id that can be used at runtime to convert/lookup menu titles. Works to uppercase a menu! Changes break dbg and bt builds -- to be fixed. 2014-04-03 22:27:50 -07:00
Eric House
af0522b0f4 always serve the newest .apk for debug builds wanting to upgrade 2014-03-26 18:44:14 -07:00
Eric House
9993ef1e4c add function to return all apks sorted by creation time 2014-03-26 08:22:17 -07:00
Eric House
6c8cedf5bb rename GamesList -> GamesListActivity, then move most of it into GamesListDelegate. This is part of exploring what it'll take to separate Activity-ness from the rest that can then also be used, say, from a Fragment. 2014-03-24 21:10:02 -07:00
Eric House
3b971e0153 tweak build timestamp format 2014-03-06 22:11:13 -08:00
Eric House
0a601a73a4 (commented out) line to cause ndk to be built without optimization for better source-level debugging 2014-03-04 07:07:44 -08:00
Eric House
56c05869da allow to run from bin directory, which turns out to be useful 2014-03-01 12:39:51 -08:00
Eric House
e536a6d3ee format build timestamp added to about dialog 2014-02-28 06:47:44 -08:00
Eric House
536a1e3b13 install dbg variant too 2014-02-11 22:11:28 -08:00
Eric House
80c3374728 add build timestamp to about dialog (needs better formatting) 2014-02-10 19:20:35 -08:00
Eric House
9b43fed03f rule for .jar files: copy 2014-02-10 18:32:00 -08:00
Eric House
4b293ac89b add Crittercism App ID if available 2014-02-10 07:32:16 -08:00
Eric House
d02481879b catch debug variant up with recent changes and lay groundwork for including crittercism in it. 2014-02-10 07:31:52 -08:00
Eric House
ed9b9646e7 launch app after installing 2014-02-07 07:34:09 -08:00
Eric House
2b653dcf9b add build script 2014-02-02 11:27:09 -08:00
Eric House
af801997ef update name of target SDK version (but not the version itself) 2014-01-07 07:19:47 -08:00
Eric House
bbbc8124ba uninstall based on where called from 2013-12-06 08:00:03 -08:00
Eric House
856474a9b9 remove mistaken echo 2013-12-05 07:55:25 -08:00
Eric House
ea3347ad4a fix to install and launch based on location run from 2013-12-05 07:47:13 -08:00