trmnl-i18n 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/README.adoc +11 -4
  4. data/lib/trmnl/i18n/locales/custom_plugins/da.yml +14 -0
  5. data/lib/trmnl/i18n/locales/custom_plugins/de-AT.yml +14 -0
  6. data/lib/trmnl/i18n/locales/custom_plugins/de.yml +14 -0
  7. data/lib/trmnl/i18n/locales/custom_plugins/en.yml +14 -0
  8. data/lib/trmnl/i18n/locales/custom_plugins/es-ES.yml +14 -0
  9. data/lib/trmnl/i18n/locales/custom_plugins/fr.yml +14 -0
  10. data/lib/trmnl/i18n/locales/custom_plugins/he.yml +14 -0
  11. data/lib/trmnl/i18n/locales/custom_plugins/id.yml +14 -0
  12. data/lib/trmnl/i18n/locales/custom_plugins/it.yml +16 -2
  13. data/lib/trmnl/i18n/locales/custom_plugins/ja.yml +14 -0
  14. data/lib/trmnl/i18n/locales/custom_plugins/ko.yml +14 -0
  15. data/lib/trmnl/i18n/locales/custom_plugins/nl.yml +14 -0
  16. data/lib/trmnl/i18n/locales/custom_plugins/pl.yml +188 -0
  17. data/lib/trmnl/i18n/locales/custom_plugins/pt-BR.yml +14 -0
  18. data/lib/trmnl/i18n/locales/custom_plugins/raw.yml +14 -0
  19. data/lib/trmnl/i18n/locales/custom_plugins/sv.yml +188 -0
  20. data/lib/trmnl/i18n/locales/custom_plugins/uk.yml +14 -0
  21. data/lib/trmnl/i18n/locales/custom_plugins/zh-CN.yml +14 -0
  22. data/lib/trmnl/i18n/locales/custom_plugins/zh-HK.yml +14 -0
  23. data/lib/trmnl/i18n/locales/plugin_renders/da.yml +172 -0
  24. data/lib/trmnl/i18n/locales/plugin_renders/de-AT.yml +199 -27
  25. data/lib/trmnl/i18n/locales/plugin_renders/de.yml +199 -27
  26. data/lib/trmnl/i18n/locales/plugin_renders/en.yml +172 -0
  27. data/lib/trmnl/i18n/locales/plugin_renders/es-ES.yml +172 -0
  28. data/lib/trmnl/i18n/locales/plugin_renders/fr.yml +172 -0
  29. data/lib/trmnl/i18n/locales/plugin_renders/he.yml +172 -0
  30. data/lib/trmnl/i18n/locales/plugin_renders/id.yml +172 -0
  31. data/lib/trmnl/i18n/locales/plugin_renders/it.yml +203 -31
  32. data/lib/trmnl/i18n/locales/plugin_renders/ja.yml +172 -0
  33. data/lib/trmnl/i18n/locales/plugin_renders/ko.yml +172 -0
  34. data/lib/trmnl/i18n/locales/plugin_renders/nl.yml +172 -0
  35. data/lib/trmnl/i18n/locales/plugin_renders/no.yml +172 -0
  36. data/lib/trmnl/i18n/locales/plugin_renders/pl.yml +399 -0
  37. data/lib/trmnl/i18n/locales/plugin_renders/pt-BR.yml +172 -0
  38. data/lib/trmnl/i18n/locales/plugin_renders/raw.yml +172 -0
  39. data/lib/trmnl/i18n/locales/plugin_renders/sv.yml +217 -0
  40. data/lib/trmnl/i18n/locales/plugin_renders/uk.yml +172 -0
  41. data/lib/trmnl/i18n/locales/plugin_renders/zh-CN.yml +172 -0
  42. data/lib/trmnl/i18n/locales/plugin_renders/zh-HK.yml +172 -0
  43. data/lib/trmnl/i18n/locales/web_ui/da.yml +107 -9
  44. data/lib/trmnl/i18n/locales/web_ui/de-AT.yml +215 -117
  45. data/lib/trmnl/i18n/locales/web_ui/de.yml +215 -117
  46. data/lib/trmnl/i18n/locales/web_ui/en-GB.yml +492 -0
  47. data/lib/trmnl/i18n/locales/web_ui/en.yml +109 -13
  48. data/lib/trmnl/i18n/locales/web_ui/es-ES.yml +183 -85
  49. data/lib/trmnl/i18n/locales/web_ui/fr.yml +107 -9
  50. data/lib/trmnl/i18n/locales/web_ui/he.yml +109 -11
  51. data/lib/trmnl/i18n/locales/web_ui/id.yml +107 -9
  52. data/lib/trmnl/i18n/locales/web_ui/it.yml +163 -65
  53. data/lib/trmnl/i18n/locales/web_ui/ja.yml +107 -9
  54. data/lib/trmnl/i18n/locales/web_ui/ko.yml +190 -92
  55. data/lib/trmnl/i18n/locales/web_ui/nl.yml +107 -9
  56. data/lib/trmnl/i18n/locales/web_ui/no.yml +107 -9
  57. data/lib/trmnl/i18n/locales/web_ui/pl.yml +674 -0
  58. data/lib/trmnl/i18n/locales/web_ui/pt-BR.yml +107 -9
  59. data/lib/trmnl/i18n/locales/web_ui/raw.yml +105 -9
  60. data/lib/trmnl/i18n/locales/web_ui/sv.yml +492 -0
  61. data/lib/trmnl/i18n/locales/web_ui/uk.yml +108 -10
  62. data/lib/trmnl/i18n/locales/web_ui/zh-CN.yml +107 -9
  63. data/lib/trmnl/i18n/locales/web_ui/zh-HK.yml +106 -8
  64. data/lib/trmnl/i18n/railtie.rb +1 -5
  65. data/lib/trmnl/i18n.rb +7 -0
  66. data/trmnl-i18n.gemspec +2 -2
  67. data.tar.gz.sig +0 -0
  68. metadata +10 -3
  69. metadata.gz.sig +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc35d21ca99443bd0d4cdd37bd93a7121680e81b253ea077691140aac04b1f71
