Samantaz Fox
|
0ba22ef391
|
I18n: Add a function to determine if a given locale is RTL
|
2023-07-06 00:23:22 +02:00 |
Samantaz Fox
|
4055c3bec8
|
i18n: Add Bengali, Catalan, Basque, Sinhala and Slovak
Add languages even if translation is <= 25%
|
2022-10-30 13:46:28 +01:00 |
Samantaz Fox
|
46891437e9
|
Add Estonian to i18n.cr
|
2022-05-21 18:39:49 +02:00 |
Samantaz Fox
|
9bd9dcc41c
|
Add Slovenian to i18n.cr
|
2022-05-04 22:36:31 +02:00 |
Samantaz Fox
|
a122286d48
|
Add Hindi to i18n.cr
|
2022-05-02 20:49:12 +02:00 |
AHOHNMYC
|
357ba2f4f6
|
Uppercase some first letters
|
2022-03-13 08:53:27 +03:00 |
Samantaz Fox
|
fd55b08a1d
|
Add albanian to the locales list
|
2022-02-22 00:17:18 +01:00 |
Dimitris Apostolou
|
7e4690e43c
|
Fix typos
|
2022-02-07 14:57:14 +02:00 |
Samantaz Fox
|
12b818a83c
|
Fix more 'Lint/ShadowingOuterLocalVar' warnings reported by ameba
|
2022-01-28 02:19:53 +01:00 |
Samantaz Fox
|
eb7e79fdf7
|
i18n: Apply code review suggestions + code cleaning
|
2022-01-10 22:49:07 +01:00 |
Samantaz Fox
|
5bb2cb7d71
|
i18n: Use plurals for video/view/subscriber/subscription counts
|
2022-01-10 22:49:07 +01:00 |
Samantaz Fox
|
7bb1471207
|
i18n: Add dedicated function for counts translation
|
2022-01-10 22:49:07 +01:00 |
Samantaz Fox
|
fc2b9031d4
|
i18n: Add Serbian back
|
2021-12-22 00:52:08 +01:00 |
Samantaz Fox
|
2ea0590b03
|
i18n: return 'key' if 'key' is not in locales files
|
2021-11-25 19:46:34 +01:00 |
Samantaz Fox
|
bf7952d9c7
|
i18n: log a warning instead of rising an exception
This is more user-friendly.
TODO: maybe make a compile time flag for testing purposes
|
2021-11-21 01:54:54 +01:00 |
Samantaz Fox
|
139786b9ef
|
i18n: pass only the ISO code string to 'translate()'
Don't use the whole Hash everywhere.
Also fall back nicely to english string if no translation exists.
|
2021-11-21 01:50:11 +01:00 |
Samantaz Fox
|
9966c21c6b
|
i18n: Add list of language names
|
2021-11-21 01:50:11 +01:00 |
Dmitry Sandalov
|
0e17d026f2
|
Feature Request: Localization for trending (fix lint CONTENT_REGIONS end comma)
|
2021-10-21 23:38:49 +03:00 |
Dmitry Sandalov
|
1d78d67af3
|
Feature Request: Localization for trending (move TRENDING_REGIONS to i18n.cr as CONTENT_REGIONS)
|
2021-10-21 22:30:49 +03:00 |
syeopite
|
73eabb6ca2
|
Actually fix lint
|
2021-10-02 08:53:58 -07:00 |
Samantaz Fox
|
5a52b4fe45
|
Fix lint
|
2021-10-02 17:41:25 +02:00 |
Samantaz Fox
|
caa08a6379
|
Disable locales with less than 50% of strings translated
|
2021-10-02 17:38:06 +02:00 |
Samantaz Fox
|
cd02078e26
|
Add Portuguese (pt) to locales
follow up to #2437
|
2021-10-02 17:19:28 +02:00 |
Samantaz Fox
|
bc937a6434
|
Add Korean (ko.json) to loaded locales
Required because of c83113d49b .
|
2021-07-26 00:15:32 +02:00 |
Samantaz Fox
|
c0e8feb66e
|
Add new and missing locales to i18n.cr
New locales: lt, vi
Missing: bn_BD, cs, da, eu, hu-HU, si, sk, sr, sr_Cyrl
|
2021-07-12 19:41:35 +02:00 |
syeopite
|
6c9dd8deb6
|
Change internal i18n key of sv-SE from sv to sv-SE
|
2021-06-13 06:23:18 -07:00 |
Samantaz Fox
|
cac5f20a28
|
Move locales definition to i18n.cr
|
2021-04-21 16:10:25 +02:00 |
Omar Roth
|
ca1185d0be
|
Fix warnings in latest version of Crystal
|
2020-04-09 12:18:09 -05:00 |
Omar Roth
|
ef309bd8d0
|
Translate value for 'familyFriendly'
|
2019-04-28 14:56:06 -05:00 |
Omar Roth
|
6cdb6ec711
|
Add support for plurlization to locales
|
2019-04-28 14:50:17 -05:00 |
Omar Roth
|
d06c5306be
|
Update i18n
|
2018-12-20 17:41:42 -06:00 |
Omar Roth
|
7596baf03b
|
Fix translation with non-existent locales
|
2018-12-20 16:59:46 -06:00 |
Omar Roth
|
a160c645c9
|
Add support for translations
|
2018-12-20 15:32:09 -06:00 |