Compare commits

...
248 Commits
Author SHA1 Message Date
Jules Aguillon 78a7ffc473 Release 2.0.0 (51) 2026-05-02 21:11:07 +02:00
+34 467d7e83a5 Merge changes from Weblate (#1256)
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: solokot <solokot@gmail.com>
Co-authored-by: ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝) <coool@mail.lv>
Co-authored-by: Packss <enzoana@hotmail.com>
Co-authored-by: A <meow98317@gmail.com>
Co-authored-by: Joppla <joppla@gmx.com>
Co-authored-by: Validbit <validbit@outlook.com>
Co-authored-by: Chasm Solacer <chasmsolacer@users.noreply.hosted.weblate.org>
Co-authored-by: Akal! <ihsani.akmal.0@gmail.com>
Co-authored-by: Edgars Andersons <Edgars+Weblate@gaitenis.id.lv>
Co-authored-by: Mehmet Ali Cuma <v6lhost@proton.me>
Co-authored-by: 是果宝呐 <shiguobaona@163.com>
Co-authored-by: Giuseppe Barichello <beppuz@gmx.com>
Co-authored-by: marciozomb13 <marciozomb13@outlook.com>
Co-authored-by: Bora Atıcı <boratici.acc@gmail.com>
Co-authored-by: Péter Czeglédy <czegledyp2@gmail.com>
Co-authored-by: Jonatas P <jonatasp5592@gmail.com>
Co-authored-by: Rasel Molla <msg4mrm@gmail.com>
Co-authored-by: Bi Bi Le <lebibibioihandsomeboy.ghost@gmail.com>
Co-authored-by: Juan M Sevilla <jumase@disroot.org>
Co-authored-by: Shine WaiLinn <shinelinn1897@users.noreply.hosted.weblate.org>
Co-authored-by: Sai Hak Moe Htike <pekhejdj@gmail.com>
Co-authored-by: Matteo Borella <borella.matteo@gmail.com>
Co-authored-by: Ulpi Antor <weblate.residual441@passmail.net>
Co-authored-by: Nataniel Dika Kurniawan <hikawaart2@gmail.com>
Co-authored-by: Yusif Omran <yusifrad20@gmail.com>
Co-authored-by: Samuel Jabez P <jrbros2346@gmail.com>
Co-authored-by: Regu_Miabyss <cyanogenmod.cid@gmail.com>
Co-authored-by: Tannaz M <tannaz.monajemi@gmail.com>
Co-authored-by: winver <kirillstuzhuk@gmail.com>
Co-authored-by: Summer-Box1228 <tingrong1228@gmail.com>
Co-authored-by: E. Ta. <eta00823@gmail.com>
Co-authored-by: Abo Moayd <aboeanas0y2014@gmail.com>
Co-authored-by: meQ Qentlh <brynnhold@gmail.com>
Co-authored-by: Adrià Vilanova Martínez <me@avm99963.com>
Co-authored-by: QonDonion <dolchanat.a@gmail.com>
Co-authored-by: Leonardo Taglialegne <leonardo@taglialegne.it>
Co-authored-by: Mikael Kujanpää <mikael.pajunen@gmail.com>
Co-authored-by: Vaisakh K M <vaisakhkm2625@gmail.com>
Co-authored-by: Debojit Mozumder <debojitmozumder38@gmail.com>
Co-authored-by: Rifat <rifatstudent463@gmail.com>
Co-authored-by: Guzleon <guzleon@yahoo.es>
2026-05-02 20:11:56 +02:00
Jules Aguillon 5d9a105e5d Update the README and screenshots in preparation for the release (#1255)
* README: Acknowledge NLnet

* Move FUNDING.yml into .github/

* Update screenshots

Redo the screenshots with the suggestions visible.
2026-05-02 19:43:23 +02:00
Jules Aguillon 9c23e6c5f3 Emoji suggestion (#1235)
Suggest an emoji in addition to the 3 suggested words when the
current word matches an alias in the emoji dictionary, if
available.
2026-05-02 19:32:21 +02:00
Jules Aguillon d164820bca Reduce the size of suggestions to fit (#1248)
The font size of the suggested words is reduced if the word would
otherwise split on two lines.
2026-05-01 20:25:20 +02:00
Jules Aguillon b844af1f28 Fix the spacebar in Hangul combining (#1244)
* Fix the spacebar in Hangul combining

The encoding for the spacebar changed and the Hangul combining code was
not updated.

* Change the default layout for Korean
2026-04-24 11:32:19 +02:00
Jules Aguillon 6477c90506 CI: Run the tests (#1245)
Run the tests before building the debug APK in CI. This checks that the
unit tests pass and that the generated files are uptodate.

Doesn't fail if the generated files are outdated. Instead, the APK is
built with them updated.
2026-04-18 21:09:55 +02:00
Jules Aguillon c6774196ea Add more symbols to superscript and small_caps (#1198)
* Add more symbols to accent_syperscript
* Add all uppercase and lowercase variants to accent_small_caps
* Use ʁ instead of ᴚ in accent_small_caps
2026-04-18 16:18:13 +02:00
Jules Aguillon af5f6df02c Autocorrect middle word (#1242)
* Fix crash when typing space in the middle of a word

* Don't trigger autocorrect when the cursor is not at the end of a word

This prevented from editing a word that was already typed.

* Don't undo autocorrect at the wrong time

Backspace was trying to undo autocorrect even after some other action
were done after the last autocorrect. This ensures that the keyboard
remembers accurately the last action.
2026-04-16 15:33:28 +02:00
Tony O 08eb3a04a6 Change default locale for en_* and update IME layout (#1237)
Change default unknown locale dictionary from en_US to en_GB
2026-04-14 19:41:53 +02:00
Jules Aguillon e832c3cd80 Fix crash added in #1233 (#1234)
Crash added in https://github.com/Julow/Unexpected-Keyboard/pull/1233
2026-04-12 14:41:28 +02:00
Jules Aguillon a1d0342033 Better spell check with cursor in the middle of a word (#1233)
* Better spell check with cursor in the middle of a word

Suggestions are based on the entire word and no longer the part of the
word just before the cursor. Also, tapping a suggestion or the space bar
autocorrect replaces the entire word.

* Reduce the number of calls to refresh_current_word

While the cursor moves, calls to refresh_current_word are now only done
when the cursor exits the current word.
2026-04-12 14:33:27 +02:00
Jules Aguillon 5ec663c306 Insert a space when undoing autocorrect (#1232)
This prevents the same suggestions to be presented again and autocorrect
to be activated again when pressing space.

This extra space is wanted because pressing the spacebar triggered
autocorrect in the first place.
2026-04-12 14:30:04 +02:00
Jules Aguillon 833b4a2154 Better suggestion with diacritics (#1223)
* Update cdict

* scripts/subst_of_compose.py: Compute substitutions

from compose mappings. They are used when building dictionaries.

* Add substitutions compose data

* Better suggestion with diacritics

This improves the suggestions for words that contain diacritics and
uppercase letters.

This works by stripping diacritics both when building the dictionaries
(using word aliases added in cdict: https://github.com/Julow/cdict/pull/3)
and during lookup. Cdict then takes care of resolving the correct word.

The substitutions are generated using mappings from `fn`, `shift` and
all the `accent_*` modifiers into srcs/compose/substitutions.json
This can be updated easily when more mappings are added.
2026-04-10 19:08:23 +02:00
Jules Aguillon 8921de7f02 Handle Google Keep bug (#1230)
The Google Keep text area sends contradictory flags to keyboards,
resulting in the suggestions to be disabled.
This seems to be a bug in Google Keep.
2026-04-10 19:04:03 +02:00
Jules Aguillon afa7c0187a Refresh suggestions immediately after language switch (#1229)
* Switch dictionary when language changes

The dictionary was otherwise updated by closing and opening the keyboard
again.

* Refresh suggestions immediately after language switch
2026-04-10 19:03:51 +02:00
Jules Aguillon 7bd9306a9f Dictionary activity: Status message when the keyboard is not enabled (#1228)
This shows a reason why the list is empty and removes confusion.
2026-04-10 19:03:37 +02:00
Jules Aguillon f29ae92ba7 Disable spacebar autocomplete when suggestions are hidden (#1227)
The spacebar autocomplete option was still working even when the
suggestions strip was correctly hidden in applications like Termux.
2026-04-10 19:03:20 +02:00
Jules Aguillon 5f63214c08 Increase lookback when looking for the last word (#1226)
For example, typing "dictionarirs" suggests "dictionaries" but moving
the cursor away and back results in no suggestion. Because the lookback
was 10 characters long, the keyboard was seeing "ctionarirs".
2026-04-10 15:18:50 +02:00
Spike 0f3ec187c9 Documentation: Point to default mappings as requested in #1222 (#1225) 2026-04-10 14:46:29 +02:00
Jure Varlec 13f1996af9 Fix building on NixOS (#1219)
* shell.nix: bump platform version to match target

* shell.nix: make gradlew work on NixOS

This removes the wrapper provided by `shell.nix`. Folks expect the
`./gradlew` wrapper to work, so this approach is more straightforward.
2026-04-08 17:38:45 +02:00
Hopeine 35ccaafe65 doc: Fix hyperlink of bottomw_row.xml and number_row.xml (#1216)
Add blob/master/
2026-04-08 17:29:34 +02:00
Tony O 963399417e Add Finnish QWERTY keyboard layout XML (#1221) 2026-04-05 23:34:36 +02:00
Jules Aguillon 4dab3a609c CI: Check whether ComposeKeyData is uptodate (#1204) 2026-03-16 00:00:41 +01:00
Jules Aguillon 2966a45922 CI: Disable workflow runs on push (#1202) 2026-03-15 01:34:19 +01:00
Tyler b25b670c6b Making dictionaries compatible with 16 KB devices. (#1199) 2026-03-15 01:27:37 +01:00
Jules Aguillon ece8fb51ce Add Assamese layout (#1196) 2026-03-06 13:45:01 +01:00
dzaima 18157a1cd8 Make layout text editor not redraw every frame (#1192) 2026-03-06 13:44:48 +01:00
dzaima 27fdcb6bfc Some slider changes (#1195)
* Helper for whether a slider is vertical

* Only accumulate delta for the current slider's direction

* Slow down horizontal cursor movement while ctrl is held
2026-02-27 00:41:48 +01:00
dzaima 6a19f7ccd3 Separate colors for pressed vs activated labels (#1193) 2026-02-25 23:57:39 +01:00
dzaima 164c8732c0 Add missing alphabet + ~ compose sequences (#1194) 2026-02-25 23:55:31 +01:00
Jules Aguillon 958900ca2f Update target SDK version to 36 (#1190)
* Fix keyboard not showing on Android 16

* Update target SDK version to 36
2026-02-25 00:12:43 +01:00
Jules Aguillon ae4a9d4514 Fix no keyboard after switching from clipboard manager (#1189) 2026-02-24 23:57:10 +01:00
Jules Aguillon 91b2970c1f Fix crash introduced in #1183 (#1187) 2026-02-24 22:50:28 +01:00
Jules Aguillon 9863dcea9e gradle: Show an error when Git submodules are not initialized (#1188)
* CONTRIBUTING: Document Git submodules

* build: Error during build if the submodules are not initialized
2026-02-24 22:50:16 +01:00
Jules Aguillon a80afa5fbe Improve suggestion for capitalized words (#1183)
Suggestions were previously case-sensitive, which gave very bad results
for the first word of a sentence.

This makes sure that the suggestions for capitalized words are as good
as for all lower-case words and that the suggestion doesn't turn the
uppercase letter into lower case.
2026-02-22 21:13:11 +01:00
Jules Aguillon d172455eb4 Fix space and delete not repeating (#1182) 2026-02-21 13:08:42 +01:00
Jules Aguillon df3594bd53 Autocomplete on space bar and undo on delete (#1179)
* Refactor: Implement the space key as an editing action

The space key is no longer a CHAR key but now an EDITING key. This
allows changing the behavior of the space bar while allowing custom
layout users to define a key outputing a space as before.

KeyModifier and ComposeKey are updated to treat the space key as before.

* Enter the best suggestion when the space bar is pressed

* Refactor: Implement backspace as an editing action

* Undo suggestion when delete is pressed

The delete key (backspace internally) undoes the suggestion if the last
action done was entering the suggestion with either the space bar or the
candidates view.

* Add an option to enable space bar autocomplete

This option is off by default. Undoing a completion with backspace works
in any case.

* Refactor: Track selection emptyness in CurrentlyTypedWord

This removes an expensive RPC call.
2026-02-19 00:37:42 +01:00
Jules Aguillon ebf80415d8 Refactor: KeyValue constants (#1180)
* Refactor: KeyValue constants

Add constants for keys that are accessed from the app's code. This
simplifies the fake pointer handling in Keyboard2View.

* Refactor: Pre-compute action key replacement

The action key and the enter swap are pre-computed in EditorConfig. This
simplifies the code.
2026-02-19 00:35:14 +01:00
Jules Aguillon 1cd252f8fa Increase maximum value for the bottom margin option (#1178) 2026-02-14 16:04:30 +01:00
Jules Aguillon 0109f30e22 Fix label color when keys are pressed (#1173)
The color of labels on a pressed key that were not the label being
activated (eg. the labels on the corners when activating the label in
the centre) was not correct.
2026-02-08 00:33:52 +01:00
Jules Aguillon 77c4a27c4c Spell checking (#1137)
This adds dictionary-based spell checking to the keyboard. The keyboard looks at the word being typed and matches it against a dictionary to either complete the rest of the word or find alternative spellings.

The core of this feature is implemented in cdict, which is included as a
submodule in vendor/cidct.

Cdict is developped at https://github.com/Julow/cdict
The dictionaries are hosted at https://github.com/Julow/Unexpected-Keyboard-dictionaries/
The wordlists used to build the dictionaries are the same ones used by
HeliBoard from https://codeberg.org/Helium314/aosp-dictionaries

- Add an activity accessible from the launcher app that lists available
  dictionaries with a download button.
  The DictionaryListView view shows the list of available dictionaries and
  handles downloading and installing them.

- The Dictionaries class manages installed dictionaries. Dictionaries are
  installed as individual files into the app's private directory.

- Available dictionaries are listed in dictionaries.xml, which is generated
  when building Unexpected-Keyboard-dictionaries.
  method.xml mentions the dictionary name for each locales.
2026-02-02 00:20:00 +01:00
Jules Aguillon 2ecf93d990 Candidates view improvements (#1168)
* Refactor: Create subpackage 'suggestions'

* Candidates view: Status message when no dictionary installed

Show a message on the candidates view instead of leaving it empty. A
button points to the dictionary installation activity.

* Add an option to disable the suggestions

* Refactor: Remove Config.should_show_candidates_view

This was moved to EditorConfig.

* Don't disable text suggestions in some text boxes

* Suggestion text size matching settings

The candidates view height is based on the height of keyboard rows and
the suggestion text size is based on the size of labels on the keys.

This is influenced by symbol size and keyboard height options.
2026-02-01 23:25:38 +01:00
Jules Aguillon b9072daaf6 Avoid loops in modmaps (#1167)
It was possible to define a loop that would crash the app with the
following modmap:

    <ctrl a="left" b="left:ctrl,left"/>

With this change, modmap are not taken into account while evaluating
macros. The modmap above modifies ctrl+left into ctrl+left.
2026-01-31 15:36:22 +01:00
Jules Aguillon 1b8506876a Option to switch to the previously used keyboard (#1165)
The "Switch to the last used keyboard" is renamed to "Switching between
input methods" and allows to select "Switch to last used", which was the
default in older releases.
2026-01-30 21:18:48 +01:00
Jules Aguillon e05be0821b README: Remove the "Similar apps" section (#1163) 2026-01-25 13:47:44 +01:00
Jules Aguillon c669a755a6 Add the small capital letters dead key (#1156)
* Add the small capital letters dead key

It can be added to the keyboard from the settings or into custom layouts
as `accent_small_caps`.

Add all the symbols listed on https://en.wikipedia.org/wiki/Small_caps
2026-01-18 21:57:17 +01:00
Jules Aguillon 3b4aa33ff3 Fix crash when using the Monet themes on Android 9 (#1155)
The color resources starting with `@android:color/system_` are not
available on API < 31.

No effort is made to implement the Monet feature on Android 9. Instead,
the monet themes look like the Dark and Light themes.
2026-01-18 17:28:10 +01:00
Jules Aguillon a848897586 Refactor: Split DeviceLocales out of Keyboard2 (#1154)
* Refactor: Split DeviceLocales out of Keyboard2

This moves the code from Keyboard2 that handles the active IME subtypes
and the current one.

The goal is to access this information from the dictionary activity
while simplifying the code of Keyboard2.

* Refresh the candidates view when subtype changes

This fixes the status message being inconsistently shown.

* Refactor: Load DeviceLocales less often

Previously, [DeviceLocales.load()] was called everytime the keyboard was
shown on the screen. This operation is moderately costly and only need
to be done when the IME subtype changes.

* EditorConfig: Fix crash on Android 9
2026-01-18 17:26:41 +01:00
Jules Aguillon 4d4c22b4e2 Merge pull request #1150 from Julow/candidates_view
Candidates view
2025-12-28 19:02:45 +01:00
Jules Aguillon bdb05bcef0 Fix CurrentlyTypedWord counting the first letter twice 2025-12-28 18:13:17 +01:00
Jules Aguillon 2208079e48 CurrentlyTypedWord: Handle key events
Currently, refreshing the current word on each key event.
Refreshing is done after a short delay, to ensure the editor has handled
the event.
2025-12-28 18:13:17 +01:00
Jules Aguillon c4d802d873 CurrentlyTypedWord: Handle selection
When selection is entered, the current word is cleared.
2025-12-28 18:13:16 +01:00
Jules Aguillon 2b60f94ead Enter the suggestion when it's pressed
The current word is replaced by the pressed suggestion.
2025-12-28 18:08:36 +01:00
Jules Aguillon f082fcdebc Track the currently typed word
The `CurrentlyTypedWord` class tracks the word that is being typed. It's
implemented on the same model as Autocapitalisation and avoid expensive
IPC calls when possible.

The `Suggestions` class is where the suggestion lookup should go. It
currently just echoes the current word.
2025-12-28 18:08:12 +01:00
Jules Aguillon 98c1b8db82 Candidates view
The `CandidatesView` is implemented as a `LinearLayout` that is divided
horizontally with up to 3 `TextView`. It might in the future contain
buttons on the sides.

The candidate view is nested into the input view rather than using
Android's `setCandidatesView` and callbacks as the API is unreliable and
complicated.

The first suggestion goes in the middle to be more accessible. The
second suggestion goes on the right to be more accessible to the
right-handed, because it must go somewhere.
2025-12-28 17:56:37 +01:00
Jules Aguillon dfaf4dbb57 More practical definition of method.xml (#1149)
Locale are now defined in `gen_method_xml.py` in a more convenient and
checked way. It contains both the locale definition and the generation
script.

`method.xml` is generated with:

    gradle test

The goal is to support dictionaries for spell checking.
2025-12-27 23:49:50 +01:00
Jules Aguillon dab50e0572 Fix clipboard manager crashes (#1148)
* Fix background crash in clipboard history service

The clipboard history service might crash when the connection between
the keyboard and the system is in a bad state.

* Fix race condition in clipboard history service

The clipboard history service callback appears to be called concurrently
leading to concurrent accesses to data and to concurrent calls to
'on_clipboard_history_change'. Access are now synchronized.

* Fix clipboard manager crash when device is locked
2025-12-26 16:43:34 +01:00
Jules Aguillon b40be68773 Fix various linting issues (#1146) 2025-12-22 01:27:07 +01:00
Jules Aguillon 258215f26c gradle: Remove unecessary rule
The output APKs used to be named 'juloo.keyboard2.apk' are now named
'Unexpected-Keyboard-release.apk' since the Gradle upgrade and the rule
setting it hasn't been working since.
2025-12-18 19:50:22 +01:00
Jules Aguillon 41777fdda6 Disable selection mode in text editors (#1141)
* Disable selection mode in text editors

Selection mode removes the space bar key (which is replaced by the Esc
key) and can be annoying in Emacs for example.
Text editor users probably have the `esc` key available.

* Refactor: Move EditorInfo related code to EditorConfig

Add the new EditorConfig class that handles configuration extracted from
the EditorInfo. It is accessible from the Config class for convenience.

This aims at reducing the length of already large classes and group the
code that was spread over several classes.
2025-12-18 19:15:32 +01:00
10Develops be0aa07a2a Added keyboards (#1129)
* Delete srcs/layouts/armenian_ph_am.xml

There is a phonetic layout which is used in old typewriters

* Amendments according to GOST 6431-90
* Russian traditional layout cyrl_jiuken.xml
* Create cyrl_yawerty.xml

Added ЯВЕРТЫ layout

* Update cyrl_jcuken_ru.xml

Typo fixed

* Added QZERTY layout for Italian and Latin
2025-12-13 23:05:29 +01:00
Jules Aguillon 5fc1da0a2e Remove emoji history migration function (#1139)
This function was used to migrate the representation of the emoji
history and needed a very large table.

This reduces the app size by 22KB.
2025-12-13 22:12:36 +01:00
Jules Aguillon f834b2a82a AZERTY: Make sure the accents are available (#1140)
Remove the `loc` prefix for important accent dead keys and add ê.
2025-12-13 22:09:57 +01:00
Jules Aguillon 498194231f Update the emoji list to Unicode 17.0 (#1138) 2025-12-13 21:40:46 +01:00
Jules Aguillon 08ebf8fabc Fix parsing of escaped characters in macros (#1126)
* refactor: Better printing for KeyValue in tests

* Fix parsing of escaped characters in macros

The parsing code was bugged with custom macros like `symbol:\abc` and
`symbol:\\abc`.
2025-12-13 15:58:34 +01:00
Andy Callisto 0ad03c6dea Ukrainian l10n update (#1128)
* Ukrainian l10n update

* "Debug" translated
2025-11-19 21:00:21 +01:00
dzaima be8a99bdc6 Fix insets being excluded from computed width (#1127) 2025-11-10 18:32:41 +01:00
Jules Aguillon 00cf534e00 build: Avoid unreproducible rules in regular builds (#1125)
The genEmojis rule makes a network request and must not be done during a
regular build.
The compileComposeSequences updates a file that is checked in the
repository and doesn't need to be updated in a regular build. Both are
now handled like 'genLayoutsList'.
2025-11-10 16:27:29 +01:00
Autissima c717461ef5 Turkish F layout (#1096) 2025-11-01 23:47:35 +01:00
Jules Aguillon eae05bb9bd gradle: Set explicit dependency for rule genLayoutsList 2025-11-01 23:43:03 +01:00
Jules Aguillon ac498d4ee9 Update ComposeKeyData.java
Missing from previous commit.
2025-11-01 23:24:34 +01:00
Houfalafel 02c11132b2 Update extra.json (#1118)
change compose for n͠g to g + n + ~ to avoid overlap. this in order to add n + g = ŋ. also added lowercase Ğ.
2025-11-01 23:23:22 +01:00
wei lang 635c7d5882 Cobalt & Pine theme (#1084) 2025-09-29 01:03:35 +02:00
Matej Drobnič df8e7a01e0 Make history duration configurable (#1074) 2025-09-29 00:56:23 +02:00
J. Fronny 7fdf63b930 Upgrade Gradle (#1097)
* Enable configuration cache and up-to-date checking
2025-09-29 00:37:26 +02:00
Spike 462b860e4e Custom-layouts.md: Document minimum row height (#1101) 2025-09-15 14:16:26 +02:00
Jules Aguillon 8db00d51ab Allow smaller row height in custom layouts (#1100)
The height of row set with `<row height="...">` cannot be lower than 0.5
to avoid rendering problems.
This restriction is not necessary when the row has no key and is lifted
in this case.
2025-09-15 14:15:55 +02:00
Jules Aguillon ab85fb717d shell.nix: Remove repoJson
nixpkgs-unstable is now uptodate.
2025-09-04 00:25:56 +02:00
Autissima 5b3dc8d5ed Python script encoding fix (#1093)
* Changed Python scripts so they work on my machine

file open() used default encoding (cp1252 on my machine) but the text is utf-8, had to specify encoding in check_layout.py
2025-09-03 22:41:10 +02:00
Jules Aguillon 795889bf81 README: Remove capitals in "Open Source" 2025-09-01 00:02:02 +02:00
Jules Aguillon 6d0aa4cf51 Use the <fn /> mappings first when typing a gesture (#1085)
This allows assigning mappings to letters without changing the Shift
mappings and making uppercase impossible to type.

For gestures, the Shift modifier is still applied first, unless a custom
mapping for <fn/> is set for the key.
2025-08-31 23:35:34 +02:00
Animesh dfb2c7eaf9 add Everforest Light theme (#1080) 2025-08-24 22:36:45 +02:00
Jules Aguillon cedf3aeb1c Slider sensitivity option and improve slider ergonimics (#1070)
* Add option 'Space bar slider sensitivity'

* Fix slider moving the cursor twice at the beginning

The slider was generating two events when first activated.
Since 2bed42857.

* Make slider less sensitive for the first step

This moves the second slider step approximately 40% further and takes the
new sensitivity option into account.
Allows moving the cursor by one spot more easily.
2025-08-17 19:24:08 +02:00
Jules Aguillon c1d473b4a0 Add support for four important Nigerian languages (#1077)
This adds the English, Hausa, Yoruba and Igbo languages for Nigeria. The
goal is to add the ₦ symbol as well as basic support for these
languages. No layout is added.
2025-08-17 01:59:46 +02:00
Jules Aguillon 00d7d88271 gradle: Disable sync_translations (#1076)
The diffs created by sync_translations.py creates conflicts with the
changes made on Weblate. It is disable to make merging translations from
Weblate easier.
2025-08-16 18:55:26 +02:00
dom 7e4e4bf4d9 Update Custom-layouts.md reference to web editor (#1064) 2025-08-07 20:15:55 +02:00
Jules Aguillon 020e80019b Fix very small label size on 11+ columns layouts (#1046)
The label size was computed against the width of keys on the keyboard,
which resulted in a different label size on different layouts.
Notably, it made the labels very small on a 11 columns layout and
relatively larger on the numpad.

The label size is now computed against a baseline of 1/10 of the width
of the screen.
2025-08-07 20:07:59 +02:00
Jules Aguillon 679f52cf45 Add '⊢' to the greekmath layout 2025-08-07 12:25:42 +02:00
cillyvms 9588f55619 Fix alternate keyboard layouts rendering behind navbar on some devices. (#1062) 2025-07-30 22:47:37 +02:00
Skynetcat 5c7484388f doc: Added Arabic diacritics to documentation of possible key values (#1061) 2025-07-26 12:35:24 +02:00
Jules Aguillon 2bed42857b Fix missing swipe vibration and visual feedback (#1054)
This was removed by mistake in 42528ab211.
2025-07-22 22:03:53 +02:00
Harry-Ais0 fad74bb123 Add compose sequences for ꜩ Ꜩ (#1058) 2025-07-22 22:02:55 +02:00
Anastázius Kaejatídarján 43dd3a2818 Added Majuscules to the Cyrillic Compose Sequences (#1042)
* add majuscules to compose
* add tse to compose
* added reverse ya FN to modernize it FROM the older form
* fix accent FN and add reverse arabic-heh FN
* little improvements and additions
* QoL improvements for Kurdish Sorani
2025-07-19 17:54:57 +02:00
JeelsBoobz c4a1e2e664 Fix autocapitalisation flicker (#1047) 2025-07-19 17:50:27 +02:00
Mal Bajun 13acf90541 Replaced combining_acute with combining_aigu (#1040) 2025-07-13 19:51:55 +02:00
Matej Drobnič a83b40066e Use screen width to switch layouts (#1029)
This changes layout switching logic to detect screen width rather than increasingly specific portrait/landscape/unfolded state.

This reduces number of different auto-layouts back to 2: narrow devices (such as a phone in portrait) and wide devices (such as a phone in landscape or a tablet).
2025-07-11 19:14:36 +02:00
Mal Bajun c6e35ba4b6 Improve layout cyrl_jcuken_as (#1039) 2025-07-11 18:55:20 +02:00
Jules Aguillon e013128142 Release 1.32.1 (50)
Check layouts / Generated files (push) Has been cancelled
Check layouts / check_layout.output (push) Has been cancelled
Make Apk CI / Build-Apk (push) Has been cancelled
2025-07-09 00:24:29 +02:00
Jules Aguillon 898956256a Workaround Godot editor not implementing setSelection() (#1033)
This was tested against:

    org.godotengine.editor.v3
    org.godotengine.editor.v4
2025-07-06 23:18:58 +02:00
Jules Aguillon 8cb9b30461 Fix crash with unexpected value in NumberLayout pref (#1036) 2025-07-06 21:57:41 +02:00
solokot 309fba4766 Update Russian translation (#1035) 2025-07-05 12:45:51 +02:00
Jules Aguillon d1dfc80df6 ci: Disable translation check
The translation check is creating conflicts with changes done on Weblate
and is superfluous.
2025-07-02 23:15:33 +02:00
Joey Schaff 5c4964e438 Add a missing comma in /res/values/strings.xml (#1026) 2025-07-02 23:13:12 +02:00
Jules Aguillon 957dbdc7fe Fix fastlane metadata 2025-07-02 01:52:43 +02:00
Jules Aguillon babc3ec88a Release 1.32.0 (49)
Check layouts / Generated files (push) Has been cancelled
Check layouts / check_layout.output (push) Has been cancelled
Check translations / check-translations (push) Has been cancelled
Make Apk CI / Build-Apk (push) Has been cancelled
2025-07-02 01:05:52 +02:00
Jules Aguillon 42fa47459c Promote ComposeKeyData.java 2025-07-02 00:30:58 +02:00
Jules Aguillon 30d1f5635c Update French translation 2025-07-02 00:30:50 +02:00
+9 75c1ce38df Pull translations from Weblate (#1025)
Translated using Weblate

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: solokot <solokot@gmail.com>
Co-authored-by: ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝) <coool@mail.lv>
Co-authored-by: Packss <enzoana@hotmail.com>
Co-authored-by: A <meow98317@gmail.com>
Co-authored-by: Joppla <joppla@gmx.com>
Co-authored-by: Validbit <validbit@outlook.com>
Co-authored-by: Chasm Solacer <chasmsolacer@users.noreply.hosted.weblate.org>
Co-authored-by: Akal! <ihsani.akmal.0@gmail.com>
Co-authored-by: Edgars Andersons <Edgars+Weblate@gaitenis.id.lv>
Co-authored-by: Mehmet Ali Cuma <v6lhost@proton.me>
Co-authored-by: 是果宝呐 <shiguobaona@163.com>
Co-authored-by: Giuseppe Barichello <beppuz@gmx.com>
Co-authored-by: marciozomb13 <marciozomb13@outlook.com>
Co-authored-by: Bora Atıcı <boratici.acc@gmail.com>
Co-authored-by: Péter Czeglédy <czegledyp2@gmail.com>
Co-authored-by: Jonatas P <jonatasp5592@gmail.com>
2025-07-02 00:28:53 +02:00
Mal BajunandPavel «Mal Bajun» Skrylev c308b57611 feat: added јcuken leyout for all slavic language (#992)
Co-authored-by: Pavel «Mal Bajun» Skrylev <majioa@yandex.ru>
2025-07-01 23:56:07 +02:00
Jules Aguillon 52c0e8c798 Add cyrillic combining kavyka and palatalization (#998) 2025-07-01 23:42:49 +02:00
Jules Aguillon 1ff3bf2fc9 Make vertical sliders slower (#1023)
Make vertical sliders slower. The intention is to make the up/down
slider slower, as we have less visibility and do smaller movements in
that direction.
2025-07-01 23:41:49 +02:00
Jules Aguillon a08db25661 Fix extra bottom margin when navbar buttons absent (#1024)
* Fix extra bottom margin when navbar buttons absent

Fix the extra space that was appearing when the gesture-navigation bar
didn't contain the "switch IME" or "close IME" buttons.
This was found on OneUI 7 with the two "keyboard key" related options
turned off.

* Remove unneeded nav bar detection and width computation
2025-07-01 23:27:24 +02:00
Matej Drobnič 4ed8594794 Add option to also disable number entry layout (#1007) 2025-06-29 16:50:56 +02:00
Jules Aguillon f36a7c8e9d Fix unwanted bottom margin on Samsung OneUI 7 (#1022)
This fixes the unwanted margin at the bottom of the screen on
Samsung One UI 7 based on Android 15.
2025-06-29 16:18:49 +02:00
solokot 004ed95dfd Update Russian translation (#1021) 2025-06-29 11:41:12 +02:00
alotbsol555 9d12981b34 cut and copy with built in keys only if text is selected (#1019)
cut and copy with built in keys only if text is selected to keep existing clipboard content. does not work for key combinations like ctrl+x or ctrl+c.
2025-06-21 22:15:22 +02:00
Jules Aguillon c6da6d6ab5 Fix selection mode not exited when selection cleared (#1020)
The selection mode was not exited when the selection was cleared with,
for example, ctrl+x.
2025-06-19 23:12:37 +02:00
David 2e0be0b32b Added Macedonian language layout (#1016) 2025-06-19 23:11:17 +02:00
Jules Aguillon 42528ab211 Improve selection mode when selection ends cross (#1013)
Emptying the selection with the spacebar slider puts the selection mode
in an unexpected state. This checks that this doesn't happen.

The selection ends can now cross each other, reversing the selection
order. Special care is made to make sure that the sliders go in the
expected direction.

Pointers is changed to send a `onPointerDown` for the first slider event
instead of a `onPointerHold`. This event is detected in
`KeyEventHandler` and the selection ends are reordered if needed when
sliding again.
2025-06-19 01:10:06 +02:00
Jules Aguillon 71d2784026 Add <row scale=""> attribute (#1018)
* Add <row scale=""> attribute

Scale the width of the keys in the row to match a value. Useful to
remove space on the right of the row without adding a 'width' attribute
to each key.

* layouts: Use the 'scale=""' attribute in builtin layouts

This removes the very specific 'width' values.
2025-06-18 00:49:34 +02:00
Jules Aguillon f9b844e988 Increase the clipboard history size to 6 2025-06-14 11:12:21 +02:00
Jules Aguillon 6f0244a29e Add funding.json 2025-06-04 02:08:31 +02:00
Jules Aguillon 2a50a4a129 Fix high keyboard height making it overflows
The calculation for the size of each rows now avoid making the keyboard
bigger than the screen if the Keyboard Height option is unusually high.

The height calculation with the default settings is changed slightly, it
is now assuming that a layout is 3.95 rows high instead of 4. This is
because the bottom row is usually 0.95% the size of other rows.
2025-05-30 20:07:26 +02:00
Jules Aguillon 9ab099175d Fix label size when the keyboard is unusually high
The label size is computed relatively to the width of the keyboard when
the height is larger than 3/2 of the width. This ensures that the labels
have a reasonable size when the keyboard height increases.
2025-05-30 20:07:26 +02:00
Jules Aguillon 0445c310ad Settings: Remove the upper limit in keyboard height
This can be used on phones that have several screens.
2025-05-30 20:07:26 +02:00
tenextractor 536b8d1f67 Add icelandic layout (#999) 2025-05-25 16:44:50 +02:00
Jore d36452d9c3 Update layout customization info in srcs/layouts/latn_qwerty_us.xml (#1001)
- Added info on bottom row customization. (#637)
- Added useful links.
2025-05-25 16:40:15 +02:00
Matej Drobnič 97355881a8 Better support for foldable devices (#982)
* Add AndroidX WindowManager

unfortunately, this seems to be the only way to get fold state, native Android APIs are internal. To add this, we need to update some dependencies, raise java version and raise compile SDK.

* adds separate layouts and separate layout settings for folded and unfolded state of the device.

The affected settings are:
+ the margin bottom settings
+ the horizontal margin settings
+ the keyboard height settings

* Update shell.nix
2025-05-22 23:54:13 +02:00
Jules Aguillon a7312054b5 compose: Add compose+A+e as compose+A+E and many others
compile.py is changed to report when compose+Upper+Upper exists but
compse+Upper+Lower do not.

With these findings, many sequences are added.
2025-05-16 00:59:35 +02:00
Jules Aguillon 3b94bf6a17 Fix duplicated or missing keys and more in layouts
Fix several warnings spotted by check_layout.
2025-05-11 23:06:19 +02:00
Jules Aguillon ff9d2e7d31 check_layout: Check for unknown keys
This can spot mispelled special keys.
2025-05-11 23:05:57 +02:00
Spike b670fe0da2 Clarify use of \\ per Julow in Julow#989 (#990) 2025-05-08 23:04:45 +02:00
solokot 32e82d6791 Update Russian translation (#986) 2025-04-27 00:16:45 +02:00
Anton Karmanov de5c5b5b60 Sinhala phonetic layout (#965) 2025-04-20 20:05:02 +02:00
Jules Aguillon d6dfb5c18c Add compose sequences for n͠g, N͠g and g̃ 2025-04-19 15:10:07 +02:00
Jules Aguillon 460e5214a2 Add class Modmap and test KeyModifier 2025-04-15 00:05:52 +02:00
Jules Aguillon 5ae3ec05e7 strings: Improve "remove clipboard item" prompt 2025-04-14 22:44:37 +02:00
Jules Aguillon 70fb1e8fc1 strings: Shorter name for the settings activity 2025-04-14 22:39:42 +02:00
Jules Aguillon 2bd3e107ac Remove the Share key from preferences 2025-04-14 22:32:38 +02:00
Jules Aguillon 4ae45bd00f Add ù and û to French languages 2025-04-14 22:29:52 +02:00
Jules Aguillon 7a6aef3360 launcher: Fix animations overlapping 2025-04-12 23:30:22 +02:00
Jules Aguillon 9fac081ab8 launcher: Remove fade-in in animations
The fade-in caused the trace to be hidden when animations are disabled.
2025-04-12 23:25:41 +02:00
solokot b4e8b10e2b Update Russian translation (#976) 2025-04-06 22:49:26 +02:00
Jules Aguillon a7d73ebd8a Release 1.31.1 (48)
Check layouts / Generated files (push) Has been cancelled
Check layouts / check_layout.output (push) Has been cancelled
Check translations / check-translations (push) Has been cancelled
Make Apk CI / Build-Apk (push) Has been cancelled
2025-03-29 15:09:38 +01:00
Jules Aguillon 0acf66d455 Restore previous swipe sensibility
The distance at which a swipe was considered successful was reduced in
188c682 to allow making circle gestures on a key that also had a slider.
It was also useful in reducing accidental sliding.

This is impractical for normal typing so it is reverted. The reduced
range continues to be used for sliders.
2025-03-29 12:04:36 +01:00
Jules Aguillon 85c73d9f62 CONTRIBUTING.md: Update section on srcs/compose 2025-03-29 11:21:50 +01:00
Jules Aguillon 58dabfaa07 Fix emoji flag group missing
Off by one error when parsing the emoji groups.
2025-03-28 00:27:44 +01:00
Haley Halcyon 3d7925340b Update latn_qwerty_jp.xml (#962)
Add macron, used in rōmaji for long vowels
2025-03-28 00:04:31 +01:00
Jules Aguillon e746ccd5d0 Place editing keys on the bottom-right of Z/X/C/V
The code is changed to ensure that extra keys all use a consistent
location.
2025-03-27 23:49:49 +01:00
Jules AguillonandJoey Schaff 6541054cce Remove symbols from the number row by default (#964)
The number row option is changed into a ListPreference and controls whether the number row contains symbols or not.

Co-authored-by: Joey Schaff <j@jaoh.xyz>
2025-03-27 23:25:32 +01:00
Spike 3971f6243c Possible-key-values.md—Note syntax change for slider (#958)
The non-backward-compatible change to the XML should be mentioned as users must revise their layouts.
2025-03-27 22:50:34 +01:00
Jules Aguillon 6c40e0604a Add a preferred position for selectAll 2025-03-23 14:58:11 +01:00
Jules Aguillon 1d6a115ce4 Add link to Weblate on the README 2025-03-22 16:32:57 +01:00
Jules Aguillon 6717613b5e Fix label brightness not being applied
This is due to Paint.setColor overriding any alpha value set with
Paint.setAlpha. Bug was added in 653c598.
2025-03-22 12:25:59 +01:00
Joey Schaff 35219a458a Swapping the default placement of ! and | on the Colemak layout (#949)
Swapped placement of ! and | to make it more reasonable.
2025-03-22 11:46:52 +01:00
Jules Aguillon f0ebe45439 Release 1.31.0 (47)
Check layouts / Generated files (push) Has been cancelled
Check layouts / check_layout.output (push) Has been cancelled
Check translations / check-translations (push) Has been cancelled
Make Apk CI / Build-Apk (push) Has been cancelled
2025-03-16 15:45:05 +01:00
Jules Aguillon 0ef36d52e1 Fix crash on API < 26 in settings 2025-03-16 15:44:02 +01:00
0skar2 08860eed17 Better material themes (#904) 2025-03-16 14:59:41 +01:00
Jules Aguillon b8bd3f7b0f Pull changes from Weblate 2025-03-16 14:47:59 +01:00
Jules Aguillon 60b01927ab Selection mode (#913)
* Selection mode: Space to cancel the selection

This adds the "selection mode", which is activated when text is selected
in the text box. The selection mode is exited when the selection is
cleared.

While the selection mode is activated, the Space and Esc keys are
modified into the "selection cancel" key, which remove the selection
without changing the text.
The space bar is otherwise easy to type by accident during a selection
and causes the selected text to be deleted.

* Selection mode: Move each ends of selection separately with slider

When the selection mode is activated, the space bar sliders change how
they affect the selection:

- The left side of the slider moves the left position of the selection.
  To shrink the selection from the left side, the slider must be
  activated by sliding to the left, extending the selection
  temporarilly, then by sliding to the right.

- The right side of the slider affects the right position if the
  selection.
2025-03-15 16:13:16 +01:00
Jules Aguillon 9cfeb0f0c2 Add a delay after a Keyevent key in a macro (#918)
* Construct a single handler

* Add a delay after a Keyevent key in a macro

Add a delay before sending the next key to avoid race conditions causing
keys to be handled in the wrong order. Notably, KeyEvent keys handling
is scheduled differently than the other edit functions.
2025-03-10 23:41:51 +01:00
Spike 5e77fa84cf doc: Massage section on "Escape codes" (#912)
* Add introductory text to the tables

And mention characters that don't have escapes

* Turn tables around

Tables should be structured by what the user wants, not by what the code does.

* Address Julow review #1

- Merge tables, no matter which rule requires escaping; "in the usual way for XML" applies to both
- 3 escapes not mandatory removed from table to new ¶ below
- Found one more symbol → legend

* doc: Clarify escaping of comma and colon per #915
2025-03-08 12:11:54 +01:00
Jules Aguillon 06fbc83c9c sync_translations.py: Handle '\n' in store descriptions
These are added by Weblate.
2025-03-08 12:08:57 +01:00
Jules Aguillon a123810247 Change indentation of strings.xml files to match Weblate
This runs sync_translations.py, which also remove uneeded comments.
2025-03-08 12:05:35 +01:00
Jules Aguillon 906755b787 prefs: Add 'delete_word' and 'forward_delete_word' to extra keys
The gesture combination is mentioned. Preferred position are added.
2025-03-01 16:52:46 +01:00
Jules Aguillon 80c52460c7 Add 'delete_word' and 'forward_delete_word' keys
These keys are the equivalent of ctrl+backspace and ctrl+delete,
respectively.

They can be reached with Gesture+backspace and Gesture+delete
respectively.
2025-03-01 16:52:46 +01:00
dzaima 2b978dd2e0 APL and BQN layouts (#899)
* Add compact BQN layout

* Add compact APL layout
2025-02-28 00:47:49 +01:00
Jules Aguillon 55cb5f5315 Make key symbol smaller when 2 characters long or more
This was the case for string keys but not for macros or keys with custom
symbols.
2025-02-28 00:36:14 +01:00
Jules Aguillon b7d1508d7b Refactor: Remove StringWithSymbol
It's replaced with a macro containing one key.
2025-02-28 00:17:28 +01:00
Jules Aguillon 77b0c30728 cyrl_lynyertz_sr: Use the newer key syntax for ctrl mappings 2025-02-27 23:56:26 +01:00
Jules Aguillon 466e0b8218 KeyValue: Don't wrap keys into a macro when possible
Many kind of KeyValues don't need to be wrapped into a Macro to show a
specific symbol. This is especially useful as Macro keys are not
affected by modifiers.
The parser is changed to have a fast-path when a key value is not a
macro.
2025-02-27 23:53:42 +01:00
Jules Aguillon 75fdc2bfa9 Fix miscalculation of the bottom margin
'_marginBottom' might be uninitialized when used.
2025-02-27 23:20:49 +01:00
Jules Aguillon bee59aceaa Show a message in voice input chooser when empty
This avoids creating an empty dialog that appears as a mysterious white
rectangle.
2025-02-27 23:12:08 +01:00
Spike 92d50dd73f Clerical edits to "Possible values.md" (#907)
* Massage Intro

Start with definition, then use cases, then valid syntax.

Use "legend" rather than "symbol" for the visible legend on the keyboard

Rephrase to avoid "exhaustive". Other simplifications.

* Edit section "Modifiers"

Separate into two tables, each preceded by relevant introduction

* Shuffle sections

Retitle "Special keys"; as used in the Intro, this term refers to all the keywords in this file.

Put two contrasting sections together, add "In contrast," and reword.
2025-02-27 22:12:59 +01:00
Jules Aguillon ba05b2770e Fix crash due to empty strings in keys 2025-02-27 22:00:32 +01:00
Sergiy Stupar 44d1343b83 Update Ukrainian translation (#909) 2025-02-27 21:32:44 +01:00
Jules Aguillon ca25cc55f6 Apply compose sequences to String keys
This is mostly useful for characters that do not fit on a single 16-bit
char.
Shift sequences for 𝕨𝕩𝕗𝕘𝕤 are added for illustration.
2025-02-23 18:00:44 +01:00
Jules Aguillon 68be82a4f9 Macro keys (#878)
Add "macro" keys that behave as if a sequence of keys is typed.

Macro can be added to custom layouts or through the "Add keys to the
keyboard option". The syntax is:

    symbol:key1,key2,..

The symbol cannot contain a : character. 'key1', 'key2', etc.. are:

  - 'String with \' escaping'
    The key will generate the specified string.
  - keyevent:123
    The key will send a keyevent.
  - The name of any special key
2025-02-23 12:12:29 +01:00
Jules Aguillon 581b31bf99 ExtraKeysPreference: Allow title to span several lines
Some titles in the extra keys list are truncated and some information
are invisible.
2025-02-22 12:02:04 +01:00
Jules Aguillon 56903084f2 Remove Japanese from method.xml
This makes the keyboard incorrectly reports that it supports Japanese.
2025-02-15 11:55:26 +01:00
Jules Aguillon ac8fff599f prefs: Add key description for dead keys 2025-02-15 11:51:35 +01:00
Zitrone a22cc39a45 layouts/latn_bone.xml: improve (#760)
* layouts/latn_bone.xml: use new syntax and add most missing keys

new syntax: n/s/e/w/ne/nw/se/sw instead of key{1..8}

Some keys were missing keys according to the tests, this adds them in a
similar way to latn_neo2.
Only `switch_forward` didn't fit (because of the 0
at the bottom of the spacebar).

* layouts/latn_bone.xml: even better bone

- use number row to unclutter rest of keyboard
- use modmap for special shift functions of bone layout
- add missing loc characters
- use standard bottom bar
- add diacritics from the 3 dead key keys on bone
- 2 small keys left and right of the number row (don't fit all 6
  diacritics, so they leak onto the number keys)
- row 1 is full too, so the dead keys from the left of that row leak
  onto the keys there as well

open questions:
- should bone rely on the math layer or use modmap?
- possibility to combine diacritics?
2025-02-15 11:28:21 +01:00
Luke Videckis 7e86ca70cd misc changes to deva alt layout (#880)
* misc changes to deva alt layout

* add indication for numpad for discoverability

* change key* notation to c/nw/ne/sw/se notation
2025-02-15 11:09:27 +01:00
Edgars 33f8bf9dea Fix typo in Latvian translation (#902) 2025-02-15 10:56:14 +01:00
Jules Aguillon 653c598a1c Refactor: Compute appearance values before onDraw
This moves some computations that used to be done during onDraw into the
new Theme.Computed class. This also removes Paint objects from the Theme
class, making it data-only.

This is a requirement for making some keys render differently.
2025-02-09 14:09:45 +01:00
Jules Aguillon bd5c815a6f Refactor: Cleanup KeyValue flag declarations
Flag 'FLAGS_OFFSET << 8' was incorrectly mentionned as free and the
value bits were not taking free flags into account and were bigger than
expected.
2025-02-09 13:13:15 +01:00
Jules Aguillon 06b76d58c2 Fix the compose key being lockable
The compose key was lockable because it had the flag "FLAG_SPECIAL".
Without this flag, the key is not lockable with a long press.
2025-02-09 13:10:16 +01:00
dzaima 255d7f80d7 Add swipe actions on number row (#892) 2025-02-09 12:53:49 +01:00
Jules Aguillon d3753cc455 Add a glyph for cancelling the compose key 2025-02-08 23:16:18 +01:00
Jules Aguillon 96dabde7c8 Make the left and right keys symbol smaller
Prevents the arrow symbols from colliding with the compose key symbol as
the dpad key is very narrow.
2025-02-08 23:14:01 +01:00
Jules Aguillon bd1a72d01e Improve the compose key symbol
Make the symbol bolder and slimmer.
2025-02-08 23:14:01 +01:00
Jules Aguillon 87667a2438 Remove binding fn+shift = capslock
This made is hard to type fn+shift.
gesture+shift still locks shift.
2025-02-08 22:16:37 +01:00
dzaima 8f729bb90a Add embedded_number_row keyboard attribute (#891) 2025-02-08 21:52:41 +01:00
Jules Aguillon aaf0a9a249 Improve the check_layout CI and output
Change the format of check_layout.output to avoid adding any logs for
layouts that do not trigger any warning.

Fix the check_layout CI, which was broken since check_layout.py was
changed to take arguments.
2025-02-04 17:17:46 +01:00
Jules Aguillon ae9c2fa626 check_layout.py: Adjust Shift, Tab and Esc checks 2025-02-04 16:46:49 +01:00
Jules Aguillon 0061911ef3 Pressing the compose key exits the pending sequence
Allows stopping a compose sequence without typing anything.
This is also a more intuitive behavior rather than starting a new
sequence.
2025-02-04 15:50:17 +01:00
Jules Aguillon 6b40803fa4 prefs: Mention Fn combination for accessing extra keys 2025-02-04 15:35:06 +01:00
dzaima defc4bc0bd Even slower slide 2025-02-03 12:49:32 +01:00
Jules Aguillon e1191f3add Fix Enter key sending message in Discord
Set the flag FLAG_SOFT_KEYBOARD when sending key events stops Discord
from sending message when typing Enter.
The other values are the same that are sent when using sendDownUpKeyEvents().
2025-01-25 23:20:05 +01:00
Jules Aguillon 188c68279d Slightly less permissive swipe detection
This allows starting an anticircle gesture on a key with sliders on two
opposite sides.
2025-01-25 22:31:23 +01:00
tenextractor 3e3fd6ffda Maltese layout (#825) 2025-01-25 22:31:04 +01:00
solokot 81c493bff2 Update Russian translation (#884) 2025-01-25 22:24:01 +01:00
David Holdeman e97dbbc771 Add Mongolian layout (#882) 2025-01-25 22:23:39 +01:00
tenextractor 1f9e450dfa Azerbaijani layout (#827) 2025-01-18 12:00:51 +01:00
Jules Aguillon b93bc90242 Vibrate when a circle gesture ends
This is especially useful when discovering the circle gestures and to
feel when a gesture has been entered by accident.
2025-01-18 11:45:13 +01:00
Jules Aguillon c6908ec846 Stable ordering or extra keys
Extra keys were ordered randomly everytime the settings were changed.
Now, there's a single ordering for each combinations of options in the
settings.
2025-01-18 11:34:08 +01:00
Jules Aguillon 16c2be96b3 latn_qwerty_gb: Better position for ',.' 2025-01-18 11:26:14 +01:00
Lokesh Kumar d4a6bfe122 Add /release to .gitignore 2025-01-18 11:13:35 +01:00
Jules Aguillon e3f9341ed1 Refactor: KeyValue: Simplify StringWithSymbol
This removes the Complex key kind and class by making StringWithSymbol a
new kind of key.
2025-01-12 23:24:04 +01:00
Jules Aguillon 3ea5c8d6b7 Refactor: KeyValue: Don't require _payload.equals
Don't require _payload.equals to be implemented (correctly) and avoids
inconsistencies with _payload.compareTo, which is required by type.
2025-01-12 23:10:40 +01:00
Jules Aguillonandgoyalyashpal f7c5b74940 Improve layout WORKMAN (US)
Co-authored-by: goyalyashpal <yashpalgoyal1304@gmail.com>
2025-01-12 23:09:47 +01:00
Jules Aguillon 4351b3eb6e Add "paste" to the pin entry layout 2025-01-12 21:45:10 +01:00
Jules Aguillon bffc76907a Add cursor_up and cursor_down slider keys
Implement up and down cursor movement slider. This is not added to any
layout yet due to the undesirable behavior when moving the focus out of
the text box being edited.
2025-01-12 19:16:04 +01:00
Jules Aguillon ca05c073d2 Allow sliders in every directions
Sliders are no longer limited to the x dimension and can be placed in
corners or purely on the y dimension.
2025-01-11 17:13:58 +01:00
Jules Aguillon ddd2eebb0e Remove the 'slider="true"' attribute
Whether a key behaves as a slider is now purely defined by the key
values present on it.
2025-01-11 16:30:36 +01:00
Jules Aguillon 1783dcdb35 Refactor: Restrict sliders to new 'Slider' key kind
Setting 'slider="true"' on a key is no longer enough to make a slider,
the key must also be of kind 'Slider'.

Only the KeyValue that started sliding is now considered, they can be
generated with negative values. This allows keys that don't have the
complementary cursor movement key on the opposite direction.

This will help implement other kind of sliders as well as up/down
sliders.
2025-01-11 16:18:58 +01:00
Jules Aguillon 4f8b5fa6ce Refactor: Make KeyValue payload Comparable
and use 'toString()' instead of 'getSymbol()'.

This removes unecessary casts when computing symbols and comparing key
values. This will make adding other kind of keys easier.
2025-01-11 15:54:24 +01:00
Jules Aguillon c4e2b446e5 Make the space bar slider slightly less sensitive 2025-01-11 14:24:10 +01:00
Jules Aguillon 7b8f739400 More precise 1-position movement with space bar slider
Moving the cursor by 1 position is hard because the finger has to travel
far enough to activate the slider but then becomes very sensitive.

With this change, swiping on the space bar slider will immediately move
the cursor by 1 position but the slider will activate only if the finger
travel an other swiping distance.
2025-01-11 14:12:43 +01:00
Jules Aguillon a3023a7f18 Lock shift with a gesture
The circle gesture locks shift. It is also the case for the round-trip
gesture if shift is in a corner.
2025-01-03 16:08:13 +01:00
Jules Aguillonand@srikanban 6ce2195253 Add glyphs for zwj and zwnj
Co-authored-by: @srikanban
2025-01-03 15:50:30 +01:00
Jules Aguillon 9ba718694b Refactor: Make all glyph file names 3 character long
For easier reading.
2025-01-03 15:04:33 +01:00
Jules Aguillon 11c9bd850b Remove numpad keys from the main layout
When the numpad is visible, remove the digits and arithmetic symbols
from the main layout. Similarly to when the number row is added.
2025-01-03 12:33:48 +01:00
Jules Aguillon b120fa8f09 Allow 'loc' keys to be present several times 2025-01-03 12:29:44 +01:00
Jules Aguillon e8c20bf521 test: Add ComposeKeyTest 2025-01-03 11:43:38 +01:00
Jules Aguillon 56c62a005d Add zwj, zwnj, nbsp, nnbsp to extra keys preferences 2025-01-02 11:08:04 +01:00
tenextractor 115eda4084 Lithuanian QWERTY layout (#824) 2025-01-02 10:43:01 +01:00
Jules Aguillon 55060f656e Don't double tap for capslock after automatic capitalisation
Allow to more easily disable automatic capitalisation when it's
unwanted.
2024-12-31 12:17:22 +01:00
Jules Aguillon 42c23d3864 Refactor: Simplify double tap for capslock
This doesn't fix a bug but remove some tricky code. The shift key is no
longer different when the "double tap for capslock" option is on.
The handling of the option is moved to Pointer instead and becomes
simpler.
2024-12-31 12:17:22 +01:00
Jules Aguillon f64a0be6fa Fn: redo and pasteAsPlainText as undo and paste
Allows typing redo and pasteAsPlainText easily with Fn or the round-trip
gesture without adding them to the keyboard.
2024-12-31 12:17:22 +01:00
srikanban b43cbf77c2 Update kann_kannada.xml (#858)
* Update kann_kannada.xml

Added zwnj & zwj
1. zwnj used for writing non Kannada words or names like Leo Tolstoy as ಲಿಯೊ ಟಾಲ್‌ಸ್ಟಾಯ್ (also can be written as ಲಿಯೊ ಟಾಲ್ಸ್ಟಾಯ್)
2. zwj used for writing ಅರ್ಕ as ಅರ‍್ಕ

Removed unecessary symbols not present in Kannada language:
1. ∪ is a set symbol, a similar symbol is used in Carnatic music, unfortunately not present in Unicode
2. ॰ used only in Devanagari
3. • bullet, not a character or alphabet in Kannada (Can't remember why I added it, maybe because I use it personally in non markdown texts)

* Update kann_kannada.xml

Cleaning up more
1. Removed ※, not found in other kannada keyboards
2. Moved `:` & `;`  on the key so that its easier to swipe
2024-12-31 10:51:58 +01:00
Jules Aguillon 568b5a99f6 Add preferred position for undo/cut/copy/paste
These keys are placed on the downward direction on the z/x/c/v keys when
they are enabled in the settings.
2024-12-31 10:42:23 +01:00
Jules Aguillon 12d9e5eaf8 Update Shift mappings for math symbols
Shift is the "not" version of some math operators.
∋ is added to the math layout.
2024-12-29 11:29:58 +01:00
tenextractor e594915e80 Uzbek layout (#828) 2024-12-29 10:56:54 +01:00
Jagadeeshan S 78974b7453 Tamil layout: Shift and fn changes (#853)
Signed-off-by: Jagadeeshan S <jagadeeshanmsj@gmail.com>
2024-12-29 10:48:43 +01:00
Jules Aguillon 1a4e61557f Release 1.30.3 (46)
Check layouts / Generated files (push) Has been cancelled
Check layouts / check_layout.output (push) Has been cancelled
Check translations / check-translations (push) Has been cancelled
Make Apk CI / Build-Apk (push) Has been cancelled
2024-12-29 10:31:02 +01:00
Jules Aguillon e13f58658d Fix crash in LayoutModifier 2024-12-29 10:20:18 +01:00
Jules Aguillon e4695e1ff4 Release 1.30.2 (45)
Check layouts / Generated files (push) Has been cancelled
Check layouts / check_layout.output (push) Has been cancelled
Check translations / check-translations (push) Has been cancelled
Make Apk CI / Build-Apk (push) Has been cancelled
2024-12-29 00:29:46 +01:00
Jules Aguillon a9b78923c0 Drop support for Android 3 and 4
Support for Android 4 was broken for several releases and no one
noticed. The lowest supported version is now Android 5.
2024-12-29 00:27:44 +01:00
Jules Aguillon d9b5b36c27 Null check on the payload of KeyValue
The code expect that the payload is never null but there are now a lot
of public constructor functions for KeyValue that don't check for this
property.
2024-12-28 23:24:03 +01:00
Jules Aguillon 5b5d8c692e Fix status bar artifact on opens and closes
On API 30 to 34, the status bar changes color when the keyboard appears
and disappears. A ghost of the changed status bar is animated by the
same animation used for the keyboard, which is unexpected.
2024-12-28 23:06:06 +01:00
Jules Aguillon 926b99cbfe Refactor: Move code to LayoutModifier
Layout modifying functions are removed from Config to LayoutModifier as
static classes.
The two classes are (weakly) mutually dependent, the refactoring is
purely for the purpose of making shorter classes.

The only change is that 'modify_numpad' is changed to remove duplicated
code. This has the side effect of making the "double tap for caps lock"
option affect the shift key in the numpad.
2024-12-26 19:59:43 +01:00
Jules Aguillon 52af262e16 Remove labels for the anti-clockwise circle gesture
These labels are often unwanted and easily collide with other labels.
2024-12-26 18:46:12 +01:00
Jules Aguillon 0d5954cc3a Add Estonian to method.xml 2024-12-26 18:38:31 +01:00
Jules Aguillon 370f921bc3 Proper support for Android 15 edge-to-edge (#848)
The keyboard background now extends under the system bars and display
cutout on Android 15 but the keys do not.

The back and IME switching buttons that appear in the navigation bar require
special care to not overlap with the keyboard.

The launcher and settings activity are also fixed.
2024-12-26 18:29:19 +01:00
Jules Aguillon 57dbf3292f shell.nix: Emulator for Android 15 2024-12-26 13:43:24 +01:00
Jules Aguillon 3162a5abe6 Fix unecessary bottom margin on Android 14 2024-12-24 14:16:30 +01:00
310 changed files with 15421 additions and 5677 deletions
View File
+39
View File
@@ -0,0 +1,39 @@
name: Check generated files
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
jobs:
gen-layouts:
name: Layout list
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- run: python3 gen_layouts.py
- name: "Run 'python3 gen_layouts.py' to update the generated files."
run: git diff --exit-code
check-layouts:
name: Layout warnings
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- run: python3 check_layout.py
- name: "Fix your layout accordingly or run 'python3 check_layout.py' to promote the warnings"
run: git diff --exit-code
check-compose:
name: Compose key data
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- run: python3 srcs/compose/compile.py srcs/compose/{*.json,compose} > srcs/juloo.keyboard2/ComposeKeyData.java
- name: "Run 'gradle test' to update the generated files."
run: git diff --exit-code
-26
View File
@@ -1,26 +0,0 @@
name: Check layouts
on:
workflow_dispatch:
push:
pull_request:
jobs:
gen-layouts:
name: Generated files
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- run: python3 gen_layouts.py
- name: "Check that the generated 'layouts.xml' is uptodate, otherwise run 'python3 gen_layouts.py'"
run: git diff --exit-code
check-layouts:
name: check_layout.output
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- run: python3 check_layout.py
- name: "Check that the generated 'check_layout.output' is uptodate, otherwise run 'python3 check_layout.py'"
run: git diff --exit-code
-16
View File
@@ -1,16 +0,0 @@
name: Check translations
on:
workflow_dispatch:
push:
pull_request:
jobs:
check-translations:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- run: python3 sync_translations.py
- name: "Check that strings files are uptodate, otherwise run 'python3 sync_translations.py'"
run: git add -N . && git diff --exit-code
+24 -8
View File
@@ -3,18 +3,19 @@ name: Make Apk CI
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
jobs:
Build-Apk:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-java@v4
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '17'
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: true
- name: Restore debug keystore from GitHub Secrets
run: |
# Check if exist and use the secret named DEBUG_KEYSTORE
@@ -28,15 +29,30 @@ jobs:
gpg -d --passphrase "debug0" --batch "debug.keystore.asc" > "debug.keystore"
fi
fi
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Run tests
run: |
gradle test
# Warn about outdated generated files.
if ! git diff --name-only; then
echo "Warning: Generated files are not uptodate. Run 'gradle test'."
fi
- name: Build debug APK
uses: gradle/gradle-build-action@v3
run: ./gradlew assembleDebug
env:
DEBUG_KEYSTORE: "debug.keystore"
DEBUG_KEYSTORE_PASSWORD: debug0
DEBUG_KEY_ALIAS: debug
DEBUG_KEY_PASSWORD: debug0
with:
arguments: assembleDebug
- name: Artifact naming
run: |
artifact="${{github.repository_owner}} ${{github.ref_name}}"
+1
View File
@@ -10,3 +10,4 @@
/build
# Directory _build is not used anymore
/_build
/release
+3
View File
@@ -0,0 +1,3 @@
[submodule "vendor/cdict"]
path = vendor/cdict
url = https://github.com/Julow/cdict
+11 -1
View File
@@ -2,6 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:hardwareAccelerated="false">
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application android:label="@string/app_name" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:hardwareAccelerated="false">
<service android:name="juloo.keyboard2.Keyboard2" android:label="@string/app_name" android:permission="android.permission.BIND_INPUT_METHOD" android:exported="true" android:directBootAware="true">
@@ -10,17 +12,25 @@
</intent-filter>
<meta-data android:name="android.view.im" android:resource="@xml/method"/>
</service>
<activity android:name="juloo.keyboard2.SettingsActivity" android:icon="@mipmap/ic_launcher" android:label="@string/settings_activity_label" android:theme="@style/appTheme" android:exported="true" android:directBootAware="true">
<activity android:name="juloo.keyboard2.SettingsActivity" android:icon="@mipmap/ic_launcher" android:theme="@style/settingsTheme" android:exported="true" android:directBootAware="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
<activity android:name="juloo.keyboard2.LauncherActivity" android:icon="@mipmap/ic_launcher" android:theme="@style/appTheme" android:exported="true" android:directBootAware="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity android:name="juloo.keyboard2.dict.DictionariesActivity" android:icon="@mipmap/ic_launcher" android:theme="@style/appTheme" android:exported="true" android:directBootAware="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
</application>
<!-- To query enabled input methods for voice IME detection -->
+49 -15
View File
@@ -7,10 +7,16 @@ Thanks for contributing :)
The application uses Gradle and can be used with Android Studio, but using
Android Studio is not required. The build dependencies are:
- OpenJDK 17
- Android SDK: build tools (minimum `28.0.1`), platform `30`
- Android SDK: build tools, platform `36`
Python 3 is required to update generated files but not to build the app.
Make sure the Git submodules are initialized and point to the right revision:
```sh
git submodule update --init
```
For Android Studio users, no more setup is needed.
For Nix users, the right environment can be obtained with `nix-shell ./shell.nix`.
@@ -173,13 +179,13 @@ Remove the `<!--` and `-->` parts and change the text.
### Adding a translation
The preferred method for translating the app is to use Weblate:
https://hosted.weblate.org/engage/unexpected-keyboard/
The `res/values-<language_tag>/strings.xml` file must be created by copying the
default translation in `res/values/strings.xml`, which contain the structure of
the file and the English strings.
To check that `strings.xml` is formatted correctly, run
`python sync_translations.py`. This will modify your files.
Store descriptions in `fastlane/metadata/android/` are updated automatically.
Translating changelogs is not useful.
@@ -190,18 +196,46 @@ As translations need to be updated regularly, you can subscribe to this issue
to receive a notification when an update is needed:
https://github.com/Julow/Unexpected-Keyboard/issues/373
### Adding Compose key sequences
### Adding symbols to Shift, Fn, Compose and other modifiers
New Compose sequences can be added into `srcs/compose/compose/extra.json`.
If a entirely new family of sequences were to be added, a new `.json` file can
be created in the same directory to host them.
New key combinations can be added to builtin modifiers in the following files:
### Adding key combinations
- Shift in `srcs/compose/shift.json`.
- Fn in `srcs/compose/fn.json`.
- Compose in `srcs/compose/compose/extra.json`.
- Other modifiers are defined in the `accent_*.json` files in `srcs/compose`.
Key combinations are defined in `srcs/juloo.keyboard2/KeyModifier.java`.
For example, keys modified by the `Fn` key are defined in method
`apply_fn_char`.
Generated code must then be updated by running:
Keys with special meaning are defined in `KeyValue.java` in method
`getKeyByName`. Their special action are defined in `KeyEventHandler.java` in
method `key_up`
```
./gradlew compileComposeSequences
```
These files describe each symbols that get transformed when a given modifier is
activated, in JSON format. For example:
Example from `fn.json`, when `Fn` is activated, `<` becomes `«`:
```json
{
"<": "«",
}
```
The result of a sequence can be a key name. See the list of key names in
[doc/Possible-key-values.md](doc/Possible-key-values.md). For example from
`fn.json`, when `Fn` is activated, space becomes `nbsp`:
```json
{
" ": "nbsp",
}
```
Compose sequences are made of several steps. For example, the sequence
`Compose V s = Š` is defined as:
```json
{
"V": {
"s": "Š"
}
}
```
+11 -4
View File
@@ -1,4 +1,4 @@
# Unexpected Keyboard
# Unexpected Keyboard [<img src="https://hosted.weblate.org/widget/unexpected-keyboard/svg-badge.svg" alt="État de la traduction" />](https://hosted.weblate.org/engage/unexpected-keyboard/)
[<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
alt="Get it on F-Droid"
@@ -16,7 +16,7 @@ The main feature is that you can type more characters by swiping the keys toward
This application was originally designed for programmers using Termux.
Now perfect for everyday use.
This application contains no ads, doesn't make any network requests and is Open Source.
This application contains no ads, doesn't make any network requests and is open source.
Usage: to apply the symbols located in the corners of each key, slide your finger in the direction of the symbols. For example, the Settings are opened by sliding in the left down corner.
@@ -24,10 +24,17 @@ Usage: to apply the symbols located in the corners of each key, slide your finge
| --- | --- | --- |
| <img src="/fastlane/metadata/android/en-US/images/phoneScreenshots/4.png" alt="Screenshot-4" /> | <img src="/fastlane/metadata/android/en-US/images/phoneScreenshots/5.png" alt="Screenshot-5" /> | <img src="/fastlane/metadata/android/en-US/images/phoneScreenshots/6.png" alt="Screenshot-6" /> |
## Similar apps
* [Calculator++](https://git.bubu1.eu/Bubu/android-calculatorpp) - Calculator with a similar UX, swipe to corners for advanced math symbols and operators.
## Help translate the application
Improve the application translations [using Weblate](https://hosted.weblate.org/engage/unexpected-keyboard/).
[<img src="https://hosted.weblate.org/widget/unexpected-keyboard/multi-auto.svg" alt="État de la traduction" />](https://hosted.weblate.org/engage/unexpected-keyboard/)
## Contributing
For instructions on building the application, see
[Contributing](CONTRIBUTING.md).
## Acknowledgement
The [NLnet foundation](https://nlnet.nl/) funded the work on the spell checking feature.
Binary file not shown.
-199
View File
@@ -1,199 +0,0 @@
plugins {
id 'com.android.application' version '8.1.1'
}
dependencies {
testImplementation "junit:junit:4.13.2"
}
android {
namespace 'juloo.keyboard2'
compileSdk 34
defaultConfig {
applicationId "juloo.keyboard2"
minSdk 11
targetSdkVersion 35
versionCode 44
versionName "1.30.1"
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['srcs/juloo.keyboard2']
res.srcDirs = ['res', 'build/generated-resources']
assets.srcDirs = ['assets']
}
test {
java.srcDirs = ['test']
}
}
signingConfigs {
// Debug builds will always be signed. If no environment variables are set, a default
// keystore will be initialized by the task initDebugKeystore and used. This keystore
// can be uploaded to GitHub secrets by following instructions in CONTRIBUTING.md
// in order to always receive correctly signed debug APKs from the CI.
debug {
storeFile(System.env.DEBUG_KEYSTORE ? file(System.env.DEBUG_KEYSTORE) : file("debug.keystore"))
storePassword(System.env.DEBUG_KEYSTORE_PASSWORD ? "$System.env.DEBUG_KEYSTORE_PASSWORD" : "debug0")
keyAlias(System.env.DEBUG_KEY_ALIAS ? "$System.env.DEBUG_KEY_ALIAS" : "debug")
keyPassword(System.env.DEBUG_KEY_PASSWORD ? "$System.env.DEBUG_KEY_PASSWORD" : "debug0")
}
release {
if (System.env.RELEASE_KEYSTORE) {
storeFile file(System.env.RELEASE_KEYSTORE)
storePassword "$System.env.RELEASE_KEYSTORE_PASSWORD"
keyAlias "$System.env.RELEASE_KEY_ALIAS"
keyPassword "$System.env.RELEASE_KEY_PASSWORD"
}
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
debuggable false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt')
resValue "string", "app_name", "@string/app_name_release"
signingConfig signingConfigs.release
}
debug {
minifyEnabled false
shrinkResources false
debuggable true
applicationIdSuffix ".debug"
resValue "string", "app_name", "@string/app_name_debug"
resValue "bool", "debug_logs", "true"
signingConfig signingConfigs.debug
}
}
// Name outputs after the application ID.
android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "${applicationId}.apk"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
lintOptions {
// Translation are already checked by 'syncTranslations'
disable 'MissingTranslation'
}
}
tasks.register('buildKeyboardFont') {
println "\nBuilding assets/special_font.ttf"
mkdir "$buildDir"
exec {
workingDir "$projectDir/srcs/special_font"
def svgFiles = workingDir.listFiles().findAll {
it.isFile() && it.name.endsWith(".svg")
}
commandLine("fontforge", "-lang=ff", "-script", "build.pe", "$buildDir/special_font.ttf", *svgFiles)
}
copy {
from "$buildDir/special_font.ttf"
into "assets"
}
}
tasks.register('genEmojis') {
println "\nGenerating res/raw/emojis.txt"
exec {
workingDir = projectDir
commandLine "python", "gen_emoji.py"
}
}
tasks.withType(Test).configureEach {
dependsOn 'genLayoutsList'
dependsOn 'checkKeyboardLayouts'
dependsOn 'syncTranslations'
dependsOn 'compileComposeSequences'
}
tasks.register('genLayoutsList') {
println "\nGenerating res/values/layouts.xml"
exec {
workingDir = projectDir
commandLine "python", "gen_layouts.py"
}
}
tasks.register('checkKeyboardLayouts') {
println "\nChecking layouts"
exec {
def layouts = new File(projectDir, "srcs/layouts").listFiles().findAll {
it.name.endsWith(".xml")
}
workingDir = projectDir
commandLine("python", "check_layout.py", *layouts)
standardOutput = new FileOutputStream("${projectDir}/check_layout.output")
}
}
tasks.register('syncTranslations') {
println "\nUpdating translations"
exec {
workingDir = projectDir
commandLine "python", "sync_translations.py"
}
}
tasks.register('compileComposeSequences') {
def out = "srcs/juloo.keyboard2/ComposeKeyData.java"
println "\nGenerating ${out}"
exec {
def sequences = new File(projectDir, "srcs/compose").listFiles().findAll {
!it.name.endsWith(".py") && !it.name.endsWith(".md")
}
workingDir = projectDir
commandLine("python", "srcs/compose/compile.py", *sequences)
standardOutput = new FileOutputStream("${projectDir}/${out}")
}
}
tasks.named("preBuild") {
dependsOn += "initDebugKeystore"
dependsOn += "copyRawQwertyUS"
dependsOn += "copyLayoutDefinitions"
}
tasks.register('initDebugKeystore') {
if (!file("debug.keystore").exists()) {
println "Initializing default debug keystore"
exec {
// A shell script might be needed if this line requires input from the user
commandLine "keytool", "-genkeypair", "-dname", "cn=d, ou=e, o=b, c=ug", "-alias", "debug", "-keypass", "debug0", "-keystore", "debug.keystore", "-keyalg", "rsa", "-storepass", "debug0", "-validity", "10000"
}
}
}
// latn_qwerty_us is used as a raw resource by the custom layout option.
tasks.register('copyRawQwertyUS')
{
copy {
from "srcs/layouts/latn_qwerty_us.xml"
into "build/generated-resources/raw"
}
}
tasks.register('copyLayoutDefinitions')
{
copy {
from "srcs/layouts"
include "*.xml"
into "build/generated-resources/xml"
}
}
+194
View File
@@ -0,0 +1,194 @@
import com.android.build.gradle.internal.api.BaseVariantOutputImpl
import java.io.FileOutputStream
plugins {
id("com.android.application") version "8.13.2"
}
dependencies {
// Following versions of androidx.window require sdk version 23
implementation("androidx.window:window-java:1.4.0")
implementation("androidx.core:core:1.16.0") // Version 1.17.0 available with sdk 36
testImplementation("junit:junit:4.13.2")
}
android {
namespace = "juloo.keyboard2"
compileSdkVersion = "android-36"
defaultConfig {
applicationId = "juloo.keyboard2"
minSdk = 21
targetSdk { version = release(36) }
versionCode = 51
versionName = "2.0.0"
}
sourceSets {
named("main") {
manifest.srcFile("AndroidManifest.xml")
java.srcDirs("srcs/juloo.keyboard2", "vendor/cdict/java/juloo.cdict")
res.srcDirs("res", "build/generated-resources")
assets.srcDirs("assets")
}
named("test") {
java.srcDirs("test")
}
}
externalNativeBuild {
ndkBuild {
path = file("vendor/Android.mk")
}
}
signingConfigs {
// Debug builds will always be signed. If no environment variables are set, a default
// keystore will be initialized by the task initDebugKeystore and used. This keystore
// can be uploaded to GitHub secrets by following instructions in CONTRIBUTING.md
// in order to always receive correctly signed debug APKs from the CI.
named("debug") {
storeFile = file(System.getenv("DEBUG_KEYSTORE") ?: "debug.keystore")
storePassword = System.getenv("DEBUG_KEYSTORE_PASSWORD") ?: "debug0"
keyAlias = System.getenv("DEBUG_KEY_ALIAS") ?: "debug"
keyPassword = System.getenv("DEBUG_KEY_PASSWORD") ?: "debug0"
}
create("release") {
val ks = System.getenv("RELEASE_KEYSTORE")
if (ks != null) {
storeFile = file(ks)
storePassword = System.getenv("RELEASE_KEYSTORE_PASSWORD")
keyAlias = System.getenv("RELEASE_KEY_ALIAS")
keyPassword = System.getenv("RELEASE_KEY_PASSWORD")
}
}
}
buildTypes {
named("release") {
isMinifyEnabled = true
isShrinkResources = true
isDebuggable = false
resValue("string", "app_name", "@string/app_name_release")
signingConfig = signingConfigs["release"]
}
named("debug") {
isMinifyEnabled = false
isShrinkResources = false
isDebuggable = true
applicationIdSuffix = ".debug"
resValue("string", "app_name", "@string/app_name_debug")
resValue("bool", "debug_logs", "true")
signingConfig = signingConfigs["debug"]
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}
// This raises an error with an informative message instead of the confusing
// ndk-build errors that occur when submodules are not initialized.
gradle.projectsEvaluated {
if (!file("vendor/cdict/java").exists())
throw GradleException("Git submodules not initialized. Run 'git submodule update --init'")
}
val buildKeyboardFont by tasks.registering(Exec::class) {
val `in` = projectDir.resolve("srcs/special_font")
val out = layout.projectDirectory.file("assets/special_font.ttf")
inputs.dir(`in`)
outputs.file(out)
doFirst { println("\nBuilding assets/special_font.ttf") }
workingDir = `in`
val svgFiles = `in`.listFiles()!!.filter {
it.isFile && it.name.endsWith(".svg")
}.toTypedArray()
commandLine("fontforge", "-lang=ff", "-script", "build.pe", out.asFile.absolutePath, *svgFiles)
}
val genEmojis by tasks.registering(Exec::class) {
doFirst { println("\nGenerating res/raw/emojis.txt") }
workingDir = projectDir
commandLine("python", "gen_emoji.py")
}
val genLayoutsList by tasks.registering(Exec::class) {
inputs.dir(projectDir.resolve("srcs/layouts"))
outputs.file(projectDir.resolve("res/values/layouts.xml"))
doFirst { println("\nGenerating res/values/layouts.xml") }
workingDir = projectDir
commandLine("python", "gen_layouts.py")
}
val genMethodXml by tasks.registering(Exec::class) {
val out = projectDir.resolve("res/xml/method.xml")
inputs.file(projectDir.resolve("gen_method_xml.py"))
inputs.file(projectDir.resolve("res/values/dictionaries.xml"))
outputs.file(out)
doFirst { println("\nGenerating res/xml/method.xml") }
doFirst { standardOutput = FileOutputStream(out) }
workingDir = projectDir
commandLine("python", "gen_method_xml.py")
}
val checkKeyboardLayouts by tasks.registering(Exec::class) {
inputs.dir(projectDir.resolve("srcs/layouts"))
inputs.file(projectDir.resolve("srcs/juloo.keyboard2/KeyValue.java"))
outputs.file(projectDir.resolve("check_layout.output"))
doFirst { println("\nChecking layouts") }
workingDir = projectDir
commandLine("python", "check_layout.py")
}
val compileComposeSequences by tasks.registering(Exec::class) {
val `in` = projectDir.resolve("srcs/compose")
val out = projectDir.resolve("srcs/juloo.keyboard2/ComposeKeyData.java")
inputs.dir(`in`)
outputs.file(out)
doFirst { println("\nGenerating $out") }
val sequences = `in`.listFiles { it: File ->
!it.name.endsWith(".py") && !it.name.endsWith(".md")
}!!.map { it.absolutePath }.toTypedArray()
workingDir = projectDir
commandLine("python", `in`.resolve("compile.py").absolutePath, *sequences)
doFirst { standardOutput = FileOutputStream(out) }
}
tasks.withType(Test::class).configureEach {
dependsOn(genLayoutsList, checkKeyboardLayouts, compileComposeSequences, genMethodXml)
}
val initDebugKeystore by tasks.registering(Exec::class) {
doFirst { println("Initializing default debug keystore") }
isEnabled = !file("debug.keystore").exists()
// A shell script might be needed if this line requires input from the user
commandLine("keytool", "-genkeypair", "-dname", "cn=d, ou=e, o=b, c=ug", "-alias", "debug", "-keypass", "debug0", "-keystore", "debug.keystore", "-keyalg", "rsa", "-storepass", "debug0", "-validity", "10000")
}
// latn_qwerty_us is used as a raw resource by the custom layout option.
val copyRawQwertyUS by tasks.registering(Copy::class) {
from("srcs/layouts/latn_qwerty_us.xml")
into("build/generated-resources/raw")
}
val copyLayoutDefinitions by tasks.registering(Copy::class) {
from("srcs/layouts")
include("*.xml")
into("build/generated-resources/xml")
}
tasks.named("preBuild") {
dependsOn(initDebugKeystore, copyRawQwertyUS, copyLayoutDefinitions)
// 'mustRunAfter' defines ordering between tasks (which is required by
// Gradle) but doesn't create a dependency. These rules update files that are
// checked in the repository that don't need to be updated during regular
// builds.
mustRunAfter(genEmojis, genLayoutsList, compileComposeSequences, genMethodXml)
}
+33 -185
View File
@@ -1,185 +1,33 @@
# arab_alt
Layout includes some ASCII punctuation but not all, missing: !, ", ', +, -, /, :, ;, <, =, >, ?, [, \, ], _, |, ~
1 warnings
# arab_hamvaj_tly
Layout includes some ASCII punctuation but not all, missing: ", %, ', ,, /, ;, <, =, >, ?, [, \, ], _, `, {, |, }
Layout doesn't define some important keys, missing: loc esc
2 warnings
# arab_pc
Layout includes some ASCII punctuation but not all, missing: !, ', +, ;, ?, \, |
1 warnings
# arab_pc_ckb
Layout includes some ASCII punctuation but not all, missing: ", %, ', +, ,, ;, <, =, >, ?, `, |, ~
1 warnings
# arab_pc_ckb_fa
Layout includes some ASCII punctuation but not all, missing: ", #, $, %, &, ', ,, /, ;, ?, @, \, ^, `, |, ~
Layout doesn't define some important keys, missing: loc esc, loc tab
2 warnings
# arab_pc_hindu
Layout includes some ASCII punctuation but not all, missing: !, ', +, ;, ?, \, |
1 warnings
# arab_pc_ir
Layout includes some ASCII punctuation but not all, missing: ", %, ', ,, /, ;, <, =, >, ?, [, \, ], `, {, |, }
1 warnings
# armenian_ph_am
0 warnings
# beng_national
Layout includes some ASCII punctuation but not all, missing: $
1 warnings
# beng_provat
Layout includes some ASCII punctuation but not all, missing: $, &, *, ., /, <, >, [, \, ], `, {, |, }
1 warnings
# cyrl_jcuken_kk
0 warnings
# cyrl_jcuken_ru
0 warnings
# cyrl_jcuken_uk
0 warnings
# cyrl_lynyertz_sr
0 warnings
# cyrl_ueishsht
0 warnings
# cyrl_yaverti
Layout includes some ASCII punctuation but not all, missing: ~
1 warnings
# cyrl_yqukeng_tj
Layout doesn't define some important keys, missing: loc esc, loc tab
These keys are now added automatically, unexpected: f11_placeholder, f12_placeholder
2 warnings
# cyrl_yxukeng_os
Layout includes some ASCII punctuation but not all, missing: ", #, $, &, ', @, [, ], ~
Layout doesn't define some important keys, missing: loc esc, loc tab
These keys are now added automatically, unexpected: f11_placeholder, f12_placeholder
3 warnings
# deva_alt
Layout includes some ASCII punctuation but not all, missing: #, $, %, &, ', (, ), +, ., /, :, <, =, >, [, \, ], ^, _, `, {, |, }, ~
Layout doesn't define some important keys, missing: loc esc, loc tab
2 warnings
# deva_inscript
Duplicate keys: ।
Layout includes some ASCII punctuation but not all, missing: ", $, ', ^, _, `, |
2 warnings
# deva_phonetic_in
Duplicate keys: ट
1 warnings
# georgian_mes
0 warnings
# georgian_qwerty
0 warnings
# grek_qwerty
Duplicate keys: ;
1 warnings
# guj_phonetic_in
Duplicate keys: ટ, ડ
1 warnings
# hang_dubeolsik_kr
Layout doesn't define some important keys, missing: loc esc, loc tab
1 warnings
# hebr_1_il
Layout includes some ASCII punctuation but not all, missing: (, ), <, >, [, ], {, }
1 warnings
# hebr_2_il
Layout includes some ASCII punctuation but not all, missing: (, ), <, >, [, ], {, }
1 warnings
# kann_kannada
Layout includes some ASCII punctuation but not all, missing: #, $, %, (, ), *, +, /, <, =, >, [, \, ], ^, `, {, |, }, ~
Layout doesn't define some important keys, missing: loc esc, loc tab
2 warnings
# latn_azerty_be
0 warnings
# latn_azerty_fr
0 warnings
# latn_bepo_fr
0 warnings
# latn_bone
Layout doesn't define some important keys, missing: loc esc, loc tab
Layout redefines the bottom row but some important keys are missing, missing: cursor_left, cursor_right, loc compose, loc end, loc home, loc page_down, loc page_up, loc switch_clipboard, loc switch_greekmath, loc voice_typing, switch_backward
2 warnings
# latn_colemak
Some keys contain whitespaces, unexpected: ́
1 warnings
# latn_dvorak
0 warnings
# latn_neo2
Layout redefines the bottom row but some important keys are missing, missing: loc switch_clipboard
1 warnings
# latn_qwerty_br
0 warnings
# latn_qwerty_cy
0 warnings
# latn_qwerty_cz
0 warnings
# latn_qwerty_da
0 warnings
# latn_qwerty_es
0 warnings
# latn_qwerty_et
0 warnings
# latn_qwerty_ga
0 warnings
# latn_qwerty_gb
0 warnings
# latn_qwerty_haw
0 warnings
# latn_qwerty_hu
0 warnings
# latn_qwerty_jp
0 warnings
# latn_qwerty_kk
0 warnings
# latn_qwerty_lv
0 warnings
# latn_qwerty_no
0 warnings
# latn_qwerty_pl
0 warnings
# latn_qwerty_ro
0 warnings
# latn_qwerty_se
Duplicate keys: !, ', ,, -, ., ?
1 warnings
# latn_qwerty_sk
0 warnings
# latn_qwerty_sr
0 warnings
# latn_qwerty_tly
Duplicate keys: a, c, j, q
Layout doesn't define some important keys, missing: loc esc, loc tab
2 warnings
# latn_qwerty_tr
0 warnings
# latn_qwerty_us
0 warnings
# latn_qwerty_vi
0 warnings
# latn_qwertz
0 warnings
# latn_qwertz_cz
0 warnings
# latn_qwertz_cz_diacritics
0 warnings
# latn_qwertz_cz_multifunctional
Layout includes some ASCII punctuation but not all, missing: `
1 warnings
# latn_qwertz_de
0 warnings
# latn_qwertz_fr_ch
0 warnings
# latn_qwertz_hu
0 warnings
# latn_qwertz_sk
Layout includes some ASCII punctuation but not all, missing: `
1 warnings
# latn_qwertz_sq
0 warnings
# latn_workman_us
0 warnings
# shaw_imperial_en
0 warnings
# tamil_default
0 warnings
# urdu_phonetic_ur
Duplicate keys:
Layout includes some ASCII punctuation but not all, missing: <, >, ?, `, |, ~
Some keys contain whitespaces, unexpected:
3 warnings
arab_alt: Layout includes some ASCII punctuation but not all, missing: !, ", ', +, -, /, :, ;, <, =, >, ?, [, \, ], _, |, ~
arab_hamvaj_tly: Layout includes some ASCII punctuation but not all, missing: ", %, ', ,, /, ;, <, =, >, ?, [, \, ], _, `, {, |, }
arab_pc: Layout includes some ASCII punctuation but not all, missing: !, ', +, ;, ?, \, |
arab_pc_ckb: Layout includes some ASCII punctuation but not all, missing: ", %, ', +, ,, ;, <, =, >, ?, `, |, ~
arab_pc_ckb_fa: Layout includes some ASCII punctuation but not all, missing: ", #, $, %, &, ', ,, /, ;, ?, @, \, ^, `, |, ~
arab_pc_hindu: Layout includes some ASCII punctuation but not all, missing: !, ', +, ;, ?, \, |
arab_pc_ir: Layout includes some ASCII punctuation but not all, missing: ", %, ', ,, /, ;, <, =, >, ?, [, \, ], `, {, |, }
armn_cpbsmo: Layout includes some ASCII punctuation but not all, missing: !, ", #, $, %, &, ', *, +, <, =, >, ?, @, [, ], ^, `, {, }, ~
armn_kvertc: Layout includes some ASCII punctuation but not all, missing: !, ", #, $, %, &, ', *, +, <, =, >, ?, @, [, ], ^, `, {, }, ~
beng_assamese: Layout includes some ASCII punctuation but not all, missing: #, $, %, &, ', *, +, -, /, :, ;, <, =, >, ?, [, \, ], ^, _, `, {, |, }, ~
beng_national: Layout includes some ASCII punctuation but not all, missing: $
beng_provat: Layout includes some ASCII punctuation but not all, missing: $, &, *, ., /, <, >, [, \, ], `, {, |, }
cyrl_jcuken_ru: Layout includes some ASCII punctuation but not all, missing: #, $, &, ', *, <, >, @, [, ], ^, `, {, }, ~
cyrl_jiuken: Layout includes some ASCII punctuation but not all, missing: #, $, &, ', *, +, <, =, >, @, [, ], ^, _, `, {, }, ~
cyrl_lynyertdz_mk: Layout includes some ASCII punctuation but not all, missing: "
cyrl_yaverti: Layout includes some ASCII punctuation but not all, missing: ~
cyrl_yawerty: Layout includes some ASCII punctuation but not all, missing: #, $, &, ', *, <, >, @, [, ], ^, `, {, }, ~
cyrl_yxukeng_os: Layout includes some ASCII punctuation but not all, missing: ", #, $, &, ', @, [, ], ~
deva_alt: Layout includes some ASCII punctuation but not all, missing: #, $, %, &, ', (, ), *, +, ., /, :, <, =, >, [, \, ], ^, _, `, {, |, }, ~
deva_inscript: Layout includes some ASCII punctuation but not all, missing: ", $, ', ^, _, `, |
hebr_1_il: Layout includes some ASCII punctuation but not all, missing: (, ), <, >, [, ], {, }
hebr_2_il: Layout includes some ASCII punctuation but not all, missing: (, ), <, >, [, ], {, }
kann_kannada: Layout includes some ASCII punctuation but not all, missing: #, $, %, (, ), *, +, /, <, =, >, [, \, ], ^, `, {, |, }, ~
latin_kbdtuf_tr: Layout includes some ASCII punctuation but not all, missing: $
latin_kbdtuf_tr: These keys are now added automatically, unexpected: f11_placeholder, f12_placeholder
latin_kbdtuf_tr: Missing programming keys, missing: loc esc, loc tab
latn_colemak: Some keys contain whitespaces, unexpected: ́
latn_dvorak: Missing important key, missing: loc capslock
latn_neo2: Layout redefines the bottom row but some important keys are missing, missing: loc switch_clipboard
latn_qwertz_cz_multifunctional: Layout includes some ASCII punctuation but not all, missing: `
latn_qwertz_sk: Layout includes some ASCII punctuation but not all, missing: `
latn_qzerty_it: Layout includes some ASCII punctuation but not all, missing: #, $, \, `, ~
urdu_phonetic_ur: Layout includes some ASCII punctuation but not all, missing: <, >, ?, `, |, ~
+37 -13
View File
@@ -1,7 +1,8 @@
import xml.etree.ElementTree as ET
import sys, os
import sys, os, glob, re
warning_count = 0
layout_file_name = 0
warnings = []
KNOWN_NOT_LAYOUT = set([
"number_row", "numpad", "pin",
@@ -14,10 +15,12 @@ KEY_ATTRIBUTES = set([
"c", "nw", "ne", "sw", "se", "w", "e", "n", "s"
])
# Keys defined in KeyValue.java
known_keys = set()
def warn(msg):
global warning_count
print(msg)
warning_count += 1
global warnings
warnings.append("%s: %s" % (layout_file_name, msg))
def key_list_str(keys):
return ", ".join(sorted(list(keys)))
@@ -73,9 +76,7 @@ def check_layout(layout):
if len(dup) > 0: warn("Duplicate keys: " + key_list_str(dup))
missing_some_of(keys, "~!@#$%^&*(){}`[]=\\-_;:/.,?<>'\"+|", "ASCII punctuation")
missing_some_of(keys, "0123456789", "digits")
missing_required(keys,
["loc esc", "loc tab", "backspace", "delete"],
"Layout doesn't define some important keys")
missing_required(keys, ["backspace", "delete"], "Layout doesn't define some important keys")
unexpected_keys(keys,
["copy", "paste", "cut", "selectAll", "shareText",
"pasteAsPlainText", "undo", "redo" ],
@@ -89,6 +90,10 @@ def check_layout(layout):
unexpected_keys(keys, filter(lambda k: k.strip()!=k, keys), "Some keys contain whitespaces")
unexpected_keys(keys, ["f11_placeholder", "f12_placeholder"], "These keys are now added automatically")
if root.get("script", "latin") == "latin":
missing_required(keys, ["shift", "loc capslock"], "Missing important key")
missing_required(keys, ["loc esc", "loc tab"], "Missing programming keys")
_, bottom_row_keys, _ = parse_row("res/xml/bottom_row.xml")
if root.get("bottom_row") == "false":
@@ -101,15 +106,34 @@ def check_layout(layout):
if root.get("script") == None:
warn("Layout doesn't specify a script.")
for fname in sorted(sys.argv[1:]):
keys_without_loc = set(( k.removeprefix("loc ") for k in keys ))
# Keys with a len under 3 are often composed characters
special_keys = set(( k for k in keys_without_loc if len(k) > 3 and ":" not in k ))
unknown = special_keys.difference(known_keys)
if len(unknown) > 0:
warn("Layout contains unknown keys: %s" % key_list_str(unknown))
# Fill 'known_keys', which is used for some checks
def parse_known_keys():
global known_keys
with open("srcs/juloo.keyboard2/KeyValue.java", "r", encoding="utf-8") as f:
known_keys = set(
( m.group(1) for m in re.finditer('case "([^"]+)":', f.read()) )
)
parse_known_keys()
for fname in sorted(glob.glob("srcs/layouts/*.xml")):
layout_id, _ = os.path.splitext(os.path.basename(fname))
if layout_id in KNOWN_NOT_LAYOUT:
continue
layout_file_name = layout_id
layout = parse_layout(fname)
if layout == None:
print("Not a layout file: %s" % layout_id)
warn("Not a layout file")
else:
print("# %s" % layout_id)
warning_count = 0
check_layout(layout)
print("%d warnings" % warning_count)
with open("check_layout.output", "w", encoding="utf-8") as out:
for w in warnings:
print(w, file=out)
+14 -6
View File
@@ -6,7 +6,7 @@ We recommend you keep your work in a file outside Unexpected Keyboard (named som
Put initial contents into your file in one of these ways:
* Copypaste the code Unexpected displays for _Custom layout_.
* Make a copy of one of the built-in layouts found in [`/srcs/layouts`](https://github.com/Julow/Unexpected-Keyboard/tree/master/srcs/layouts).
* Use the [web-based editor](https://unexpected-keyboard-layout-editor.lixquid.com/). Interact with this web page to define keys and swipes and move keys to desired positions, and it will write the XML code for you. You can make the web page put the XML in a text file or copy it to the clipboard.
* Use the [web-based editor](https://domportera.github.io/app-unexpected-keyboard-layout-editor/). Interact with this web page to define keys and swipes and move keys to desired positions, and it will write the XML code for you. You can make the web page put the XML in a text file or copy it to the clipboard.
When you have prepared suitable XML code in one of these ways, copy it to the clipboard and paste it into Unexpected Keyboard.
@@ -44,17 +44,23 @@ The `<keyboard>`...`</keyboard>` pair follows the declaration tag and encloses t
* `numpad_script`: The script to use for the numpad. This is useful for scripts where a different, non-ASCII set of numerals is used, like Devanagari and Arabic. It defaults to the same as `script`.
* `bottom_row`: Whether or not to show the built-in bottom row. It accepts `true` or `false`, and defaults to `true`. If your custom layout defines the bottom row, then specify `bottom_row="false"` to disable the built-in bottom row.
+ We recommend your layout use the built-in bottom row, because it is still evolving and your layout will incorporate innovations in future versions. However, to define your own, the current definition of the bottom row is in [bottom_row.xml](https://github.com/Julow/Unexpected-Keyboard/res/xml/bottom_row.xml). You can copypaste this XML into your custom layout as a starting point.
+ Likewise, the current definition of the top (number) row is in [number_row.xml](https://github.com/Julow/Unexpected-Keyboard/res/xml/number_row.xml).
+ We recommend your layout use the built-in bottom row, because it is still evolving and your layout will incorporate innovations in future versions. However, to define your own, the current definition of the bottom row is in [bottom_row.xml](https://github.com/Julow/Unexpected-Keyboard/blob/master/res/xml/bottom_row.xml). You can copypaste this XML into your custom layout as a starting point.
+ Likewise, the current definition of the top (number) row is in [number_row.xml](https://github.com/Julow/Unexpected-Keyboard/blob/master/res/xml/number_row.xml).
* `embedded_number_row`: Whether the layout has an embedded number row, and thus the "Show number row" setting shouldn't add another one. It accepts `true` or `false`, and defaults to `false`.
* `locale_extra_keys`: Whether Unexpected should add language-dependent extra keys from [method.xml](../res/xml/method.xml) to this layout. It accepts `true` or `false`, and defaults to `true`. To disable these automatic additions, specify `locale_extra_keys="false"`.
## Row
The `<row>`...`</row>` pair encloses one row on the keyboard. It has only one optional property:
The `<row>`...`</row>` pair encloses one row on the keyboard. It has the following optional property:
* `height`: The height of the row: a positive floating-point value.
* `scale`: A positive floating-point value. If present, scale the width of each key so that the total is equal to the specified value, in key width unit.
A row's default height is 1.0 (one quarter of the keyboard height specified on the Settings menu). The `height` property makes the row taller or shorter than this. For example, if you define a 5-row keyboard but one row has `height="0.7"`, then the keyboard's total height is 4.7 units. If the total is different from 4.0, the keyboard will be taller or shorter than that specified in Settings.
(A row of keys is drawn with a minimum height of 0.5 even if you specify a smaller value for `height`. There is no such minimum for a row without keys, such as a spacer row.)
## Key
The `<key />` tag defines a key on the keyboard. Its position in the sequence of keys inside `<row>`...`</row>` indicates its position in the row from left to right. What the key does is defined by optional properties.
@@ -93,7 +99,6 @@ The following optional properties define the effects of swipes:
You can define a swipe only once with either compass-point or numeric notation. Unexpected Keyboard automatically puts a small legend in that direction from the center of the key.
* `slider`: If `slider="true"`, and the key also has `w` and `e` properties, then the key tracks horizontal finger motion precisely and sends the `w` and `e` keystrokes repeatedly. In built-in layouts, this makes the space bar send left and right characters as the user slides on the space bar.
* `anticircle`: The key value to send when doing an anti-clockwise gesture on the key.
### Layout
@@ -131,7 +136,7 @@ This means that when the Fn modifier is on, the key `before` is changed into `af
```
This means that when the Ctrl modifier is on, the key `before` is changed into `after`. The `<ctrl />` mapping is special in that the Ctrl modifier is applied to `after` after the mapping.
The clockwise circle and the round-trip gestures are affected by both `<shift />` and `<fn />` mappings. The Shift mappings are used first and if that did not modify the key, the Fn mappings are used instead.
The clockwise circle and the round-trip gestures are affected by the `<fn />` mappings. Otherwise, they are defined by the Shift mappings (including the `<shift />` mappings), then, if that did not modify the key, the builtin Fn mappings are used instead.
### Examples
① Turkish keyboards use the Latin alphabet, but when "i" is shifted, it should produce "İ". This is achieved with the following mapping:
@@ -146,6 +151,9 @@ The clockwise circle and the round-trip gestures are affected by both `<shift />
```
This maps Ctrl+в to Ctrl+V—not to v.
### Default mappings
Unexpected Keyboard's built-in mappings are not expressed as a modmap but by a series of .json files in `https://github.com/Julow/Unexpected-Keyboard/tree/master/srcs/compose`. For example, the mappings for `fn` are in [`fn.json`](https://github.com/Julow/Unexpected-Keyboard/blob/master/srcs/compose/fn.json). These built-in mappings are common to every language.
## Portrait vs. landscape
Unexpected Keyboard remembers *separately* which layout has last been used in portrait and landscape orientation. So you may have one custom layout for portrait orientation, but another custom layout for landscape orientation, and Unexpected Keyboard will switch between them without your intervention.
+82 -78
View File
@@ -1,43 +1,73 @@
# Key values
This is an exhaustive list of special values accepted for the `key0` through `key8` or `nw` through `se` attributes on a key.
A key value defines what a key on the keyboard does when pressed or swiped.
Any string that does not exactly match these will be printed verbatim.
A key can output multiple characters, but cannot combine multiple built-in key values.
Key values appear in the following places:
## Escape codes
Value | Escape code for
- In custom layouts, they are the value of: the `c` attribute, the compass-point attributes `nw` ... `se`, and the old-style `key0` ... `key8` attributes.
- Internally, they are used in the definition of the "Add keys to the keyboard" setting.
Key values can be any of the following:
- The name of a special key. A complete list of valid special keys follows.
- An arbitrary sequence of characters not containing `:`.
This results in a key that writes the specified characters.
- The syntax `legend:key_def`.
`legend` is the visible legend on the keyboard. It cannot contain `:`.
`key_def` can be:
+ The name of a special key, as listed below.
+ `'string'` An arbitrary string that can contain `:`. `'` can be added to the string as `` \' ``.
+ `keyevent:keycode` An Android keycode. They are listed as `KEYCODE_...` in [KeyEvent](https://developer.android.com/reference/android/view/KeyEvent#summary).
Examples:
+ `⏯:keyevent:85` A play/pause key (which has no effect in most apps).
+ `my@:'my.email@domain.com'` A key that sends an arbitrary string
- A macro, `legend:key_def1,key_def2,...`.
This results in a key with legend `legend` that behaves as if the sequence of `key_def` had been pressed in order.
Examples:
+ `CA:ctrl,a,ctrl,c` A key with legend CA that sends the sequence `ctrl+a`, `ctrl+c`.
+ `Cd:ctrl,backspace` A key with legend Cd that sends the shortcut `ctrl+backspace`.
### Escape codes
When defining a key value, several characters have special effects. If you want a character not to have its usual effect but to be taken literally, you should "escape" it in the usual way for XML:
To get this character... | ...you can type
:---- | :------
`\?` | `?`
`\#` | `#`
`\@` | `@`
`\n` | Literal newline character. This is different from `enter` and `action` in certain apps.
`\t` | Literal tab character. This is different from `tab` in certain apps.
`\\` | `\`
A literal newline character, which is different from `enter` and `action` in certain apps. | `\n`
A literal tab character, which is different from `tab` in certain apps. | `\t`
`&` | `&amp;`
`<` | `&lt;`
`>` | `&gt;`
`"` | `&quot;`
XML escape codes also work, including:
The characters `\` (unless followed by n or t), `?`, `#`, and `@` do not need to be escaped when writing custom layouts. When writing a layout to be included in the app (in [srcs/layouts](https://github.com/Julow/Unexpected-Keyboard/tree/master/srcs/layouts)), they are represented by typing `\\`, `\?`, `\#`, and `\@`.
Value | Escape code for
:------- | :------
`&amp;` | `&`
`&lt;` | `<`
`&gt;` | `>`
`&quot;` | `"`
The characters `,` and `:` can be escaped in a key value, using single quotes. For example, this macro defines a key with legend `http` that sends a string containing `:`: `<key c="http:home,'https://'" />` For simplicity, `,` and `:` cannot be escaped in the key legend.
## Modifiers
System modifiers are sent to the app, which is free to do whatever they want in response.
The other modifiers only exist within the keyboard.
System modifiers are sent to the app, which can take app-specific action.
Value | Meaning
:---------- | :------
`shift` | System modifier.
`ctrl` | System modifier.
`alt` | System modifier.
`meta` | System modifier. Equivalent to the Windows key.
`fn` | Activates Fn mode, which assigns letters and symbols to special characters. e.g. `fn` `!` = `¡`
`compose` | Compose key. Enables composing characters using Linux-like shortcuts; e.g. `Compose` `A` `single quote` types `Á` (A with acute accent).
`capslock` | Actives and locks Shift
## Special keys
The other modifiers take effect only within the keyboard.
Value | Meaning
:---------- | :------
`fn` | Activates Fn mode, which assigns letters and symbols to special characters. Example: `fn` `!` = `¡`
`compose` | Compose key. Enables composing characters using Linux-like shortcuts. Example: `Compose` `A` `'` types `Á` (A with acute accent).
`capslock` | Activates and locks Shift.
## App function keys
These keys are sent to apps, which are free to ignore them. The keyboard does not perform editing in response to these keys.
`esc`, `enter`,
@@ -53,6 +83,19 @@ These keys are sent to apps, which are free to ignore them. The keyboard does no
`selectAll`, `pasteAsPlainText`,
`undo`, `redo`
## Keyboard editing actions
In contrast, these keys perform editing on the text without sending anything to the app.
Value | Meaning
:-------------------- | :------
`cursor_left` | Moves the cursor to the left with the slider gesture.
`cursor_right` | Moves the cursor to the right with the slider gesture.
`cursor_up` | Moves the cursor up with the slider gesture. Warning: this might make the cursor leave the text box.
`cursor_down` | Moves the cursor down with the slider gesture. Warning: this might make the cursor leave the text box.
`delete_word` | Delete the word to the left of the cursor.
`forward_delete_word` | Delete the word to the right of the cursor.
The values with `cursor_` are new in v1.31.0. Previous custom layouts specified the slider with `slider="true"`, which should be removed.
## Whitespace
Value | Meaning
:------ | :------
@@ -62,13 +105,6 @@ Value | Meaning
`zwj` | Zero-width joiner.
`zwnj` | Zero-width non-joiner.
## Keyboard editing actions
These keys perform editing on the text without sending keys that the app can interpret differently or ignore.
Value | Meaning
:----------------- | :------
`cursor_left` | Moves the cursor position to the left directly, without sending a `left` key event.
`cursor_right` | Moves the cursor position to the right directly, without sending a `right` key event.
## Other modifiers and diacritics
Value | Meaning
:------------------- | :------
@@ -92,6 +128,7 @@ Value | Meaning
`accent_horn` | Horn accent. `ơ`
`accent_hook_above` | Hook accent. `ả`
`accent_double_grave` | Double grave accent. `ȁ`
`accent_small_caps` | Small capital letters. `ᴀ`
`superscript` | Superscript. `ᵃ`
`subscript` | Subscript. `ₐ`
`ordinal` | Turns `a` and `o` into `ª` and `º`.
@@ -105,6 +142,20 @@ Value | Meaning
`rlm` | Right-to-left mark.
`b(`, `b)`, `b[`, `b]`, `b{`, `b}`, `blt`, `bgt` | Sends the bracket characters, but with mirrored key legends for right-to-left languages. (`blt` and `bgt` print `<` and `>` respectively.)
## Arabic
These are the diacritics for Arabic
Value | Meaning
:------ | :------
`combining_fatha` | َ
`combining_dammah` | ُ
`combining_kasra` | ِ
`combining_sukun` | ْ
`combining_shaddah` | ّ
`combining_hamza_above` | ٔ
`combining_hamza_below` | ٕ
## Hebrew
Keys ending in `_placeholder` are normally hidden unless the Fn key is pressed.
@@ -150,50 +201,3 @@ These keys are known to do nothing.
These keys are normally hidden unless the Fn modifier is activated.
`f11_placeholder` | `f12_placeholder`
## Complex keys
More complex keys are of this form:
```
:<kind> <attributes>:<payload>
```
Where `<kind>` is one of the kinds documented below and `<attributes>` is a
space separated list of attributes. `<payload>` depends on the `<kind>`.
Attributes are:
- `symbol='Sym'` specifies the symbol to be shown on the keyboard.
- `flags='<flags>'` changes the behavior of the key.
`<flags>` is a coma separated list of:
+ `dim`: Make the symbol dimmer.
+ `small`: Make the symbol smaller.
### Kind `str`
Defines a key that outputs an arbitrary string. `<payload>` is a string wrapped
in single-quotes (`'`), escaping of other single quotes is allowed with `\'`.
For example:
- `:str:'Arbitrary string with a \' inside'`
- `:str symbol='Symbol':'Output string'`
### Kind `char`
Defines a key that outputs a single character. `<payload>` is the character to
output, unquoted.
This kind of key can be used to define a character key with a different symbol
on it. `char` keys can be modified by `ctrl` and other modifiers, unlike `str`
keys.
For example:
- `:char symbol='љ':q`, which is used to implement `ctrl` shortcuts in cyrillic
layouts.
### Kind `keyevent`
Defines a key that sends an Android [key event](https://developer.android.com/reference/android/view/KeyEvent).
`<payload>` is the key event number.
For example:
- `:keyevent symbol='⏯' flags='small':85`
@@ -0,0 +1,6 @@
الميزة الرئيسة هي إمكانية كتابة المزيد من الأحرف عن طريق تمرير المفاتيح نحو الزوايا.
صُمم هذا التطبيق في الأصل للمبرمجين الذين يستخدمون Termux.
أصبح الآن مثاليًا للاستخدام اليومي.
هذا التطبيق لا يحتوي على إعلانات، ولا يقوم بأي طلبات عبر الشبكة، وهو مفتوح المصدر.
@@ -0,0 +1 @@
لوحة مفاتيح افتراضية خفيفة الوزن ومراعية للخصوصية لنظام أندرويد.
+1
View File
@@ -0,0 +1 @@
Unexpected Keyboard
@@ -0,0 +1,6 @@
الميزة الرئيسية إنّه تقدر تكتب حروف أكثر عن طريق تمرير المفاتيح باتّجاه الزوايا
هذا التطبيق أصلاً تسوّى علشان المبرمجين إلّي يستخدمون طرفية Termux.
الآن صار تمام للاستخدام اليومي.
هذا التطبيق ما فيه إعلانات، ما يقدّم أي طلبات على الشبكة ومفتوح المصدر.
@@ -0,0 +1 @@
كيبورد افتراضي خفيف الوزن ويراعي الخصوصية لآندرويد.
+1
View File
@@ -0,0 +1 @@
Unexpected Keyboard
@@ -0,0 +1,6 @@
الميزة الرئيسة هي أنّه يمكنك كتابة المزيد من الأحرف عن طريق تمرير المفاتيح نحو الزوايا.
هذا التطبيق كان مُصممًا للمُبرمجين الذين يستخدمون طرفية Termux.
الآن صار مثاليًا للاستخدام اليومي.
هذا التطبيق لا يحتوي على إعلانات، ولا يقوم بأيّ طلبات شبكة، وكما أنّه مفتوح المصدر.
@@ -0,0 +1 @@
لوحة مفاتيح افتراضية خفيفة ومُراعية للخصوصية لنظام آندرويد.
+1
View File
@@ -0,0 +1 @@
Unexpected Keyboard
@@ -0,0 +1,6 @@
এর প্রধান বৈশিষ্ট্য হলো, কি-গুলোর কোণার দিকে সোয়াইপ করে আপনি আরও বেশি অক্ষর টাইপ করতে পারবেন।
এই অ্যাপ্লিকেশনটি মূলত টার্মাক্স (Termux) ব্যবহারকারী প্রোগ্রামারদের জন্য ডিজাইন করা হয়েছিল।
এখন এটি দৈনন্দিন ব্যবহারের জন্য উপযুক্ত।
এই অ্যাপ্লিকেশনটিতে কোনো বিজ্ঞাপন নেই, এটি কোনো নেটওয়ার্ক রিকোয়েস্ট করে না এবং এটি ওপেন সোর্স।
@@ -0,0 +1 @@
অ্যান্ড্রোয়েডের জন্য হালকা এবং গোপনীয়তা-সচেতন ভার্চুয়াল কিবোর্ড।
@@ -0,0 +1 @@
অপ্রত্যাশিত কীবোর্ড
@@ -0,0 +1,6 @@
La característica principal és que pots escriure més caràcters arrossegant les tecles cap a les cantonades.
Aquesta aplicació va ser dissenyada originalment per als programadors que usen Termux.
Ara és perfecta per a un ús quotidià.
Aquesta aplicació no conté anuncis, no fa cap petició de xarxa i és de codi obert.
@@ -0,0 +1 @@
Un teclat virtual lleuger per a Android que és conscient de la teva privacitat.
+1
View File
@@ -0,0 +1 @@
Unexpected Keyboard
@@ -0,0 +1 @@
Bug fixes
@@ -0,0 +1 @@
Bug fixes
@@ -0,0 +1,8 @@
Delete a word with a circle gesture on the delete key.
Compose key can be unselected.
Improved space bar slider and added selection mode.
Lock shift with a circle gesture.
Improvements to layouts.
Various bug fixes and improvements to themes.
Huge thanks to the contributors: @0skar2 @chuckwagoncomputing @dzaima @eandersons Lokesh Kumar @lrvideckis @ms-jagadeeshan @quantenzitrone @Sestowner @solokot @Spike-from-NH @srikanban @tenextractor
@@ -0,0 +1,9 @@
Bug fixes
Delete a word with a circle gesture on the delete key.
Compose key can be unselected.
Improved space bar slider and added selection mode.
Lock shift with a circle gesture.
Various bug fixes and improvements to themes and layouts.
Many thanks to the contributors: @HaleyHalcyon @Jaoheah @Spike-from-NH
@@ -0,0 +1,6 @@
Better support for foldable devices
Added layouts
Improved selection mode
Bug fixes and many other improvements
Huge thanks to the contributors: @alotbsol555, @bergentroll, @dacc9, @HaleyHalcyon, @Jaoheah, @jorexdeveloper, @malbajun, @matejdro, @Spike-from-NH, @tenextractor
@@ -0,0 +1 @@
Bug fixes
@@ -0,0 +1,6 @@
Spell checking and autocorrect are here !
This releases comes with a very large number of improvements,
support for more languages and new themes!
Huge thanks to the contributors: @10Develops @anaskaejdar @andyca111100 @Autissima @bqv @cillyvms @domportera @dzaima @exzombie @Harry-Ais0 @Houfalafel @JeelsBoobz @JFronny @Julow @lan700ng @malbajun @matejdro @n-ce @skynetcat @sperareine @Spike-from-NH @xxcavemanxx
Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 115 KiB

@@ -0,0 +1,6 @@
ویژگی اصلی این است که می‌توانید با کشیدن کلیدها به سمت گوشه‌ها، نویسه های (کاراکترهای) بیشتری تایپ کنید.
این برنامه در ابتدا برای برنامه‌نویسانی که از Termux استفاده می‌کنند طراحی شده بود.
اکنون برای استفاده روزمره عالی است.
این برنامه هیچ تبلیغاتی ندارد، هیچ درخواست شبکه‌ای انجام نمی‌دهد و متن‌باز است.
@@ -0,0 +1 @@
صفحه‌کلید مجازی سبک و با حفظ حریم خصوصی برای اندروید.
@@ -0,0 +1 @@
صفحه‌کلید غیرمنتظره
@@ -0,0 +1,6 @@
Ang pangunahing feature ay maaari kang mag-type ng mas marami pang karakter sa pag-swipe sa gilid ng mga key.
Noong simula, ginawa itong application para sa mga programmer sa na nagte-Termux.
Ngayo'y perpekto na sa pang-araw-araw.
Walang ads, hindi nagne-network request at Open Source ang application na ito.
@@ -0,0 +1 @@
Magaan at privacy-conscious na virtual keyboard sa Android.
+1
View File
@@ -0,0 +1 @@
Unexpected Keyboard
@@ -0,0 +1,6 @@
Fitur utamanya adalah Anda dapat mengetik lebih banyak karakter dengan menggeser tombol ke arah sudut.
Aplikasi ini awalnya dirancang untuk programmer yang menggunakan Termux.
Sekarang sempurna untuk penggunaan sehari-hari.
Aplikasi ini tidak berisi iklan, tidak membuat permintaan jaringan dan Open Source.
@@ -0,0 +1 @@
Keyboard virtual yang ringan dan sadar privasi untuk Android.
+1
View File
@@ -0,0 +1 @@
Unexpected Keyboard
@@ -0,0 +1,6 @@
La caratteristica principale è quella di poter digitare altri caratteri scorrendo verso i bordi dei tasti.
L'applicazione era originariamente pensata per l'utilizzo di Termux da parte di programmatori.
Ora è perfetta anche per l'uso quotidiano.
L'applicazione non contiene pubblicità, non esegue alcuna richiesta di rete ed è Open Source.
@@ -1 +1 @@
Una Tastiera Virtuale Leggera Per La Programmazione
Una tastiera virtuale leggera ed attenta alla privacy per Android.
@@ -1,6 +1,6 @@
Galvenā iezīme ir iespēja ievadīt vairāk rakstzīmju ar pavilkšanu uz taustiņu stūriem.
Galvenā tastatūras iespēja ir viegli ievadīt vairāk rakstzīmju ar pavilkšanu uz taustiņu stūriem.
Šī lietotne sākotnēji tika izstrādāta programmētājiem, kas izmanto Termux.
Tagad lieliski piemērota izmantošanai ikdienā.
Sākotnēji šī lietotne tika izstrādāta programmētājiem, kas izmanto Termux.
Tagad tā lieliski piemērota ikdienas lietošanai.
Šī lietotne nesatur reklāmas, neveic nekādus tīkla pieprasījumus, un tās pirmkods ir pieejams visiem.
Lietotne nesatur reklāmas, neveic nekādus tīkla pieprasījumus, un tās pirmkods ir pieejams visiem.
@@ -1 +1 @@
Mazizmēra un privātumu ievērojoša virtuālā Android tastatūra.
Mazizmēra virtuālā Android tastatūra, kurai rūp privātums.
@@ -0,0 +1,6 @@
အဓိကလုပ်‌‌ဆောင်မှုကတော့လျင်မြန်စွာစာလုံးရေများများရိုက်ရလွယ်ကူစေရန်ဖိဆွဲလိုက်ရုံဖြင့်အက္ခရာများကိုပြောင်းလဲရိုက်နိုင်ခြင်းပါပဲ။
ဒီအပ်ပလီကေးရှင်းရဲ့ကနဦးရည်ရွယ်ချက်ကတော့ ပရိုဂရမ်မာတွေ Termux မှာအသုံးပြုဖို့ဖန်တီးခဲ့ခြင်းဖြစ်ပါတယ်။
အခုတော့ Termux သာမကပဲနိစ္စဓူ၀ကိစ္စများအတွက်အသုံးပြုနိုင်ပါပြီ။
ဤအပ်ပလီကေးရှင်းတွင်မည်သည့်ကြော်ငြာ၊ အင်တာနက်ကွန်နက်ရှင်ချိတ်ဆက်မှုဆိုင်ရာများမပါ၀င်သလို Open source လည်းဖြစ်ပါတယ်။
@@ -0,0 +1 @@
Android အတွက် သေးငယ်ပေါ့ပါးပြီးကိုယ်ရေးကိုယ်တာလုံခြုံမှုဆိုင်ရာအထူးဦးစား‌ပေးထားသည့်ကီးဘုတ်ဆော့ဝဲ.
+1
View File
@@ -0,0 +1 @@
Unexpected Keyboard
@@ -0,0 +1,6 @@
De belangrijkste functie is dat je meer tekens kunt typen door de toetsen naar de hoeken te vegen.
Deze applicatie is oorspronkelijk ontworpen voor programmeurs die Termux gebruiken.
Nu perfect voor dagelijks gebruik.
Deze applicatie bevat geen advertenties, doet geen netwerkverzoeken en is Open Source.
@@ -0,0 +1 @@
Lichtgewicht en privacy-bewust virtueel toetsenbord voor Android.
@@ -0,0 +1 @@
Unexpected Keyboard
@@ -0,0 +1,6 @@
คีย์บอร์ดนี้สามารถเขียนตัวอักษรได้หลายตัวมากขึ้นโดยใช้การปัดคีย์ไปที่มุมต่างๆ
คีย์บอร์ดนี้ถูกออกแบบมาเพื่อนักเขียนโปรแกรมที่ใช้เทอร์มักซ์ (Termux)
แต่ตอนนี้เพอร์เฟ็กต์สำหรับคนทั่วไป
แอพนี้ไม่มีโฆษณา ไม่มีการเชื่อมต่อกับอินเทอร์เน็ตแล้วก็เป็นแอพโอเพ่นซอร์ส
@@ -0,0 +1 @@
คีย์บอร์ดสำหรับแอนดรอยด์ที่กินทรัพยากรน้อยและโฟกัสที่ความเป็นส่วนตัว
+1
View File
@@ -0,0 +1 @@
Unexpected Keyboard
@@ -0,0 +1 @@
supa nena ni li suli ala lon ilo, supa nena ni li sona e len, ni li lon ilo Android.
+1
View File
@@ -0,0 +1 @@
Unexpected Keyboard
@@ -0,0 +1,6 @@
你能透過往按鍵角落滑動來輸入更多字元。
該軟體原先被設計給Termux使用者使用。
現在已完善並可日用。
該軟體無廣告,亦不會使用網路權限,並且開源。
@@ -0,0 +1 @@
為Android打造的輕量、注重隱私的虛擬鍵盤。
@@ -0,0 +1 @@
Unexpected Keyboard
+91
View File
@@ -0,0 +1,91 @@
{
"version": "v1.0.0",
"entity": {
"type": "individual",
"role": "owner",
"name": "Julow",
"email": "jules@j3s.fr",
"description": "Open source developer and maintainer of Unexpected Keyboard.",
"webpageUrl": {
"url": "https://github.com/Julow"
}
},
"projects": [
{
"guid": "unexpected-keyboard",
"name": "Unexpected Keyboard",
"description": "Lightweight and privacy-conscious virtual keyboard for Android.",
"webpageUrl": {
"url": "https://github.com/Julow/Unexpected-Keyboard/"
},
"repositoryUrl": {
"url": "https://github.com/Julow/Unexpected-Keyboard/"
},
"licenses": [
"spdx:GPL-3.0",
"spdx:CC0-1.0"
],
"tags": [
"android",
"mobile",
"privacy",
"productivity",
"programming",
"user-experience"
]
}
],
"funding": {
"channels": [
{
"guid": "liberapay",
"type": "other",
"address": "https://liberapay.com/Julow/",
"description": "Recurring donations for funding Unexpected Keyboard."
},
{
"guid": "github-sponsors",
"type": "other",
"address": "https://github.com/sponsors/Julow",
"description": "Recurring donations for funding Unexpected Keyboard."
},
{
"guid": "paypal",
"type": "other",
"address": "https://paypal.me/JulesAguillon",
"description": "One-time donations for funding Unexpected-keyboard."
}
],
"plans": [
{
"guid": "fund-maintenance",
"status": "active",
"name": "Fund developer time",
"description": "Help the maintainers spend time on Unexpected Keyboard",
"amount": 0,
"currency": "EUR",
"frequency": "monthly",
"channels": [
"liberapay",
"github-sponsors",
"paypal"
]
},
{
"guid": "one-time-contribution",
"status": "active",
"name": "Fund developer time",
"description": "Help the maintainers spend time on Unexpected Keyboard",
"amount": 0,
"currency": "EUR",
"frequency": "one-time",
"channels": [
"liberapay",
"github-sponsors",
"paypal"
]
}
],
"history": []
}
}
+3 -3
View File
@@ -57,8 +57,8 @@ def generate_arrays(out, layouts):
root.append(mk_array("string-array", "pref_layout_entries", entries_items))
root.append(mk_array("integer-array", "layout_ids", ids_items))
XML.indent(root)
XML.ElementTree(element=root).write(out, encoding="unicode", xml_declaration=True)
XML.ElementTree(element=root).write(out, encoding="utf-8", xml_declaration=True)
layouts = sort_layouts(read_layouts(glob.glob("srcs/layouts/*.xml")))
with open("res/values/layouts.xml", "w") as out:
generate_arrays(out, layouts)
with open("res/values/layouts.xml", "wb") as out:
generate_arrays(out, layouts)
+148
View File
@@ -0,0 +1,148 @@
import xml.etree.ElementTree as ET
import itertools as it
# This script generates res/xml/method.xml.
def loc(loc_name, script, default_layout, **kwargs):
return { "name": loc_name, "script": script,
"default_layout": default_layout, **kwargs }
# The locales are defined here. To add support for a language, add it to the
# following block:
LOCALES = [
loc("ar", "arabic", "arab_pc_hindu"),
loc("ar_TN", "arabic", "arab_pc"),
loc("ay_AM", "armenian", "armenian_ph_am"),
loc("az_AZ", "latin", "latn_qwerty_az", extra_keys="accent_trema:ü:ö@w|accent_cedille:ç:ş@s|ğ@g|ı@k|ə@l"),
loc("be_BY", "cyrillic", "cyrl_jcuken_ru", extra_keys="ґ|є|і|ї|ў"),
loc("bg_BG", "cyrillic", "cyrl_ueishsht", extra_keys="€"),
loc("bn_BD", "latin", "latn_qwerty_us", extra_keys="৳"),
loc("cs_CZ", "latin", "latn_qwertz_cz", extra_keys="accent_aigu:á:é:í:ó:ú:ý@d|accent_ring:ů@s|accent_caron:č:ě:ň:ř:š:ž:ď:ť@f"),
loc("cy_GB", "latin", "latn_qwerty_cy"),
loc("da_DK", "latin", "latn_qwerty_da", extra_keys="€|æ|å|ø"),
loc("de_BE", "latin", "latn_azerty_be", extra_keys="accent_grave:è@f|accent_aigu:á:é:í:ó:ú:ý:j́@d|accent_circonflexe:ê@f|accent_cedille:ç@c|accent_trema@u|€"),
loc("de_DE", "latin", "latn_qwertz_de", extra_keys="accent_trema:ä:ö:ü@u|ß|€"),
loc("el", "latin", "grek_qwerty", extra_keys="£@l|€"),
loc("en_AU", "latin", "latn_qwerty_us"),
loc("en_CA", "latin", "latn_qwerty_us"),
loc("en_GB", "latin", "latn_qwerty_gb", extra_keys="£@l"),
loc("en_IN", "latin", "latn_qwerty_us"),
loc("en_NG", "latin", "latn_qwerty_us", extra_keys="₦"),
loc("en_US", "latin", "latn_qwerty_us"),
loc("es_ES", "latin", "latn_qwerty_es", extra_keys="accent_aigu:á:é:í:ó:ú@d|accent_tilde:ñ@n|accent_grave@f|accent_trema@u|€"),
loc("et_EE", "latin", "latn_qwerty_et", extra_keys="accent_trema:ä:ö:ü@u|accent_tilde:õ@o|accent_caron:š:ž@s|€"),
loc("fa_IR", "persian", "arab_pc_ir"),
loc("fi", "latin", "latn_qwerty_fi", extra_keys="å|accent_ring|accent_aigu|accent_trema|ö|ä|€"),
loc("fr_BE", "latin", "latn_azerty_be", extra_keys="accent_grave:à:è:ù@f|accent_aigu:é@d|accent_circonflexe:ê:û@f|accent_cedille:ç@c|accent_trema@u|€"),
loc("fr_CA", "latin", "latn_azerty_fr", extra_keys="accent_grave:à:è:ù@f|accent_aigu:é@d|accent_circonflexe:â:ê:ô:û@f|accent_cedille:ç@c|accent_trema:ë:ï:ü:ÿ@u"),
loc("fr_CH", "latin", "latn_qwertz_fr_ch", extra_keys="accent_grave:à:è:ù@f|accent_aigu:é@d|accent_circonflexe:â:ê:ô:û@o|accent_cedille:ç@c|accent_trema:ë:ï:ü:ÿ@u|€"),
loc("fr_FR", "latin", "latn_azerty_fr", extra_keys="accent_grave:à:è:ù@d|accent_aigu:é@d|accent_circonflexe:â:ê:ô:û@o|accent_cedille:ç@c|accent_trema:ë:ï:ü@l|€"),
loc("ga_IE", "latin", "latn_qwerty_ga", extra_keys="accent_aigu:á:é:í:ó:ú@k|accent_dot_above@l"),
loc("ha_NG", "latin", "latn_qwerty_us", extra_keys="₦|ɓ|ɗ|ƙ|’|ƴ|r̃"),
loc("haw_US", "latin", "latn_qwerty_haw", extra_keys="ʻ@l|accent_macron:ā:ē:ī:ō:ū@m"),
loc("he_IL", "hebrew", "default_layout=hebr_1_il,extra_keys=₪@r|€"),
loc("hi_IN", "devanagari", "deva_inscript", extra_keys="₹"),
loc("hu_HU", "latin", "latn_qwertz_hu", extra_keys="accent_aigu:á:é:í:ó:ú@d|accent_trema:ö:ü@u|accent_ogonek@s|accent_double_aigu:ő:ű@k|€"),
loc("ig_NG", "latin", "latn_qwerty_us", extra_keys="₦|ṅ|ọ|ụ"),
loc("is_IS", "latin", "latn_qwerty_is", extra_keys="ð|þ|æ|accent_trema:ö@o|accent_aigu:á:é:í:ó:ú:ý@d|accent_circonflexe|accent_ring|accent_grave"),
loc("it_IT", "latin", "latn_qwerty_us", extra_keys="accent_grave:à:è:ì:ò:ù@f|accent_aigu:é:ó@d|accent_circonflexe:î@f|€|ə"),
loc("ka_GE", "latin", "georgian_mes"),
loc("kk_KZ", "latin", "cyrl_jcuken_kk"),
loc("kn_IN", "kannada", "kann_kannada"),
loc("ko_KR", "hangul", "hang_dubeolsik_kr"),
loc("lt_LT", "latin", "latn_qwerty_lt", extra_keys="accent_ogonek:ą:ę:į:ų@s|accent_caron:č:š:ž@f|accent_dot_above:ė@s|accent_macron:ū@o|€"),
loc("lv_LV", "latin", "latn_qwerty_lv", extra_keys="accent_macron:ā:ē:ī:ū@o|accent_caron:č:š:ž@f|accent_ogonek:ķ:ļ:ņ@s|accent_cedille:ģ@c|€"),
loc("mk", "cyrillic", "cyrl_lynyertdz_mk", extra_keys="ѕ|ѓ|ќ|ѝ|ѐ|љ|њ|џ|„|“|€"),
loc("mn_MN", "cyrillic", "cyrl_fcuzhen_mn", extra_keys="ү|ө"),
loc("mr_IN", "devanagari", "deva_inscript", extra_keys="₹"),
loc("mt_MT", "latin", "latn_qwerty_mt", extra_keys="accent_grave:à:è:ì:ò:ù|accent_dot_above:ċ:ż:ġ|ħ"),
loc("ne_NE", "devanagari", "deva_inscript", extra_keys="₹"),
loc("nl_BE", "latin", "latn_azerty_be", extra_keys="accent_grave:è@f|accent_aigu:á:é:í:ó:ú:ý:j́@d|accent_circonflexe:ê@f|accent_cedille:ç@c|accent_trema@u|€"),
loc("no_NO", "latin", "latn_qwerty_us", extra_keys="€|æ@a|å@a|ø@o|accent_aigu:é:ó@d|accent_grave:è:ò:ù@f|accent_circonflexe:ê:ô@f"),
loc("pl_PL", "latin", "latn_qwerty_pl"),
loc("pt_BR", "latin", "latn_qwerty_pt", extra_keys="accent_aigu:á:é:í:ó:ú@d|accent_cedille:ç@c|accent_circonflexe:â:ê:ô@f|accent_grave:à:ò@f|accent_tilde:ã:õ@n|€|ª|º"),
loc("ro_RO", "latin", "latn_qwerty_ro", extra_keys="ă|â|î|ș|ț|€|$"),
loc("ru_RU", "latin", "cyrl_jcuken_ru"),
loc("si_LK", "sinhala", "sinhala_phonetic", extra_keys="₨"),
loc("sk_SK", "latin", "latn_qwertz_sk", extra_keys="accent_caron:ě:ř:ž:š:č:ň:ď:ľ:ť@f|accent_ring:ů@s|accent_circonflexe:ô@f|accent_trema:ä:ü:ö@u|accent_aigu:á:é:í:ó:ú:ŕ:ś:ĺ:ý@d"),
loc("sq_AL", "latin", "latn_qwertz_sq"),
loc("sr_", "latin", "cyrl_lynyertz_sr"),
loc("sv_SE", "latin", "latn_qwerty_se", extra_keys="accent_aigu:á@d|accent_trema:ä:ö@o|accent_ring:å@s|€"),
loc("ta_IN", "tamil", "tamil_default"),
loc("tly_AZ", "latin", "latn_qwerty_tly", extra_keys="á|ú|â|ê|ı|š|ž"),
loc("tly_IR", "persian", "arab_hamvaj_tly"),
loc("tr_TR", "latin", "latn_qwerty_tr", extra_keys="accent_cedille:ç:ş@c|accent_trema:ö:ü@u|accent_circonflexe:â:î:û@f|₺|ı|ğ"),
loc("uk_UA", "cyrillic", "cyrl_jcuken_uk", extra_keys="ґ|є|і|ї|₴"),
loc("uz_UZ", "latin", "latn_qwerty_uz", extra_keys="ʻ|ʼ"),
loc("vi_VN", "latin", "latn_qwerty_vi"),
loc("yo_NG", "latin", "latn_qwerty_us", extra_keys="₦|ẹ|ọ|ṣ")
]
# The locale that is at the beginning of the list
DEFAULT_LOCALE = loc("en", "latin", "latn_qwerty_us", tag="en", dictionary="en_GB")
def parse_dictionaries():
tree = ET.parse("res/values/dictionaries.xml")
root = tree.getroot()
return set(( it.text for it in root.findall('*[@name="dictionaries_locale"]/item') ))
# Available dictionares of the form "de" or "de_CH".
available_dictionaries = parse_dictionaries()
def subtype_elem(root, loc):
tag = loc["tag"].replace("_", "-")
extra_keys = ",extra_keys=" + loc["extra_keys"] if "extra_keys" in loc else ""
dictionaries = ",dictionary=" + loc["dictionary"] if loc["dictionary"] != None else ""
extra_value = f'script={loc["script"]},default_layout={loc["default_layout"]}{dictionaries}{extra_keys}'
ET.SubElement(root, "subtype", attrib={
"android:label": "%s",
"android:languageTag": tag,
"android:imeSubtypeLocale": loc["name"],
"android:imeSubtypeMode": "keyboard",
"android:isAsciiCapable": "true",
"android:imeSubtypeExtraValue": extra_value
})
# Return locales in sorted order with the "tag" and "dictionary" attributes
# added.
def compute_attrs():
locales_grouped = {} # Locales grouped by language tag
def lang(loc):
return loc["name"].split("_")[0]
for loc in LOCALES:
locales_grouped.setdefault(lang(loc), []).append(loc)
def tag(loc):
if "tag" in loc: return loc["tag"]
l = lang(loc)
if loc["name"] == f"{l}_{l.upper()}": return l # Locales like "fr_FR"
# Return a short tag when it's not shared between several locales
return l if len(locales_grouped[l]) == 1 else loc["name"]
def dictionary(loc):
if loc["name"] in available_dictionaries: return loc["name"]
l = lang(loc)
if l in available_dictionaries: return l
return None
def add_attrs(loc):
return dict(tag=tag(loc), dictionary=dictionary(loc), **loc)
return map(add_attrs, LOCALES)
def gen():
locales = compute_attrs()
root = ET.Element("input-method", attrib={
"xmlns:android": "http://schemas.android.com/apk/res/android",
"android:settingsActivity": "juloo.keyboard2.SettingsActivity",
"android:supportsSwitchingToNextInputMethod": "true",
})
root.append(ET.Comment(text=""" This file is automatically generated. DO NOT EDIT.
Locales definitions should go into 'gen_method_xml.py'.
Update this file with 'gradle test'.
"""))
subtype_elem(root, DEFAULT_LOCALE)
for loc in sorted(locales, key=lambda loc: loc["name"]):
subtype_elem(root, loc)
ET.indent(root)
print(ET.tostring(root, encoding="utf-8", xml_declaration=True).decode("UTF-8"))
gen()
+524
View File
@@ -0,0 +1,524 @@
#! /bin/env python3
"""
Script to generate a layout based on an existing.
Tuned to create Sinhala phonetic layout based on qwerty (US), but may be adoped
for other scripts. Look at dicts before the LayoutBuilder code.
Usage:
python3 gen_sinhala_phonetic_layout [-h|--help] [-v|--verbose] [-o|--output]
By default with no args will write to corresponding file in `srcs/layouts/`.
Script uses central symbol (in direction "c") to identify a key, which may not
be appropriate for base (reference) layouts other, than qwerty (US).
Warning will be printed to stderr if new symbol overrides some symbol of the
reference layout in directions other, than "c".
Exception will be rised on other
conflicts e. g. when trying to move a symbol into occupied position.
- Made with latn_qwerty_us.xml from commit `6b1551d`
- Made with Python 3.13
- Requires Python >= 3.11
"""
import argparse
import logging
from enum import StrEnum
from pathlib import Path
from xml.etree import ElementTree
class Placement(StrEnum):
C = 'c'
NW = 'nw'
N = 'n'
NE = 'ne'
E = 'e'
SE = 'se'
S = 's'
SW = 'sw'
W = 'w'
# Based on XKB Sinhala (phonetic)
KEYS_MAP: dict[str, tuple[str, str, str, str]] = {
# Row 1 ###########################################
'q': ('ඍ', 'ඎ', '\u0DD8', '\u0DF2'),
'w': ('ඇ', 'ඈ', '\u0DD0', '\u0DD1'),
'e': ('එ', 'ඒ', '\u0DD9', '\u0DDA'),
'r': ('ර', '', '', ''), # In XKB virama is on layer 2
't': ('ත', 'ථ', 'ට', 'ඨ'),
'y': ('ය', '', '', ''), # In XKB virama is on layer 2
'u': ('උ', 'ඌ', '\u0DD4', '\u0DD6'),
'i': ('ඉ', 'ඊ', '\u0DD2', '\u0DD3'),
'o': ('ඔ', 'ඕ', '\u0DDC', '\u0DDD'),
'p': ('ප', 'ඵ', '', ''),
# Row 2 ###########################################
'a': ('අ', 'ආ', '\u0DCA', '\u0DCF'),
's': ('ස', 'ශ', 'ෂ', ''),
'd': ('ද', 'ධ', 'ඩ', 'ඪ'),
'f': ('ෆ', '\u0D93', '', '\u0DDB'), # In XKB aiyanna placed otherwise
'g': ('ග', 'ඝ', 'ඟ', ''),
'h': ('හ', '\u0D83', '\u0DDE', 'ඖ'),
'j': ('ජ', 'ඣ', 'ඦ', ''),
'k': ('ක', 'ඛ', 'ඦ', 'ඐ'),
'l': ('ල', 'ළ', '\u0DDF', '\u0DF3'),
# Row 3 ###########################################
'z': ('ඤ', 'ඥ', '', ''), # In XKB contains bar, broken bar
'x': ('ඳ', 'ඬ', '', ''),
'c': ('ච', 'ඡ', '', ''),
'v': ('ව', '', '', ''),
'b': ('බ', 'භ', '', ''),
'n': ('න', 'ණ', '\u0D82', 'ඞ'),
'm': ('ම', 'ඹ', '', ''),
}
# How to place four levels of Key.
# Syntax: LEVEL: PLACEMENT | 'FROM_LEVEL+MODIFIER'
# The last means symbol on level FROM_LEVEL with modifier key MODIFIER gives
# key on level LEVEL
#
LEVELS_MAP = {
0: Placement.C,
1: Placement.NE,
2: '0+shift',
3: '1+shift',
}
# Additional modify keys combinations.
# Syntax:
# MODKEY: { A: B }
#
MODMAP_EXTRA: dict[str, dict[str, str]] = {
'shift': {
# Astrological numbers
'1': '෧',
'2': '෨',
'3': '෩',
'4': '෪',
'5': '෫',
'6': '෬',
'7': '෭',
'8': '෮',
'9': '෯',
'0': '෦',
# Kunddaliya
'.': '෴',
# Extra broken bar intead z key in XKB
'\u007C': '\u00A6',
# Special whitespaces
'zwj': 'zwnj',
},
'fn': {
# Sinhala archaic digits
'ඍ': '𑇡', # 1
'ඇ': '𑇢', # 2
'එ': '𑇣', # 3
'ර': '𑇤', # 4
'ත': '𑇥', # 5
'ය': '𑇦', # 6
'උ': '𑇧', # 7
'ඉ': '𑇨', # 8
'ඔ': '𑇩', # 9
'ප': '𑇪', # 10
'අ': '𑇫', # 20
'ස': '𑇬', # 30
'ද': '𑇭', # 40
'ෆ': '𑇮', # 50
'ග': '𑇯', # 60
'හ': '𑇰', # 70
'ජ': '𑇱', # 80
'ක': '𑇲', # 90
'ල': '𑇳', # 100
'ළ': '𑇴', # 1000
# Sinhala candrabindu for Sanskrit
'ණ': '\u0D81',
},
}
# Table to move additional characters in reference layout.
# Format is (CENTRAL_CHAR, PLACEMENT): (CENTRAL_CHAR, PLACEMENT). E. g. to move
# char from key with central character "q", direction "se" to key with central
# character "w", direction "sw", add line:
# ('q', Placement.SE): ('w', Placement.SW),
#
# To delete a char, use None as destination placement. E.g.:
# ('q', Placment.SE): ('q', None)
#
# Moving of main char in central placement is not supported.
#
TRANSITIONS_MAP: dict[tuple[str, Placement], tuple[str, Placement | None]] = {
('q', Placement.SE): ('q', Placement.SW), # loc esc
('q', Placement.NE): ('q', Placement.SE), # 1
('w', Placement.NE): ('w', Placement.SE), # 2
('e', Placement.SE): ('r', Placement.NW), # loc €
('e', Placement.NE): ('e', Placement.SE), # 3
('r', Placement.NE): ('r', Placement.SE), # 4
('t', Placement.NE): ('t', Placement.SE), # 5
('y', Placement.NE): ('y', Placement.SE), # 6
('u', Placement.NE): ('u', Placement.SE), # 7
('i', Placement.NE): ('i', Placement.SE), # 8
('o', Placement.SE): ('p', Placement.SW), # )
('o', Placement.NE): ('o', Placement.SE), # 9
('p', Placement.NE): ('p', Placement.SE), # 0
('a', Placement.NE): ('a', Placement.NW), # `
('a', Placement.NW): ('a', Placement.SW), # loc tab
('s', Placement.NE): ('s', Placement.NW), # loc §
('g', Placement.SW): ('g', Placement.NW), # _
('g', Placement.NE): ('g', Placement.SW), # -
('h', Placement.SW): ('h', Placement.NW), # +
('h', Placement.NE): ('h', Placement.SW), # =
('l', Placement.NE): ('l', Placement.NW), # |
('x', Placement.NE): ('x', Placement.NW), # loc †
('c', Placement.NE): ('c', Placement.NW), # <
('b', Placement.NE): ('b', Placement.NW), # ?
('n', Placement.NE): ('n', Placement.NW), # :
('m', Placement.NE): ('m', Placement.NW), # "
}
# Add additional characters to arbitrary places.
# Syntax is CHAR: POSITION, where POSITION is a pari as in TRANSITIONS_MAP.
#
CHARS_EXTRA = {
# In XKB ZWJ is on `/` key, and ZWNJ is on spacebar
'zwj': ('m', Placement.SE),
}
# List of char unicode numbers and inclusive ranges of numbers to encode as XML
# numeric character references.
# Good for combining signs to not mess with quotes.
# Characters in line of the keyboard tag will not be escaped.
#
ESCAPE_LIST: list[int | tuple[int, int]] = [
# Sinhalese diacritics
(0xD81, 0xD83),
(0xDCA, 0xDDF),
]
# Default filename. Output path can be overrided with `-o` flag also.
LAYOUT_FILENAME = 'sinhala_phonetic.xml'
# Will be placed after XML declaration. Need to have proper <!-- --> tags.
COMMENT = '''
<!-- This file defines Sinhala layout.
Based on XKB Sinhala (phonetic) layout.
-->
'''
BASE_DIR = Path(__file__).parent
REFERENCE_LAYOUT_FILE = BASE_DIR / 'srcs/layouts/latn_qwerty_us.xml'
LOGGER = logging.getLogger(__name__)
KeysMapType = list[list[ElementTree.Element]]
class LayoutGenError(RuntimeError):
...
def xml_elem_to_str(element: ElementTree.Element) -> str:
return ElementTree.tostring(
element,
xml_declaration=False,
encoding='unicode').strip()
def keys_map_to_str(keys_map: KeysMapType) -> str:
""" Make laout rows map printable for debug purposes """
result = '[\n'
for row in keys_map:
result += ' ' * 4
for key in row:
result += str(key.attrib) + ', '
result += '\n'
result += ']'
return result
def is_in_escape_list(char: str | int) -> bool:
if isinstance(char, str):
char = ord(char)
for item in ESCAPE_LIST:
if isinstance(item, tuple) and char >= item[0] and char <= item[1]:
return True
elif isinstance(item, int):
if char == item:
return True
else:
TypeError(f'Unexpected item {item} of ESCAPE_LIST')
return False
def xml_encode_char(ch: str | int) -> str:
if isinstance(ch, str):
ch = ord(ch)
hex_val = hex(ch).split('x')[-1]
return f'&#x{hex_val.upper().zfill(4)};'
class LayoutBuilder:
XML_DECLARATION = "<?xml version='1.0' encoding='utf-8'?>"
def __init__(
self,
name: str = '',
script: str = '',
numpad_script: str = '',
comment: str = '',
) -> None:
"""
:param comment: MUST be a valid XML comment wrapped in <!-- tags -->
"""
attrs = {}
if name:
attrs['name'] = name
if script:
attrs['script'] = script
if numpad_script:
attrs['numpad_script'] = numpad_script
self._comment = None
if comment:
self._comment = comment.strip() or None
self._xml_keyboard = ElementTree.Element('keyboard', attrib=attrs)
self._modmap = ElementTree.Element('modmap')
@staticmethod
def _parse_reference_layout() -> list[ElementTree.Element]:
return ElementTree.parse(REFERENCE_LAYOUT_FILE).findall('row')
@staticmethod
def _move_untransited_to_new_map(
ref_map: KeysMapType,
new_map: KeysMapType
) -> None:
coordinates = [
(row_num, key_num)
for row_num in range(len(ref_map))
for key_num in range(len(ref_map[row_num]))
]
for row_num, key_num in coordinates:
old_key = ref_map[row_num][key_num]
new_key = new_map[row_num][key_num]
for k, val in old_key.attrib.items():
if (transited := new_key.attrib.get(k)) is not None:
msg = (
f'Transition of {transited} to'
f' {new_key.get(Placement.C)}:{k} conflictls with'
f' existing value "{val}"')
raise LayoutGenError(msg)
new_key.set(k, val)
@staticmethod
def _add_extra_chars_to_ref_map(
coord_map: dict[str, tuple[int, int]],
new_map: KeysMapType
) -> None:
for char, (to_key_name, to_plc) in CHARS_EXTRA.items():
if not (to_coord := coord_map.get(to_key_name)):
msg = f'Trying to add "{char}" to missing key "{to_key_name}"'
raise LayoutGenError(msg)
row_num, key_num = to_coord
key = new_map[row_num][key_num]
if (existing := key.get(to_plc)) is not None:
msg = f'Trying to add char to <{to_key_name}:{to_plc}>, but already contains "{existing}"'
raise LayoutGenError(msg)
key.set(to_plc, char)
LOGGER.info(
'Added "%s" to <%s:%s>',
char, to_key_name, to_plc)
@classmethod
def _apply_transitions(cls, ref_map: list) -> list:
coord_map: dict[str, tuple[int, int]] = {}
coordinates = [
(row_num, key_num)
for row_num in range(len(ref_map))
for key_num in range(len(ref_map[row_num]))
]
for row_num, key_num in coordinates:
row = ref_map[row_num]
key = row[key_num]
key_name = key.get(Placement.C)
if key_name in coord_map:
msg = f'Duplicated value "{key_name}" in central position'
raise LayoutGenError(msg)
coord_map[key_name] = (row_num, key_num)
# Make new map with empty keys
result_map = [[ElementTree.Element('key') for key in row] for row in ref_map]
# Place by transitions map on new places
for (from_key_name, from_plc), (to_key_name, to_plc) in TRANSITIONS_MAP.items():
if Placement.C in (from_plc, to_plc):
raise NotImplementedError('Transition from or to placment "c"')
if not (from_coord := coord_map.get(from_key_name)):
raise LayoutGenError(f'Transition from missing key {from_key_name}')
if not (to_coord := coord_map.get(to_key_name)):
raise LayoutGenError(f'Transition to missing key {to_key_name}')
from_key = ref_map[from_coord[0]][from_coord[1]]
to_key = result_map[to_coord[0]][to_coord[1]]
try:
val = from_key.attrib.pop(from_plc)
except KeyError:
msg = f'No value in key {from_key_name}, placement {from_plc} to move'
raise LayoutGenError(msg)
if to_plc is not None:
if to_key.get(to_plc):
msg = f'Second transition to key {to_key_name}, placement {to_plc}'
raise LayoutGenError(msg)
to_key.set(to_plc, val)
LOGGER.info(
'Moved "%s" from <%s:%s> to <%s:%s>',
val, from_key_name, from_plc, to_key_name, to_plc)
else:
LOGGER.info(
'Deleted "%s" from <%s:%s>',
val, from_key_name, from_plc)
# Fill new map with other values
cls._move_untransited_to_new_map(ref_map, new_map=result_map)
# Add additional characters
cls._add_extra_chars_to_ref_map(coord_map, new_map=result_map)
return result_map
@staticmethod
def _resolve_placement(
key: ElementTree.Element,
placement: Placement,
new_char: str
) -> None:
if placement != Placement.C:
central_char = key.get(Placement.C)
existing = key.get(placement)
if existing:
LOGGER.warning(
'Placement %s of key %s already occupied with %s',
placement, central_char, existing)
key.set(placement, new_char)
def _process_key(self, key: ElementTree.Element) -> ElementTree.Element:
central_char = key.get(Placement.C)
if not central_char:
return key
new_key_entry = KEYS_MAP.get(central_char)
if new_key_entry is None:
return key
for level, placement_spec in LEVELS_MAP.items():
if not (new_char := new_key_entry[level]):
continue
if '+' in placement_spec:
pair = placement_spec.split('+')
from_level, modkey = int(pair[0]), pair[1]
key_a = new_key_entry[from_level]
key_b = new_char
if key_a is None:
raise LayoutGenError(f'Tried to modife {key_a} to {key_b}')
ElementTree.SubElement(self._modmap, modkey, a=key_a, b=key_b)
else:
placement = Placement(placement_spec)
self._resolve_placement(key, placement=placement, new_char=new_char)
return key
@staticmethod
def _make_extra_modmap(modmap: ElementTree.Element) -> ElementTree.Element:
for modkey, ab_map in MODMAP_EXTRA.items():
for a, b in ab_map.items():
LOGGER.info('Adding modmap %s "%s" -> "%s"', modkey, a, b)
ElementTree.SubElement(modmap, modkey, a=a, b=b)
return modmap
@staticmethod
def _post_escape(data: str) -> str:
buf = ''
lines = data.splitlines(keepends=True)
for line in lines:
# Skip keyboard tag line to keep attributes
if '<keyboard ' in line:
buf += line
continue
for ch in line:
if is_in_escape_list(ch):
ch = xml_encode_char(ch)
buf += ch
return buf
def build(self) -> None:
raw_ref_rows = self._parse_reference_layout()
ref_rows = self._apply_transitions(raw_ref_rows)
for row in ref_rows:
new_row = ElementTree.SubElement(self._xml_keyboard, 'row')
for key in row:
LOGGER.debug(
'Processing reference entry %s',
xml_elem_to_str(key))
new_row.append(self._process_key(key))
self._modmap = self._make_extra_modmap(self._modmap)
self._xml_keyboard.append(self._modmap)
def get_xml(self) -> str:
ElementTree.indent(self._xml_keyboard)
body_raw = xml_elem_to_str(self._xml_keyboard)
body = self._post_escape(body_raw)
result = self.XML_DECLARATION + '\n'
if self._comment:
result += self._comment + '\n'
result += body + '\n'
return result
def get_args() -> argparse.Namespace:
parser = argparse.ArgumentParser(
prog='gen_sinhala_phonetic_layout',
description='Generate XKB-based Sinhala layout',)
parser.add_argument(
'-o',
'--output',
default=BASE_DIR / f'srcs/layouts/{LAYOUT_FILENAME}',
help='File to write result, `-` for stdout')
parser.add_argument(
'-v',
'--verbose',
help='More verbose logging',
action='store_true')
return parser.parse_args()
if __name__ == '__main__':
args = get_args()
logging.basicConfig(
level=logging.DEBUG if args.verbose else logging.WARNING,
format='%(levelname)s: %(message)s')
builder = LayoutBuilder(name='සිංහල', script='sinhala', comment=COMMENT)
builder.build()
content = builder.get_xml()
if args.output == '-':
print(content)
else:
with open(args.output, 'w') as file:
file.write(content)
+3 -2
View File
@@ -1,3 +1,4 @@
org.gradle.jvmargs=-Dfile.encoding=UTF-8
android.useAndroidX=false
android.nonTransitiveRClass=true
android.useAndroidX=true
android.nonTransitiveRClass=true
org.gradle.configuration-cache=true
Binary file not shown.
+3 -2
View File
@@ -1,6 +1,7 @@
#Mon Aug 21 18:13:41 CEST 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Vendored
+182 -116
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
#!/bin/sh
#
# Copyright 2015 the original author or authors.
# Copyright © 2015-2021 the original authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -15,81 +15,115 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
##############################################################################
##
## Gradle start up script for UN*X
##
#
# Gradle start up script for POSIX generated by Gradle.
#
# Important for running:
#
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
# noncompliant, but you have some other compliant shell such as ksh or
# bash, then to run this script, type that shell name before the whole
# command line, like:
#
# ksh Gradle
#
# Busybox and similar reduced shells will NOT work, because this script
# requires all of these POSIX shell features:
# * functions;
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
# * compound commands having a testable exit status, especially «case»;
# * various built-in commands including «command», «set», and «ulimit».
#
# Important for patching:
#
# (2) This script targets any POSIX shell, so it avoids extensions provided
# by Bash, Ksh, etc; in particular arrays are avoided.
#
# The "traditional" practice of packing multiple parameters into a
# space-separated string is a well documented source of bugs and security
# problems, so this is (mostly) avoided, by progressively accumulating
# options in "$@", and eventually passing that to Java.
#
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
# see the in-line comments for details.
#
# There are tweaks for specific operating systems such as AIX, CygWin,
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
#
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
app_path=$0
# Need this for daisy-chained symlinks.
while
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
[ -h "$app_path" ]
do
ls=$( ls -ld "$app_path" )
link=${ls#*' -> '}
case $link in #(
/*) app_path=$link ;; #(
*) app_path=$APP_HOME$link ;;
esac
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
MAX_FD=maximum
warn () {
echo "$*"
}
} >&2
die () {
echo
echo "$*"
echo
exit 1
}
} >&2
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
case "$( uname )" in #(
CYGWIN* ) cygwin=true ;; #(
Darwin* ) darwin=true ;; #(
MSYS* | MINGW* ) msys=true ;; #(
NONSTOP* ) nonstop=true ;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
CLASSPATH="\\\"\\\""
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
JAVACMD=$JAVA_HOME/jre/sh/java
else
JAVACMD="$JAVA_HOME/bin/java"
JAVACMD=$JAVA_HOME/bin/java
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
@@ -98,88 +132,120 @@ Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
JAVACMD=java
if ! command -v java >/dev/null 2>&1
then
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin or MSYS, switch paths to Windows format before running java
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=`expr $i + 1`
done
case $i in
0) set -- ;;
1) set -- "$args0" ;;
2) set -- "$args0" "$args1" ;;
3) set -- "$args0" "$args1" "$args2" ;;
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
fi
# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=`save "$@"`
# Collect all arguments for the java command, stacking in reverse order:
# * args from the command line
# * the main class name
# * -classpath
# * -D...appname settings
# * --module-path (only if needed)
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# For Cygwin or MSYS, switch paths to Windows format before running java
if "$cygwin" || "$msys" ; then
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
JAVACMD=$( cygpath --unix "$JAVACMD" )
# Now convert the arguments - kludge to limit ourselves to /bin/sh
for arg do
if
case $arg in #(
-*) false ;; # don't mess with options #(
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
[ -e "$t" ] ;; #(
*) false ;;
esac
then
arg=$( cygpath --path --ignore --mixed "$arg" )
fi
# Roll the args list around exactly as many times as the number of
# args, so each arg winds up back in the position where it started, but
# possibly modified.
#
# NB: a `for` loop captures its iteration list before it begins, so
# changing the positional parameters here affects neither the number of
# iterations, nor the values presented in `arg`.
shift # remove old arg
set -- "$@" "$arg" # push replacement arg
done
fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
"$@"
# Stop when "xargs" is not available.
if ! command -v xargs >/dev/null 2>&1
then
die "xargs is not available"
fi
# Use "xargs" to parse quoted args.
#
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
#
# In Bash we could simply go:
#
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
# set -- "${ARGS[@]}" "$@"
#
# but POSIX shell has neither arrays nor command substitution, so instead we
# post-process each arg (as a line of input to sed) to backslash-escape any
# character that might be a shell metacharacter, then use eval to reverse
# that process (while maintaining the separation between arguments), and wrap
# the whole thing up as a single "set" statement.
#
# This will of course break if any of these variables contains a newline or
# an unmatched quote.
#
eval "set -- $(
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
xargs -n1 |
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
tr '\n' ' '
)" '"$@"'
exec "$JAVACMD" "$@"
Vendored
+23 -18
View File
@@ -13,8 +13,10 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem
@if "%DEBUG%" == "" @echo off
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@@ -25,7 +27,8 @@
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
if "%DIRNAME%"=="" set DIRNAME=.
@rem This is normally unused
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@@ -40,13 +43,13 @@ if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto execute
if %ERRORLEVEL% equ 0 goto execute
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail
@@ -56,32 +59,34 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2
goto fail
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
set CLASSPATH=
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
if %ERRORLEVEL% equ 0 goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
set EXIT_CODE=%ERRORLEVEL%
if %EXIT_CODE% equ 0 set EXIT_CODE=1
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
exit /b %EXIT_CODE%
:mainEnd
if "%OS%"=="Windows_NT" endlocal
+2 -15
View File
@@ -3,28 +3,15 @@
<aapt:attr name="android:drawable">
<vector android:name="vector" android:width="35dp" android:height="40dp" android:viewportWidth="35" android:viewportHeight="40">
<path android:name="trace" android:pathData="M 17.5 20 C 20 3 26 7 27.5 10" android:strokeColor="#09b3f1" android:strokeWidth="2" android:strokeLineCap="round"/>
<group android:name="pointer_g">
<path android:name="pointer" android:pathData="m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0" android:fillColor="#09b3f1" android:strokeColor="#09b3f1" android:strokeWidth="2" android:fillAlpha="0" android:strokeAlpha="0"/>
<group android:name="pointer_g" android:translateX="27" android:translateY="10">
<path android:name="pointer" android:pathData="m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0" android:fillColor="#09b3f1" android:strokeColor="#09b3f1" android:strokeWidth="2"/>
</group>
</vector>
</aapt:attr>
<target android:name="trace">
<aapt:attr name="android:animation">
<set>
<objectAnimator android:propertyName="strokeAlpha" android:duration="100" android:valueFrom="0" android:valueTo="1" android:valueType="floatType" android:interpolator="@android:interpolator/fast_out_slow_in"/>
<objectAnimator android:propertyName="trimPathEnd" android:duration="700" android:valueFrom="0" android:valueTo="1" android:interpolator="@android:interpolator/linear_out_slow_in"/>
<objectAnimator android:propertyName="strokeAlpha" android:startOffset="900" android:duration="400" android:valueFrom="1" android:valueTo="0" android:valueType="floatType" android:interpolator="@android:interpolator/linear_out_slow_in"/>
</set>
</aapt:attr>
</target>
<target android:name="pointer">
<aapt:attr name="android:animation">
<set>
<objectAnimator android:propertyName="fillAlpha" android:duration="100" android:valueFrom="0" android:valueTo="1" android:valueType="floatType" android:interpolator="@android:interpolator/fast_out_slow_in"/>
<objectAnimator android:propertyName="strokeAlpha" android:duration="100" android:valueFrom="0" android:valueTo="1" android:valueType="floatType" android:interpolator="@android:interpolator/fast_out_slow_in"/>
<objectAnimator android:propertyName="strokeAlpha" android:duration="100" android:valueFrom="0" android:valueTo="1" android:valueType="floatType" android:interpolator="@android:interpolator/fast_out_slow_in"/>
<objectAnimator android:propertyName="fillAlpha" android:startOffset="900" android:duration="400" android:valueFrom="1" android:valueTo="0" android:valueType="floatType" android:interpolator="@android:interpolator/linear_out_slow_in"/>
<objectAnimator android:propertyName="strokeAlpha" android:startOffset="900" android:duration="400" android:valueFrom="1" android:valueTo="0" android:valueType="floatType" android:interpolator="@android:interpolator/linear_out_slow_in"/>
</set>
</aapt:attr>
</target>
+3 -20
View File
@@ -2,31 +2,14 @@
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
<aapt:attr name="android:drawable">
<vector android:name="vector" android:width="35dp" android:height="40dp" android:viewportWidth="35" android:viewportHeight="40">
<path android:name="trace" android:pathData="M 0 0" android:fillColor="#09b3f1" android:strokeColor="#09b3f1" android:strokeWidth="2" android:strokeLineCap="round"/>
<path android:name="trace" android:pathData="M 17.5 20.0 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 31,4" android:fillColor="#09b3f1" android:strokeColor="#09b3f1" android:strokeWidth="2" android:strokeLineCap="round"/>
</vector>
</aapt:attr>
<target android:name="trace">
<aapt:attr name="android:animation">
<set>
<objectAnimator android:propertyName="fillAlpha" android:duration="100" android:valueFrom="0" android:valueTo="1" android:valueType="floatType" android:interpolator="@android:interpolator/fast_out_slow_in"/>
<objectAnimator android:propertyName="strokeAlpha" android:duration="100" android:valueFrom="0" android:valueTo="1" android:valueType="floatType" android:interpolator="@android:interpolator/fast_out_slow_in"/>
<objectAnimator
android:propertyName="pathData"
android:duration="350"
android:valueFrom="M 17.5 20.0 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 17.5,20.0"
android:valueTo="M 31 4 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 31,4"
android:valueType="pathType"
android:interpolator="@android:interpolator/linear_out_slow_in"/>
<objectAnimator
android:propertyName="pathData"
android:startOffset="400"
android:duration="800"
android:valueFrom="M 31 4 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 31,4"
android:valueTo="M 17.5 20.0 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 31,4"
android:valueType="pathType"
android:interpolator="@android:interpolator/linear_out_slow_in"/>
<objectAnimator android:propertyName="fillAlpha" android:startOffset="900" android:duration="400" android:valueFrom="1" android:valueTo="0" android:valueType="floatType" android:interpolator="@android:interpolator/linear_out_slow_in"/>
<objectAnimator android:propertyName="strokeAlpha" android:startOffset="900" android:duration="400" android:valueFrom="1" android:valueTo="0" android:valueType="floatType" android:interpolator="@android:interpolator/linear_out_slow_in"/>
<objectAnimator android:propertyName="pathData" android:duration="350" android:valueFrom="M 17.5 20.0 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 17.5,20.0" android:valueTo="M 31 4 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 31,4" android:valueType="pathType" android:interpolator="@android:interpolator/linear_out_slow_in"/>
<objectAnimator android:propertyName="pathData" android:startOffset="400" android:duration="800" android:valueFrom="M 31 4 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 31,4" android:valueTo="M 17.5 20.0 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 31,4" android:valueType="pathType" android:interpolator="@android:interpolator/linear_out_slow_in"/>
</set>
</aapt:attr>
</target>
+2 -12
View File
@@ -2,23 +2,13 @@
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
<aapt:attr name="android:drawable">
<vector android:name="vector" android:width="35dp" android:height="40dp" android:viewportWidth="35" android:viewportHeight="40">
<path android:name="trace" android:pathData="M 0 0" android:fillColor="#09b3f1" android:strokeColor="#09b3f1" android:strokeWidth="2" android:strokeLineCap="round"/>
<path android:name="trace" android:pathData=" M 31 4 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 31 ,4" android:fillColor="#09b3f1" android:strokeColor="#09b3f1" android:strokeWidth="2" android:strokeLineCap="round"/>
</vector>
</aapt:attr>
<target android:name="trace">
<aapt:attr name="android:animation">
<set>
<objectAnimator android:propertyName="fillAlpha" android:duration="100" android:valueFrom="0" android:valueTo="1" android:valueType="floatType" android:interpolator="@android:interpolator/fast_out_slow_in"/>
<objectAnimator android:propertyName="strokeAlpha" android:duration="100" android:valueFrom="0" android:valueTo="1" android:valueType="floatType" android:interpolator="@android:interpolator/fast_out_slow_in"/>
<objectAnimator
android:propertyName="pathData"
android:duration="700"
android:valueFrom="M 17.5 20.0 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 17.5,20.0"
android:valueTo=" M 31 4 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 31 ,4"
android:valueType="pathType"
android:interpolator="@android:interpolator/linear_out_slow_in"/>
<objectAnimator android:propertyName="fillAlpha" android:startOffset="900" android:duration="400" android:valueFrom="1" android:valueTo="0" android:valueType="floatType" android:interpolator="@android:interpolator/linear_out_slow_in"/>
<objectAnimator android:propertyName="strokeAlpha" android:startOffset="900" android:duration="400" android:valueFrom="1" android:valueTo="0" android:valueType="floatType" android:interpolator="@android:interpolator/linear_out_slow_in"/>
<objectAnimator android:propertyName="pathData" android:duration="700" android:valueFrom="M 17.5 20.0 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 17.5,20.0" android:valueTo=" M 31 4 m 2,0 a 2,2 0 1,1 -4,0 a 2,2 0 1,1 4,0 M 17.5 20.0 L 31 ,4" android:valueType="pathType" android:interpolator="@android:interpolator/linear_out_slow_in"/>
</set>
</aapt:attr>
</target>
+1 -1
View File
@@ -1 +1 @@
<!-- drawable/delete.xml --><vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:width="24dp" android:viewportWidth="24" android:viewportHeight="24"><path android:fillColor="#000000" android:pathData="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z" /></vector>
<!-- drawable/delete.xml --><vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:width="24dp" android:viewportWidth="24" android:viewportHeight="24"><path android:fillColor="#000000" android:pathData="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z" /></vector>
+2
View File
@@ -0,0 +1,2 @@
<!-- From https://pictogrammers.com/library/mdi/icon/download/ -->
<!-- drawable/download.xml --><vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:width="24dp" android:viewportWidth="24" android:viewportHeight="24"><path android:fillColor="#000000" android:pathData="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z" /></vector>
+5
View File
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" style="@style/candidates_status">
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/candidates_status_no_dict"/>
<Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/candidates_status_install" android:onClick="launch_dictionaries_activity"/>
</LinearLayout>
+1 -1
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content">
<EditText android:id="@+id/text" android:inputType="text" android:importantForAutofill="no" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="10dp"/>
<EditText android:id="@+id/text" android:hint="@string/pref_dialog_edit_text" android:inputType="text" android:importantForAutofill="no" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="10dp"/>
</LinearLayout>
+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true" android:fitsSystemWindows="true">
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical">
<TextView style="@style/paragraph" android:text="@string/dictionaries_from_internet"/>
<juloo.keyboard2.dict.DictionaryListView style="@style/dictionary_list_view"/>
</LinearLayout>
</ScrollView>
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" style="@style/dictionary_download_item">
<TextView android:id="@+id/dictionary_download_locale" style="@style/dictionary_download_locale"/>
<TextView android:id="@+id/dictionary_download_size" style="@style/dictionary_download_size"/>
<View android:id="@+id/dictionary_download_button" style="@style/dictionary_download_button" android:background="@drawable/ic_download"/>
</LinearLayout>
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android" style="@style/paragraph" android:paddingHorizontal="24dp" android:gravity="center" android:text="@string/dictionaries_activity_not_enabled"/>
+9 -1
View File
@@ -1,2 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<juloo.keyboard2.Keyboard2View xmlns:android="http://schemas.android.com/apk/res/android" android:hardwareAccelerated="false" android:background="?attr/colorKeyboard"/>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:hardwareAccelerated="false" android:orientation="vertical" android:background="?attr/colorKeyboard">
<juloo.keyboard2.suggestions.CandidatesView android:id="@+id/candidates_view" style="@style/candidates_view">
<TextView android:id="@+id/candidates_emoji" style="@style/candidates_emoji"/>
<TextView android:id="@+id/candidates_left" style="@style/candidates_item"/>
<TextView android:id="@+id/candidates_middle" style="@style/candidates_item"/>
<TextView android:id="@+id/candidates_right" style="@style/candidates_item"/>
</juloo.keyboard2.suggestions.CandidatesView>
<juloo.keyboard2.Keyboard2View android:id="@+id/keyboard_view" android:layout_width="match_parent" android:layout_height="wrap_content"/>
</LinearLayout>
+6 -5
View File
@@ -1,24 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true">
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true" android:fitsSystemWindows="true">
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical">
<TextView style="@style/paragraph" android:text="@string/launcher_description"/>
<Button style="@style/paragraph" android:text="@string/launcher_button_imesettings" android:onClick="launch_imesettings" android:layout_width="wrap_content"/>
<Button style="@style/paragraph" android:text="@string/launcher_button_imepicker" android:onClick="launch_imepicker" android:layout_width="wrap_content"/>
<Button style="@style/paragraph" android:text="@string/launcher_button_dictionaries" android:onClick="launch_dictionaries_activity" android:layout_width="wrap_content"/>
<LinearLayout style="@style/anim_box">
<ImageView style="@style/anim" android:id="@+id/launcher_anim_swipe" android:background="@drawable/doc_key_u" android:src="@drawable/doc_anim_swipe"/>
<TextView style="@style/anim_text" android:text="7"/>
<TextView style="@style/anim_text" android:text="@string/launcher_anim_7"/>
</LinearLayout>
<LinearLayout style="@style/anim_box">
<ImageView style="@style/anim" android:id="@+id/launcher_anim_circle" android:background="@drawable/doc_key_g" android:src="@drawable/doc_anim_circle"/>
<TextView style="@style/anim_text" android:text="G"/>
<TextView style="@style/anim_text" android:text="@string/launcher_anim_g"/>
</LinearLayout>
<LinearLayout style="@style/anim_box">
<ImageView style="@style/anim" android:id="@+id/launcher_anim_round_trip" android:background="@drawable/doc_key_g" android:src="@drawable/doc_anim_round_trip"/>
<TextView style="@style/anim_text" android:text="–"/>
<TextView style="@style/anim_text" android:text="@string/launcher_anim_dash"/>
</LinearLayout>
<TextView android:id="@+id/launcher_tryhere_text" style="@style/paragraph" android:text="@string/launcher_tryhere"/>
<EditText android:id="@+id/launcher_tryhere_area" style="@style/paragraph" android:inputType="text" android:hint="@string/launcher_tryhere_hint" android:importantForAutofill="no"/>
<TextView style="@style/paragraph" android:text="@string/launcher_sourcecode"/>
<TextView style="@style/paragraph" android:text="https://github.com/Julow/Unexpected-Keyboard" android:autoLink="web" android:linksClickable="true"/>
<TextView style="@style/paragraph" android:text="@string/launcher_repo_url" android:autoLink="web" android:linksClickable="true"/>
</LinearLayout>
</ScrollView>
+179 -8
View File
@@ -55,6 +55,7 @@
😪
🤤
😴
🫩
😷
🤒
🤕
@@ -82,6 +83,7 @@
😯
😲
😳
🫪
🥺
🥹
😦
@@ -155,6 +157,7 @@
💋
💯
💢
🫯
💥
💫
💦
@@ -1489,6 +1492,7 @@
🧟‍♂️
🧟‍♀️
🧌
🫈
💆
💆🏻
💆🏼
@@ -1759,6 +1763,12 @@
🏃🏽‍♂️‍➡️
🏃🏾‍♂️‍➡️
🏃🏿‍♂️‍➡️
🧑‍🩰
🧑🏻‍🩰
🧑🏼‍🩰
🧑🏽‍🩰
🧑🏾‍🩰
🧑🏿‍🩰
💃
💃🏻
💃🏼
@@ -1778,8 +1788,83 @@
🕴🏾
🕴🏿
👯
👯🏻
👯🏼
👯🏽
👯🏾
👯🏿
👯‍♂️
👯🏻‍♂️
👯🏼‍♂️
👯🏽‍♂️
👯🏾‍♂️
👯🏿‍♂️
👯‍♀️
👯🏻‍♀️
👯🏼‍♀️
👯🏽‍♀️
👯🏾‍♀️
👯🏿‍♀️
🧑🏻‍🐰‍🧑🏼
🧑🏻‍🐰‍🧑🏽
🧑🏻‍🐰‍🧑🏾
🧑🏻‍🐰‍🧑🏿
🧑🏼‍🐰‍🧑🏻
🧑🏼‍🐰‍🧑🏽
🧑🏼‍🐰‍🧑🏾
🧑🏼‍🐰‍🧑🏿
🧑🏽‍🐰‍🧑🏻
🧑🏽‍🐰‍🧑🏼
🧑🏽‍🐰‍🧑🏾
🧑🏽‍🐰‍🧑🏿
🧑🏾‍🐰‍🧑🏻
🧑🏾‍🐰‍🧑🏼
🧑🏾‍🐰‍🧑🏽
🧑🏾‍🐰‍🧑🏿
🧑🏿‍🐰‍🧑🏻
🧑🏿‍🐰‍🧑🏼
🧑🏿‍🐰‍🧑🏽
🧑🏿‍🐰‍🧑🏾
👨🏻‍🐰‍👨🏼
👨🏻‍🐰‍👨🏽
👨🏻‍🐰‍👨🏾
👨🏻‍🐰‍👨🏿
👨🏼‍🐰‍👨🏻
👨🏼‍🐰‍👨🏽
👨🏼‍🐰‍👨🏾
👨🏼‍🐰‍👨🏿
👨🏽‍🐰‍👨🏻
👨🏽‍🐰‍👨🏼
👨🏽‍🐰‍👨🏾
👨🏽‍🐰‍👨🏿
👨🏾‍🐰‍👨🏻
👨🏾‍🐰‍👨🏼
👨🏾‍🐰‍👨🏽
👨🏾‍🐰‍👨🏿
👨🏿‍🐰‍👨🏻
👨🏿‍🐰‍👨🏼
👨🏿‍🐰‍👨🏽
👨🏿‍🐰‍👨🏾
👩🏻‍🐰‍👩🏼
👩🏻‍🐰‍👩🏽
👩🏻‍🐰‍👩🏾
👩🏻‍🐰‍👩🏿
👩🏼‍🐰‍👩🏻
👩🏼‍🐰‍👩🏽
👩🏼‍🐰‍👩🏾
👩🏼‍🐰‍👩🏿
👩🏽‍🐰‍👩🏻
👩🏽‍🐰‍👩🏼
👩🏽‍🐰‍👩🏾
👩🏽‍🐰‍👩🏿
👩🏾‍🐰‍👩🏻
👩🏾‍🐰‍👩🏼
👩🏾‍🐰‍👩🏽
👩🏾‍🐰‍👩🏿
👩🏿‍🐰‍👩🏻
👩🏿‍🐰‍👩🏼
👩🏿‍🐰‍👩🏽
👩🏿‍🐰‍👩🏾
🧖
🧖🏻
🧖🏼
@@ -1993,8 +2078,83 @@
🤸🏾‍♀️
🤸🏿‍♀️
🤼
🤼🏻
🤼🏼
🤼🏽
🤼🏾
🤼🏿
🤼‍♂️
🤼🏻‍♂️
🤼🏼‍♂️
🤼🏽‍♂️
🤼🏾‍♂️
🤼🏿‍♂️
🤼‍♀️
🤼🏻‍♀️
🤼🏼‍♀️
🤼🏽‍♀️
🤼🏾‍♀️
🤼🏿‍♀️
🧑🏻‍🫯‍🧑🏼
🧑🏻‍🫯‍🧑🏽
🧑🏻‍🫯‍🧑🏾
🧑🏻‍🫯‍🧑🏿
🧑🏼‍🫯‍🧑🏻
🧑🏼‍🫯‍🧑🏽
🧑🏼‍🫯‍🧑🏾
🧑🏼‍🫯‍🧑🏿
🧑🏽‍🫯‍🧑🏻
🧑🏽‍🫯‍🧑🏼
🧑🏽‍🫯‍🧑🏾
🧑🏽‍🫯‍🧑🏿
🧑🏾‍🫯‍🧑🏻
🧑🏾‍🫯‍🧑🏼
🧑🏾‍🫯‍🧑🏽
🧑🏾‍🫯‍🧑🏿
🧑🏿‍🫯‍🧑🏻
🧑🏿‍🫯‍🧑🏼
🧑🏿‍🫯‍🧑🏽
🧑🏿‍🫯‍🧑🏾
👨🏻‍🫯‍👨🏼
👨🏻‍🫯‍👨🏽
👨🏻‍🫯‍👨🏾
👨🏻‍🫯‍👨🏿
👨🏼‍🫯‍👨🏻
👨🏼‍🫯‍👨🏽
👨🏼‍🫯‍👨🏾
👨🏼‍🫯‍👨🏿
👨🏽‍🫯‍👨🏻
👨🏽‍🫯‍👨🏼
👨🏽‍🫯‍👨🏾
👨🏽‍🫯‍👨🏿
👨🏾‍🫯‍👨🏻
👨🏾‍🫯‍👨🏼
👨🏾‍🫯‍👨🏽
👨🏾‍🫯‍👨🏿
👨🏿‍🫯‍👨🏻
👨🏿‍🫯‍👨🏼
👨🏿‍🫯‍👨🏽
👨🏿‍🫯‍👨🏾
👩🏻‍🫯‍👩🏼
👩🏻‍🫯‍👩🏽
👩🏻‍🫯‍👩🏾
👩🏻‍🫯‍👩🏿
👩🏼‍🫯‍👩🏻
👩🏼‍🫯‍👩🏽
👩🏼‍🫯‍👩🏾
👩🏼‍🫯‍👩🏿
👩🏽‍🫯‍👩🏻
👩🏽‍🫯‍👩🏼
👩🏽‍🫯‍👩🏾
👩🏽‍🫯‍👩🏿
👩🏾‍🫯‍👩🏻
👩🏾‍🫯‍👩🏼
👩🏾‍🫯‍👩🏽
👩🏾‍🫯‍👩🏿
👩🏿‍🫯‍👩🏻
👩🏿‍🫯‍👩🏼
👩🏿‍🫯‍👩🏽
👩🏿‍🫯‍👩🏾
🤽
🤽🏻
🤽🏼
@@ -2426,6 +2586,7 @@
🧑‍🧒
🧑‍🧒‍🧒
👣
🫆
🐵
🐒
🦍
@@ -2526,6 +2687,7 @@
🐳
🐋
🐬
🫍
🦭
🐟
🐠
@@ -2535,6 +2697,11 @@
🐚
🪸
🪼
🦀
🦞
🦐
🦑
🦪
🐌
🦋
🐛
@@ -2579,6 +2746,7 @@
🪹
🪺
🍄
🪾
🍇
🍈
🍉
@@ -2617,6 +2785,7 @@
🫚
🫛
🍄‍🟫
🫜
🍞
🥐
🥖
@@ -2668,11 +2837,6 @@
🥟
🥠
🥡
🦀
🦞
🦐
🦑
🦪
🍦
🍧
🍨
@@ -2723,6 +2887,7 @@
🧭
🏔️
⛰️
🛘
🌋
🗻
🏕️
@@ -3083,16 +3248,18 @@
🎧
📻
🎷
🎺
🪊
🪗
🎸
🎹
🎺
🎻
🪕
🥁
🪘
🪇
🪈
🪉
📱
📲
☎️
@@ -3146,8 +3313,9 @@
📑
🔖
🏷️
💰
🪙
💰
🪎
💴
💵
💶
@@ -3231,6 +3399,7 @@
🧰
🧲
🪜
🪏
⚗️
🧪
🧫
@@ -3416,6 +3585,7 @@
©️
®️
™️
🫟
#️⃣
*️⃣
0️⃣
@@ -3561,6 +3731,7 @@
🇨🇳
🇨🇴
🇨🇵
🇨🇶
🇨🇷
🇨🇺
🇨🇻
@@ -3772,4 +3943,4 @@
🏴󠁧󠁢󠁳󠁣󠁴󠁿
🏴󠁧󠁢󠁷󠁬󠁳󠁿
0 168 2428 2581 2716 2934 3019 3281 3504
0 171 2589 2749 2880 3099 3184 3450 3674
+166
View File
@@ -0,0 +1,166 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name_release">Unexpected Keyboard</string>
<string name="app_name_debug">Unexpected Keyboard (تصحيح الأخطاء)</string>
<string name="short_description">لوحة مفاتيح افتراضية خفيفة الوزن ومراعية للخصوصية لنظام أندرويد.</string>
<string name="store_description">الميزة الرئيسة هي إمكانية كتابة المزيد من الأحرف عن طريق تمرير المفاتيح نحو الزوايا.\n\nصُمم هذا التطبيق في الأصل للمبرمجين الذين يستخدمون Termux.\nأصبح الآن مثاليًا للاستخدام اليومي.\n\nهذا التطبيق لا يحتوي على إعلانات، ولا يقوم بأي طلبات عبر الشبكة، وهو مفتوح المصدر.</string>
<string name="pref_portrait">في الوضع العمودي</string>
<!-- <string name="pref_portrait_unfolded">In portrait mode unfolded</string> -->
<string name="pref_landscape">في الوضع الأفقي</string>
<!-- <string name="pref_landscape_unfolded">In landscape mode unfolded</string> -->
<string name="pref_category_layout">التخطيط</string>
<string name="pref_label_brightness">ضبط سطوع التسمية</string>
<string name="pref_keyboard_opacity">ضبط شفافية خلفية لوحة المفاتيح</string>
<string name="pref_key_opacity">ضبط عتامة المفتاح</string>
<string name="pref_key_activated_opacity">ضبط عتامة المفتاح المضغوط</string>
<string name="pref_layout_e_system">إعدادات النظام</string>
<string name="pref_layout_e_custom">تخطيط مُخصص</string>
<string name="pref_layouts_add">إضافة تخطيط بديل</string>
<string name="pref_layouts_item">التخطيط %1$d: %2$s</string>
<string name="pref_layouts_remove_custom">إزالة التخطيط</string>
<string name="pref_custom_layout_title">تخطيط مُخصص</string>
<!-- <string name="pref_show_number_row_no_number_row">No number row</string> -->
<!-- <string name="pref_show_number_row_no_symbols">Number row without symbols</string> -->
<!-- <string name="pref_show_number_row_symbols">Number row with symbols</string> -->
<string name="pref_show_numpad_title">إظهار لوحة الأرقام</string>
<string name="pref_show_numpad_never">أبدًا</string>
<string name="pref_show_numpad_landscape">فقط في الوضع الأفقي</string>
<string name="pref_show_numpad_always">دائمًا</string>
<string name="pref_number_row_title">إظهار صف الأرقام</string>
<string name="pref_numpad_layout">تخطيط لوحة الأرقام</string>
<string name="pref_numpad_layout_e_high_first">الأرقام العالية أولاً</string>
<string name="pref_numpad_layout_e_low_first">الأرقام السفلى أولاً</string>
<string name="pref_extra_keys_title">إضافة مفاتيح إلى لوحة المفاتيح</string>
<string name="pref_extra_keys_custom">إضافة مفاتيح مخصصة</string>
<string name="pref_extra_keys_internal">حدد المفاتيح المراد إضافتها إلى لوحة المفاتيح</string>
<!-- <string name="pref_category_suggestions">Suggestions</string> -->
<!-- <string name="pref_suggestions_title">Suggestions</string> -->
<!-- <string name="pref_suggestions_summary">Enable word completion and spell checking</string> -->
<!-- <string name="pref_space_bar_auto_complete_title">Autocomplete with the space bar</string> -->
<!-- <string name="pref_space_bar_auto_complete_summary">Enter the best suggestion by pressing space</string> -->
<string name="pref_category_typing">الكتابة</string>
<string name="pref_swipe_dist_title">مسافة التمرير</string>
<string name="pref_swipe_dist_summary">مسافة الأحرف في زوايا المفاتيح (%s)</string>
<string name="pref_long_timeout_title">مهلة الضغط لفترة طويلة</string>
<string name="pref_long_interval_title">فترة تكرار المفتاح</string>
<string name="pref_keyrepeat_enabled">تكرار المفتاح عند الضغط لفترة طويلة</string>
<string name="pref_lock_double_tap_title">نقرة مُزدوجة على زر Shift لوضع الأحرف الكبيرة</string>
<string name="pref_lock_double_tap_summary">يمكنك قفل أي معدل من خلال الضغط عليه باستمرار</string>
<string name="pref_category_behavior">السلوك</string>
<string name="pref_autocapitalisation_title">الكتابة تلقائيًّا بالأحرف الكبيرة</string>
<string name="pref_autocapitalisation_summary">ضغط زر Shift في بداية جملة</string>
<!-- <string name="pref_change_method_key_replacement_title">Switching between input methods</string> -->
<!-- <string name="pref_change_method_key_replacement_e_picker">Show the input method picker (long press)</string> -->
<!-- <string name="pref_change_method_key_replacement_e_prev">Switch to last used</string> -->
<!-- <string name="pref_change_method_key_replacement_e_next">Switch to the next in the list</string> -->
<string name="pref_vibrate_custom">اهتزاز مُخصص</string>
<string name="pref_vibrate_duration_title">شدّة الاهتزاز</string>
<!-- <string name="pref_number_entry_title">Layout when typing numbers, dates, and phone numbers</string> -->
<!-- <string name="pref_number_entry_layout_pin">PIN Entry</string> -->
<!-- <string name="pref_number_entry_layout_number">Number pane</string> -->
<!-- <string name="pref_number_entry_layout_normal">Use the main layout</string> -->
<string name="pref_category_style">الأسلوب</string>
<string name="pref_margin_bottom_title">هامش سفلي</string>
<string name="pref_keyboard_height_title">ارتفاع لوحة المفاتيح</string>
<string name="pref_horizontal_margin_title">هامش أفقي</string>
<string name="pref_character_size_title">حجم التسمية</string>
<string name="pref_character_size_summary">حجم الأحرف المعروضة على لوحة المفاتيح (%.2fx)</string>
<string name="pref_theme">السمة</string>
<string name="pref_theme_e_system">إعدادات النظام</string>
<string name="pref_theme_e_dark">داكن</string>
<string name="pref_theme_e_light">فاتح</string>
<string name="pref_theme_e_black">أسود</string>
<string name="pref_theme_e_altblack">أسود بديل</string>
<string name="pref_theme_e_white">أبيض</string>
<string name="pref_theme_e_epaper">ورق إلكتروني</string>
<string name="pref_theme_e_desert">الصحراء</string>
<string name="pref_theme_e_jungle">الغابة</string>
<string name="pref_theme_e_monet">مونيه (النظام)</string>
<string name="pref_theme_e_monetlight">مونيه (فاتح)</string>
<string name="pref_theme_e_monetdark">مونيه (داكن)</string>
<string name="pref_theme_e_rosepine">الصنوبر الوردي</string>
<!-- <string name="pref_theme_e_everforestlight">Everforest Light</string> -->
<!-- <string name="pref_theme_e_cobalt">Cobalt</string> -->
<!-- <string name="pref_theme_e_pine">Pine</string> -->
<!-- <string name="pref_theme_e_epaperblack">ePaper Black</string> -->
<string name="pref_swipe_dist_e_very_short">قصير جدًّا</string>
<string name="pref_swipe_dist_e_short">قصير</string>
<string name="pref_swipe_dist_e_default">طبيعي</string>
<string name="pref_swipe_dist_e_far">بعيد</string>
<string name="pref_swipe_dist_e_very_far">بعيد جدًّا</string>
<string name="pref_key_horizontal_space">المسافة الأفقية بين المفاتيح</string>
<string name="pref_key_vertical_space">المسافة الرأسية بين المفاتيح</string>
<string name="pref_border_config_title">خصّص الحدود</string>
<string name="pref_border_width_title">عرض الحدود</string>
<string name="pref_corners_radius_title">شعاع الزاوية</string>
<string name="pref_circle_sensitivity_title">حساسية إيماءة الدائرة</string>
<string name="pref_circle_sensitivity_e_high">عالي</string>
<string name="pref_circle_sensitivity_e_medium">متوسط</string>
<string name="pref_circle_sensitivity_e_low">مُنخفض</string>
<string name="pref_circle_sensitivity_e_disabled">معطَّل</string>
<!-- <string name="pref_slider_sensitivity_title">Space bar slider sensitivity</string> -->
<!-- <string name="pref_slider_sensitivity_slow">Slow</string> -->
<!-- <string name="pref_slider_sensitivity_medium">Medium</string> -->
<!-- <string name="pref_slider_sensitivity_fast">Fast</string> -->
<string name="key_action_next">التالي</string>
<string name="key_action_done">تم</string>
<string name="key_action_go">ذهاب</string>
<string name="key_action_prev">رجوع</string>
<string name="key_action_search">بحث</string>
<string name="key_action_send">إرسال</string>
<string name="launcher_button_imesettings">مكّن لوحة المفاتيح</string>
<string name="launcher_button_imepicker">حدّد لوحة المفاتيح</string>
<!-- <string name="launcher_button_dictionaries">Install dictionaries</string> -->
<string name="launcher_description">هذا التطبيق عبارة عن لوحة مفاتيح افتراضية. انتقل إلى إعدادات النظام بالنقر على الزر أدناه ومكّن Unexpected Keyboard.</string>
<string name="launcher_sourcecode">هذا التطبيق مجاني ومفتوح المصدر. يمكنك إيجاد كود المصدر أو الإبلاغ عن الأخطاء على GitHub.</string>
<string name="launcher_tryhere">بعد التمكين، يمكنك تجربة لوحة المفاتيح هنا:</string>
<string name="launcher_tryhere_hint">جرّب هنا</string>
<string name="key_descr_capslock">وضع الأحرف الكبيرة</string>
<string name="key_descr_compose">إنشاء</string>
<string name="key_descr_switch_greekmath">الرموز اليونانية والرياضية</string>
<string name="key_descr_change_method">تبديل لوحة المفاتيح</string>
<string name="key_descr_voice_typing">الكتابة بالصوت</string>
<string name="key_descr_copy">نسخ</string>
<string name="key_descr_paste">لصق</string>
<string name="key_descr_cut">قص</string>
<string name="key_descr_selectAll">حدّد الكل</string>
<string name="key_descr_pasteAsPlainText">اللصق كنص عادي</string>
<string name="key_descr_undo">تراجَع</string>
<string name="key_descr_redo">أعِد</string>
<string name="key_descr_ª">مؤشّر ترتيبي</string>
<string name="key_descr_º">مؤشّر ترتيبي</string>
<string name="key_descr_superscript">رمز علوي</string>
<string name="key_descr_subscript">رمز سفلي</string>
<string name="key_descr_page_up">الصفحة لأعلى</string>
<string name="key_descr_page_down">الصفحة لأسفل</string>
<string name="key_descr_home">الرئيسية</string>
<string name="key_descr_end">إنهاء</string>
<string name="key_descr_clipboard">مُدير الحافظة</string>
<string name="key_descr_combining">علامة تشكيل قابلة للجمع</string>
<string name="key_descr_dead_key">مفتاح هامد</string>
<string name="key_descr_zwj">واصل بعرض صفر</string>
<string name="key_descr_zwnj">فاصل بعرض صفر</string>
<string name="key_descr_nbsp">مسافة غير فاصلة</string>
<string name="key_descr_nnbsp">مسافة ضيّقة غير فاصلة</string>
<!-- <string name="key_descr_delete_word">Delete a word</string> -->
<!-- <string name="key_descr_forward_delete_word">Delete a word on the right</string> -->
<!-- <string name="key_descr_gesture">Gesture</string> -->
<string name="clipboard_history_heading">نص تمّ نسخه مؤخّرًا</string>
<string name="clipboard_pin_heading">المثبّتة</string>
<string name="clipboard_remove_confirm">هل أنت متأكّد من إزالة هذه الحافظة؟</string>
<string name="clipboard_remove_confirmed">نعم</string>
<!-- <string name="toast_no_voice_input">No voice typing app installed</string> -->
<!-- <string name="pref_category_clipboard">Clipboard</string> -->
<!-- <string name="pref_clipboard_history_duration">Clipboard memory duration</string> -->
<!-- <string name="pref_clipboard_history_duration_1">At most 1 minute</string> -->
<!-- <string name="pref_clipboard_history_duration_5">At most 5 minutes</string> -->
<!-- <string name="pref_clipboard_history_duration_30">At most 30 minutes</string> -->
<!-- <string name="pref_clipboard_history_duration_stop">Until the app stops</string> -->
<!-- <string name="pref_dialog_edit_text">Custom definition</string> -->
<!-- <string name="dictionaries_from_internet">Download a dictionary from the Internet</string> -->
<!-- <string name="dictionaries_download_success">Dictionary installed</string> -->
<!-- <string name="dictionaries_download_failed">Download failed</string> -->
<!-- <string name="dictionaries_activity_not_enabled">You must first enable the keyboard to download dictionaries.</string> -->
<!-- <string name="candidates_status_no_dict">No dictionary installed</string> -->
<!-- <string name="candidates_status_install">Install</string> -->
</resources>
+166
View File
@@ -0,0 +1,166 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name_release">Unexpected Keyboard</string>
<string name="app_name_debug">Unexpected Keyboard (تصحيح الأخطاء)</string>
<string name="short_description">كيبورد افتراضي خفيف الوزن ويراعي الخصوصية لآندرويد.</string>
<string name="store_description">الميزة الرئيسية إنّه تقدر تكتب حروف أكثر عن طريق تمرير المفاتيح باتّجاه الزوايا\n\nهذا التطبيق أصلاً تسوّى علشان المبرمجين إلّي يستخدمون طرفية Termux.\nالآن صار تمام للاستخدام اليومي.\n\nهذا التطبيق ما فيه إعلانات، ما يقدّم أي طلبات على الشبكة ومفتوح المصدر.</string>
<string name="pref_portrait">وضع لوحي</string>
<!-- <string name="pref_portrait_unfolded">In portrait mode unfolded</string> -->
<string name="pref_landscape">وضع أفقي</string>
<!-- <string name="pref_landscape_unfolded">In landscape mode unfolded</string> -->
<string name="pref_category_layout">التخطيط</string>
<string name="pref_label_brightness">اضبط سطوع التسمية</string>
<string name="pref_keyboard_opacity">اضبط شفافية خلفية الكيبورد</string>
<string name="pref_key_opacity">اضبط شفافية المفتاح</string>
<string name="pref_key_activated_opacity">اضبط شفافية المفتاح المضغوط</string>
<string name="pref_layout_e_system">إعدادات النظام</string>
<string name="pref_layout_e_custom">تخطيط مخصص</string>
<string name="pref_layouts_add">ضيف تخطيط بديل</string>
<string name="pref_layouts_item">التخطيط %1$d: %2$s</string>
<string name="pref_layouts_remove_custom">امسح التخطيط</string>
<string name="pref_custom_layout_title">تخطيط مخصص</string>
<!-- <string name="pref_show_number_row_no_number_row">No number row</string> -->
<!-- <string name="pref_show_number_row_no_symbols">Number row without symbols</string> -->
<!-- <string name="pref_show_number_row_symbols">Number row with symbols</string> -->
<string name="pref_show_numpad_title">إظهار لوحة الأرقام</string>
<string name="pref_show_numpad_never">أبدًا</string>
<string name="pref_show_numpad_landscape">بس في الوضع الأفقي</string>
<string name="pref_show_numpad_always">دايمًا</string>
<string name="pref_number_row_title">أظهر صف الأرقام</string>
<string name="pref_numpad_layout">تخطيط لوحة الأرقام</string>
<string name="pref_numpad_layout_e_high_first">الأرقام العالية أولاً</string>
<string name="pref_numpad_layout_e_low_first">الأرقام المنخفضة أولاً</string>
<string name="pref_extra_keys_title">ضيف مفاتيح للكيبورد</string>
<string name="pref_extra_keys_custom">ضيف مفاتيح مخصصة</string>
<string name="pref_extra_keys_internal">اختار المفاتيح إلّي تبغى تضيفها للكيبورد</string>
<!-- <string name="pref_category_suggestions">Suggestions</string> -->
<!-- <string name="pref_suggestions_title">Suggestions</string> -->
<!-- <string name="pref_suggestions_summary">Enable word completion and spell checking</string> -->
<!-- <string name="pref_space_bar_auto_complete_title">Autocomplete with the space bar</string> -->
<!-- <string name="pref_space_bar_auto_complete_summary">Enter the best suggestion by pressing space</string> -->
<string name="pref_category_typing">الكتابة</string>
<string name="pref_swipe_dist_title">مسافة التمرير</string>
<string name="pref_swipe_dist_summary">المسافة بين الحروف في زوايا المفاتيح (%s)</string>
<string name="pref_long_timeout_title">مهلة الضغط لفترة طويلة</string>
<string name="pref_long_interval_title">فاصل تكرير المفتاح</string>
<string name="pref_keyrepeat_enabled">تكرير المفتاح عند الضغط المطوّل</string>
<string name="pref_lock_double_tap_title">نقرتين على زر Shift للكتابة بالحروف الكبيرة</string>
<string name="pref_lock_double_tap_summary">تقدر تقفّل أي مفتاح تعديل بالضغط عليه باستمرار</string>
<string name="pref_category_behavior">السلوك</string>
<string name="pref_autocapitalisation_title">الكتابة التلقائية بالحروف الكبيرة</string>
<string name="pref_autocapitalisation_summary">اضغط على مفتاح Shift في بداية جملة</string>
<!-- <string name="pref_change_method_key_replacement_title">Switching between input methods</string> -->
<!-- <string name="pref_change_method_key_replacement_e_picker">Show the input method picker (long press)</string> -->
<!-- <string name="pref_change_method_key_replacement_e_prev">Switch to last used</string> -->
<!-- <string name="pref_change_method_key_replacement_e_next">Switch to the next in the list</string> -->
<string name="pref_vibrate_custom">اهتزاز مخصص</string>
<string name="pref_vibrate_duration_title">شدّة الاهتزاز</string>
<!-- <string name="pref_number_entry_title">Layout when typing numbers, dates, and phone numbers</string> -->
<!-- <string name="pref_number_entry_layout_pin">PIN Entry</string> -->
<!-- <string name="pref_number_entry_layout_number">Number pane</string> -->
<!-- <string name="pref_number_entry_layout_normal">Use the main layout</string> -->
<string name="pref_category_style">الأسلوب</string>
<string name="pref_margin_bottom_title">هامش سفلي</string>
<string name="pref_keyboard_height_title">ارتفاع الكيبورد</string>
<string name="pref_horizontal_margin_title">هامش أفقي</string>
<string name="pref_character_size_title">حجم التسمية</string>
<string name="pref_character_size_summary">حجم الحروف المعروضة على الكيبورد (%.2fx)</string>
<string name="pref_theme">الثيم</string>
<string name="pref_theme_e_system">إعدادات النظام</string>
<string name="pref_theme_e_dark">داكن</string>
<string name="pref_theme_e_light">فاتح</string>
<string name="pref_theme_e_black">أسود</string>
<string name="pref_theme_e_altblack">أسود بديل</string>
<string name="pref_theme_e_white">أبيض</string>
<string name="pref_theme_e_epaper">ورق إلكتروني</string>
<string name="pref_theme_e_desert">الصحراء</string>
<string name="pref_theme_e_jungle">الغابة</string>
<string name="pref_theme_e_monet">مونيه (النظام)</string>
<string name="pref_theme_e_monetlight">مونيه (فاتح)</string>
<string name="pref_theme_e_monetdark">مونيه (داكن)</string>
<string name="pref_theme_e_rosepine">صنوبر وردي</string>
<!-- <string name="pref_theme_e_everforestlight">Everforest Light</string> -->
<!-- <string name="pref_theme_e_cobalt">Cobalt</string> -->
<!-- <string name="pref_theme_e_pine">Pine</string> -->
<!-- <string name="pref_theme_e_epaperblack">ePaper Black</string> -->
<string name="pref_swipe_dist_e_very_short">مرة قصير</string>
<string name="pref_swipe_dist_e_short">قصير</string>
<string name="pref_swipe_dist_e_default">عادي</string>
<string name="pref_swipe_dist_e_far">بعيد</string>
<string name="pref_swipe_dist_e_very_far">مرة بعيد</string>
<string name="pref_key_horizontal_space">المسافة الأفقية بين المفاتيح</string>
<string name="pref_key_vertical_space">المسافة الرأسية بين المفاتيح</string>
<string name="pref_border_config_title">خصّص الحدود</string>
<string name="pref_border_width_title">عرض الحدود</string>
<string name="pref_corners_radius_title">شعاع الزاوية</string>
<string name="pref_circle_sensitivity_title">حساسية إيماءة الدايرة</string>
<string name="pref_circle_sensitivity_e_high">عالي</string>
<string name="pref_circle_sensitivity_e_medium">متوسط</string>
<string name="pref_circle_sensitivity_e_low">منخفض</string>
<string name="pref_circle_sensitivity_e_disabled">موقَّف</string>
<!-- <string name="pref_slider_sensitivity_title">Space bar slider sensitivity</string> -->
<!-- <string name="pref_slider_sensitivity_slow">Slow</string> -->
<!-- <string name="pref_slider_sensitivity_medium">Medium</string> -->
<!-- <string name="pref_slider_sensitivity_fast">Fast</string> -->
<string name="key_action_next">التالي</string>
<string name="key_action_done">تمام</string>
<string name="key_action_go">ذهاب</string>
<string name="key_action_prev">تراجُع</string>
<string name="key_action_search">بحث</string>
<string name="key_action_send">إرسال</string>
<string name="launcher_button_imesettings">شغّل الكيبورد</string>
<string name="launcher_button_imepicker">اختار الكيبورد</string>
<!-- <string name="launcher_button_dictionaries">Install dictionaries</string> -->
<string name="launcher_description">هذا التطبيق كيبورد افتراضي. روح لإعدادات النظام عن طريق الضغط على الزر إلّي تحت وشغّل Unexpected Keyboard.</string>
<string name="launcher_sourcecode">هذا تطبيق مجاني ومفتوح المصدر. تقدر تلاقي كود المصدر أو الإبلاغ عن أخطاء على GitHub.</string>
<string name="launcher_tryhere">بعد التشغيل، تقدر تجرّب الكيبورد هنا:</string>
<string name="launcher_tryhere_hint">جرّب هنا</string>
<string name="key_descr_capslock">وضع الحروف الكبيرة</string>
<string name="key_descr_compose">تكوين</string>
<string name="key_descr_switch_greekmath">الرموز الرياضية واليونانية</string>
<string name="key_descr_change_method">غيّر الكيبورد</string>
<string name="key_descr_voice_typing">الكتابة بالصوت</string>
<string name="key_descr_copy">نسخ</string>
<string name="key_descr_paste">لصق</string>
<string name="key_descr_cut">قص</string>
<string name="key_descr_selectAll">تحديد الكل</string>
<string name="key_descr_pasteAsPlainText">اللصق كنص عادي</string>
<string name="key_descr_undo">تراجع</string>
<string name="key_descr_redo">عيد</string>
<string name="key_descr_ª">مؤشّر ترتيبي</string>
<string name="key_descr_º">مؤشّر ترتيبي</string>
<string name="key_descr_superscript">رمز علوي</string>
<string name="key_descr_subscript">رمز سفلي</string>
<string name="key_descr_page_up">الصفحة لفوق</string>
<string name="key_descr_page_down">الصفحة لتحت</string>
<string name="key_descr_home">الرئيسية</string>
<string name="key_descr_end">إنهاء</string>
<string name="key_descr_clipboard">مدير الحافظة</string>
<string name="key_descr_combining">حركة قابلة للجمع</string>
<string name="key_descr_dead_key">مفتاح التشكيل</string>
<string name="key_descr_zwj">واصل بعرض صفر</string>
<string name="key_descr_zwnj">فاصل بعرض صفر</string>
<string name="key_descr_nbsp">مسافة غير فاصلة</string>
<string name="key_descr_nnbsp">مسافة ضيقة غير فاصلة</string>
<!-- <string name="key_descr_delete_word">Delete a word</string> -->
<!-- <string name="key_descr_forward_delete_word">Delete a word on the right</string> -->
<!-- <string name="key_descr_gesture">Gesture</string> -->
<string name="clipboard_history_heading">نص تم نسخه تو</string>
<string name="clipboard_pin_heading">مثبّت</string>
<string name="clipboard_remove_confirm">هل إنت متأكّد إنّك تبغى تمسح هذه الحافظة؟</string>
<string name="clipboard_remove_confirmed">إيه</string>
<!-- <string name="toast_no_voice_input">No voice typing app installed</string> -->
<!-- <string name="pref_category_clipboard">Clipboard</string> -->
<!-- <string name="pref_clipboard_history_duration">Clipboard memory duration</string> -->
<!-- <string name="pref_clipboard_history_duration_1">At most 1 minute</string> -->
<!-- <string name="pref_clipboard_history_duration_5">At most 5 minutes</string> -->
<!-- <string name="pref_clipboard_history_duration_30">At most 30 minutes</string> -->
<!-- <string name="pref_clipboard_history_duration_stop">Until the app stops</string> -->
<!-- <string name="pref_dialog_edit_text">Custom definition</string> -->
<!-- <string name="dictionaries_from_internet">Download a dictionary from the Internet</string> -->
<!-- <string name="dictionaries_download_success">Dictionary installed</string> -->
<!-- <string name="dictionaries_download_failed">Download failed</string> -->
<!-- <string name="dictionaries_activity_not_enabled">You must first enable the keyboard to download dictionaries.</string> -->
<!-- <string name="candidates_status_no_dict">No dictionary installed</string> -->
<!-- <string name="candidates_status_install">Install</string> -->
</resources>
+166
View File
@@ -0,0 +1,166 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name_release">Unexpected Keyboard</string>
<string name="app_name_debug">Unexpected Keyboard (تصحيح الأخطاء)</string>
<string name="short_description">لوحة مفاتيح افتراضية خفيفة ومُراعية للخصوصية لنظام آندرويد.</string>
<string name="store_description">الميزة الرئيسة هي أنّه يمكنك كتابة المزيد من الأحرف عن طريق تمرير المفاتيح نحو الزوايا.\n\nهذا التطبيق كان مُصممًا للمُبرمجين الذين يستخدمون طرفية Termux.\nالآن صار مثاليًا للاستخدام اليومي.\n\nهذا التطبيق لا يحتوي على إعلانات، ولا يقوم بأيّ طلبات شبكة، وكما أنّه مفتوح المصدر.</string>
<string name="pref_portrait">في الوضع اللوحي</string>
<!-- <string name="pref_portrait_unfolded">In portrait mode unfolded</string> -->
<string name="pref_landscape">في الوضع الأفقي</string>
<!-- <string name="pref_landscape_unfolded">In landscape mode unfolded</string> -->
<string name="pref_category_layout">التخطيط</string>
<string name="pref_label_brightness">ضبط سطوع التسمية</string>
<string name="pref_keyboard_opacity">ضبط عتامة خلفية لوحة المفاتيح</string>
<string name="pref_key_opacity">ضبط عتامة المفتاح</string>
<string name="pref_key_activated_opacity">ضبط عتامة المفتاح المضغوط</string>
<string name="pref_layout_e_system">إعدادات النظام</string>
<string name="pref_layout_e_custom">تخطيط مُخصص</string>
<string name="pref_layouts_add">إضافة تخطيط بديل</string>
<string name="pref_layouts_item">التخطيط %1$d:%2$s</string>
<string name="pref_layouts_remove_custom">إزالة التخطيط</string>
<string name="pref_custom_layout_title">تخطيط مُخصص</string>
<!-- <string name="pref_show_number_row_no_number_row">No number row</string> -->
<!-- <string name="pref_show_number_row_no_symbols">Number row without symbols</string> -->
<!-- <string name="pref_show_number_row_symbols">Number row with symbols</string> -->
<string name="pref_show_numpad_title">إظهار لوحة الأرقام</string>
<string name="pref_show_numpad_never">أبدًا</string>
<string name="pref_show_numpad_landscape">في الوضع الأفقي فقط</string>
<string name="pref_show_numpad_always">دائمًا</string>
<string name="pref_number_row_title">إظهار صف الأرقام</string>
<string name="pref_numpad_layout">تخطيط لوحة الأرقام</string>
<string name="pref_numpad_layout_e_high_first">الأرقام العالية أولاً</string>
<string name="pref_numpad_layout_e_low_first">الأرقام السفلى أولاً</string>
<string name="pref_extra_keys_title">إضافة مفاتيح للوحة المفاتيح</string>
<string name="pref_extra_keys_custom">إضافة مفاتيح مُخصصة</string>
<string name="pref_extra_keys_internal">حدّد المفاتيح المراد إضافتها إلى لوحة المفاتيح</string>
<!-- <string name="pref_category_suggestions">Suggestions</string> -->
<!-- <string name="pref_suggestions_title">Suggestions</string> -->
<!-- <string name="pref_suggestions_summary">Enable word completion and spell checking</string> -->
<!-- <string name="pref_space_bar_auto_complete_title">Autocomplete with the space bar</string> -->
<!-- <string name="pref_space_bar_auto_complete_summary">Enter the best suggestion by pressing space</string> -->
<string name="pref_category_typing">الكتابة</string>
<string name="pref_swipe_dist_title">مسافة التمرير</string>
<string name="pref_swipe_dist_summary">مسافة الأحرف في زوايا المفاتيح (%s)</string>
<string name="pref_long_timeout_title">مهلة الضغط لفترة طويلة</string>
<string name="pref_long_interval_title">فترة تكرار المفتاح</string>
<string name="pref_keyrepeat_enabled">تكرار المفتاح عند الضغط لفترة طويلة</string>
<string name="pref_lock_double_tap_title">نقرة مُزدوجة على زر Shift لوضع الأحرف الكبيرة</string>
<string name="pref_lock_double_tap_summary">يمكنك قفل أي معدِّل من خلال الضغط عليه باستمرار</string>
<string name="pref_category_behavior">السلوك</string>
<string name="pref_autocapitalisation_title">الكتابة تلقائيًّا بالأحرف الكبيرة</string>
<string name="pref_autocapitalisation_summary">ضغط زر Shift في بداية جملة</string>
<!-- <string name="pref_change_method_key_replacement_title">Switching between input methods</string> -->
<!-- <string name="pref_change_method_key_replacement_e_picker">Show the input method picker (long press)</string> -->
<!-- <string name="pref_change_method_key_replacement_e_prev">Switch to last used</string> -->
<!-- <string name="pref_change_method_key_replacement_e_next">Switch to the next in the list</string> -->
<string name="pref_vibrate_custom">اهتزاز مُخصص</string>
<string name="pref_vibrate_duration_title">شدّة الاهتزاز</string>
<!-- <string name="pref_number_entry_title">Layout when typing numbers, dates, and phone numbers</string> -->
<!-- <string name="pref_number_entry_layout_pin">PIN Entry</string> -->
<!-- <string name="pref_number_entry_layout_number">Number pane</string> -->
<!-- <string name="pref_number_entry_layout_normal">Use the main layout</string> -->
<string name="pref_category_style">الأسلوب</string>
<string name="pref_margin_bottom_title">هامش سفلي</string>
<string name="pref_keyboard_height_title">ارتفاع لوحة المفاتيح</string>
<string name="pref_horizontal_margin_title">هامش أفقي</string>
<string name="pref_character_size_title">حجم التسمية</string>
<string name="pref_character_size_summary">حجم الأحرف المعروضة على لوحة المفاتيح (%.2fx)</string>
<string name="pref_theme">السمة</string>
<string name="pref_theme_e_system">إعدادات النظام</string>
<string name="pref_theme_e_dark">داكن</string>
<string name="pref_theme_e_light">فاتح</string>
<string name="pref_theme_e_black">أسود</string>
<string name="pref_theme_e_altblack">أسود بديل</string>
<string name="pref_theme_e_white">أبيض</string>
<string name="pref_theme_e_epaper">ورق إلكتروني</string>
<string name="pref_theme_e_desert">الصحراء</string>
<string name="pref_theme_e_jungle">الغابة</string>
<string name="pref_theme_e_monet">مونيه (النظام)</string>
<string name="pref_theme_e_monetlight">مونيه (فاتح)</string>
<string name="pref_theme_e_monetdark">مونيه (داكن)</string>
<string name="pref_theme_e_rosepine">الصنوبر الوردي</string>
<!-- <string name="pref_theme_e_everforestlight">Everforest Light</string> -->
<!-- <string name="pref_theme_e_cobalt">Cobalt</string> -->
<!-- <string name="pref_theme_e_pine">Pine</string> -->
<!-- <string name="pref_theme_e_epaperblack">ePaper Black</string> -->
<string name="pref_swipe_dist_e_very_short">قصير جدًّا</string>
<string name="pref_swipe_dist_e_short">قصير</string>
<string name="pref_swipe_dist_e_default">طبيعي</string>
<string name="pref_swipe_dist_e_far">بعيد</string>
<string name="pref_swipe_dist_e_very_far">بعيد جدًّا</string>
<string name="pref_key_horizontal_space">المسافة الأفقية بين المفاتيح</string>
<string name="pref_key_vertical_space">المسافة الرأسية بين المفاتيح</string>
<string name="pref_border_config_title">خصّص الحدود</string>
<string name="pref_border_width_title">عرض الحدود</string>
<string name="pref_corners_radius_title">شعاع الزاوية</string>
<string name="pref_circle_sensitivity_title">حساسية إيماءة الدائرة</string>
<string name="pref_circle_sensitivity_e_high">عالي</string>
<string name="pref_circle_sensitivity_e_medium">متوسط</string>
<string name="pref_circle_sensitivity_e_low">مُنخفض</string>
<string name="pref_circle_sensitivity_e_disabled">معطَّل</string>
<!-- <string name="pref_slider_sensitivity_title">Space bar slider sensitivity</string> -->
<!-- <string name="pref_slider_sensitivity_slow">Slow</string> -->
<!-- <string name="pref_slider_sensitivity_medium">Medium</string> -->
<!-- <string name="pref_slider_sensitivity_fast">Fast</string> -->
<string name="key_action_next">التالي</string>
<string name="key_action_done">تم</string>
<string name="key_action_go">ذهاب</string>
<string name="key_action_prev">رجوع</string>
<string name="key_action_search">بحث</string>
<string name="key_action_send">إرسال</string>
<string name="launcher_button_imesettings">مكّن لوحة المفاتيح</string>
<string name="launcher_button_imepicker">حدّد لوحة المفاتيح</string>
<!-- <string name="launcher_button_dictionaries">Install dictionaries</string> -->
<string name="launcher_description">هذا التطبيق عبارة عن لوحة مفاتيح افتراضية. انتقل إلى إعدادات النظام بالنقر على الزر أدناه ومكّن Unexpected Keyboard.</string>
<string name="launcher_sourcecode">هذا التطبيق مجاني ومفتوح المصدر. يمكنك إيجاد كود المصدر أو الإبلاغ عن الأخطاء على GitHub.</string>
<string name="launcher_tryhere">بعد التمكين، يمكنك تجربة لوحة المفاتيح هنا:</string>
<string name="launcher_tryhere_hint">جرّب هنا</string>
<string name="key_descr_capslock">وضع الأحرف الكبيرة</string>
<string name="key_descr_compose">إنشاء</string>
<string name="key_descr_switch_greekmath">الرموز اليونانية والرياضية</string>
<string name="key_descr_change_method">تبديل لوحة المفاتيح</string>
<string name="key_descr_voice_typing">الكتابة بالصوت</string>
<string name="key_descr_copy">نسخ</string>
<string name="key_descr_paste">لصق</string>
<string name="key_descr_cut">قص</string>
<string name="key_descr_selectAll">حدّد الكل</string>
<string name="key_descr_pasteAsPlainText">اللصق كنص عادي</string>
<string name="key_descr_undo">تراجَع</string>
<string name="key_descr_redo">أعِد</string>
<string name="key_descr_ª">مؤشّر ترتيبي</string>
<string name="key_descr_º">مؤشّر ترتيبي</string>
<string name="key_descr_superscript">رمز علوي</string>
<string name="key_descr_subscript">رمز سفلي</string>
<string name="key_descr_page_up">الصفحة لأعلى</string>
<string name="key_descr_page_down">الصفحة لأسفل</string>
<string name="key_descr_home">الرئيسية</string>
<string name="key_descr_end">إنهاء</string>
<string name="key_descr_clipboard">مُدير الحافظة</string>
<string name="key_descr_combining">علامة تشكيل قابلة للجمع</string>
<string name="key_descr_dead_key">مفتاح هامد</string>
<string name="key_descr_zwj">واصل بعرض صفر</string>
<string name="key_descr_zwnj">فاصل بعرض صفر</string>
<string name="key_descr_nbsp">مسافة غير فاصلة</string>
<string name="key_descr_nnbsp">مسافة ضيّقة غير فاصلة</string>
<!-- <string name="key_descr_delete_word">Delete a word</string> -->
<!-- <string name="key_descr_forward_delete_word">Delete a word on the right</string> -->
<!-- <string name="key_descr_gesture">Gesture</string> -->
<string name="clipboard_history_heading">نص تمّ نسخه مؤخّرًا</string>
<string name="clipboard_pin_heading">المثبّتة</string>
<string name="clipboard_remove_confirm">هل أنت متأكّد من إزالة هذه الحافظة؟</string>
<string name="clipboard_remove_confirmed">نعم</string>
<!-- <string name="toast_no_voice_input">No voice typing app installed</string> -->
<!-- <string name="pref_category_clipboard">Clipboard</string> -->
<!-- <string name="pref_clipboard_history_duration">Clipboard memory duration</string> -->
<!-- <string name="pref_clipboard_history_duration_1">At most 1 minute</string> -->
<!-- <string name="pref_clipboard_history_duration_5">At most 5 minutes</string> -->
<!-- <string name="pref_clipboard_history_duration_30">At most 30 minutes</string> -->
<!-- <string name="pref_clipboard_history_duration_stop">Until the app stops</string> -->
<!-- <string name="pref_dialog_edit_text">Custom definition</string> -->
<!-- <string name="dictionaries_from_internet">Download a dictionary from the Internet</string> -->
<!-- <string name="dictionaries_download_success">Dictionary installed</string> -->
<!-- <string name="dictionaries_download_failed">Download failed</string> -->
<!-- <string name="dictionaries_activity_not_enabled">You must first enable the keyboard to download dictionaries.</string> -->
<!-- <string name="candidates_status_no_dict">No dictionary installed</string> -->
<!-- <string name="candidates_status_install">Install</string> -->
</resources>
+166
View File
@@ -0,0 +1,166 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name_release">অপ্রত্যাশিত কীবোর্ড</string>
<string name="app_name_debug">অপ্রত্যাশিত কিবোর্ড (ডিবাগ)</string>
<string name="short_description">অ্যান্ড্রোয়েডের জন্য হালকা এবং গোপনীয়তা-সচেতন ভার্চুয়াল কিবোর্ড।</string>
<string name="store_description">এর প্রধান বৈশিষ্ট্য হলো, কি-গুলোর কোণার দিকে সোয়াইপ করে আপনি আরও বেশি অক্ষর টাইপ করতে পারবেন।\n\nএই অ্যাপ্লিকেশনটি মূলত টার্মাক্স (Termux) ব্যবহারকারী প্রোগ্রামারদের জন্য ডিজাইন করা হয়েছিল।\nএখন এটি দৈনন্দিন ব্যবহারের জন্য উপযুক্ত।\n\nএই অ্যাপ্লিকেশনটিতে কোনো বিজ্ঞাপন নেই, এটি কোনো নেটওয়ার্ক রিকোয়েস্ট করে না এবং এটি ওপেন সোর্স।</string>
<string name="pref_portrait">পোর্ট্রেড বিন্যাসে</string>
<!-- <string name="pref_portrait_unfolded">In portrait mode unfolded</string> -->
<string name="pref_landscape">ল্যান্ডস্কেপ বিন্যাসে</string>
<!-- <string name="pref_landscape_unfolded">In landscape mode unfolded</string> -->
<string name="pref_category_layout">বিন্যাস</string>
<string name="pref_label_brightness">লেবেলের উজ্জ্বলতা নির্ধারণ করুন</string>
<string name="pref_keyboard_opacity">কিবোর্ডের পৃষ্ঠভূমির গাঢ়ত্ব নির্ধারণ করুন</string>
<string name="pref_key_opacity">কি-এর গাঢ়ত্ব নির্ধারণ করুন</string>
<string name="pref_key_activated_opacity">চেপে ধরা কি-এর গাঢ়ত্ব নির্ধারণ করুন</string>
<string name="pref_layout_e_system">সিস্টেম সেটিংস</string>
<string name="pref_layout_e_custom">অপ্রাথমিক বিন্যাস</string>
<string name="pref_layouts_add">একটি বিকল্প লেআউট যোগ করুন</string>
<string name="pref_layouts_item">লেআউট %1$d: %2$s</string>
<string name="pref_layouts_remove_custom">লেআউট সরান</string>
<string name="pref_custom_layout_title">কাস্টম লেআউট</string>
<!-- <string name="pref_show_number_row_no_number_row">No number row</string> -->
<!-- <string name="pref_show_number_row_no_symbols">Number row without symbols</string> -->
<!-- <string name="pref_show_number_row_symbols">Number row with symbols</string> -->
<string name="pref_show_numpad_title">নামপ্যাড দেখান</string>
<string name="pref_show_numpad_never">কখনো না</string>
<string name="pref_show_numpad_landscape">শুধুমাত্র ল্যান্ডস্কেপ মোডে</string>
<string name="pref_show_numpad_always">সর্বদা</string>
<string name="pref_number_row_title">নম্বর সারি দেখান</string>
<string name="pref_numpad_layout">নামপ্যাড লেআউট</string>
<string name="pref_numpad_layout_e_high_first">প্রথমে উচ্চ সংখ্যা</string>
<string name="pref_numpad_layout_e_low_first">প্রথমে নিম্ন সংখ্যা</string>
<string name="pref_extra_keys_title">কিবোর্ডে কী যোগ করুন</string>
<string name="pref_extra_keys_custom">কাস্টম কী যোগ করুন</string>
<string name="pref_extra_keys_internal">কিবোর্ডে যোগ করার জন্য কী-গুলো নির্বাচন করুন</string>
<!-- <string name="pref_category_suggestions">Suggestions</string> -->
<!-- <string name="pref_suggestions_title">Suggestions</string> -->
<!-- <string name="pref_suggestions_summary">Enable word completion and spell checking</string> -->
<!-- <string name="pref_space_bar_auto_complete_title">Autocomplete with the space bar</string> -->
<!-- <string name="pref_space_bar_auto_complete_summary">Enter the best suggestion by pressing space</string> -->
<string name="pref_category_typing">টাইপিং</string>
<string name="pref_swipe_dist_title">সোয়াইপিং দূরত্ব</string>
<string name="pref_swipe_dist_summary">কী-গুলোর কোণায় থাকা অক্ষরগুলোর দূরত্ব (%s)</string>
<string name="pref_long_timeout_title">দীর্ঘক্ষণ চাপ দিয়ে টাইমআউট</string>
<string name="pref_long_interval_title">মূল পুনরাবৃত্তি ব্যবধান</string>
<string name="pref_keyrepeat_enabled">দীর্ঘক্ষণ চাপলে কী-টি পুনরাবৃত্তি হয়</string>
<string name="pref_lock_double_tap_title">ক্যাপস লক করার জন্য শিফট-এ ডাবল ট্যাপ করুন</string>
<string name="pref_lock_double_tap_summary">আপনি যেকোনো মডিফায়ার চেপে ধরে লক করতে পারেন</string>
<string name="pref_category_behavior">আচরণ</string>
<string name="pref_autocapitalisation_title">স্বয়ংক্রিয় মূলধনীকরণ</string>
<string name="pref_autocapitalisation_summary">বাক্যের শুরুতে Shift চাপুন</string>
<!-- <string name="pref_change_method_key_replacement_title">Switching between input methods</string> -->
<!-- <string name="pref_change_method_key_replacement_e_picker">Show the input method picker (long press)</string> -->
<!-- <string name="pref_change_method_key_replacement_e_prev">Switch to last used</string> -->
<!-- <string name="pref_change_method_key_replacement_e_next">Switch to the next in the list</string> -->
<string name="pref_vibrate_custom">কাস্টম কম্পন</string>
<string name="pref_vibrate_duration_title">কম্পন তীব্রতা</string>
<!-- <string name="pref_number_entry_title">Layout when typing numbers, dates, and phone numbers</string> -->
<!-- <string name="pref_number_entry_layout_pin">PIN Entry</string> -->
<!-- <string name="pref_number_entry_layout_number">Number pane</string> -->
<!-- <string name="pref_number_entry_layout_normal">Use the main layout</string> -->
<string name="pref_category_style">স্টাইল</string>
<string name="pref_margin_bottom_title">নিচের মার্জিন</string>
<string name="pref_keyboard_height_title">কিবোর্ড এর উচ্চতা</string>
<string name="pref_horizontal_margin_title">অনুভূমিক মার্জিন</string>
<string name="pref_character_size_title">লেবেলের আকার</string>
<string name="pref_character_size_summary">কিবোর্ডে প্রদর্শিত অক্ষরের আকার (%.2fx)</string>
<string name="pref_theme">থিম</string>
<string name="pref_theme_e_system">সিস্টেম সেটিংস</string>
<string name="pref_theme_e_dark">অন্ধকার</string>
<string name="pref_theme_e_light">উজ্জ্বল</string>
<string name="pref_theme_e_black">কালো</string>
<string name="pref_theme_e_altblack">বিকল্প কালো</string>
<string name="pref_theme_e_white">সাদা</string>
<string name="pref_theme_e_epaper">ই-পেপার</string>
<string name="pref_theme_e_desert">মরুভূমি</string>
<string name="pref_theme_e_jungle">জঙ্গল</string>
<string name="pref_theme_e_monet">মোনেট (সিস্টেম)</string>
<string name="pref_theme_e_monetlight">মনেট (উজ্জ্বল)</string>
<string name="pref_theme_e_monetdark">মনেট (অন্ধকার)</string>
<string name="pref_theme_e_rosepine">রোজে পাইন</string>
<!-- <string name="pref_theme_e_everforestlight">Everforest Light</string> -->
<!-- <string name="pref_theme_e_cobalt">Cobalt</string> -->
<!-- <string name="pref_theme_e_pine">Pine</string> -->
<!-- <string name="pref_theme_e_epaperblack">ePaper Black</string> -->
<string name="pref_swipe_dist_e_very_short">খুব ছোট</string>
<string name="pref_swipe_dist_e_short">সংক্ষিপ্ত</string>
<string name="pref_swipe_dist_e_default">স্বাভাবিক</string>
<string name="pref_swipe_dist_e_far">দূরে</string>
<string name="pref_swipe_dist_e_very_far">অনেক দূরে</string>
<string name="pref_key_horizontal_space">কীগুলির মধ্যে অনুভূমিক ব্যবধান</string>
<string name="pref_key_vertical_space">কীগুলির মধ্যে উল্লম্ব ব্যবধান</string>
<string name="pref_border_config_title">সীমানা কাস্টমাইজ করুন</string>
<string name="pref_border_width_title">সীমানার প্রস্থ</string>
<string name="pref_corners_radius_title">কোণার ব্যাসার্ধ</string>
<string name="pref_circle_sensitivity_title">বৃত্তাকার অঙ্গভঙ্গি সংবেদনশীলতা</string>
<string name="pref_circle_sensitivity_e_high">উচ্চ</string>
<string name="pref_circle_sensitivity_e_medium">মাঝারি</string>
<string name="pref_circle_sensitivity_e_low">নিম্ন</string>
<string name="pref_circle_sensitivity_e_disabled">অক্ষম</string>
<!-- <string name="pref_slider_sensitivity_title">Space bar slider sensitivity</string> -->
<!-- <string name="pref_slider_sensitivity_slow">Slow</string> -->
<!-- <string name="pref_slider_sensitivity_medium">Medium</string> -->
<!-- <string name="pref_slider_sensitivity_fast">Fast</string> -->
<string name="key_action_next">পরবর্তী</string>
<string name="key_action_done">সম্পন্ন</string>
<string name="key_action_go">যান</string>
<string name="key_action_prev">পূর্ববর্তী</string>
<string name="key_action_search">অনুসন্ধান</string>
<string name="key_action_send">পাঠান</string>
<string name="launcher_button_imesettings">কিবোর্ড সক্রিয় করুন</string>
<string name="launcher_button_imepicker">কিবোর্ড নির্বাচন করুন</string>
<!-- <string name="launcher_button_dictionaries">Install dictionaries</string> -->
<string name="launcher_description">এই অ্যাপ্লিকেশনটি একটি ভার্চুয়াল কীবোর্ড। নিচের বোতামে ক্লিক করে সিস্টেম সেটিংসে যান এবং ‘Unexpected-Keyboard’ সক্রিয় করুন।</string>
<string name="launcher_sourcecode">এটি একটি ফ্রি এবং ওপেন সোর্স অ্যাপ্লিকেশন। আপনি গিটহাবে এর সোর্স কোড খুঁজে পেতে পারেন অথবা বাগ রিপোর্ট করতে পারেন।</string>
<string name="launcher_tryhere">সক্রিয় করার পর, আপনি এখানে কীবোর্ডটি ব্যবহার করে দেখতে পারেন:</string>
<string name="launcher_tryhere_hint">এখানে চেষ্টা করুন</string>
<string name="key_descr_capslock">ক্যাপস লক</string>
<string name="key_descr_compose">রচনা করুন</string>
<string name="key_descr_switch_greekmath">গ্রীক এবং গণিতের প্রতীক</string>
<string name="key_descr_change_method">কিবোর্ড পরিবর্তন করুন</string>
<string name="key_descr_voice_typing">ভয়েস টাইপিং</string>
<string name="key_descr_copy">অনুলিপি</string>
<string name="key_descr_paste">পেস্ট</string>
<string name="key_descr_cut">কাট</string>
<string name="key_descr_selectAll">সবগুলো নির্বাচন করুন</string>
<string name="key_descr_pasteAsPlainText">সাধারণ টেক্সট হিসেবে পেস্ট করুন</string>
<string name="key_descr_undo">পূর্বাবস্থায় ফেরান</string>
<string name="key_descr_redo">পুনরায় করুন</string>
<string name="key_descr_ª">ক্রমিক সূচক</string>
<string name="key_descr_º">ক্রমিক সূচক</string>
<string name="key_descr_superscript">সুপারস্ক্রিপ্ট</string>
<string name="key_descr_subscript">সাবস্ক্রিপ্ট</string>
<string name="key_descr_page_up">পৃষ্ঠা উপরে</string>
<string name="key_descr_page_down">পৃষ্ঠা নিচে</string>
<string name="key_descr_home">হোম</string>
<string name="key_descr_end">শেষ</string>
<string name="key_descr_clipboard">ক্লিপবোর্ড ম্যানেজার</string>
<string name="key_descr_combining">ডায়াক্রিটিক একত্রিত করা</string>
<string name="key_descr_dead_key">ডেড কী</string>
<string name="key_descr_zwj">শূন্য প্রস্থের সংযোগকারী</string>
<string name="key_descr_zwnj">শূন্য প্রস্থের অ-সংযোজক</string>
<string name="key_descr_nbsp">নন-ব্রেকিং স্পেস</string>
<string name="key_descr_nnbsp">সংকীর্ণ অবিচ্ছিন্ন স্থান</string>
<!-- <string name="key_descr_delete_word">Delete a word</string> -->
<!-- <string name="key_descr_forward_delete_word">Delete a word on the right</string> -->
<!-- <string name="key_descr_gesture">Gesture</string> -->
<string name="clipboard_history_heading">সম্প্রতি অনুলিপি করা পাঠ্য</string>
<string name="clipboard_pin_heading">পিন করা</string>
<string name="clipboard_remove_confirm">এই ক্লিপবোর্ডটি সরাবেন?</string>
<string name="clipboard_remove_confirmed">হ্যা</string>
<!-- <string name="toast_no_voice_input">No voice typing app installed</string> -->
<!-- <string name="pref_category_clipboard">Clipboard</string> -->
<!-- <string name="pref_clipboard_history_duration">Clipboard memory duration</string> -->
<!-- <string name="pref_clipboard_history_duration_1">At most 1 minute</string> -->
<!-- <string name="pref_clipboard_history_duration_5">At most 5 minutes</string> -->
<!-- <string name="pref_clipboard_history_duration_30">At most 30 minutes</string> -->
<!-- <string name="pref_clipboard_history_duration_stop">Until the app stops</string> -->
<!-- <string name="pref_dialog_edit_text">Custom definition</string> -->
<!-- <string name="dictionaries_from_internet">Download a dictionary from the Internet</string> -->
<!-- <string name="dictionaries_download_success">Dictionary installed</string> -->
<!-- <string name="dictionaries_download_failed">Download failed</string> -->
<!-- <string name="dictionaries_activity_not_enabled">You must first enable the keyboard to download dictionaries.</string> -->
<!-- <string name="candidates_status_no_dict">No dictionary installed</string> -->
<!-- <string name="candidates_status_install">Install</string> -->
</resources>
+166
View File
@@ -0,0 +1,166 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name_release">Unexpected Keyboard</string>
<string name="app_name_debug">Unexpected Keyboard (depuració)</string>
<string name="short_description">Un teclat virtual lleuger per a Android que és conscient de la teva privacitat.</string>
<string name="store_description">La característica principal és que pots escriure més caràcters arrossegant les tecles cap a les cantonades.\n\nAquesta aplicació va ser dissenyada originalment per als programadors que usen Termux.\nAra és perfecta per a un ús quotidià.\n\nAquesta aplicació no conté anuncis, no fa cap petició de xarxa i és de codi obert.</string>
<string name="pref_portrait">En mode vertical</string>
<!-- <string name="pref_portrait_unfolded">In portrait mode unfolded</string> -->
<string name="pref_landscape">En mode apaïsat</string>
<!-- <string name="pref_landscape_unfolded">In landscape mode unfolded</string> -->
<string name="pref_category_layout">Distribució</string>
<string name="pref_label_brightness">Ajusta la brillantor dels símbols</string>
<string name="pref_keyboard_opacity">Ajusta l\'opacitat del fons del teclat</string>
<string name="pref_key_opacity">Ajusta l\'opacitat de les tecles</string>
<string name="pref_key_activated_opacity">Ajusta l\'opacitat de la tecla quan es prem</string>
<string name="pref_layout_e_system">Cobfiguració del sistema</string>
<string name="pref_layout_e_custom">Distribució personalitzada</string>
<string name="pref_layouts_add">Afegeix una distribució alternativa</string>
<string name="pref_layouts_item">Distribució %1$d: %2$s</string>
<string name="pref_layouts_remove_custom">Eliminar distribució</string>
<string name="pref_custom_layout_title">Distribució personalitzada</string>
<!-- <string name="pref_show_number_row_no_number_row">No number row</string> -->
<!-- <string name="pref_show_number_row_no_symbols">Number row without symbols</string> -->
<!-- <string name="pref_show_number_row_symbols">Number row with symbols</string> -->
<string name="pref_show_numpad_title">Mostra el teclat numèric</string>
<string name="pref_show_numpad_never">Mai</string>
<string name="pref_show_numpad_landscape">Només en mode apaïsat</string>
<string name="pref_show_numpad_always">Sempre</string>
<string name="pref_number_row_title">Mostra la fila de nombres</string>
<string name="pref_numpad_layout">Distribució del teclat numèric</string>
<string name="pref_numpad_layout_e_high_first">En ordre descendent</string>
<string name="pref_numpad_layout_e_low_first">En ordre ascendent</string>
<string name="pref_extra_keys_title">Afegeix tecles al teclat</string>
<string name="pref_extra_keys_custom">Afegeix tecles personalitzades</string>
<string name="pref_extra_keys_internal">Selecciona tecles per afegir al teclat</string>
<!-- <string name="pref_category_suggestions">Suggestions</string> -->
<!-- <string name="pref_suggestions_title">Suggestions</string> -->
<!-- <string name="pref_suggestions_summary">Enable word completion and spell checking</string> -->
<!-- <string name="pref_space_bar_auto_complete_title">Autocomplete with the space bar</string> -->
<!-- <string name="pref_space_bar_auto_complete_summary">Enter the best suggestion by pressing space</string> -->
<string name="pref_category_typing">Escriptura</string>
<string name="pref_swipe_dist_title">Distància d\'arrossegament</string>
<string name="pref_swipe_dist_summary">Distància dels caràcters a les cantonades de les tecles: %s</string>
<string name="pref_long_timeout_title">Temps d\'espera per tocs llargs</string>
<string name="pref_long_interval_title">Interval de repetició de la tecla</string>
<string name="pref_keyrepeat_enabled">Repeteix la tecla al mantenir-la premuda</string>
<string name="pref_lock_double_tap_title">Activa fer doble toc a shift pel bloqueig de majúscules</string>
<string name="pref_lock_double_tap_summary">Pots bloquejar qualsevol modificador prement-lo</string>
<string name="pref_category_behavior">Comportament</string>
<string name="pref_autocapitalisation_title">Majúscules automàtiques</string>
<string name="pref_autocapitalisation_summary">Fa que sigui innecesari prémer Shift a l\'inici de cada frase</string>
<!-- <string name="pref_change_method_key_replacement_title">Switching between input methods</string> -->
<!-- <string name="pref_change_method_key_replacement_e_picker">Show the input method picker (long press)</string> -->
<!-- <string name="pref_change_method_key_replacement_e_prev">Switch to last used</string> -->
<!-- <string name="pref_change_method_key_replacement_e_next">Switch to the next in the list</string> -->
<string name="pref_vibrate_custom">Personalitza la vibració</string>
<string name="pref_vibrate_duration_title">Intensitat de la vibració</string>
<!-- <string name="pref_number_entry_title">Layout when typing numbers, dates, and phone numbers</string> -->
<!-- <string name="pref_number_entry_layout_pin">PIN Entry</string> -->
<!-- <string name="pref_number_entry_layout_number">Number pane</string> -->
<!-- <string name="pref_number_entry_layout_normal">Use the main layout</string> -->
<string name="pref_category_style">Estil</string>
<string name="pref_margin_bottom_title">Marge inferior</string>
<string name="pref_keyboard_height_title">Alçada del teclat</string>
<string name="pref_horizontal_margin_title">Marge horitzontal</string>
<string name="pref_character_size_title">Mida dels símbols</string>
<string name="pref_character_size_summary">Mida dels caràcters que es mostren al teclat: x%.2f</string>
<string name="pref_theme">Tema</string>
<string name="pref_theme_e_system">Configuració del sistema</string>
<string name="pref_theme_e_dark">Fosc</string>
<string name="pref_theme_e_light">Clar</string>
<string name="pref_theme_e_black">Negre</string>
<string name="pref_theme_e_altblack">Negre alternatiu</string>
<string name="pref_theme_e_white">Blanc</string>
<string name="pref_theme_e_epaper">Tinta electrònica</string>
<string name="pref_theme_e_desert">Desert</string>
<string name="pref_theme_e_jungle">Jungla</string>
<string name="pref_theme_e_monet">Monet (sistema)</string>
<string name="pref_theme_e_monetlight">Monet (clar)</string>
<string name="pref_theme_e_monetdark">Monet (fosc)</string>
<string name="pref_theme_e_rosepine">Rosé Pine (pi rosat)</string>
<!-- <string name="pref_theme_e_everforestlight">Everforest Light</string> -->
<!-- <string name="pref_theme_e_cobalt">Cobalt</string> -->
<!-- <string name="pref_theme_e_pine">Pine</string> -->
<!-- <string name="pref_theme_e_epaperblack">ePaper Black</string> -->
<string name="pref_swipe_dist_e_very_short">Molt curta</string>
<string name="pref_swipe_dist_e_short">Curta</string>
<string name="pref_swipe_dist_e_default">Normal</string>
<string name="pref_swipe_dist_e_far">Llarga</string>
<string name="pref_swipe_dist_e_very_far">Molt llarga</string>
<string name="pref_key_horizontal_space">Espaiat horitzontal entre les tecles</string>
<string name="pref_key_vertical_space">Espaiat vertical entre les tecles</string>
<string name="pref_border_config_title">Personalitza les vores</string>
<string name="pref_border_width_title">Amplada de la vora</string>
<string name="pref_corners_radius_title">Radi de les cantonades</string>
<string name="pref_circle_sensitivity_title">Sensibilitat al moviment en cercle</string>
<string name="pref_circle_sensitivity_e_high">Alta</string>
<string name="pref_circle_sensitivity_e_medium">Mitjana</string>
<string name="pref_circle_sensitivity_e_low">Baixa</string>
<string name="pref_circle_sensitivity_e_disabled">Desactivada</string>
<!-- <string name="pref_slider_sensitivity_title">Space bar slider sensitivity</string> -->
<!-- <string name="pref_slider_sensitivity_slow">Slow</string> -->
<!-- <string name="pref_slider_sensitivity_medium">Medium</string> -->
<!-- <string name="pref_slider_sensitivity_fast">Fast</string> -->
<string name="key_action_next">Següent</string>
<string name="key_action_done">Fet</string>
<string name="key_action_go">Ves</string>
<string name="key_action_prev">Anterior</string>
<string name="key_action_search">Cerca</string>
<string name="key_action_send">Envia</string>
<string name="launcher_button_imesettings">Activa el teclat</string>
<string name="launcher_button_imepicker">Selecciona el teclat</string>
<!-- <string name="launcher_button_dictionaries">Install dictionaries</string> -->
<string name="launcher_description">Aquesta aplicació és un teclat virtual. Ves a la configuració del sistema fent clic al botó de sota i activa Unexpected Keyboard.</string>
<string name="launcher_sourcecode">Aquesta és una aplicació de codi obert. Pots trobar el codi font o informar d\'errors a GitHub.</string>
<string name="launcher_tryhere">Després d\'activar-lo, pots provar el teclat aquí:</string>
<string name="launcher_tryhere_hint">Prova\'l aquí</string>
<string name="key_descr_capslock">Bloq Maj</string>
<string name="key_descr_compose">Compon</string>
<string name="key_descr_switch_greekmath">Símbols grecs i matemàtics</string>
<string name="key_descr_change_method">Canvia el teclat</string>
<string name="key_descr_voice_typing">Dicta amb la veu</string>
<string name="key_descr_copy">Copia</string>
<string name="key_descr_paste">Enganxa</string>
<string name="key_descr_cut">Talla</string>
<string name="key_descr_selectAll">Selecciona tot</string>
<string name="key_descr_pasteAsPlainText">Enganxa com a text sense format</string>
<string name="key_descr_undo">Desfés</string>
<string name="key_descr_redo">Refés</string>
<string name="key_descr_ª">Indicador d\'ordinal</string>
<string name="key_descr_º">Indicador d\'ordinal</string>
<string name="key_descr_superscript">Superíndex</string>
<string name="key_descr_subscript">Subíndex</string>
<string name="key_descr_page_up">Re Pàg</string>
<string name="key_descr_page_down">Av Pàg</string>
<string name="key_descr_home">Inici</string>
<string name="key_descr_end">Final</string>
<string name="key_descr_clipboard">Porta-retalls</string>
<string name="key_descr_combining">Combina un diacrític</string>
<string name="key_descr_dead_key">Tecla morta</string>
<string name="key_descr_zwj">Unió d\'ample zero</string>
<string name="key_descr_zwnj">No unió d\'ample zero</string>
<string name="key_descr_nbsp">Espai no separable</string>
<string name="key_descr_nnbsp">Espai fi no separable</string>
<!-- <string name="key_descr_delete_word">Delete a word</string> -->
<!-- <string name="key_descr_forward_delete_word">Delete a word on the right</string> -->
<!-- <string name="key_descr_gesture">Gesture</string> -->
<string name="clipboard_history_heading">Text copiat recentment</string>
<string name="clipboard_pin_heading">Fixat</string>
<string name="clipboard_remove_confirm">Voleu eliminar-ho del porta-retalls?</string>
<string name="clipboard_remove_confirmed">Sí</string>
<!-- <string name="toast_no_voice_input">No voice typing app installed</string> -->
<!-- <string name="pref_category_clipboard">Clipboard</string> -->
<!-- <string name="pref_clipboard_history_duration">Clipboard memory duration</string> -->
<!-- <string name="pref_clipboard_history_duration_1">At most 1 minute</string> -->
<!-- <string name="pref_clipboard_history_duration_5">At most 5 minutes</string> -->
<!-- <string name="pref_clipboard_history_duration_30">At most 30 minutes</string> -->
<!-- <string name="pref_clipboard_history_duration_stop">Until the app stops</string> -->
<!-- <string name="pref_dialog_edit_text">Custom definition</string> -->
<!-- <string name="dictionaries_from_internet">Download a dictionary from the Internet</string> -->
<!-- <string name="dictionaries_download_success">Dictionary installed</string> -->
<!-- <string name="dictionaries_download_failed">Download failed</string> -->
<!-- <string name="dictionaries_activity_not_enabled">You must first enable the keyboard to download dictionaries.</string> -->
<!-- <string name="candidates_status_no_dict">No dictionary installed</string> -->
<!-- <string name="candidates_status_install">Install</string> -->
</resources>
+163 -126
View File
@@ -1,129 +1,166 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name_release">Klávesnice Unexpected</string>
<string name="app_name_debug">Klávesnice Unexpected (pro ladění)</string>
<string name="short_description">Nenáročná virtuální klávesnice pro vývojáře.</string>
<string name="store_description">"Hlavní funkcí je možnost psát více znaků posunutím kláves směrem k rohům.
Tato aplikace byla původně navržena pro programátory používající Termux.
Nyní je ideální pro každodenní použití.
Tato aplikace neobsahuje žádné reklamy, nevyužívá připojení k síti a je Open Source."</string>
<string name="settings_activity_label">Nastavení Klávesnice Unexpected</string>
<string name="pref_portrait">V režimu na výšku</string>
<string name="pref_landscape">V režimu na šířku</string>
<string name="pref_category_layout">Rozvržení</string>
<string name="pref_label_brightness">Upravit jas nápisu</string>
<string name="pref_keyboard_opacity">Upravit průhlednost pozadí klávesnice</string>
<string name="pref_key_opacity">Upravit průhlednost kláves</string>
<string name="pref_key_activated_opacity">Upravit průhlednost stisknutých kláves</string>
<string name="pref_layout_e_system">Dle nastavení systému</string>
<string name="pref_layout_e_custom">Vlastní rozvržení</string>
<string name="pref_layouts_add">Přidat alternativní rozložení</string>
<string name="pref_layouts_item">Rozložení %1$d: %2$s</string>
<string name="pref_layouts_remove_custom">Odebrat rozložení</string>
<string name="pref_custom_layout_title">Vlastní rozložení</string>
<string name="pref_show_numpad_title">Zobrazit NumPad</string>
<string name="pref_show_numpad_never">Nikdy</string>
<string name="pref_show_numpad_landscape">Pouze v režimu na šířku</string>
<string name="pref_show_numpad_always">Vždy</string>
<string name="pref_number_row_title">Zobrazit řádek s čísly</string>
<string name="pref_number_row_summary">Přidá řádek s čísly nad klávesnici, pokud je NumPad skrytý</string>
<string name="pref_numpad_layout">Rozložení NumPadu</string>
<string name="pref_numpad_layout_e_high_first">Vyšší číslice jako první (horní řádek 789)</string>
<string name="pref_numpad_layout_e_low_first">Nižší číslice jako první (horní řádek 123)</string>
<string name="pref_extra_keys_title">Přidat klávesy do klávesnice</string>
<string name="pref_extra_keys_custom">Přidat vlastní klávesy</string>
<string name="pref_extra_keys_internal">Výbrané klávesy k přidaní do klávesnice</string>
<string name="pref_category_typing">Psaní</string>
<string name="pref_swipe_dist_title">Vzdálenost posunutí prstem</string>
<string name="pref_swipe_dist_summary">Jak daleko je třeba posunout prst pro zadání znaku/znaménka v rohu klávey (%s)</string>
<string name="pref_long_timeout_title">Doba pro aktivaci dlouhého podržení</string>
<string name="pref_long_interval_title">Interval opakování znaků</string>
<string name="pref_keyrepeat_enabled">Opakování kláves při držení</string>
<string name="pref_lock_double_tap_title">Dvojklik pro aktivaci Capslock(u)</string>
<string name="pref_lock_double_tap_summary">Umožňuje zamknout Shift dvojklikem, namísto podržení</string>
<string name="pref_category_behavior">Chování</string>
<string name="pref_autocapitalisation_title">Automatická kapitalizace</string>
<string name="pref_autocapitalisation_summary">Stiskne Shift na začátku věty</string>
<string name="pref_switch_input_immediate_title">Přepnout na posledně užívanou klávesnici</string>
<string name="pref_switch_input_immediate_summary">Jak bude klávesa pro přepnutí klávesnice reagovat</string>
<string name="pref_vibrate_custom">Vlastní vibrace</string>
<string name="pref_vibrate_duration_title">Síla vibrace</string>
<string name="pref_pin_entry_enabled_title">Rozvržení zadávání PIN kódu</string>
<string name="pref_pin_entry_enabled_summary">Automaticky při psaní čísel, datumů a telefonních čísel</string>
<string name="pref_category_style">Styl</string>
<string name="pref_margin_bottom_title">Spodní odsazení</string>
<string name="pref_keyboard_height_title">Výška klávesnice</string>
<string name="pref_horizontal_margin_title">Boční odsazení</string>
<string name="pref_character_size_title">Velikost znaků</string>
<string name="pref_character_size_summary">Velikost znaků zobrazených na klávesnici (%.2fx)</string>
<string name="pref_theme">Motiv</string>
<string name="pref_theme_e_system">Dle systému</string>
<string name="pref_theme_e_dark">Tmavý</string>
<string name="pref_theme_e_light">Světlý</string>
<string name="pref_theme_e_black">Černý</string>
<string name="pref_theme_e_altblack">Černý (alternativní)</string>
<string name="pref_theme_e_white">Bílý</string>
<string name="pref_theme_e_epaper">ePapír</string>
<string name="pref_theme_e_desert">Poušťě</string>
<string name="pref_theme_e_jungle">Džungle</string>
<string name="pref_theme_e_monet">Monet (dle systému)</string>
<string name="pref_theme_e_monetlight">Monet (Světlý)</string>
<string name="pref_theme_e_monetdark">Monet (Tmavý)</string>
<!-- <string name="pref_theme_e_rosepine">Rosé Pine</string> -->
<string name="pref_swipe_dist_e_very_short">Velmi krátká</string>
<string name="pref_swipe_dist_e_short">Krátká</string>
<string name="pref_swipe_dist_e_default">Běžná</string>
<string name="pref_swipe_dist_e_far">Dlouhá</string>
<string name="pref_swipe_dist_e_very_far">Velmi dlouhá</string>
<string name="pref_key_horizontal_space">Horizontální mezery mezi klávesami</string>
<string name="pref_key_vertical_space">Vertikální mezery mezi klávesami</string>
<string name="pref_border_config_title">Přizpůsobit okraje</string>
<string name="pref_border_width_title">Šířka okraje</string>
<string name="pref_corners_radius_title">Poloměr okraje</string>
<string name="pref_circle_sensitivity_title">Citlivost kruhového gesta</string>
<string name="pref_circle_sensitivity_e_high">Vysoká</string>
<string name="pref_circle_sensitivity_e_medium">Střední</string>
<string name="pref_circle_sensitivity_e_low">Nízká</string>
<string name="pref_circle_sensitivity_e_disabled">Deaktivováno</string>
<string name="key_action_next">Další</string>
<string name="key_action_done">Dokončit</string>
<string name="key_action_go">Spustit</string>
<string name="key_action_prev">Předchozí</string>
<string name="key_action_search">Hledat</string>
<string name="key_action_send">Odeslat</string>
<string name="launcher_button_imesettings">Aktivovat klávesnici</string>
<string name="launcher_button_imepicker">Vybrat klávesnici</string>
<string name="launcher_description">Tato aplikace je pouhou virtuální klávesnicí. Přejděte do systémového nastavení, kliknutím na tlačítko níže a aktivujte ji.</string>
<string name="launcher_sourcecode">Toto je volná, open-source aplikace. Její zdrojový kód, či hlášení chyb, naleznete na Githubu.</string>
<string name="launcher_tryhere">Po aktivaci můžete klávesnici rovnou vyzkoušet zde:</string>
<string name="launcher_tryhere_hint">Zkoušejte zde</string>
<string name="key_descr_capslock">Caps lock</string>
<string name="key_descr_compose">Compose</string>
<string name="key_descr_switch_greekmath">Řecké a matematické symboly</string>
<string name="key_descr_change_method">Přepnout klávesnici</string>
<string name="key_descr_voice_typing">Hlasové zadávání</string>
<string name="key_descr_copy">Kopírovat</string>
<string name="key_descr_paste">Vložit</string>
<string name="key_descr_cut">Vyjmout</string>
<string name="key_descr_selectAll">Označit vše</string>
<string name="key_descr_shareText">Sdílet text</string>
<string name="key_descr_pasteAsPlainText">Vložit jako prostý text</string>
<string name="key_descr_undo">Zpět</string>
<string name="key_descr_redo">Znovu</string>
<string name="key_descr_ª">Indikátor řadové číslovky</string>
<string name="key_descr_º">Indikátor řadové číslovky</string>
<string name="key_descr_superscript">Horní index</string>
<string name="key_descr_subscript">Dolní index</string>
<string name="key_descr_page_up">Page Up</string>
<string name="key_descr_page_down">Page Down</string>
<string name="key_descr_home">Home</string>
<string name="key_descr_end">End</string>
<string name="key_descr_clipboard">Správce schránky</string>
<!-- <string name="key_descr_combining">Combining diacritic</string> -->
<string name="clipboard_history_heading">Nedávno kopírovaný text</string>
<string name="clipboard_pin_heading">Připnout</string>
<string name="clipboard_remove_confirm">Odebrat ze schránky?</string>
<string name="clipboard_remove_confirmed">Ano</string>
<string name="app_name_release">Klávesnice Unexpected</string>
<string name="app_name_debug">Klávesnice Unexpected (pro ladění)</string>
<string name="short_description">Nenáročná virtuální klávesnice pro vývojáře.</string>
<string name="store_description">Hlavní funkcí je možnost psát více znaků posunutím kláves směrem k rohům.\n\nTato aplikace byla původně navržena pro programátory používající Termux.\nNyní je ideální pro každodenní použití.\n\nTato aplikace neobsahuje žádné reklamy, nevyužívá připojení k síti a je Open Source.</string>
<string name="pref_portrait">V režimu na výšku</string>
<!-- <string name="pref_portrait_unfolded">In portrait mode unfolded</string> -->
<string name="pref_landscape">V režimu na šířku</string>
<!-- <string name="pref_landscape_unfolded">In landscape mode unfolded</string> -->
<string name="pref_category_layout">Rozvržení</string>
<string name="pref_label_brightness">Upravit jas nápisu</string>
<string name="pref_keyboard_opacity">Upravit průhlednost pozadí klávesnice</string>
<string name="pref_key_opacity">Upravit průhlednost kláves</string>
<string name="pref_key_activated_opacity">Upravit průhlednost stisknutých kláves</string>
<string name="pref_layout_e_system">Dle nastavení systému</string>
<string name="pref_layout_e_custom">Vlastní rozvržení</string>
<string name="pref_layouts_add">Přidat alternativní rozložení</string>
<string name="pref_layouts_item">Rozložení %1$d: %2$s</string>
<string name="pref_layouts_remove_custom">Odebrat rozložení</string>
<string name="pref_custom_layout_title">Vlastní rozložení</string>
<!-- <string name="pref_show_number_row_no_number_row">No number row</string> -->
<!-- <string name="pref_show_number_row_no_symbols">Number row without symbols</string> -->
<!-- <string name="pref_show_number_row_symbols">Number row with symbols</string> -->
<string name="pref_show_numpad_title">Zobrazit NumPad</string>
<string name="pref_show_numpad_never">Nikdy</string>
<string name="pref_show_numpad_landscape">Pouze v režimu na šířku</string>
<string name="pref_show_numpad_always">Vždy</string>
<string name="pref_number_row_title">Zobrazit řádek s čísly</string>
<string name="pref_numpad_layout">Rozložení NumPadu</string>
<string name="pref_numpad_layout_e_high_first">Vyšší číslice jako první (horní řádek 789)</string>
<string name="pref_numpad_layout_e_low_first">Nižší číslice jako první (horní řádek 123)</string>
<string name="pref_extra_keys_title">Přidat klávesy do klávesnice</string>
<string name="pref_extra_keys_custom">Přidat vlastní klávesy</string>
<string name="pref_extra_keys_internal">Výbrané klávesy k přidaní do klávesnice</string>
<!-- <string name="pref_category_suggestions">Suggestions</string> -->
<!-- <string name="pref_suggestions_title">Suggestions</string> -->
<!-- <string name="pref_suggestions_summary">Enable word completion and spell checking</string> -->
<!-- <string name="pref_space_bar_auto_complete_title">Autocomplete with the space bar</string> -->
<!-- <string name="pref_space_bar_auto_complete_summary">Enter the best suggestion by pressing space</string> -->
<string name="pref_category_typing">Psaní</string>
<string name="pref_swipe_dist_title">Vzdálenost posunutí prstem</string>
<string name="pref_swipe_dist_summary">Jak daleko je třeba posunout prst pro zadání znaku/znaménka v rohu klávey (%s)</string>
<string name="pref_long_timeout_title">Doba pro aktivaci dlouhého podržení</string>
<string name="pref_long_interval_title">Interval opakování znaků</string>
<string name="pref_keyrepeat_enabled">Opakování kláves při držení</string>
<string name="pref_lock_double_tap_title">Dvojklik pro aktivaci Capslock(u)</string>
<string name="pref_lock_double_tap_summary">Umožňuje zamknout Shift dvojklikem, namísto podržení</string>
<string name="pref_category_behavior">Chování</string>
<string name="pref_autocapitalisation_title">Automatická kapitalizace</string>
<string name="pref_autocapitalisation_summary">Stiskne Shift na začátku věty</string>
<!-- <string name="pref_change_method_key_replacement_title">Switching between input methods</string> -->
<!-- <string name="pref_change_method_key_replacement_e_picker">Show the input method picker (long press)</string> -->
<!-- <string name="pref_change_method_key_replacement_e_prev">Switch to last used</string> -->
<!-- <string name="pref_change_method_key_replacement_e_next">Switch to the next in the list</string> -->
<string name="pref_vibrate_custom">Vlastní vibrace</string>
<string name="pref_vibrate_duration_title">Síla vibrace</string>
<!-- <string name="pref_number_entry_title">Layout when typing numbers, dates, and phone numbers</string> -->
<!-- <string name="pref_number_entry_layout_pin">PIN Entry</string> -->
<!-- <string name="pref_number_entry_layout_number">Number pane</string> -->
<!-- <string name="pref_number_entry_layout_normal">Use the main layout</string> -->
<string name="pref_category_style">Styl</string>
<string name="pref_margin_bottom_title">Spodní odsazení</string>
<string name="pref_keyboard_height_title">Výška klávesnice</string>
<string name="pref_horizontal_margin_title">Boční odsazení</string>
<string name="pref_character_size_title">Velikost znaků</string>
<string name="pref_character_size_summary">Velikost znaků zobrazených na klávesnici (%.2fx)</string>
<string name="pref_theme">Motiv</string>
<string name="pref_theme_e_system">Dle systému</string>
<string name="pref_theme_e_dark">Tmavý</string>
<string name="pref_theme_e_light">Světlý</string>
<string name="pref_theme_e_black">Černý</string>
<string name="pref_theme_e_altblack">Černý (alternativní)</string>
<string name="pref_theme_e_white">Bílý</string>
<string name="pref_theme_e_epaper">ePapír</string>
<string name="pref_theme_e_desert">Poušťě</string>
<string name="pref_theme_e_jungle">Džungle</string>
<string name="pref_theme_e_monet">Monet (dle systému)</string>
<string name="pref_theme_e_monetlight">Monet (Světlý)</string>
<string name="pref_theme_e_monetdark">Monet (Tmavý)</string>
<string name="pref_theme_e_rosepine">Růžová borovice</string>
<!-- <string name="pref_theme_e_everforestlight">Everforest Light</string> -->
<!-- <string name="pref_theme_e_cobalt">Cobalt</string> -->
<!-- <string name="pref_theme_e_pine">Pine</string> -->
<!-- <string name="pref_theme_e_epaperblack">ePaper Black</string> -->
<string name="pref_swipe_dist_e_very_short">Velmi krátká</string>
<string name="pref_swipe_dist_e_short">Krátká</string>
<string name="pref_swipe_dist_e_default">Běžná</string>
<string name="pref_swipe_dist_e_far">Dlouhá</string>
<string name="pref_swipe_dist_e_very_far">Velmi dlouhá</string>
<string name="pref_key_horizontal_space">Horizontální mezery mezi klávesami</string>
<string name="pref_key_vertical_space">Vertikální mezery mezi klávesami</string>
<string name="pref_border_config_title">Přizpůsobit okraje</string>
<string name="pref_border_width_title">Šířka okraje</string>
<string name="pref_corners_radius_title">Poloměr okraje</string>
<string name="pref_circle_sensitivity_title">Citlivost kruhového gesta</string>
<string name="pref_circle_sensitivity_e_high">Vysoká</string>
<string name="pref_circle_sensitivity_e_medium">Střední</string>
<string name="pref_circle_sensitivity_e_low">Nízká</string>
<string name="pref_circle_sensitivity_e_disabled">Deaktivováno</string>
<!-- <string name="pref_slider_sensitivity_title">Space bar slider sensitivity</string> -->
<!-- <string name="pref_slider_sensitivity_slow">Slow</string> -->
<!-- <string name="pref_slider_sensitivity_medium">Medium</string> -->
<!-- <string name="pref_slider_sensitivity_fast">Fast</string> -->
<string name="key_action_next">Další</string>
<string name="key_action_done">Dokončit</string>
<string name="key_action_go">Spustit</string>
<string name="key_action_prev">Předchozí</string>
<string name="key_action_search">Hledat</string>
<string name="key_action_send">Odeslat</string>
<string name="launcher_button_imesettings">Aktivovat klávesnici</string>
<string name="launcher_button_imepicker">Vybrat klávesnici</string>
<!-- <string name="launcher_button_dictionaries">Install dictionaries</string> -->
<string name="launcher_description">Tato aplikace je pouhou virtuální klávesnicí. Přejděte do systémového nastavení, kliknutím na tlačítko níže a aktivujte ji.</string>
<string name="launcher_sourcecode">Toto je volná, open-source aplikace. Její zdrojový kód, či hlášení chyb, naleznete na Githubu.</string>
<string name="launcher_tryhere">Po aktivaci můžete klávesnici rovnou vyzkoušet zde:</string>
<string name="launcher_tryhere_hint">Zkoušejte zde</string>
<string name="key_descr_capslock">Caps lock</string>
<string name="key_descr_compose">Compose</string>
<string name="key_descr_switch_greekmath">Řecké a matematické symboly</string>
<string name="key_descr_change_method">Přepnout klávesnici</string>
<string name="key_descr_voice_typing">Hlasové zadávání</string>
<string name="key_descr_copy">Kopírovat</string>
<string name="key_descr_paste">Vložit</string>
<string name="key_descr_cut">Vyjmout</string>
<string name="key_descr_selectAll">Označit vše</string>
<string name="key_descr_pasteAsPlainText">Vložit jako prostý text</string>
<string name="key_descr_undo">Zpět</string>
<string name="key_descr_redo">Znovu</string>
<string name="key_descr_ª">Indikátor řadové číslovky</string>
<string name="key_descr_º">Indikátor řadové číslovky</string>
<string name="key_descr_superscript">Horní index</string>
<string name="key_descr_subscript">Dolní index</string>
<string name="key_descr_page_up">Page Up</string>
<string name="key_descr_page_down">Page Down</string>
<string name="key_descr_home">Home</string>
<string name="key_descr_end">End</string>
<string name="key_descr_clipboard">Správce schránky</string>
<string name="key_descr_combining">Kombinace diakritiky</string>
<string name="key_descr_dead_key">Mrtvá klávesa</string>
<string name="key_descr_zwj">Spojka nulové šířky (ZWJ)</string>
<string name="key_descr_zwnj">ne-Spojka nulové šířky (ZWNJ)</string>
<string name="key_descr_nbsp">Nezlomitelná mezera</string>
<string name="key_descr_nnbsp">Úzká nezlomitelná mezera</string>
<!-- <string name="key_descr_delete_word">Delete a word</string> -->
<!-- <string name="key_descr_forward_delete_word">Delete a word on the right</string> -->
<!-- <string name="key_descr_gesture">Gesture</string> -->
<string name="clipboard_history_heading">Nedávno kopírovaný text</string>
<string name="clipboard_pin_heading">Připnout</string>
<string name="clipboard_remove_confirm">Odebrat ze schránky?</string>
<string name="clipboard_remove_confirmed">Ano</string>
<!-- <string name="toast_no_voice_input">No voice typing app installed</string> -->
<!-- <string name="pref_category_clipboard">Clipboard</string> -->
<!-- <string name="pref_clipboard_history_duration">Clipboard memory duration</string> -->
<!-- <string name="pref_clipboard_history_duration_1">At most 1 minute</string> -->
<!-- <string name="pref_clipboard_history_duration_5">At most 5 minutes</string> -->
<!-- <string name="pref_clipboard_history_duration_30">At most 30 minutes</string> -->
<!-- <string name="pref_clipboard_history_duration_stop">Until the app stops</string> -->
<!-- <string name="pref_dialog_edit_text">Custom definition</string> -->
<!-- <string name="dictionaries_from_internet">Download a dictionary from the Internet</string> -->
<!-- <string name="dictionaries_download_success">Dictionary installed</string> -->
<!-- <string name="dictionaries_download_failed">Download failed</string> -->
<!-- <string name="dictionaries_activity_not_enabled">You must first enable the keyboard to download dictionaries.</string> -->
<!-- <string name="candidates_status_no_dict">No dictionary installed</string> -->
<!-- <string name="candidates_status_install">Install</string> -->
</resources>

Some files were not shown because too many files have changed in this diff Show More