1
0
Fork 0

Total engine refactoring (#44)

* totally refactored the Languages, the Database and the IME module. New and more clear folder/package structure

* CharMap and LangHelper are no more

* removed many unused icons, translations and other resources

* deleted the old keymap samples

* Update user-manual.md

* Preferences are stored in Preferences, not in the database.

* removed some unclear and unused settings from the Preferences screen and the code.

* fixed issues with displaying the UI

* removed all non-English words and words with foreign spelling from the English dictionary

* 0 now works as it should in all modes.

* a more clear newline character in suggestions view

* last used input mode is now preserved and restored the next time

* removed the smiley and symbol dialogs

* capsMode -> textCase

* language names are no longer translated

* updated build instructions

* better use of threads for DB operations

* current text candidate is as long as the sequence, to make it more intuitive

* single characters are added to the end of the suggestion, when there are no more in the database

* Added ѝ to Bulgarian character map

* disabled adding words in a user-friendly manner

* when adding a new word is not possible, a toast message appears, for better user experience

* an error is logged when there are duplicate language IDs

* settings -> settings_legacy

* custom Logger class for easier debugging and no logcat flood in the Release version

* removed unnecessary single letters and invalid words from the dictionaries

* more translations cleanup; also corrected some weird translations

* upgraded gradle
This commit is contained in:
Dimo Karaivanov 2022-10-03 15:28:24 +03:00 committed by GitHub
parent af172b79c9
commit 78b6681812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
225 changed files with 2723 additions and 4986 deletions

View file

@ -1,24 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="pref_inputmode_entries">
<item>Dictionary</item>
<item>Text</item>
<item>Number</item>
</string-array>
<integer-array translatable="false" name="pref_inputmode_values">
<item>@integer/INPUT_DICT</item>
<item>@integer/INPUT_TEXT</item>
<item>@integer/INPUT_NUM</item>
</integer-array>
<string-array name="pref_lang_titles">
<item>English</item>
<item>Russian</item>
<item>German</item>
<item>French</item>
<item>Italian</item>
<item>Ukrainian</item>
<item>Bulgarian</item>
<item>Русский</item>
<item>Deutsch</item>
<item>Français</item>
<item>Italiano</item>
<item>Українська</item>
<item>Български</item>
</string-array>
<!--pref_lang_titles pair with pref_lang_values -->
<integer-array translatable="false" name="pref_lang_values">
@ -30,84 +19,4 @@
<item>@integer/LANG_UK</item>
<item>@integer/LANG_BG</item>
</integer-array>
<string-array name="capsMode">
<item>Caps off</item>
<item>Single capital</item>
<item>All caps</item>
</string-array>
<string-array name="keyMode">
<item>Dictionary</item>
<item>Text</item>
<item>Number</item>
</string-array>
<string-array name="smileyContentDescription">
<item> Smile </item>
<item> Clown </item>
<item> Sharp grin </item>
<item> Cat </item>
<item> Half nose </item>
<item> Schadenfreude </item>
<item> Big eye sharp grin </item>
<item> Big eye smile </item>
<item> Cheeky smile </item>
<item> Laughing </item>
<item> Bug eye laughing </item>
<item> Laughing with eyes closed </item>
<item> Big eye laughing </item>
<item> Glasses pointy nose laughing </item>
<item> Pointed hat smile </item>
<item> Frown </item>
<item> Sad </item>
<item> Disheartened </item>
<item> Sad clown </item>
<item> Sad cheeky </item>
<item> Crying </item>
<item> Laughing to tears </item>
<item> Expletive </item>
<item> Shocked frown </item>
<item> Bug eye\'d frown </item>
<item> Sad with eyes closed </item>
<item> Crying with mouth open </item>
<item> Frown with mouth open </item>
<item> Shocked </item>
<item> Surprised </item>
<item> Kiss </item>
<item> Winking smile </item>
<item> Winking laugh </item>
<item> Cheeky tongue out </item>
<item> Tongue out </item>
<item> Teasing </item>
<item> Big eye\'d tongue out </item>
<item> Annoyed </item>
<item> Skeptic </item>
<item> Undecided </item>
<item> Confused </item>
<item> Closed eyes </item>
<item> Unimpressed </item>
<item> Bashful </item>
<item> Mouth shut </item>
<item> Censored </item>
<item> Banker </item>
<item> Very big sad mouth </item>
<item> Mischievous/sarcasm </item>
<item> Sour face </item>
<item> Innocent cat </item>
<item> Innocent smile </item>
<item> Evil wink </item>
<item> Evil grin </item>
<item> Shifty eyes </item>
<item> Party hat smile </item>
<item> Arms up cheering </item>
<item> Heart </item>
<item> Broken heart </item>
<item> big eye\'d cat </item>
</string-array>
</resources>