Skip to content

Commit

Permalink
test: move localizationd data from test-icu-env to external file
Browse files Browse the repository at this point in the history
PR-URL: #55618
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
  • Loading branch information
LiviaMedeiros authored Dec 10, 2024
1 parent 142adef commit a364ec1
Show file tree
Hide file tree
Showing 5 changed files with 503 additions and 94 deletions.
128 changes: 128 additions & 0 deletions test/fixtures/icu/localizationData-v74.2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"dateStrings": {
"en": "Fri Jul 25 1980 01:35:33 GMT+0100 (Central European Standard Time)",
"zh": "Fri Jul 25 1980 01:35:33 GMT+0100 (中欧标准时间)",
"hi": "Fri Jul 25 1980 01:35:33 GMT+0100 (मध्य यूरोपीय मानक समय)",
"es": "Fri Jul 25 1980 01:35:33 GMT+0100 (hora estándar de Europa central)",
"fr": "Fri Jul 25 1980 01:35:33 GMT+0100 (heure normale d’Europe centrale)",
"ar": "Fri Jul 25 1980 01:35:33 GMT+0100 (توقيت وسط أوروبا الرسمي)",
"bn": "Fri Jul 25 1980 01:35:33 GMT+0100 (মধ্য ইউরোপীয় মানক সময়)",
"ru": "Fri Jul 25 1980 01:35:33 GMT+0100 (Центральная Европа, стандартное время)",
"pt": "Fri Jul 25 1980 01:35:33 GMT+0100 (Horário Padrão da Europa Central)",
"ur": "Fri Jul 25 1980 01:35:33 GMT+0100 (وسطی یورپ کا معیاری وقت)",
"id": "Fri Jul 25 1980 01:35:33 GMT+0100 (Waktu Standar Eropa Tengah)",
"de": "Fri Jul 25 1980 01:35:33 GMT+0100 (Mitteleuropäische Normalzeit)",
"ja": "Fri Jul 25 1980 01:35:33 GMT+0100 (中央ヨーロッパ標準時)",
"pcm": "Fri Jul 25 1980 01:35:33 GMT+0100 (Mídúl Yúrop Fíksd Taim)",
"mr": "Fri Jul 25 1980 01:35:33 GMT+0100 (मध्‍य युरोपियन प्रमाण वेळ)",
"te": "Fri Jul 25 1980 01:35:33 GMT+0100 (సెంట్రల్ యూరోపియన్ ప్రామాణిక సమయం)"
},
"dateTimeFormats": {
"en": "7/25/1980, 1:35:33 AM",
"zh": "1980/7/25 01:35:33",
"hi": "25/7/1980, 1:35:33 am",
"es": "25/7/1980, 1:35:33",
"fr": "25/07/1980 01:35:33",
"ar": "٢٥‏/٧‏/١٩٨٠، ١:٣٥:٣٣ ص",
"bn": "২৫/৭/১৯৮০, ১:৩৫:৩৩ AM",
"ru": "25.07.1980, 01:35:33",
"pt": "25/07/1980, 01:35:33",
"ur": "25/7/1980، 1:35:33 AM",
"id": "25/7/1980, 01.35.33",
"de": "25.7.1980, 01:35:33",
"ja": "1980/7/25 1:35:33",
"pcm": "25/7/1980 01:35:33",
"mr": "२५/७/१९८०, १:३५:३३ AM",
"te": "25/7/1980 1:35:33 AM"
},
"dateFormats": {
"en": "7/25/1980",
"zh": "1980/7/25",
"hi": "25/7/1980",
"es": "25/7/1980",
"fr": "25/07/1980",
"ar": "٢٥‏/٧‏/١٩٨٠",
"bn": "২৫/৭/১৯৮০",
"ru": "25.07.1980",
"pt": "25/07/1980",
"ur": "25/7/1980",
"id": "25/7/1980",
"de": "25.7.1980",
"ja": "1980/7/25",
"pcm": "25/7/1980",
"mr": "२५/७/१९८०",
"te": "25/7/1980"
},
"displayNames": {
"en": "Switzerland",
"zh": "瑞士",
"hi": "स्विट्ज़रलैंड",
"es": "Suiza",
"fr": "Suisse",
"ar": "سويسرا",
"bn": "সুইজারল্যান্ড",
"ru": "Швейцария",
"pt": "Suíça",
"ur": "سوئٹزر لینڈ",
"id": "Swiss",
"de": "Schweiz",
"ja": "スイス",
"pcm": "Swítsaland",
"mr": "स्वित्झर्लंड",
"te": "స్విట్జర్లాండ్"
},
"numberFormats": {
"en": "275,760.913",
"zh": "275,760.913",
"hi": "2,75,760.913",
"es": "275.760,913",
"fr": "275 760,913",
"ar": "٢٧٥٬٧٦٠٫٩١٣",
"bn": "২,৭৫,৭৬০.৯১৩",
"ru": "275 760,913",
"pt": "275.760,913",
"ur": "275,760.913",
"id": "275.760,913",
"de": "275.760,913",
"ja": "275,760.913",
"pcm": "275,760.913",
"mr": "२,७५,७६०.९१३",
"te": "2,75,760.913"
},
"pluralRules": {
"en": "other",
"zh": "other",
"hi": "one",
"es": "other",
"fr": "one",
"ar": "zero",
"bn": "one",
"ru": "many",
"pt": "one",
"ur": "other",
"id": "other",
"de": "other",
"ja": "other",
"pcm": "one",
"mr": "other",
"te": "other"
},
"relativeTime": {
"en": "586,920.617 hours ago",
"zh": "586,920.617小时前",
"hi": "5,86,920.617 घंटे पहले",
"es": "hace 586.920,617 horas",
"fr": "il y a 586 920,617 heures",
"ar": "قبل ٥٨٦٬٩٢٠٫٦١٧ ساعة",
"bn": "৫,৮৬,৯২০.৬১৭ ঘন্টা আগে",
"ru": "586 920,617 часа назад",
"pt": "há 586.920,617 horas",
"ur": "586,920.617 گھنٹے پہلے",
"id": "586.920,617 jam yang lalu",
"de": "vor 586.920,617 Stunden",
"ja": "586,920.617 時間前",
"pcm": "586,920.617 áwa wé dọ́n pas",
"mr": "५,८६,९२०.६१७ तासांपूर्वी",
"te": "5,86,920.617 గంటల క్రితం"
}
}
128 changes: 128 additions & 0 deletions test/fixtures/icu/localizationData-v75.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"dateStrings": {
"en": "Fri Jul 25 1980 01:35:33 GMT+0100 (Central European Standard Time)",
"zh": "Fri Jul 25 1980 01:35:33 GMT+0100 (中欧标准时间)",
"hi": "Fri Jul 25 1980 01:35:33 GMT+0100 (मध्य यूरोपीय मानक समय)",
"es": "Fri Jul 25 1980 01:35:33 GMT+0100 (hora estándar de Europa central)",
"fr": "Fri Jul 25 1980 01:35:33 GMT+0100 (heure normale d’Europe centrale)",
"ar": "Fri Jul 25 1980 01:35:33 GMT+0100 (توقيت وسط أوروبا الرسمي)",
"bn": "Fri Jul 25 1980 01:35:33 GMT+0100 (মধ্য ইউরোপীয় মানক সময়)",
"ru": "Fri Jul 25 1980 01:35:33 GMT+0100 (Центральная Европа, стандартное время)",
"pt": "Fri Jul 25 1980 01:35:33 GMT+0100 (Horário Padrão da Europa Central)",
"ur": "Fri Jul 25 1980 01:35:33 GMT+0100 (وسطی یورپ کا معیاری وقت)",
"id": "Fri Jul 25 1980 01:35:33 GMT+0100 (Waktu Standar Eropa Tengah)",
"de": "Fri Jul 25 1980 01:35:33 GMT+0100 (Mitteleuropäische Normalzeit)",
"ja": "Fri Jul 25 1980 01:35:33 GMT+0100 (中央ヨーロッパ標準時)",
"pcm": "Fri Jul 25 1980 01:35:33 GMT+0100 (Mídúl Yúrop Fíksd Taim)",
"mr": "Fri Jul 25 1980 01:35:33 GMT+0100 (मध्‍य युरोपियन प्रमाण वेळ)",
"te": "Fri Jul 25 1980 01:35:33 GMT+0100 (సెంట్రల్ యూరోపియన్ ప్రామాణిక సమయం)"
},
"dateTimeFormats": {
"en": "7/25/1980, 1:35:33 AM",
"zh": "1980/7/25 01:35:33",
"hi": "25/7/1980, 1:35:33 am",
"es": "25/7/1980, 1:35:33",
"fr": "25/07/1980 01:35:33",
"ar": "٢٥‏/٧‏/١٩٨٠، ١:٣٥:٣٣ ص",
"bn": "২৫/৭/১৯৮০, ১:৩৫:৩৩ AM",
"ru": "25.07.1980, 01:35:33",
"pt": "25/07/1980, 01:35:33",
"ur": "25/7/1980، 1:35:33 AM",
"id": "25/7/1980, 01.35.33",
"de": "25.7.1980, 01:35:33",
"ja": "1980/7/25 1:35:33",
"pcm": "25/7/1980 01:35:33",
"mr": "२५/७/१९८०, १:३५:३३ AM",
"te": "25/7/1980 1:35:33 AM"
},
"dateFormats": {
"en": "7/25/1980",
"zh": "1980/7/25",
"hi": "25/7/1980",
"es": "25/7/1980",
"fr": "25/07/1980",
"ar": "٢٥‏/٧‏/١٩٨٠",
"bn": "২৫/৭/১৯৮০",
"ru": "25.07.1980",
"pt": "25/07/1980",
"ur": "25/7/1980",
"id": "25/7/1980",
"de": "25.7.1980",
"ja": "1980/7/25",
"pcm": "25/7/1980",
"mr": "२५/७/१९८०",
"te": "25/7/1980"
},
"displayNames": {
"en": "Switzerland",
"zh": "瑞士",
"hi": "स्विट्ज़रलैंड",
"es": "Suiza",
"fr": "Suisse",
"ar": "سويسرا",
"bn": "সুইজারল্যান্ড",
"ru": "Швейцария",
"pt": "Suíça",
"ur": "سوئٹزر لینڈ",
"id": "Swiss",
"de": "Schweiz",
"ja": "スイス",
"pcm": "Swítsaland",
"mr": "स्वित्झर्लंड",
"te": "స్విట్జర్లాండ్"
},
"numberFormats": {
"en": "275,760.913",
"zh": "275,760.913",
"hi": "2,75,760.913",
"es": "275.760,913",
"fr": "275 760,913",
"ar": "٢٧٥٬٧٦٠٫٩١٣",
"bn": "২,৭৫,৭৬০.৯১৩",
"ru": "275 760,913",
"pt": "275.760,913",
"ur": "275,760.913",
"id": "275.760,913",
"de": "275.760,913",
"ja": "275,760.913",
"pcm": "275,760.913",
"mr": "२,७५,७६०.९१३",
"te": "2,75,760.913"
},
"pluralRules": {
"en": "other",
"zh": "other",
"hi": "one",
"es": "other",
"fr": "one",
"ar": "zero",
"bn": "one",
"ru": "many",
"pt": "one",
"ur": "other",
"id": "other",
"de": "other",
"ja": "other",
"pcm": "one",
"mr": "other",
"te": "other"
},
"relativeTime": {
"en": "586,920.617 hours ago",
"zh": "586,920.617小时前",
"hi": "5,86,920.617 घंटे पहले",
"es": "hace 586.920,617 horas",
"fr": "il y a 586 920,617 heures",
"ar": "قبل ٥٨٦٬٩٢٠٫٦١٧ ساعة",
"bn": "৫,৮৬,৯২০.৬১৭ ঘন্টা আগে",
"ru": "586 920,617 часа назад",
"pt": "há 586.920,617 horas",
"ur": "586,920.617 گھنٹے پہلے",
"id": "586.920,617 jam yang lalu",
"de": "vor 586.920,617 Stunden",
"ja": "586,920.617 時間前",
"pcm": "586,920.617 áwa wé dọ́n pas",
"mr": "५,८६,९२०.६१७ तासांपूर्वी",
"te": "5,86,920.617 గంటల క్రితం"
}
}
128 changes: 128 additions & 0 deletions test/fixtures/icu/localizationData-v76.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"dateStrings": {
"en": "Fri Jul 25 1980 01:35:33 GMT+0100 (Central European Standard Time)",
"zh": "Fri Jul 25 1980 01:35:33 GMT+0100 (中欧标准时间)",
"hi": "Fri Jul 25 1980 01:35:33 GMT+0100 (मध्य यूरोपीय मानक समय)",
"es": "Fri Jul 25 1980 01:35:33 GMT+0100 (hora estándar de Europa central)",
"fr": "Fri Jul 25 1980 01:35:33 GMT+0100 (heure normale d’Europe centrale)",
"ar": "Fri Jul 25 1980 01:35:33 GMT+0100 (توقيت وسط أوروبا الرسمي)",
"bn": "Fri Jul 25 1980 01:35:33 GMT+0100 (মধ্য ইউরোপীয় মানক সময়)",
"ru": "Fri Jul 25 1980 01:35:33 GMT+0100 (Центральная Европа, стандартное время)",
"pt": "Fri Jul 25 1980 01:35:33 GMT+0100 (Horário Padrão da Europa Central)",
"ur": "Fri Jul 25 1980 01:35:33 GMT+0100 (وسطی یورپ کا معیاری وقت)",
"id": "Fri Jul 25 1980 01:35:33 GMT+0100 (Waktu Standar Eropa Tengah)",
"de": "Fri Jul 25 1980 01:35:33 GMT+0100 (Mitteleuropäische Normalzeit)",
"ja": "Fri Jul 25 1980 01:35:33 GMT+0100 (中央ヨーロッパ標準時)",
"pcm": "Fri Jul 25 1980 01:35:33 GMT+0100 (Mídúl Yúrop Fíksd Taim)",
"mr": "Fri Jul 25 1980 01:35:33 GMT+0100 (मध्‍य युरोपियन प्रमाण वेळ)",
"te": "Fri Jul 25 1980 01:35:33 GMT+0100 (సెంట్రల్ యూరోపియన్ ప్రామాణిక సమయం)"
},
"dateTimeFormats": {
"en": "7/25/1980, 1:35:33 AM",
"zh": "1980/7/25 01:35:33",
"hi": "25/7/1980, 1:35:33 am",
"es": "25/7/1980, 1:35:33",
"fr": "25/07/1980 01:35:33",
"ar": "25‏/7‏/1980، 1:35:33 ص",
"bn": "২৫/৭/১৯৮০, ১:৩৫:৩৩ AM",
"ru": "25.07.1980, 01:35:33",
"pt": "25/07/1980, 01:35:33",
"ur": "25/7/1980، 1:35:33 AM",
"id": "25/7/1980, 01.35.33",
"de": "25.7.1980, 01:35:33",
"ja": "1980/7/25 1:35:33",
"pcm": "25/7/1980 01:35:33",
"mr": "२५/७/१९८०, १:३५:३३ AM",
"te": "25/7/1980 1:35:33 AM"
},
"dateFormats": {
"en": "7/25/1980",
"zh": "1980/7/25",
"hi": "25/7/1980",
"es": "25/7/1980",
"fr": "25/07/1980",
"ar": "25‏/7‏/1980",
"bn": "২৫/৭/১৯৮০",
"ru": "25.07.1980",
"pt": "25/07/1980",
"ur": "25/7/1980",
"id": "25/7/1980",
"de": "25.7.1980",
"ja": "1980/7/25",
"pcm": "25/7/1980",
"mr": "२५/७/१९८०",
"te": "25/7/1980"
},
"displayNames": {
"en": "Switzerland",
"zh": "瑞士",
"hi": "स्विट्ज़रलैंड",
"es": "Suiza",
"fr": "Suisse",
"ar": "سويسرا",
"bn": "সুইজারল্যান্ড",
"ru": "Швейцария",
"pt": "Suíça",
"ur": "سوئٹزر لینڈ",
"id": "Swiss",
"de": "Schweiz",
"ja": "スイス",
"pcm": "Swítsaland",
"mr": "स्वित्झर्लंड",
"te": "స్విట్జర్లాండ్"
},
"numberFormats": {
"en": "275,760.913",
"zh": "275,760.913",
"hi": "2,75,760.913",
"es": "275.760,913",
"fr": "275 760,913",
"ar": "275,760.913",
"bn": "২,৭৫,৭৬০.৯১৩",
"ru": "275 760,913",
"pt": "275.760,913",
"ur": "275,760.913",
"id": "275.760,913",
"de": "275.760,913",
"ja": "275,760.913",
"pcm": "275,760.913",
"mr": "२,७५,७६०.९१३",
"te": "2,75,760.913"
},
"pluralRules": {
"en": "other",
"zh": "other",
"hi": "one",
"es": "other",
"fr": "one",
"ar": "zero",
"bn": "one",
"ru": "many",
"pt": "one",
"ur": "other",
"id": "other",
"de": "other",
"ja": "other",
"pcm": "one",
"mr": "other",
"te": "other"
},
"relativeTime": {
"en": "586,920.617 hours ago",
"zh": "586,920.617小时前",
"hi": "5,86,920.617 घंटे पहले",
"es": "hace 586.920,617 horas",
"fr": "il y a 586 920,617 heures",
"ar": "قبل 586,920.617 ساعة",
"bn": "৫,৮৬,৯২০.৬১৭ ঘন্টা আগে",
"ru": "586 920,617 часа назад",
"pt": "há 586.920,617 horas",
"ur": "586,920.617 گھنٹے پہلے",
"id": "586.920,617 jam yang lalu",
"de": "vor 586.920,617 Stunden",
"ja": "586,920.617 時間前",
"pcm": "586,920.617 áwa wé dọ́n pas",
"mr": "५,८६,९२०.६१७ तासांपूर्वी",
"te": "5,86,920.617 గంటల క్రితం"
}
}
Loading

0 comments on commit a364ec1

Please sign in to comment.