4
- data.tar.gz: 73e910d1ed4a98077dc258e2a3d8f4250244e4a804ad7e6c411ad7e3d3d8b94d
3
+ metadata.gz: c6b6e95f1531b2fa03802ecd09cac6bcaa6b5e012ba544cfa2b97cc08be5ad5e
4
+ data.tar.gz: 1d8bce4854c4a995dffd5220aeffadb4624e119202b883642328ca2403c64a0d
5
5
  SHA512:
6
- metadata.gz: ee4379f73d47d1e2356b9bab66277720c30b46dd4771c2a7911bdbf244adca3347d570879847ba8e8eab7687d99e93813a47df5033ae17bb54e8f4584d8aed30
7
- data.tar.gz: 0f8491da94e4f9c8c01fd7d2933f82f97eb3ed3320d2a016edbe5e6130d2c7ece284ef76ca417f23c1c99cc55bdabcbff0457818b36a19cd65fee28076a70816
6
+ metadata.gz: 834a888e6c4a15bb356930aeebef6506a7d4f3f1d1e2871a95139683c3ab4ea50165c02d11e1775444ffd731763a124253fb1da24988cb5591e9b9400c3f7144
7
+ data.tar.gz: 44b8b094c11401edb06d3a1f2efa5b16ca107b4962aa3b78264e492d4cf6ff03d6e116002eaf810d081fead43f3cea21018f16c4fbd3fed3040dd31017b3c95e
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -15,7 +15,7 @@ toc::[]
15
15
  == Contributions
16
16
 
17
17
  1. Fork this repository.
18
- 2. Follow the link:https://github.com/usetrmnl/localizations/blob/master/GUIDE.md[guide].
18
+ 2. Follow the link:https://github.com/usetrmnl/localizations/blob/main/GUIDE.md[guide].
19
19
 
20
20
  == Requirements
21
21
 
@@ -55,6 +55,13 @@ Once the gem is installed, you only need to require it:
55
55
  require "trmnl/i18n"
