Commit graph

13452 commits

Author SHA1 Message Date
Eric House
27d5127f12 cleanup 2022-07-16 15:39:32 -07:00
Wellington Terumi Uemura
68e3a3337d
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (884 of 884 strings)
2022-07-14 06:16:28 +02:00
joe
bb6b102c85
Translated using Weblate (Chinese (Simplified))
Currently translated at 6.3% (56 of 884 strings)
2022-07-14 06:16:27 +02:00
Hosted Weblate
f30ebdee54
Merge branch 'origin/android_branch' into Weblate. 2022-07-12 23:36:24 +02:00
Wellington Terumi Uemura
05a6cc16fe
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (881 of 881 strings)
2022-07-12 23:36:24 +02:00
Eric House
e9f95180e5 add debug-only menu in place of always showing net status
I want to add a relay2 API that'll tell how long it's been since peer
connected etc. First will show it in debug-only builds via this menu.
2022-07-12 14:35:59 -07:00
Eric House
ac7e918718 Rewrite to actually cache lang names and codes we encounter 2022-07-11 17:47:57 -07:00
Eric House
041a9f3c3e change button to "Delete Game" for clarity 2022-07-11 17:47:57 -07:00
Eric House
b1b8644f8f cleanup: delete ref where it's last used 2022-07-11 17:47:57 -07:00
Eric House
dac0727c40 fix sig mismatch between jni and java 2022-07-11 17:47:57 -07:00
Artem
8c598c8aca
Translated using Weblate (Ukrainian)
Currently translated at 0.5% (5 of 879 strings)
2022-07-09 14:16:24 +02:00
Hosted Weblate
0750ce5bf4
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-07-09 06:58:07 +02:00
Eric House
51abc98647 use same variable name throughout 2022-07-08 21:57:42 -07:00
Hosted Weblate
162d1fcb14
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-07-07 19:00:45 +02:00
Eric House
a393a99c19 add ISOCode class
I was getting language name and iso code confused so adding a new type
to keep them separate. Keep string type for crossing JNI boundary and
passing as param e.g. in URLs and Bundles.
2022-07-07 10:00:24 -07:00
Eric House
882c717add cleanup/fix compiler warning 2022-07-07 10:00:24 -07:00
Eric House
9e835b90bf refactor jni code
Adding some utility functions
2022-07-07 10:00:24 -07:00
Eric House
b7e1a4d0ec remove assert 2022-07-07 10:00:24 -07:00
Hosted Weblate
b26da5e4af
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-07-03 05:16:18 +02:00
Eric House
a6a6523e9c cleanup: remove asserts and unused strings
Some asserts were firing in the very rare case where for some reason
relay couldn't be converted to mqtt.
2022-07-02 20:15:29 -07:00
Eric House
2dfc9129f3 add timestamp to saved msgs, modify mqtt header to include later
I want receiver to know when message was originally created. This adds
timestamp to messages and passes it via send proc. Client needs to
send it where possible. So far, MQTT format can't include it without
change, so I'm adding a new proto version. This change can read the
new version. Once that's well-enough distributed I can start sending
using it. Other transmission types than MQTT are for later.
2022-06-29 12:34:27 -07:00
Eric House
ec4822bbe9 remove redundant checkUpdates param 2022-06-28 11:50:12 -07:00
Eric House
1c6afc7909 avoid caught exception with better sql statement 2022-06-28 10:51:45 -07:00
Eric House
2c26af0e68 remove / from archive filenames
Older versions of Android use / in default date strings to produce
illegal file names. Swap '-' in instead.
2022-06-28 10:51:45 -07:00
Eric
cfd7842862
Translated using Weblate (Chinese (Simplified))
Currently translated at 5.2% (47 of 900 strings)
2022-06-27 07:17:00 +02:00
Hosted Weblate
cdac39e808
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-06-26 06:19:36 +02:00
Hosted Weblate
cb72c5dac5
Merge branch 'origin/android_branch' into Weblate. 2022-06-26 06:19:34 +02:00
Wellington Terumi Uemura
eb024391eb
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (903 of 903 strings)
2022-06-26 06:19:34 +02:00
Eric House
0f2d8e7e8f remove titles from renamer alerts 2022-06-25 21:18:35 -07:00
Eric House
880e0812a7 Move new strings to where Weblate will see them
I think they're not going to change and so translators' efforts won't
be wasted.
2022-06-25 13:30:47 -07:00
Eric House
3b711ac253 fix so menugroup hidden; remove elipses 2022-06-25 10:41:36 -07:00
Eric House
e516dbcf66 fix so process restarts after archive loaded 2022-06-24 12:43:35 -07:00
Eric House
08a8bc4189 add non-again tip for archive backup 2022-06-24 12:34:46 -07:00
Eric House
6ec78c0441 group backup/restore menuitems 2022-06-24 10:37:12 -07:00
Eric House
b0d0fa8da7 fix nag timers firing when display disabled
Logic to set the fire time in the future wasn't firing when display of
the nag was diabled, so timers fired every few ms because they always
existed in the past.
2022-06-22 20:46:39 -07:00
Eric House
2f6680b9a3 tweak string 2022-06-22 20:46:39 -07:00
Viktória Nagy
f2f8904569
Translated using Weblate (Hungarian)
Currently translated at 9.7% (86 of 885 strings)
2022-06-17 18:18:07 +02:00
Viktória Nagy
ae1e9fb1ae
Added translation using Weblate (Hungarian) 2022-06-16 16:00:50 +02:00
Eric House
81236961bd deal with attempts to open bogus file
Because I can't filter for file type, user may ask to open the wrong
thing. So put up an alert with a "try again" button. And include the
name of the chosen file for clarity.
2022-06-14 22:16:25 -07:00
Eric House
ca1b12d194 add a warning before overwriting games 2022-06-14 13:36:33 -07:00
Eric House
c311eac65e don't show empty messages
Need to remember that jsonobj.optString() returns "" by default
2022-06-14 11:01:39 -07:00
Wellington Terumi Uemura
971d267460
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (885 of 885 strings)
2022-06-14 18:16:33 +02:00
Eric House
2635be0429 fix filename 2022-06-13 17:06:50 -07:00
Eric House
ec658fb970 load */* rather than x-zip
After a hard-reset I can't open an archive file if I'm looking for
x-zip, because, I guess, the mime type is something the OS records
rather than deduced from the file. With this change, I can export,
hard-reset, and then import the file to get my settings and games
going again.
2022-06-13 14:25:41 -07:00
Hosted Weblate
7c88042102
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-06-13 18:00:23 +02:00
Eric House
f04e19e6bd add missing file to fix build 2022-06-13 09:00:05 -07:00
Hosted Weblate
ca424315a4
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-06-13 17:54:19 +02:00
Eric House
883ab7ca1e add title (same as menuitem text) 2022-06-13 08:51:10 -07:00
Eric House
c705b6caa0 move strings 2022-06-13 08:51:10 -07:00
Eric House
7a0b38d5cf disable button when nothing checked 2022-06-13 08:51:10 -07:00