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
Eric House
babb02898e
credit BRS
2014-01-31 18:22:32 -08:00
Eric House
dd38543398
add toast to confirm that word's been added
2014-01-31 07:25:28 -08:00
Eric House
cb574ca156
up version strings
2014-01-31 07:25:07 -08:00
Eric House
ff2615fbc6
Merge branch 'android_studylist' into android_branch
2014-01-31 06:43:36 -08:00
Eric House
c40cef2101
add newbie tip for studylist copy feature
2014-01-30 21:31:14 -08:00
Eric House
426b5b59b2
for better discoverability, always show the studylist menus when the feature's on and supply explantions when there's nothing to show
2014-01-30 19:16:00 -08:00
Eric House
647282968a
hide the label and spinner when there's only one language
2014-01-30 08:15:43 -08:00
Eric House
433993a384
remove early -- should not have gone out
2014-01-30 07:30:34 -08:00
Eric House
3ea86e630d
add label before lang-pick spinner
2014-01-30 07:12:32 -08:00
Eric House
652ce75277
add actionbar icon for copy
2014-01-30 06:38:03 -08:00
Eric House
8e3cbdc1e3
Merge branch 'android_branch' into android_studylist
2014-01-29 21:56:28 -08:00
Eric House
32ecd1d026
more studylist: add lookup-on-tap, show language in title bar, and add
...
menuitem to board menu too
2014-01-29 19:37:04 -08:00
Eric House
11767a41e4
show toast on successful paste
2014-01-29 07:49:57 -08:00
Eric House
21f2936e87
confirm before deleting all words
2014-01-29 07:43:45 -08:00
Eric House
2520fb4c05
add menu and implement copy-to-clipboard
2014-01-29 07:15:25 -08:00
Eric House
d02787f591
fix capitalization
2014-01-28 18:52:35 -08:00
Eric House
42f35cb3d9
populate study list, doing the sorting in the DB query for now
2014-01-28 07:48:08 -08:00
Eric House
4421472391
add (empty so far) studylist browser and menu to invoke it
2014-01-28 06:50:27 -08:00
Eric House
49d26dab07
rough out UI for adding selected or played words to study list DB. Next: add a UI for displaying it etc.
2014-01-27 21:24:57 -08:00
Eric House
af035962e6
revise release notes; up version code
2014-01-27 18:58:41 -08:00
Eric House
4499639d73
up version strings
2014-01-23 19:46:21 -08:00
Eric House
acb090154d
add rate-me menu
2014-01-23 19:32:06 -08:00
Eric House
633a9d190a
up copyright for the new year
2014-01-07 07:07:22 -08:00
Eric House
1f3bd63769
Merge branch 'android_branch' into android_sms_kitkat
2013-12-05 20:03:47 -08:00
Eric House
fdc807ceb8
up version strings for new release
2013-12-03 06:41:45 -08:00
Eric House
40a4bf348e
Merge branch 'android_branch' into android_sms_kitkat
2013-12-01 21:37:43 -08:00
Eric House
ace545a682
up version strings
2013-12-01 21:11:43 -08:00
Eric House
968b1ba321
fix crash on small-screen devices by adding missing menuitem
2013-12-01 20:31:35 -08:00
Eric House
041385049d
add a bit of space separating explanatory text from spinner
2013-11-30 00:28:43 -08:00
Eric House
69285d46a9
up version strings for release
2013-11-29 07:35:31 -08:00
Eric House
2dd56d08af
tweak string
2013-11-29 07:15:47 -08:00
Eric House
991c042e78
add newbie warning against using Firefox for wordlist downloads.
2013-11-28 19:01:07 -08:00
Eric House
72341a085a
start out sending as data, but on first NPE, the symptom of CDMAness,
...
set the pref to send as text and do that from then on (unless the pref
is reset manually)
2013-11-27 07:08:58 -08:00
Eric House
eab12200af
add debug preference to determine whether to use sendDataMessage()
2013-11-26 07:11:22 -08:00
Eric House
d02bbf2d50
up version strings
2013-11-25 08:03:57 -08:00
Eric House
42800851d3
combine thumbnail prefs to reduce nesting
2013-11-25 07:58:11 -08:00
Eric House
97fbbf8897
changelog for next release
2013-11-23 15:33:08 -08:00
Eric House
f88e7a89f0
tweak text
2013-11-21 06:47:00 -08:00
Eric House
75d9752024
use "pct." to indicate what thumb scale choices mean. '%' triggers a
...
known crasher in Android.
2013-11-21 06:44:19 -08:00
Eric House
7be3a3bef8
express thumb size as percent of screen with options, generated, in 5%
...
increments.
2013-11-21 06:27:09 -08:00
Eric House
b874406b7b
add newbie message about how NFC works
2013-11-21 05:53:38 -08:00
Eric House
2e5e10ef6d
move dialog asking to enable NFC into NFCUtils, and use it when
...
creating a new game to be invited via (disabled) NFC
2013-11-20 07:56:05 -08:00
Eric House
5f7242f01b
tweak string
2013-11-20 07:34:11 -08:00
Eric House
b1ae563ae6
fix NPE when installed with existing SMS invites in inbox
2013-11-20 06:54:51 -08:00
Eric House
51a561077c
when action-bar-equipped device tries to hide title bar warn and then
...
disable pref.
2013-11-19 07:22:14 -08:00
Eric House
9fa715f096
add German to what thefreedictionary.com can look up
2013-11-19 05:42:00 -08:00
Eric House
45fcd19e6e
use gameID as inviteID, so that all devices in a game will be using
...
the same gameID -- and use that to reject as duplicates attempts to
use the same invitation more than once.
2013-11-18 21:38:59 -08:00
Eric House
d7239323bc
add gameid as option for what's shown in summary (debug only)
2013-11-18 07:25:40 -08:00
Eric House
03f532374b
put up NFC button even if turned off, and when it's used offer to turn
...
it on.
2013-11-18 06:27:24 -08:00
Eric House
37083c3ea1
fix menu titles -- were reversed
2013-11-18 06:17:26 -08:00
Eric House
e701af7262
tweak text
2013-11-17 21:18:33 -08:00
Eric House
cae89a60a8
include hint in subtitle
2013-11-16 18:31:32 -08:00
Eric House
f303fa2653
debug features and logging are always on/available for debug builds
2013-11-15 20:52:05 -08:00
Eric House
e4e0f57676
put up different help text depending on whether user has buttons or
...
menus (since the text mentions them)
2013-11-15 19:02:13 -08:00
Eric House
d461268b8c
tweak newbie hint
2013-11-15 18:44:11 -08:00
Eric House
e20a72e527
remove and turn off active rect stuff
2013-11-14 05:59:51 -08:00