56
56
  ----
57
57
 
58
+ If you are using this gem in a non-Rails application, you will need to manually load the locales during the application's initialization.
59
+
60
+ [source,ruby]
61
+ ----
62
+ TRMNL::I18n.load_locales
63
+ ----
64
+
58
65
  == Usage
59
66
 
60
67
  This gem is a {ror_link} Railtie that follows {i18n_link} conventions allowing you to customize country locales. You only need to include this gem, as documented in the xref:_setup[Setup] section, to automatically load and use these locales. That's it!
@@ -115,11 +122,11 @@ That's it!
115
122
 
116
123
  == Credits
117
124
 
118
- * German via @ramdacxp, @philippbosch, @yannicschuller, @MaxDev98, @IngmarStein
119
- * Spanish (Spain) via @joesfer, @jeff-foster
125
+ * German via @ramdacxp, @philippbosch, @yannicschuller, @MaxDev98, @IngmarStein, @DavidOrtmann
126
+ * Spanish (Spain) via @joesfer, @jeff-foster, @fixmycode
120
127
  * French via @theogiraudet, @MarvinNTA
121
128
  * Indonesian via @Adekabang
122
- * Italian via @danieleb-podero
129
+ * Italian via @danieleb-podero, @Stefifox
123
130
  * Japanese via Hiroyuki Miyoshi, @liahsheep
124
131
  * Korean via @i-say-young
125
132
  * Portuguese via @danielsitnik
@@ -3,6 +3,20 @@ da:
3
3
  custom_plugins:
4
4
  today: i dag
5
5
  tomorrow: i morgen
6
+ updated: Updated
7
+ activity: Activity
8
+ done: Done
9
+ due: Due
10
+ deutsche_bahn_departures:
11
+ time: Time
12
+ destination: Destination
13
+ platform: Platform
14
+ delay: Delay
15
+ train: Train
16
+ on_time: On time
17
+ cancelled: Cancelled
18
+ minutes: m
19
+ refreshed: Refreshed
6
20
  simple_calendar:
7
21
  title: Kalender
8
22
  ym_format: "%B %Y"
@@ -3,6 +3,20 @@ de-AT:
3
3
  custom_plugins:
4
4
  today: Heute
5
5
  tomorrow: Morgen
6
+ updated: Updated
7
+ activity: Activity
8
+ done: Done
9
+ due: Due
10
+ deutsche_bahn_departures:
11
+ time: Zeit
12
+ destination: Ziel
13
+ platform: Gleis
14
+ delay: Versp.
15
+ train: Zug
16
+ on_time: pünktl.
17
+ cancelled: fällt aus
18
+ minutes: Min.
19
+ refreshed: aktualisiert
6
20
  simple_calendar:
7
21
  title: Kalender
8
22
  ym_format: "%B %Y"
@@ -3,6 +3,20 @@ de:
3
3
  custom_plugins:
4
4
  today: Heute
5
5
  tomorrow: Morgen
6
+ updated: Aktualisiert
7
+ activity: Aktivität
8
+ done: Erledigt
9
+ due: Fällig
10
+ deutsche_bahn_departures:
11
+ time: Zeit
12
+ destination: Ziel
13
+ platform: Gleis
14
+ delay: Versp.
15
+ train: Zug
16
+ on_time: pünktl.
17
+ cancelled: fällt aus
18
+ minutes: Min.
19
+ refreshed: aktualisiert
6
20
  simple_calendar:
7
21
  title: Kalender
8
22
  ym_format: "%B %Y"
@@ -3,6 +3,20 @@ en:
3
3
  custom_plugins:
4
4
  today: today
5
5
  tomorrow: tomorrow
6
+ updated: Updated
7
+ activity: Activity
8
+ done: Done
9
+ due: Due
10
+ deutsche_bahn_departures:
11
+ time: Time
12
+ destination: Destination
13
+ platform: Platform
14
+ delay: Delay
15
+ train: Train
16
+ on_time: On time
17
+ cancelled: Cancelled
18
+ minutes: m
19
+ refreshed: Refreshed
6
20
  simple_calendar:
