Commit Graph

406 Commits

Author SHA1 Message Date
c7d33356bc Add settings button to launcher app (#629) 2024-05-05 11:22:34 +02:00
94b2ded843 Update Simplified Chinese translation (#617) 2024-04-24 13:31:29 +02:00
5e3a3f894b Add Danish layout (#606) 2024-04-03 23:46:39 +02:00
7e9d8c73df Update pt-BR translations (#598) 2024-03-24 21:36:55 +01:00
b22b49d3e6 launcher: Grammar fixes (#599) 2024-03-24 21:36:18 +01:00
7c3286078b Add Shaw Imperial layout (#592) 2024-03-23 00:06:23 +01:00
1cbaa7106c Update Russian translation (#588) 2024-03-14 00:37:37 +01:00
c41a098924 Update Spanish translations (#586) 2024-03-10 19:31:58 +01:00
8cd868ba76 Update to Unicode Emoji v15.1 (#583) 2024-03-09 11:37:15 +01:00
07f9c1ffaa Update cs strings.xml (#582) 2024-03-07 19:36:48 +01:00
9a07149efc Update Latvian translations (#580) 2024-03-04 19:35:28 +01:00
35d1ebeab5 Update German strings.xml (#579) 2024-03-03 23:25:54 +01:00
a1de69bcc4 Gujarati phonetic layout (#562)
added shift modifier characters
Add support for gujarati numerals

Co-authored-by: yogesh-b <yogesh@improwised.com>
2024-03-03 23:12:52 +01:00
ce38a4f151 Update pl/strings.xml (#578) 2024-03-03 01:06:07 +01:00
0e0c761a92 Add QWERTY (Slovak) layout
The original author is @sejkm in https://github.com/Julow/Unexpected-Keyboard/issues/573
2024-03-02 20:39:22 +01:00
ebda7b2c3e Improve the AZERTY layout
Add éèàç directly to the layout, which removes the corresponding dead
keys.

Remove the requirement for ù and ÿ from method.xml, which are extremely
rare and can be typed via the compose key.
2024-03-02 17:42:57 +01:00
39f6d294fb translations: Remove outdated store descriptions 2024-03-02 17:22:22 +01:00
d7e5040873 method.xml: Add en-CA and fr-CA
Without this, the system might choose en-GB and fr-CH.
This makes them more similar to en-US and fr-FR (without € in extra keys).
2024-02-24 11:54:46 +01:00
b29a344cd0 Remove € from en-GB extra keys 2024-02-22 19:34:23 +01:00
6389d58553 Update Ukrainian translation (#561) 2024-02-18 17:08:56 +01:00
e40558677e Allow to remove the compose key in the settings 2024-02-17 23:28:31 +01:00
ae270b36f4 Add the compose key on alternate layouts
Though it is not useful in the greek-math layout, it could give ideas
for new sequences.
2024-02-17 23:28:31 +01:00
146d520325 compose: Grey out keys that are not in sequence
Keys that are not in the pending compose sequence are greyed out with
the new 'FLAG_GREYED' flag.
2024-02-17 23:28:31 +01:00
065d9520e5 Dim secondary keys in every themes
Themes do not dim secondary keys the same way due to the "offset"
mechanism. Instead, use a ratio that is the same for every themes.

It's still possible to override this ratio per theme.
2024-02-17 23:28:31 +01:00
8c29073260 Compose key
The COMPOSE_PENDING modifier indicate whether a compose sequence is in
progress. The new key of kind Compose_pending sets the current state of
the sequence.

The compose sequences are compiled into a state machine by a python
script into a compact encoding.

The state of the pending compose is determined by the index of a state.
2024-02-17 23:28:31 +01:00
38deb810f9 Add QWERTY GB layout (#557)
Adapted from latn_qwerty_us

* Make it the default layout for en-GB
2024-02-16 21:09:28 +01:00
d96577963e Don't invert the pin entry layout
The pin entry layout shouldn't be inverted as the letter indications
would be meaningless and the order would be opposite to what the option
specifies.

The enter and action key are swapped as the automatic swapping is also
removed.
2024-02-14 22:52:25 +01:00
f4d88cc087 Fix various linter warnings
Among others:
- Use `apply` instead of `commit` when saving shared preferences.
- Avoid inlined Api
- Remove unused resources
2024-02-10 18:10:49 +01:00
93d8af4505 Custom border settings (#524) 2024-02-10 11:38:46 +01:00
f74e5a9f73 Update Turkish translations (#550) 2024-02-10 00:43:34 +01:00
5ce89d1b4b Move store descriptions into strings files
This makes translation easier as there's a single file to edit at.
Existing short and full descriptions are conserved.

sync_translations.py takes care of updating the metadata files.

The metadata directories are renamed to match the language codes used in `res/`.

Contributing guidelines are updated accordingly.
2024-02-06 23:11:14 +01:00
82a9774f5a Update method.xml to support arab_hamvaj_tly (#547) 2024-02-06 22:24:43 +01:00
d1aa59768d Create layout arabic-hamvaj-tly (#542) 2024-02-04 23:18:33 +01:00
3adf95a4c9 Add language support for Talysh New Latin (#534) 2024-01-31 01:06:47 +01:00
44f39059e4 Add layout QWERTY (Talysh New Latin) (#529) 2024-01-28 23:49:27 +01:00
bbc6226839 Redefined the key margin options in percent
Define the key margin options relative to the baseline dimensions of
keys. This removes the doubling of the horizontal margin in landscape
mode.
2024-01-28 19:38:29 +01:00
ad7314a016 Move layout definitions into srcs/layouts
This separates the layout definitions from the special layouts
(bottom_row, greekmath) and other unrelated files (method, settings).

This is also a more intuitive location for layouts and make the resource
directory easier to navigate.

Under the hood, layouts are copied back into
build/generated-resources/xml.
2024-01-21 16:34:49 +01:00
bef29da3de Update pt-br translation (#527)
Update translation pt-br
2024-01-21 16:10:26 +01:00
a55506e607 Light and dark themes for the launcher and settings 2024-01-20 22:37:51 +01:00
9257bf7392 Add Ukrainian translation (#525) 2024-01-18 22:44:22 +01:00
95bd9312a7 Allow hidding the keyboard switching key
The keyboard switching key is now selected by default in the Extra Keys
option and can be deselected.
2024-01-15 23:26:40 +01:00
b114c78bf1 Refactor: Keyboard2View: Take layout id attr
Removes EmojiBottomRow.
2024-01-13 23:22:26 +01:00
eddf9c6c11 Refactor: New namespace for preference classes 2024-01-13 20:59:05 +01:00
329a35e7d3 Fix layouts containing empty keys
This results in a key being the empty string and do not trigger an
error:

    key1="\"

Layouts are fixed and check_layout now checks for this case.
2024-01-10 00:28:21 +01:00
73267d68fb Revert "Remove the vibration settings"
This reverts commits ef03dfed5c and
ff01678ba6.

The "vibration duration" slider is bought back.
The "vibration enabled" option is replaced by "custom vibration", which switch between the system haptic feedback or the custom vibration.

The slider is greyed when "custom vibration" is unchecked and is
allowed to have a value of 0 to disable vibrations within the app.

The intermediate values "light", "medium" and "strong" are removed and
no migration of the setting is made.
2024-01-09 00:43:28 +01:00
0005eb2dd5 Update Spanish translations (#517) 2024-01-07 02:18:40 +01:00
49a6a30773 Add an introduction video in the launcher activity
A video is more intuitive than a written description and doesn't need
translations.
2023-12-31 13:18:15 +01:00
7e7a5e4425 Separate arabic layouts with hindu or arabic numerals
This reverts the Tusinian layout (1af4e45) and instead introduce a new
arabic PC layout with arabic numbers.

Layouts are renamed:
- arab_pc => arab_pc_hindu
- arab_pc_tn => arab_pc
2023-12-26 17:16:29 +01:00
1af4e45117 Add Tunisian layout
It is a copy of the 'arab_pc' layout with arabic digits.
Also, fix the default layout for arabic.
2023-12-21 21:45:56 +01:00
2aecbca9ac Update strings.xml (#505) 2023-12-20 21:27:19 +01:00