Eric House
e1f7c13fc7
print wordlist count as part of group title
2014-06-22 09:42:08 -07:00
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
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
dfb3ea842b
get rid of the Loc* classes -- will be transforming xml at buildtime as with menus
2014-04-08 05:20:22 -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
1bed9e3bec
move menu xml files outside build tree: scripts will generate now
2014-04-07 07:59:55 -07:00
Eric House
4ce7f923c1
revert changes adding loc: to mark localizable strings: will be doing that automatically
2014-04-07 07:54:59 -07:00
Eric House
86cc8f6dbf
move onCreateOptionsMenu into superclass
2014-04-06 16:48:17 -07:00
Eric House
7dfa042b77
rename style and use it to align table header with columns
2014-04-05 12:12:00 -07:00
Eric House
663f4293a9
display English text on left side of table
2014-04-05 11:45:20 -07:00
Eric House
2494f7b8d4
add activity for localizing strings and add menuitem to localizable activities to trigger it. Does nothing yet, including populating itself.
2014-04-05 10:27:05 -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
409940adae
remove localized files. They'll get used somehow but not in this form on this branch.
2014-04-04 23:09:22 -07:00
Eric House
073c461693
new type of problem: make a string array in ListPreference localizable
2014-04-04 08:00:30 -07:00
Eric House
2c9dc526c2
convert most of GamesList to be localizable
2014-04-04 06:50:08 -07:00
Eric House
0e7676b301
make board menu localizable -- but submenus don't work yet
2014-04-03 22:37:13 -07:00
Eric House
f2bfd36780
menus are broken: you don't get access to an AttributeSet when inflating them. So replace string references with strings equal to the name of the id (xxx in R.string.xxx); next I'll need to harvest the strings from R.java and map them to their numbers in a way that's runtime-accessible.
2014-04-03 06:21:02 -07:00
Eric House
2afe048095
fix formatting
2014-04-03 06:19:17 -07:00
Eric House
bd02a10fc3
beginnings of framework to allow localized strings to be read from downloaded modules: in xml replace string references with a custom attribute that's the same thing, then in overridden view subclasses pull the reference from the AttributeSet and look it up myself. Works to uppercase all strings in the NewGames dialog.
2014-04-02 08:06:51 -07:00
Eric House
9a55c97793
add new style for expander buttons
2014-03-31 07:20:19 -07:00
Eric House
3ff60861f7
derive GameListGroup from ExpiringLinearLayout
2014-03-31 07:14:40 -07:00
Eric House
84698273a5
fix selection of group item by adding a delegate all selectable items can call.
2014-03-26 21:03:51 -07:00
Eric House
31b65e659d
make GamesList list- not expandable-list-based for future compatibility with Fragments. Groups still don't contract since they need arrows. Next...
2014-03-26 20:01:55 -07:00
Eric House
a842363be1
rename file: Lookup dialog is no longer an Activity
2014-03-23 18:53:38 -07:00
Eric House
73a1083dff
only show lookup menuitem when there's a single word selected, and include that word in the menu title
2014-03-22 10:37:48 -07:00
Eric House
c426741fa1
use same counter title for wordlist and studylist browsers
2014-03-21 19:54:30 -07:00
Eric House
9dab6bc772
add studylist menu to lookup selected words -- same as tapping, but maybe easier to discover.
2014-03-21 19:42:23 -07:00
Eric House
13b64871d5
update strings for release
2014-03-21 18:57:00 -07:00
Eric House
3717035150
include number to be deleted in comfirm message
2014-03-19 22:56:17 -07:00
Eric House
fd817a98da
implement menus, including adding crappy placeholder icons
2014-03-19 21:29:20 -07:00
Eric House
aa6fbf8605
snapshot on the way to making studylists editable: add checkbox to xwlistitem. It's to be an alterative to long tap to select. Implement selectAll and deselectAll.
2014-03-19 20:42:29 -07:00
Eric House
a5f0c797bb
use one message for deletion of groups, whether one or many
2014-03-17 07:45:09 -07:00
Eric House
37b2458140
add number being reset to message
2014-03-17 06:56:10 -07:00
Eric House
94a838d88e
give lookup alert a title
2014-03-14 18:55:06 -07:00
Eric House
be440c8abf
try, again, making lookup dialog an alert rather than an activity. It's a much better experience on a nexus 5 but I've lost my records of why I made it an activity in the first place -- what phones it sucked on as an alert. Still probably doesn't bundle itself correctly and is missing a title.
2014-03-14 18:41:54 -07:00
Eric House
ea189c5717
turn study lists on by default
2014-03-14 06:45:17 -07:00
Eric House
640837f318
up strings for new release
2014-03-11 19:16:41 -07:00
Eric House
fb7c1682b4
tweak string
2014-03-07 19:10:06 -08:00
Eric House
c982fb54d9
up strings and notes for new release
2014-03-06 06:47:43 -08:00
Eric House
45ace48490
tweak string
2014-03-05 06:32:03 -08:00
Eric House
cfee7ef8ac
resend all messages from the network change broadcast receiver itself instead of GamesList, which will not be listening if another activity is in front or if the app's in the background.
2014-03-04 19:03:39 -08:00
Eric House
df771f50c4
add function that resends all pending (un-ackd, at the comms level) messages for unlocked games and, for testing mostly, a menuitem on the main activity to trigger it. Probably crashes if there's a message for a game connected by other than relay.
2014-03-04 07:05:55 -08:00
Eric House
60bce8f22b
add menuitems recently added to non-small-devices' menu
2014-03-02 20:34:58 -08:00
Eric House
23638310bc
register for net state changes, and toast/log on debug builds. This is toward resending from all games with packets pending on reconnect.
2014-03-01 14:59:17 -08:00
Eric House
c1e22dd3cf
add summary DB column and jni code to fetch it to store and display number of unacked messages a game has. And add debug-only option to display it in the main list. In the future I want to be able to iterate over all these games and resend their packets (without opening them visually) when an internet connection comes back up.
2014-02-28 18:59:12 -08:00
Eric House
5274a803b2
move menuitem
2014-02-27 19:13:22 -08:00
Eric House
29d08b95ce
expose comms_getStats() via a debug-build-only menu and dialog
2014-02-26 21:41:49 -08:00
Eric House
80c3374728
add build timestamp to about dialog (needs better formatting)
2014-02-10 19:20:35 -08:00
Eric House
048ae63802
make bad-words reporting dialog blocking so robot doesn't go ahead and move and put its moved dialog up on top of the bad words one before it's dismissed; also change name of string to reflect that it's a format.
2014-02-06 07:22:57 -08:00
Eric House
18f31ad9d6
up strings for new version
2014-02-03 07:42:59 -08:00