7
21
  title: Calendar
8
22
  ym_format: "%B %Y"
@@ -3,6 +3,20 @@ es-ES:
3
3
  custom_plugins:
4
4
  today: hoy
5
5
  tomorrow: mañana
6
+ updated: Actualizado
7
+ activity: Actividad
8
+ done: Realizada
9
+ due: Pendiente
10
+ deutsche_bahn_departures:
11
+ time: Time
12
+ destination: Destination
13
+ platform: Platform
14
+ delay: Delay
15
+ train: Train
16
+ on_time: On time
17
+ cancelled: Cancelled
18
+ minutes: m
19
+ refreshed: Refreshed
6
20
  simple_calendar:
7
21
  title: Calendario
8
22
  ym_format: "%B %Y"
@@ -3,6 +3,20 @@ fr:
3
3
  custom_plugins:
4
4
  today: aujourd'hui
5
5
  tomorrow: demain
6
+ updated: Mise à jour
7
+ activity: Activité
8
+ done: Réalisé
9
+ due: A échéance
10
+ deutsche_bahn_departures:
11
+ time: Time
12
+ destination: Destination
13
+ platform: Platform
14
+ delay: Delay
15
+ train: Train
16
+ on_time: On time
17
+ cancelled: Cancelled
18
+ minutes: m
19
+ refreshed: Refreshed
6
20
  simple_calendar:
7
21
  title: Calendrier
8
22
  ym_format: "%B %Y"
@@ -3,6 +3,20 @@ he:
3
3
  custom_plugins:
4
4
  today: היום
5
5
  tomorrow: מחר
6
+ updated: Updated
7
+ activity: Activity
8
+ done: Done
9
+ due: Due
10
+ deutsche_bahn_departures:
11
+ time: Time
12
+ destination: Destination
13
+ platform: Platform
14
+ delay: Delay
15
+ train: Train
16
+ on_time: On time
17
+ cancelled: Cancelled
18
+ minutes: m
19
+ refreshed: Refreshed
6
20
  simple_calendar:
7
21
  title: לוח שנה
8
22
  ym_format: "%B %Y"
@@ -3,6 +3,20 @@ id:
3
3
  custom_plugins:
4
4
  today: today
5
5
  tomorrow: tomorrow
6
+ updated: Updated
7
+ activity: Activity
8
+ done: Done
9
+ due: Due
10
+ deutsche_bahn_departures:
11
+ time: Time
12
+ destination: Destination
13
+ platform: Platform
14
+ delay: Delay
15
+ train: Train
16
+ on_time: On time
17
+ cancelled: Cancelled
18
+ minutes: m
19
+ refreshed: Refreshed
6
20
  simple_calendar:
7
21
  title: Kalender
8
22
  ym_format: "%B %Y"
@@ -1,8 +1,22 @@
1
1
  ---
2
2
  it:
3
3
  custom_plugins:
4
- today: today
5
- tomorrow: tomorrow
4
+ today: Oggi
5
+ tomorrow: Domani
6
+ updated: Aggiornato
7
+ activity: Attività
8
+ done: Finito
9
+ due: Scadenza
10
+ deutsche_bahn_departures:
11
+ time: Time
12
+ destination: Destination
13
+ platform: Piattaforma
14
+ delay: Ritardo
15
+ train: Treno
16
+ on_time: In Tempo
17
+ cancelled: Cancellato
18
+ minutes: m
19
+ refreshed: Aggiornato
6
20
  simple_calendar:
7
21
  title: Calendario
8
22
  ym_format: "%B %Y"
@@ -3,6 +3,20 @@ ja:
3
3
  custom_plugins:
4
4
  today: 今日
5
5
  tomorrow: 明日
6
+ updated: Updated
7
+ activity: Activity
8
+ done: Done
9
+ due: Due
10
+ deutsche_bahn_departures:
11
+ time: Time
12
+ destination: Destination
13
+ platform: Platform
14
+ delay: Delay
15
+ train: Train
16
+ on_time: On time
17
+ cancelled: Cancelled
18
+ minutes: m
19
+ refreshed: Refreshed
6
20
  simple_calendar:
