Commit graph

33 commits

Author SHA1 Message Date
Eric House
f3daed2e12 add menu to remote dicts display, track selected dicts, and implement
download. Which works. Still need to clean up UI for multiple
downloads, track selection across rebuilds of list adapter, etc.
2014-06-03 07:45:08 -07:00
Eric House
ae4260a259 snapshot: handle json data (hardcoded for now) from server and display
collapsible list of selectable dict names.
2014-06-03 07:45:08 -07:00
Eric House
9d23aef31d when a string has format specifiers, highlight them, and offer a
newbie tip explaining the translation must match.
2014-05-22 23:50:44 -07:00
Eric House
91d7213be6 fix strings.xml files, syncing names and removing obsolete elements 2014-05-22 06:35:08 -07:00
Eric House
d1aa5d73f2 don't allow to save translation where format specifiers don't match; cleanup 2014-05-22 05:59:43 -07:00
Eric House
0b379a941b snapshot: add menu to xlation item editor. 2014-05-21 06:59:38 -07:00
Eric House
3055a0a1e4 result of running fix_loc_xmls.py with new -% option 2014-05-20 20:54:12 -07:00
Eric House
0b6549d829 as formatted by python scripts, but without any non-whitespace changes 2014-05-20 20:52:18 -07:00
Eric House
8f15f76fed label xlations with the language name 2014-05-17 16:57:24 -07:00
Eric House
e8efd70bdc tweak strings 2014-05-15 05:39:29 -07:00
Eric House
3040003126 oops -- include auto-modified files 2014-05-13 21:23:53 -07:00
Eric House
4d42768f83 add separate activity/delegate for editing translations, launched by
tapping on a line in the list-o-strings.
2014-05-13 21:07:56 -07:00
Eric House
47eaca3d71 add filter spinner to translate dialog (though there's not yet data to filter on) 2014-05-13 06:30:38 -07:00
Eric House
c42e5f2c0f keep elipses char where it belongs when reversing rest of strings 2014-05-11 20:15:10 -07:00
Eric House
806851057c update translations, late. This needs to be automated!! 2014-05-06 07:24:17 -07:00
Eric House
6d60e45eb9 tweak fake translation generation (and include new strings) 2014-05-02 22:08:44 -07:00
Eric House
36f839f8d1 more stuff to not reverse/capitalize (e.g. "\n"); print to stdout by default 2014-04-23 19:35:10 -07:00
Eric House
cb96960446 let's track changes in the fake translations for a bit 2014-04-23 06:28:03 -07:00
Eric House
a04f091d7f more cleanup: copy over comments and manually fix what script couldn't 2014-04-14 07:38:48 -07:00
Eric House
5d5a828dc2 as new printer prints -- no changes but whitespace 2014-04-12 09:33:52 -07:00
Eric House
6b30248af0 one more _fmt add 2014-04-12 08:17:23 -07:00
Eric House
1b79bcb1c4 add and use ability to remove nodes 2014-04-12 06:37:55 -07:00
Eric House
fe287719eb more fixes 2014-04-12 06:32:50 -07:00
Eric House
b2c6aabd74 start updating: swap %1$[sd] for %[sd] 2014-04-12 06:20:37 -07:00
Eric House
539f1205c9 more script-generated changes 2014-04-11 23:34:15 -07:00
Eric House
5434a3c03c more changes by script 2014-04-11 23:17:25 -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
258b81dfb5 add localized string files exactly as copied from android_branch 2014-04-11 22:19:25 -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
201e808b4a move layout files into res_src, and modify script to mark their localizable strings with loc:; run all layout inflation through new function that substitutes for loc: 2014-04-08 06:47:33 -07:00
Eric House
96194671e2 move menu xml files outside build tree: scripts will generate now 2014-04-07 08:00:18 -07:00