update tables data to CLDR v42

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-12-18 19:46:31 +02:00
parent 7b6a37009d
commit f95d0b9ec5
6 changed files with 1182 additions and 896 deletions

2
README
View file

@ -20,7 +20,7 @@ There are several things you should be aware before considering Katie:
- versioned and extended classes have been merged into the base class,
e.g. QIconEngineV2 into QIconEngine and QKeyEventEx into QKeyEvent
- QGuiPlatformPlugin class is public
- updated localizations data from Common Locale Data Repository v41
- updated localizations data from Common Locale Data Repository v42
- QTranslator uses gettext for translations
- OpenVG is no longer supported graphics output
- Blitter is no longer supported painting engine

View file

@ -1,7 +1,7 @@
#!/usr/bin/python3
#-*- coding: UTF-8 -*-
# Data is from https://unicode.org/Public/cldr/41/core.zip
# Data is from https://unicode.org/Public/cldr/42/core.zip
import os, sys, glob, re
import xml.etree.ElementTree as ET

File diff suppressed because it is too large Load diff

View file

@ -83,7 +83,7 @@
\note For the current keyboard input locale take a look at
QApplication::keyboardInputLocale().
QLocale's data is based on Common Locale Data Repository v41.
QLocale's data is based on Common Locale Data Repository v42.
The double-to-string and string-to-double conversion functions are
covered by the following licenses:
@ -300,7 +300,7 @@
\value Frafra
\value French
\value Friulian
\value Fulah
\value Fula
\value Ga
\value Gagauz
\value Galician
@ -329,12 +329,14 @@
\value HaitianCreole
\value HakkaChinese
\value Halkomelem
\value Haryanvi
\value Hausa
\value Hawaiian
\value Hebrew
\value Herero
\value Hiligaynon
\value Hindi
\value Hinglish
\value HiriMotu
\value Hittite
\value Hmong
@ -423,7 +425,6 @@
\value Kwasio
\value Kyrgyz
\value Ladino
\value Lahnda
\value Lakota
\value Lamba
\value Langi
@ -472,7 +473,7 @@
\value Malagasy
\value Malay
\value Malayalam
\value Malecite
\value MaliseetPassamaquoddy
\value Maltese
\value Manchu
\value Mandar
@ -561,6 +562,7 @@
\value NyasaTonga
\value Nyoro
\value Nzima
\value Obolo
\value Occitan
\value Odia
\value OjiCree
@ -590,6 +592,7 @@
\value Phoenician
\value Picard
\value Piedmontese
\value Pijin
\value PlainsCree
\value Plautdietsch
\value Pohnpeian
@ -616,8 +619,8 @@
\value Russian
\value Rusyn
\value Rwa
\value Saamia
\value Saho
\value Sakha
\value SamaritanAramaic
\value Samburu
\value SamiInari
@ -720,6 +723,7 @@
\value Tlingit
\value TokPisin
\value TokelauLanguage
\value TokiPona
\value Tongan
\value TornedalenFinnish
\value Torwali
@ -774,12 +778,14 @@
\value WesternFrisian
\value WesternMari
\value WesternOjibwa
\value WesternPanjabi
\value Wolaytta
\value Wolof
\value WoodsCree
\value WuChinese
\value Xhosa
\value XiangChinese
\value Yakut
\value Yangben
\value Yao
\value Yapese
@ -818,6 +824,7 @@
\value Anguilla
\value Antarctica
\value AntiguaAndBarbuda
\value AotearoaNewZealand
\value Argentina
\value Armenia
\value Aruba
@ -1086,6 +1093,7 @@
\value TristandaCunha
\value Tunisia
\value Turkey
\value Turkiye
\value Turkmenistan
\value TurksAndCaicosIslands
\value Tuvalu

File diff suppressed because it is too large Load diff

View file

@ -1474,9 +1474,9 @@ void tst_QLocale::dateFormat()
QCOMPARE(nn.dateFormat(QLocale::ShortFormat), QLatin1String("dd.MM.yyyy"));
QCOMPARE(nn.dateFormat(QLocale::LongFormat), QLatin1String("d. MMMM yyyy"));
const QLocale ca("en_CA");
QCOMPARE(ca.dateFormat(QLocale::ShortFormat), QLatin1String("yyyy-MM-dd"));
QCOMPARE(ca.dateFormat(QLocale::LongFormat), QLatin1String("MMMM d, yyyy"));
const QLocale wae("wae_CH");
QCOMPARE(wae.dateFormat(QLocale::ShortFormat), QLatin1String("yyyy-MM-dd"));
QCOMPARE(wae.dateFormat(QLocale::LongFormat), QLatin1String("d. MMMM yyyy"));
const QLocale ja("ja_JP");
QCOMPARE(ja.dateFormat(QLocale::ShortFormat), QLatin1String("yyyy/MM/dd"));
@ -1493,9 +1493,9 @@ void tst_QLocale::timeFormat()
QCOMPARE(nn.timeFormat(QLocale::ShortFormat), QLatin1String("HH:mm"));
QCOMPARE(nn.timeFormat(QLocale::LongFormat), QLatin1String("HH:mm:ss Z"));
const QLocale en("en_FJ");
QCOMPARE(en.timeFormat(QLocale::ShortFormat), QLatin1String("h:mm AP"));
QCOMPARE(en.timeFormat(QLocale::LongFormat), QLatin1String("h:mm:ss AP Z"));
const QLocale hi("hi_Latn_IN");
QCOMPARE(hi.timeFormat(QLocale::ShortFormat), QLatin1String("h:mm AP"));
QCOMPARE(hi.timeFormat(QLocale::LongFormat), QLatin1String("h:mm:ss AP Z"));
const QLocale cat("ca_ES");
QCOMPARE(cat.timeFormat(QLocale::ShortFormat), QLatin1String("H:mm"));