From 6e1364b5c26af814a304b3f6a7e8fbc8722b4c57 Mon Sep 17 00:00:00 2001
From: bokidori <176586502+bokidori@users.noreply.github.com>
Date: Thu, 25 Jul 2024 23:21:39 +0200
Subject: [PATCH] Add Serbian Latin QWERTY layout (#720)
Adds Serbian Latin QWERTY layout. Serbian language uses both Latin and Cyrillic as its official scripts, and this variant should cover anyone from Serbo-Croatian speaking group that uses Latin script.
---
check_layout.output | 3 +++
res/values/layouts.xml | 3 +++
srcs/layouts/latn_qwerty_sr.xml | 46 +++++++++++++++++++++++++++++++++
3 files changed, 52 insertions(+)
create mode 100644 srcs/layouts/latn_qwerty_sr.xml
diff --git a/check_layout.output b/check_layout.output
index 1bd9d9b..2aeb768 100644
--- a/check_layout.output
+++ b/check_layout.output
@@ -101,6 +101,9 @@ Duplicate keys: !, ', ,, -, ., ?
1 warnings
# latn_qwerty_sk
0 warnings
+# latn_qwerty_sr
+Layout doesn't define some important keys, missing: delete, loc esc, loc tab
+1 warnings
# latn_qwerty_tly
Duplicate keys: a, c, j, q
Layout doesn't define some important keys, missing: loc esc, loc tab
diff --git a/res/values/layouts.xml b/res/values/layouts.xml
index dac86d9..980182f 100644
--- a/res/values/layouts.xml
+++ b/res/values/layouts.xml
@@ -43,6 +43,7 @@
- latn_qwerty_ro
- latn_qwerty_se
- latn_qwerty_sk
+ - latn_qwerty_sr
- latn_qwerty_tly
- latn_qwerty_tr
- latn_qwerty_vi
@@ -99,6 +100,7 @@
- QWERTY (Română)
- QWERTY (Swedish)
- QWERTY (Slovak)
+ - QWERTY (Srpski, latinica)
- QWERTY (Talysh New Latin)
- QWERTY (Türkçe)
- QWERTY (Vietnamese)
@@ -155,6 +157,7 @@
- @xml/latn_qwerty_ro
- @xml/latn_qwerty_se
- @xml/latn_qwerty_sk
+ - @xml/latn_qwerty_sr
- @xml/latn_qwerty_tly
- @xml/latn_qwerty_tr
- @xml/latn_qwerty_vi
diff --git a/srcs/layouts/latn_qwerty_sr.xml b/srcs/layouts/latn_qwerty_sr.xml
new file mode 100644
index 0000000..41f2b3a
--- /dev/null
+++ b/srcs/layouts/latn_qwerty_sr.xml
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file