7a07f1616d
ci: Include pre-build style check
2021-12-09 11:42:33 +00:00
f986f14220
ci: Reformat yaml file
...
Includes a formatter script
2021-12-09 11:42:12 +00:00
2ac4980db9
Merge branch 'po-popover' into 'master'
...
Use po for overlay layout translations too
Closes #316
See merge request World/Phosh/squeekboard!504
2021-12-09 11:13:55 +00:00
1451c746e7
Merge branch 'ci' into 'master'
...
ci: Add git revision and CI pipeline number to .deb artifacts
See merge request World/Phosh/squeekboard!499
2021-12-09 10:46:02 +00:00
0a417fe4a2
Remove custom translations
...
Can be handled via po. Most of them should come via libgnome-desktop
anyway and half of them weren't listed in LAYOUT_NAMES so were unused
anyway.
2021-12-09 11:29:48 +01:00
750814e050
Drop locale_config
...
Not used anymore.
2021-12-09 11:29:48 +01:00
10ea276052
Drop custom translation handling
...
xkb layouts are translated fine by libgnome-desktop. If not
we should go fixing there since that makes keyboard layout
strings consistent with e.g. gnome-control-center.
There weren't any 'exotic' strings in the current translations
so what we get from libgnome-desktop should be just fine.
2021-12-09 11:29:48 +01:00
cd869e323e
ci: Add git revision and CI pipeline number to .deb artifacts
2021-12-08 19:54:48 +00:00
1a193a9aed
Merge branch 'refs' into 'master'
...
README/docs improvements
See merge request World/Phosh/squeekboard!501
2021-12-08 19:25:52 +00:00
72a7825c85
popover: Don't complain about missing translations
...
It's fine to do all via po.
2021-12-08 15:29:57 +01:00
da789bcb87
Remove emoji and terminal from translations
...
Handled via po. Remove now empty files. The match with resources.rs
shows that some of them weren't even used (e.g. fa-IR) showing why a
switch to po is useful (which allows to maintain us that outside of
code).
2021-12-08 15:29:57 +01:00
2aa9cf26ee
popover: Make the ui file match the code file name
...
UI files are usually named like the code file. Stick to that
pattern.
2021-12-08 15:29:57 +01:00
ac833950ab
popover: Add translator notes
...
Single words are hard to translate in context, give some indication what
they do. They're automatically extracted into the pot file.
#. translators: This is a emmoji keyboard layout
#: data/popover.ui:6
msgid "Emoji"
msgstr "…"
#. translators: This is a terminal keyboard layout
#: data/popover.ui:12
msgid "Terminal"
msgstr "…"
2021-12-08 15:29:57 +01:00
9b7e065b0f
popover: Move Emoji and Terminal to ui file
...
This allows them to be translated via po so we don't have to maintain
the translation list by hand or care about empty translation files.
The only downside is that the "overlay layouts" in OVERLAY_NAMES need to
match the ones in the ui file but since a missing one is a clean crash
when selected there's little potential for subtle breackage. We could
even ensure consistency by comparing the two at run time but they change
only slowly this is not much of an issue (compared to how e.g. new
languages can be added now).
2021-12-08 15:27:17 +01:00
20ef5b6925
readme: Update features
2021-12-08 12:21:59 +00:00
90df025b9f
readme: Put emphasis on being an input method
...
There's a lot of expectations to make Squeekboard merely a keyboard for the sake of desktop-like workflows, which would hinder the common use case of entering text. The new wording hopefully doesn't foster such a misunderstanding.
2021-12-08 12:18:40 +00:00
e776bf005e
Merge branch 'email-and-url-variant' into 'master'
...
Add URL and email variants for US layout
Closes #65
See merge request World/Phosh/squeekboard!495
2021-12-08 11:52:17 +00:00
aea0d413f3
Merge branch 'po-cleanups' into 'master'
...
i18n improvements
See merge request World/Phosh/squeekboard!503
2021-12-07 20:41:48 +00:00
a9f5429bcb
gitignore: Ignore generated po files
2021-12-07 20:11:58 +01:00
12c10ad726
gitignore: Drop zanata dir
...
Unused since ages
2021-12-07 20:11:27 +01:00
79ce23822d
Merge branch 'dh-13' into 'master'
...
debian: Switch to dh 13
See merge request World/Phosh/squeekboard!502
2021-12-06 16:25:32 +00:00
78735677d2
Merge branch 'pkg-only' into 'master'
...
gitlab-ci: Add PKG_ONLY
See merge request World/Phosh/squeekboard!498
2021-12-06 16:24:41 +00:00
12cf628c71
Add URL and EMail keyboard variants for us
...
Closes : #65
2021-12-05 21:26:44 +01:00
da7230e723
po: Add desktop file to translatable files
2021-12-05 21:06:40 +01:00
e91f6419fb
data: Make generic name truly generic
...
And mention that it's an on screen keyboard which is the more widely
used term in end user facing string.
2021-12-05 21:06:40 +01:00
16dd4f9753
server-context-servide: Don't translate application name
2021-12-05 21:04:43 +01:00
b41aedabbf
eekboard-context-service: Don't translate property names
...
No need to bother translators with this.
2021-12-05 21:04:43 +01:00
7a1e646bc9
debian: Install desktop file
...
Distros like Debian ship it anyway
2021-12-05 20:57:02 +01:00
4f19a81d78
debian: Switch to dh 13
...
This adds goodies like failing on inexistent files. It's well
supported in Debian Bullseye, PureOS Byzantium and newer versions.
2021-12-05 19:35:19 +01:00
5054f4c9de
Merge branch 'pin-keyboard' into 'master'
...
Use special pin keyboard
See merge request World/Phosh/squeekboard!492
2021-12-05 18:23:35 +00:00
6eb3914ab3
Merge branch 'po' into 'master'
...
Add initial po support
Closes #315
See merge request World/Phosh/squeekboard!497
2021-12-05 18:02:55 +00:00
674c1384db
readme: Clarify basic running steps
2021-12-05 17:54:05 +00:00
1b13df3364
docs: Move env vars section to debugging
2021-12-05 17:47:37 +00:00
e48d8bee4d
readme: Change self-reference to repo to gnome
2021-12-05 17:46:03 +00:00
0c4d3e5450
debian: Install translations
2021-12-05 18:14:39 +01:00
9d97fa4d29
pin: Use less margin
...
Introduce a common.css so styles don't deviate unintentionally between
the different themes. Way more stuff can be moved here once this is in.
2021-12-05 17:34:40 +01:00
321dadba34
renderer: Set style class based on input purpose
2021-12-05 17:34:40 +01:00
4903f3d1a0
layout: Keep content purpose around
...
This allows to add proper CSS style classes based on that
2021-12-05 17:31:12 +01:00
3513bf8de4
Use special pin keyboard
...
This helps muscle memory
2021-12-05 17:31:12 +01:00
5f40c31cab
layout: Drop trailing whitespace
...
Otherwise sane editor setup is basically impossible since
we want to trim that by default (and not manually like here)
in the future.
2021-12-05 17:31:12 +01:00
956377fd2f
Merge branch 'input-purpose-toggle' into 'master'
...
Honor input-purpose only changes
Closes #311
See merge request World/Phosh/squeekboard!493
2021-12-05 14:33:54 +00:00
f922374e27
gitlab-ci: Add PKG_ONLY
...
This allows for easy package builds saving resources.
2021-12-04 17:58:14 +01:00
3306907008
Revert "gresources: Drop popup.ui"
...
This reverts commit fdcef4aa88 .
2021-12-04 13:12:48 +01:00
fdcef4aa88
gresources: Drop popup.ui
...
It's unused in the code atm
2021-12-03 19:00:22 +01:00
74f55b30ef
po: Add German translation
2021-12-03 18:59:52 +01:00
d696c9624e
Reuse the unused popover ui file for i18n
...
Since the current code uses a handcoded approach for popup construction
reuse the unused ui file to keep translatable strings. Since UI file in
popover.rs runs through glib the strings get translated.
Future rework will allow us to get rid of this duplication but since the
ui file went unnoticed for so long who could possibly complain.
Closes : #315
2021-12-03 18:58:24 +01:00
964f1da305
Initialize gettext
2021-12-03 18:58:12 +01:00
0a09036979
Merge branch 'de_DE-translation' into 'master'
...
langs: Don't use empty translation file
Closes #313
See merge request World/Phosh/squeekboard!496
2021-12-03 17:30:20 +00:00
73e7908709
langs: Don't use empty translation file
...
This breaks the translation
Closes : #313
2021-12-03 16:57:26 +01:00
06b17907bf
imservice: Invoke eekboard_context_service_set_hint_purpose unconditionally
...
Since eekboard_context_service_set_hint_purpose() checks if the
hint or purpose changed this doesn't cause unwanted layout reloads.
Closes : #311
2021-12-02 09:19:50 +01:00