Skip to content

Commit

Permalink
Merge branch 'master' into ordinals
Browse files Browse the repository at this point in the history
  • Loading branch information
c960657 authored Feb 28, 2024
2 parents 2eed733 + 3fbb72c commit cf00b79
Show file tree
Hide file tree
Showing 20 changed files with 360 additions and 85 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
## unreleased

- Add following locales:
- Welsh (cy)
- Fix empty `am` and `pm` keys to make dates/times in the 12-hour time format distinguishable in every locale #1105
- Update following locales:
- Afrikaans (af): Fix translation of May #1110
- Czech (cs): Capitalise date day and month names for consistency #1113
- Traditional Chinese (zh-HK, zh-TW, zh-YUE): Use traditional "week" character in `date.abbr_day_names` #1112
- Italian (it): Fix translation for `second` prompt #1111
- Bosnian (bs): am/pm
- Danish (da): am/pm
- Galician (gl): am/pm
- Icelandic (is): am/pm
- Norwegian Bokmål (nb): am/pm
- Norwegian Nynorsk (nn): am/pm
- Portuguese (pt-BR): am/pm
- Romanian (ro): am/pm
- Swedish (sv sv-FI sv-SE): am/pm
- Welsh (cy): Move the keys to right place and add missing keys
- Add ordinalization for many locales (be, bs, cs, da, de-AT, de-CH, de-DE, eo, et, fa, fi, hr, hu, is, ka,
lb, lt, lv, mk, nb, ne, nn, pl, sk, sl, sq, sr, sw, tr) #1109

Expand Down
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Locale data whose structure is compatible with Rails 2.3 are available on the se

**Available locales:**

af, ar, az, be, bg, bn, bs, ca, cs, csb, da, de, de-AT, de-CH, de-DE, dsb, dz, el, el-CY, en, en-AU, en-CA, en-CY, en-GB, en-IE, en-IN, en-NZ, en-TT, en-US, en-ZA, eo, es, es-419, es-AR, es-CL, es-CO, es-CR, es-EC, es-ES, es-MX, es-NI, es-PA, es-PE, es-US, es-VE, et, eu, fa, fi, fr, fr-CA, fr-CH, fr-FR, fur, fy, gd, gl, gsw-CH, he, hi, hi-IN, hr, hsb, hu, id, is, it, it-CH, ja, ka, kk, km, kn, ko, lb, lo, lt, lv, mg, mk, ml, mn, mr-IN, ms, nb, ne, nl, nn, oc, or, pa, pap-AW, pap-CW, pl, pt, pt-BR, rm, ro, ru, sc, scr, sk, sl, sq, sr, st, sv, sv-FI, sv-SE, sw, ta, te, th, tl, tr, tt, ug, uk, ur, uz, vi, wo, zh-CN, zh-HK, zh-TW, zh-YUE
af, ar, az, be, bg, bn, bs, ca, cs, cy, csb, da, de, de-AT, de-CH, de-DE, dsb, dz, el, el-CY, en, en-AU, en-CA, en-CY, en-GB, en-IE, en-IN, en-NZ, en-TT, en-US, en-ZA, eo, es, es-419, es-AR, es-CL, es-CO, es-CR, es-EC, es-ES, es-MX, es-NI, es-PA, es-PE, es-US, es-VE, et, eu, fa, fi, fr, fr-CA, fr-CH, fr-FR, fur, fy, gd, gl, gsw-CH, he, hi, hi-IN, hr, hsb, hu, id, is, it, it-CH, ja, ka, kk, km, kn, ko, lb, lo, lt, lv, mg, mk, ml, mn, mr-IN, ms, nb, ne, nl, nn, oc, or, pa, pap-AW, pap-CW, pl, pt, pt-BR, rm, ro, ru, sc, scr, sk, sl, sq, sr, st, sv, sv-FI, sv-SE, sw, ta, te, th, tl, tr, tt, ug, uk, ur, uz, vi, wo, zh-CN, zh-HK, zh-TW, zh-YUE

**Complete locales:**

Expand All @@ -98,14 +98,6 @@ en, en-US, es, es-419, es-AR, es-CL, es-CO, es-CR, es-EC, es-ES, es-MX, es-NI, e

af, csb, dsb, dz, fur, gsw-CH, lb, rm, scr, sq, sv-FI, te, tt, ug, uz

**Removed locales:**

cy

The cy locale was removed in commit 84f6c6b9b7a3e50df2b1fb1ccf7add329f7eab4f since unfortunately we could not find a Welsh speaker to support it.
We would welcome contributions to add it back to the project.
The locale is mostly complete for the missing translations please refer to [#1006](https://github.com/svenfuchs/rails-i18n/issues/1006)

**Removed pluralizations:**

ak, am, bh, bm, bo, br, by, cy, dz, ff, ga, gd, guw, gv, ig, ii, iu, jv, kab, kde, kea, ksh, kw, lag, ln, mo, mt, my, naq, nso, root, sah, se, ses, sg, sh, shi, sma, smi, smj, smn, sms, ti, to, tzm, wa, yo, zh
Expand Down
2 changes: 1 addition & 1 deletion rails/locale/af.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ af:
- Februarie
- Maart
- April
- Mai
- Mei
- Junie
- Julie
- Augustus
Expand Down
4 changes: 2 additions & 2 deletions rails/locale/bs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ bs:
two_words_connector: " i "
words_connector: ", "
time:
am: ''
am: am
formats:
default: "%d.%m.%Y. %H:%M:%S"
long: "%d. %B %Y. - %H:%M:%S"
short: "%d. %b %Y. %H:%M"
pm: ''
pm: pm
62 changes: 31 additions & 31 deletions rails/locale/cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,44 +18,44 @@ cs:
- So
abbr_month_names:
-
- led
- úno
- bře
- dub
- kvě
- čvn
- čvc
- srp
- zář
- říj
- lis
- pro
- Led
- Úno
- Bře
- Dub
- Kvě
- Čvn
- Čvc
- Srp
- Zář
- Říj
- Lis
- Pro
day_names:
- neděle
- pondělí
- úterý
- středa
- čtvrtek
- pátek
- sobota
- Neděle
- Pondělí
- Úterý
- Středa
- Čtvrtek
- Pátek
- Sobota
formats:
default: "%d. %m. %Y"
long: "%d. %B %Y"
short: "%d %b"
month_names:
-
- leden
- únor
- březen
- duben
- květen
- červen
- červenec
- srpen
- září
- říjen
- listopad
- prosinec
- Leden
- Únor
- Březen
- Duben
- Květen
- Červen
- Červenec
- Srpen
- Září
- Říjen
- Listopad
- Prosinec
order:
- :day
- :month
Expand Down
Loading

0 comments on commit cf00b79

Please sign in to comment.