regions: add in.hybrid
BUG=b:263703785
TEST=./regions_unittest.py
Change-Id: Id395b77204626faf52b0edeb316d8c8bdc87fb55
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/4463779
Tested-by: Stimim Chen <stimim@chromium.org>
Auto-Submit: Stimim Chen <stimim@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Alexander Alekseev <alemate@chromium.org>
Commit-Queue: Stimim Chen <stimim@chromium.org>
(cherry picked from commit c3bbb3d8b7e4e1d43402020ccbbb51cd7a43be59)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/5385048
Auto-Submit: Yu-An Wang <wyuang@google.com>
Tested-by: Yu-An Wang <wyuang@google.com>
Reviewed-by: Shou-Chieh Hsu <shouchieh@chromium.org>
Commit-Queue: Shou-Chieh Hsu <shouchieh@chromium.org>
diff --git a/regions/regions.py b/regions/regions.py
index 2d0f55f..b45e3c8 100755
--- a/regions/regions.py
+++ b/regions/regions.py
@@ -503,7 +503,15 @@
KML.ANSI,
"Ukraine",
),
- ]
+ Region(
+ "in.hybrid",
+ ["xkb:in::eng", "xkb:us::eng"],
+ "Asia/Calcutta",
+ ["en-IN", "en-US"],
+ KML.ANSI,
+ "India with Indian keyboard"
+ ),
+]
"""A list of :py:class:`regions.Region` objects for
all **confirmed** regions. A confirmed region is a region whose
diff --git a/regions/testdata/input_methods.yaml b/regions/testdata/input_methods.yaml
index 102e4ce..507a0cb 100644
--- a/regions/testdata/input_methods.yaml
+++ b/regions/testdata/input_methods.yaml
@@ -96,6 +96,7 @@
- xkb:hu:qwerty:hun
- xkb:ie::ga
- xkb:il::heb
+- xkb:in::eng
- xkb:is::ice
- xkb:it::ita
- xkb:jp::jpn
@@ -107,6 +108,7 @@
- xkb:mn::mon
- xkb:mt::mlt
- xkb:no::nob
+- xkb:pk::eng
- xkb:pl::pol
- xkb:pt::por
- xkb:ro::rum