regions: Revise "kz" region config and move it to confirmed list.
- Kazakhstan "kz" region should have three input methods by default
for new user accounts when they enter user session after OOBE flow:
Kazakh (Cyrillic), Russian, US English.
- We only need to list two time zones as the rest are just aliases
of those two, from 2004 onwards.
- testdata/time_zones.yaml sync'd with https://crrev.com/c/2241330
using ./update_testdata.py.
BUG=chromium:1078743,b:155850646, b:148118358
TEST=./regions_unittest.py
Change-Id: Ia2dead642f50a58dc1b0e92746e906a829bc8b30
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/2222069
Commit-Queue: Bao-Duy Tran <tranbaoduy@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>
Tested-by: Bao-Duy Tran <tranbaoduy@chromium.org>
Reviewed-by: Stimim Chen <stimim@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Alexander Alekseev <alemate@chromium.org>
Auto-Submit: Bao-Duy Tran <tranbaoduy@chromium.org>
(cherry picked from commit a828da6f0592c15717460843c9ef906b7b57377d)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/2507040
Reviewed-by: Bao-Duy Tran <tranbaoduy@chromium.org>
Reviewed-by: Karen Wu <karen_wu@compal.corp-partner.google.com>
Commit-Queue: Stimim Chen <stimim@chromium.org>
Tested-by: Stimim Chen <stimim@chromium.org>
diff --git a/regions/regions.py b/regions/regions.py
index a993aa0..b098a9c 100755
--- a/regions/regions.py
+++ b/regions/regions.py
@@ -478,6 +478,9 @@
Region(
'hr', 'xkb:hr::scr', 'Europe/Zagreb', ['hr', 'en-GB'], KML.ISO,
'Croatia'),
+ Region(
+ 'kz', ['xkb:kz::kaz', 'xkb:ru::rus', 'xkb:us::eng'],
+ ['Asia/Almaty', 'Asia/Aqtobe'], ['kk', 'ru'], KML.ANSI, 'Kazakhstan'),
]
"""A list of :py:class:`regions.Region` objects for
@@ -951,10 +954,6 @@
'sc', 'xkb:sc::eng', 'Indian/Mahe', ['en-SC', 'fr-SC'], KML.ANSI,
'Seychelles'),
Region(
- 'kz', 'xkb:kz::kaz', ['Asia/Almaty', 'Asia/Qyzylorda', 'Asia/Aqtobe',
- 'Asia/Aqtau'], ['kk', 'ru'], KML.ANSI,
- 'Kazakhstan'),
- Region(
'ky', 'xkb:ky::eng', 'America/Cayman', 'en-KY', KML.ANSI,
'Cayman Islands'),
Region(
diff --git a/regions/testdata/time_zones.yaml b/regions/testdata/time_zones.yaml
index 9723150..6aeab6c 100644
--- a/regions/testdata/time_zones.yaml
+++ b/regions/testdata/time_zones.yaml
@@ -104,6 +104,7 @@
- Asia/Yerevan
- Asia/Kabul
- Asia/Karachi
+- Asia/Aqtobe
- Asia/Ashgabat
- Asia/Oral
- Asia/Yekaterinburg