7
21
  title: カレンダー
8
22
  ym_format: "%Y年%-m月"
@@ -3,6 +3,20 @@ ko:
3
3
  custom_plugins:
4
4
  today: 오늘
5
5
  tomorrow: 내일
6
+ updated: Updated
7
+ activity: Activity
8
+ done: Done
9
+ due: Due
10
+ deutsche_bahn_departures:
11
+ time: Time
12
+ destination: Destination
13
+ platform: Platform
14
+ delay: Delay
15
+ train: Train
16
+ on_time: On time
17
+ cancelled: Cancelled
18
+ minutes: m
19
+ refreshed: Refreshed
6
20
  simple_calendar:
7
21
  title: 캘린더
8
22
  ym_format: "%Y년 %-m월"
@@ -3,6 +3,20 @@ nl:
3
3
  custom_plugins:
4
4
  today: vandaag
5
5
  tomorrow: morgen
6
+ updated: Bijgewerkt
7
+ activity: Activiteit
8
+ done: Gedaan
9
+ due: Verschuldigd
10
+ deutsche_bahn_departures:
11
+ time: Time
12
+ destination: Destination
13
+ platform: Platform
14
+ delay: Delay
15
+ train: Train
16
+ on_time: On time
17
+ cancelled: Cancelled
18
+ minutes: m
19
+ refreshed: Refreshed
6
20
  simple_calendar:
7
21
  title: Kalender
8
22
  ym_format: "%B %Y"
