Commit graph

1148 commits

Author SHA1 Message Date
Eric House
770679daa0 combine window titles since windows are also combined 2014-06-19 07:53:28 -07:00
Eric House
5568f00dd8 put back missing string for game config dialog 2014-06-18 20:51:00 -07:00
Eric House
b6d316134d more tweaks to wordlists: display names of those that can be updated;
click on available list shows info and offers to download; etc.
2014-06-18 06:48:04 -07:00
Eric House
99db1cef51 snapshot on the way to removing RemoteDicts in favor of DictsActivity
with a "show remote" checkbox at the top.  Works, but incomplete.
2014-06-17 06:42:07 -07:00
Eric House
2fa9b9151c remove firefox warning and unused method 2014-06-13 07:34:15 -07:00
Eric House
b3823bacb1 label dicts that are installed and that need updating 2014-06-11 07:07:14 -07:00
Eric House
42225e314e center emtpy list text 2014-06-11 06:57:51 -07:00
Eric House
f4a098e75b add progress wheel 2014-06-07 17:52:06 -07:00
Eric House
f8612e727d Support download of multiple dicts at once. (Download of apps not tested and may be broken. Next...) 2014-06-05 06:05:23 -07:00
Eric House
08b96dac82 center empty list message 2014-06-03 07:49:20 -07:00
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
b1705e6073 make lang group header expand button actually expand/contract. 2014-06-03 07:45:08 -07:00
Eric House
4596ed5d7b snapshot on the way to removing last expandablelist use: dictsdelegate
lists languages and wordlists under them, but nothing's colapsable yet.
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
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
5e70d28ea1 first cut at filtering: all and modified work, but the other two
require that I track strings by the contexts in which they appear.
2014-05-14 21:24:29 -07:00
Eric House
c4598f2bf9 tweak main translations strings layout 2014-05-13 21:22:50 -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
049c55e2d2 toward adding default menu to all activities and eventually tracking
translations by where they're used so most relevant can be shown: put
back common superclasses XWActivity and XWListActivity with default
implemenations of activity lifecycle methods that call through to
delegates (and that later can help LocUtils track what's been seen
when.) Not thoroughly tested, but seems to work for the main screens
anyway.
2014-05-12 21:26:31 -07:00
Eric House
a4cd137cef get rid of #1 used to make strings unique: remove duplicates where
possible, and where not replace it with a non-printing zero-width
unicode char.
2014-05-06 06:27:33 -07:00
Eric House
ce77f09588 the new spinner adapter override works much better for game config's
spinners
2014-05-05 07:38:37 -07:00
Eric House
19badff420 tweak text 2014-04-27 19:21:21 -07:00
Eric House
33a83b0e2f toward use of data text messages for games: don't let CDMA phone users
turn data messages on, and when checking if SMS is supported say yes
for KitKat users if they've successfully turned data on.
2014-04-27 13:34:09 -07:00
Eric House
716109e979 Merge branch 'android_branch' into android_localize
Conflicts:
	xwords4/android/XWords4/src/org/eehouse/android/xw4/PrefsActivity.java
	xwords4/android/XWords4/src/org/eehouse/android/xw4/SMSService.java
2014-04-26 22:04:57 -07:00
Eric House
fbb042ffee merge android_branch -> android_sms_kitkat 2014-04-26 18:31:05 -07:00
Eric House
540eb73aec merge android_branch 2014-04-25 20:33:57 -07:00
Eric House
ead0fdf668 merge from_android_beta_82-> 2014-04-25 20:29:54 -07:00
Eric House
a7c1724bb8 another change 2014-04-25 07:46:33 -07:00
Eric House
ed3370133f use lowercase \u instead; \U isn't acceptable in java 2014-04-24 07:01:53 -07:00
Eric House
00ecf0d9d0 be consistent using capital-U \U to indicate unicode 2014-04-24 06:53:13 -07:00
Eric House
e643e9d5c0 add debug preference via which Translate menuitems must be enabled 2014-04-22 21:06:05 -07:00
Eric House
0e9790ee7c new string 2014-04-22 07:42:26 -07:00
Eric House
dbc42c3ad2 include xlation info in update request to server. It's not handled yet
and so the handling of the result is untested.
2014-04-18 08:03:01 -07:00
Eric House
4d08c7cef9 merge android_branch->android_localize 2014-04-18 06:21:45 -07:00
Eric House
8ba19184a0 merge from_android_beta_82->android_branch 2014-04-17 08:32:39 -07:00
Eric House
529e6733d0 up strings for new release 2014-04-17 08:27:42 -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
67ca205774 remove compile command -- which never worked 2014-04-14 08:04:44 -07:00
Eric House
9abc7b3212 add comment 2014-04-14 06:24:09 -07:00
Eric House
e227038354 move not-to-be-localized string out of string.xml 2014-04-12 09:22:45 -07:00
Eric House
5c5a353d12 add string array to spinner manually so it can be translated -- sucks
to have to change code for this, but...  The dropdown views look
crappy though I'm using identical code to what's in DictLangCache
building similar arrays that look fine.  Needs work.
2014-04-10 06:44:33 -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
b4016eaec3 get rid of loc: stuff 2014-04-09 21:05:12 -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