Commit graph

764 commits

Author SHA1 Message Date
Helium314
61a73572b8 fix crash when day/night switch is removed 2023-08-31 16:05:16 +02:00
Helium314
50258ef435 remove no-dictionary warning when a fallback dictionary for the same language can be used 2023-08-31 12:20:41 +02:00
Helium314
59ce1a1cb3 set color state lists inside Colors 2023-08-31 11:52:10 +02:00
Helium314
556ff23b98 remove bad workaround
InsetDrawable is the solution I was looking for...
2023-08-31 11:21:12 +02:00
Helium314
a7a40d9ed1 set key background colors only once
no functional change, but this will allow more complicated color setting fucntions without impacting performance
2023-08-31 11:06:42 +02:00
Helium314
8916c67d15 workaround for toasts not showing up on some android versions 2023-08-30 12:03:57 +02:00
Helium314
3758cfe403 offer opening dictionary repository if no local dictionary is found when enabling a subtype 2023-08-30 11:45:30 +02:00
Helium314
b3764239b8 tune autocorrections once again 2023-08-30 09:05:29 +02:00
Helium314
963ceacec9 remove some unused strings than can be simply replaces with system strings anyway 2023-08-30 07:50:25 +02:00
Makar Razin
8b2f6270be
East Slavic translations update (#113) 2023-08-29 22:59:55 +02:00
Helium314
305fcdf221 fix too aggressive correction for words with same base latin characters 2023-08-29 22:47:59 +02:00
Helium314
e3240965a8 register app for opening .dict files (content uri only) 2023-08-29 22:26:57 +02:00
Helium314
e623d14829 better check for scripts supporting uppercase
previously language was used, which fails for hinglish
2023-08-29 12:22:39 +02:00
Helium314
cb09538b32 fix crash 2023-08-29 11:10:29 +02:00
Helium314
ccece45596 switch from Char.toInt() to Char.code
removes a lot of deprecation warnings
internally kotlin still seems to use toInt() when calling code
2023-08-29 09:41:22 +02:00
BlackyHawky
b48c6b0077
Fixed misalignment in 4th row when splitting for tablet only (#67) 2023-08-29 08:44:42 +02:00
Helium314
0bcf0ee78d show secondary locales when using system languages, update comments 2023-08-29 08:15:32 +02:00
Helium314
6475ed7d74 remove unused dependencies and compress native libraries 2023-08-29 07:52:18 +02:00
Md. Rifat Hasan Jihan
38edc6fb3e
Enabled split keyboard for landscape (#46)
* Enabled split keyboard for landscape

Enable split keyboard is available from medium-sized (720dp) phones (landscape). On smaller phones, this toggle will be hidden. No change on tablet layout behavior.
2023-08-29 06:52:51 +02:00
Helium314
e0174d1872 mark some strings as used (for detection of unused resources) 2023-08-29 00:14:11 +02:00
Helium314
a8d7702e95
fix French translation for prefs_key_longpress_timeout_settings
see #106
2023-08-29 00:03:03 +02:00
BlackyHawky
4a136b0dd9
French translations added and improved existing ones (#106) 2023-08-28 23:26:19 +02:00
BlackyHawky
15dc59539a
Add string resource for night mode pref (#105) 2023-08-28 21:01:06 +02:00
Helium314
9713c4a25a further improve fix in ce0bf06545 2023-08-28 20:48:57 +02:00
Helium314
78cccee9bb add unit tests for shouldBeAutoCorrected, small dict fix 2023-08-28 19:50:55 +02:00
Helium314
e9488b9ea0 once again try to improve autocorrection 2023-08-28 19:26:25 +02:00
Helium314
4a2b09fe2e fix internal main dictionary being used instead of user-added one 2023-08-28 17:07:23 +02:00
Helium314
f0e5a38fa2 move shouldBeAutoCorrected to a separate function 2023-08-28 14:01:31 +02:00
Helium314
0687d10420 avoid displaying <Language> (Unknown Region) 2023-08-28 08:15:10 +02:00
BlackyHawky
a81726f8dc
Added ":" and ";" signs for Number pad in portrait mode (#104) 2023-08-27 22:38:56 +02:00
Helium314
d53d9a824d udpate strings with translations scraped from more recent version of AOSP keyboard 2023-08-27 22:11:18 +02:00
Helium314
c87d36d20c scrape system strings from latest android source (before is was android 9) 2023-08-27 20:32:00 +02:00
Helium314
70a678804c remove dictionaries for languages with less than 10 million speakers
still available in the dictionaries repository
2023-08-27 19:38:09 +02:00
Helium314
f7bbefff98 enable hinglish subtype 2023-08-27 19:24:10 +02:00
Helium314
f137a32a28 fix subtypes not showing up if all available subtypes have a mismatching country 2023-08-27 19:18:05 +02:00
Helium314
5b0acd82fa add "show source dictionary" option in remove suggestion dialog when using debug apk 2023-08-27 18:41:13 +02:00
Helium314
3ca932db19 properly delete extracted internal main dictionary, and don't show empty dict folders 2023-08-27 18:34:51 +02:00
Helium314
2df1fb926e properly deal with dictionaries in same language, but different locale 2023-08-27 10:41:46 +02:00
Helium314
babbbed908 sort and highlight enabled subtypes in language settings 2023-08-27 10:07:06 +02:00
Helium314
0dc4ef8805 fix issues with language settings
don't show subtypes when using system locales
  this may not be ideal, but avoids dealing with many edge cases and is consistent with old behavior
don't return a selected subtype when it's not enabled
2023-08-27 09:41:23 +02:00
BlackyHawky
82a5e11fd0
Unnecessary files for Number Pad deleted (#102) 2023-08-27 07:45:02 +02:00
Helium314
fabc940c46 Squashed commit of the following:
change appearance preferences so only holo and new custom themes are accessible
remove old lxx themes and many of the drawables only used there (still a bunch left)
(internally) rename holo themes to match test in preferences: ICS -> HoloBlue, KLP -> HoloWhite to
2023-08-26 22:58:51 +02:00
BlackyHawky
e04bb1eaa6
Added numpad for all language layout (#83) 2023-08-26 09:00:29 +02:00
BlackyHawky
77c0a5b4f5
Added new number pad (#81)
* Added new number pad
* keyActionFlags="noKeyPreview" added
* Displayed period + comma keys as Gboard & added symbols key
* Added currency hint for phone in portrait mode on "%" key
* Added ≠ ≈ on the = key and ± on the + key
* Moved spacebar above backspace key for phones in landscape mode
2023-08-26 08:57:46 +02:00
Md. Rifat Hasan Jihan
350eb6d66a
Translated new strings for Bengali (#100)
* description added

* translation for new strings
2023-08-26 08:08:22 +02:00
BlackyHawky
1dc4e07c73
Fixed missed background color of "Previous_key". (#96) 2023-08-26 08:04:12 +02:00
BlackyHawky
a2830490d7
Fixed background color of "Label_action_key" (#97) 2023-08-26 08:03:12 +02:00
Helium314
514014efc8 clean up after switching to new language settings
remove settings fragments for custom input styles, secondary locale and dictionaries
remove related methods, strings and other resources
remove unused functions, mostly in RichInputMethodManager and LatinIME
address some lint warnings
2023-08-25 22:27:13 +02:00
Helium314
aa12c7abdc merge translations from openboard weblate 2023-08-25 18:17:23 +02:00
Helium314
f32395366d
Switch to new language settings (#89)
* add language settings
* move to settings instead of language selection at end of setup wizard
* allow storing enabled subtypes in preferences
* make language selection and input method picker work with new system
* deal with weird issue of getSystemLocales returning inconsistent locales
* add details text to language settings
* make usused settings inaccessible
* better deal with "zz" subtypes, move hungarian (qwerty) from method.xml so a separate aditional subtype
* scrape some strings+translations from android system + latinime
* rename strings, add comment for unused string
2023-08-25 17:33:29 +02:00