@@ -0,0 +1,188 @@
1
+ ---
2
+ pl:
3
+ custom_plugins:
4
+ today: today
5
+ tomorrow: tomorrow
6
+ updated: Updated
7
+ activity: Activity
8
+ done: Done
9
+ due: Due
10
+ deutsche_bahn_departures:
11
+ time: Time
12
+ destination: Destination
13
+ platform: Platform
14
+ delay: Delay
15
+ train: Train
16
+ on_time: On time
17
+ cancelled: Cancelled
18
+ minutes: m
19
+ refreshed: Refreshed
20
+ simple_calendar:
21
+ title: Calendar
22
+ ym_format: "%B %Y"
23
+ chinese_korean:
24
+ leap_format: Leap %{month_label}
25
+ leap_format_short: LM%{alt_month}
26
+ ym_format: ", %{leap_month_label} %{heavenly_stem} %{earthly_branch}"
27
+ month_labels:
28
+ -
29
+ - M1
30
+ - M2
31
+ - M3
32
+ - M4
33
+ - M5
34
+ - M6
35
+ - M7
36
+ - M8
37
+ - M9
38
+ - M10
39
+ - M11
40
+ - M12
41
+ date_labels:
42
+ -
43
+ - '1'
44
+ - '2'
45
+ - '3'
46
+ - '4'
47
+ - '5'
48
+ - '6'
49
+ - '7'
50
+ - '8'
51
+ - '9'
52
+ - '10'
53
+ - '11'
54
+ - '12'
55
+ - '13'
56
+ - '14'
57
+ - '15'
58
+ - '16'
59
+ - '17'
60
+ - '18'
61
+ - '19'
62
+ - '20'
63
+ - '21'
64
+ - '22'
65
+ - '23'
66
+ - '24'
67
+ - '25'
68
+ - '26'
69
+ - '27'
70
+ - '28'
71
+ - '29'
72
+ - '30'
73
+ heavenly_stems:
74
+ - Wood
75
+ - Wood
76
+ - Fire
77
+ - Fire
78
+ - Earth
79
+ - Earth
80
+ - Metal
81
+ - Metal
82
+ - Water
83
+ - Water
84
+ earthly_branches:
85
+ - Rat
86
+ - Ox
87
+ - Tiger
88
+ - Rabbit
89
+ - Dragon
90
+ - Snake
91
+ - Horse
92
+ - Goat
93
+ - Monkey
94
+ - Rooster
95
+ - Dog
96
+ - Pig
97
+ japanese:
98
+ rokuyo_terms:
99
+ - 先勝
100
+ - 友引
101
+ - 先負
102
+ - 仏滅
103
+ - 大安
104
+ - 赤口
105
+ nengo:
106
+ reiwa: Reiwa
107
+ ym_format: "%B %Y (%{nengo} %{alt_year})"
108
+ year_1: '1'
109
+ hebrew:
110
+ ym_format: ", %{month_label} %{alt_year}"
111
+ month_labels:
112
+ - Nisan
113
+ - Iyar
114
+ - Sivan
115
+ - Tamuz
116
+ - Av
117
+ - Elul
118
+ - Tishri
119
+ - Heshvan
120
+ - Kislev
121
+ - Tevet
122
+ - Shevat
123
+ - Adar
124
+ - Adar I
125
+ - Adar II
126
+ month_labels_abbr:
127
+ - Nis
128
+ - Iya
129
+ - Siv
130
+ - Tam
131
+ - Av
132
+ - Elu
133
+ - Tis
134
+ - Hes
135
+ - Kis
136
+ - Tev
137
+ - Shv
138
+ - Ada
139
+ - Ad1
140
+ - Ad2
141
+ hijri:
142
+ ym_format: ", %{month_label} %{alt_year}"
143
+ month_labels:
144
+ -
145
+ - Muharram
146
+ - Safar
147
+ - Rabiʻ I
148
+ - Rabiʻ II
149
+ - Jumada I
150
+ - Jumada II
151
+ - Rajab
152
+ - Shaʻban
153
+ - Ramadan
154
+ - Shawwal
155
+ - Dhuʻl-Qiʻdah
156
+ - Dhuʻl-Hijjah
157
+ bengali:
158
+ ym_format: ", %{month_label} %{alt_year}"
159
+ month_labels:
160
+ -
161
+ - Boishakh
162
+ - Joishtho
163
+ - Asharh
164
+ - Srabon
165
+ - Bhadro
166
+ - Ashwin
167
+ - Kartika
168
+ - Ogrohayon
169
+ - Poush
170
+ - Magh
171
+ - Falgun
172
+ - Choitro
173
+ indian:
174
+ ym_format: ", %{month_label} %{alt_year}"
175
+ month_labels:
176
+ -
177
+ - Chaitra
178
+ - Vaisakha
179
+ - Jyaistha
180
+ - Asadha
181
+ - Sravana
182
+ - Bhadra
183
+ - Asvina
184
+ - Kartika
185
+ - Agrahayana
186
+ - Pausa
187
+ - Magha
188
+ - Phalguna
@@ -3,6 +3,20 @@ pt-BR:
3
3
  custom_plugins:
4
4
  today: hoje
5
5
  tomorrow: amanhã
6
+ updated: Updated
7
+ activity: Activity
8
+ done: Done
9
+ due: Due
10
+ deutsche_bahn_departures:
11
+ time: Time
12
+ destination: Destination
13
+ platform: Platform
14
+ delay: Delay
15
+ train: Train
16
+ on_time: On time
17
+ cancelled: Cancelled
18
+ minutes: m
19
+ refreshed: Refreshed
6
20
  simple_calendar:
7
21
  title: Calendário
8
22
  ym_format: "%B de %Y"
@@ -3,6 +3,20 @@ raw:
3
3
  custom_plugins:
4
4
  today: today
5
5
  tomorrow: tomorrow
6
+ updated: custom_plugins.updated
7
+ activity: custom_plugins.activity
8
+ done: custom_plugins.done
9
+ due: custom_plugins.due
10
+ deutsche_bahn_departures:
11
+ time: Time
12
+ destination: Destination
13
+ platform: Platform
14
+ delay: Delay
15
+ train: Train
16
+ on_time: On time
17
+ cancelled: Cancelled
18
+ minutes: m
19
+ refreshed: Refreshed
6
20
  simple_calendar:
7
21
  title: Calendar
8
22
  ym_format: "%B %Y"