trmnl-i18n 0.1.0 → 0.3.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 (70) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/README.adoc +8 -10
  4. data/lib/trmnl/i18n/locales/custom_plugins/da.yml +46 -36
  5. data/lib/trmnl/i18n/locales/custom_plugins/de-AT.yml +46 -36
  6. data/lib/trmnl/i18n/locales/custom_plugins/de.yml +46 -36
  7. data/lib/trmnl/i18n/locales/custom_plugins/en.yml +46 -36
  8. data/lib/trmnl/i18n/locales/custom_plugins/es-ES.yml +46 -36
  9. data/lib/trmnl/i18n/locales/custom_plugins/fr.yml +46 -36
  10. data/lib/trmnl/i18n/locales/custom_plugins/he.yml +46 -36
  11. data/lib/trmnl/i18n/locales/custom_plugins/id.yml +46 -36
  12. data/lib/trmnl/i18n/locales/custom_plugins/it.yml +48 -38
  13. data/lib/trmnl/i18n/locales/custom_plugins/ja.yml +45 -35
  14. data/lib/trmnl/i18n/locales/custom_plugins/ko.yml +46 -36
  15. data/lib/trmnl/i18n/locales/custom_plugins/nl.yml +46 -36
  16. data/lib/trmnl/i18n/locales/custom_plugins/pl.yml +188 -0
  17. data/lib/trmnl/i18n/locales/custom_plugins/pt-BR.yml +46 -36
  18. data/lib/trmnl/i18n/locales/custom_plugins/raw.yml +46 -36
  19. data/lib/trmnl/i18n/locales/custom_plugins/sv.yml +188 -0
  20. data/lib/trmnl/i18n/locales/custom_plugins/uk.yml +46 -36
  21. data/lib/trmnl/i18n/locales/custom_plugins/zh-CN.yml +15 -5
  22. data/lib/trmnl/i18n/locales/custom_plugins/zh-HK.yml +15 -5
  23. data/lib/trmnl/i18n/locales/plugin_renders/da.yml +201 -5
  24. data/lib/trmnl/i18n/locales/plugin_renders/de-AT.yml +206 -10
  25. data/lib/trmnl/i18n/locales/plugin_renders/de.yml +206 -10
  26. data/lib/trmnl/i18n/locales/plugin_renders/en.yml +200 -4
  27. data/lib/trmnl/i18n/locales/plugin_renders/es-ES.yml +200 -3
  28. data/lib/trmnl/i18n/locales/plugin_renders/fr.yml +200 -4
  29. data/lib/trmnl/i18n/locales/plugin_renders/he.yml +201 -5
  30. data/lib/trmnl/i18n/locales/plugin_renders/id.yml +200 -4
  31. data/lib/trmnl/i18n/locales/plugin_renders/it.yml +212 -16
  32. data/lib/trmnl/i18n/locales/plugin_renders/ja.yml +200 -4
  33. data/lib/trmnl/i18n/locales/plugin_renders/ko.yml +200 -4
  34. data/lib/trmnl/i18n/locales/plugin_renders/nl.yml +200 -4
  35. data/lib/trmnl/i18n/locales/plugin_renders/no.yml +201 -5
  36. data/lib/trmnl/i18n/locales/plugin_renders/pl.yml +399 -0
  37. data/lib/trmnl/i18n/locales/plugin_renders/pt-BR.yml +200 -4
  38. data/lib/trmnl/i18n/locales/plugin_renders/raw.yml +200 -4
  39. data/lib/trmnl/i18n/locales/plugin_renders/sv.yml +217 -0
  40. data/lib/trmnl/i18n/locales/plugin_renders/uk.yml +200 -4
  41. data/lib/trmnl/i18n/locales/plugin_renders/zh-CN.yml +200 -4
  42. data/lib/trmnl/i18n/locales/plugin_renders/zh-HK.yml +200 -4
  43. data/lib/trmnl/i18n/locales/web_ui/da.yml +116 -33
  44. data/lib/trmnl/i18n/locales/web_ui/de-AT.yml +224 -142
  45. data/lib/trmnl/i18n/locales/web_ui/de.yml +224 -142
  46. data/lib/trmnl/i18n/locales/web_ui/en-GB.yml +479 -0
  47. data/lib/trmnl/i18n/locales/web_ui/en.yml +133 -53
  48. data/lib/trmnl/i18n/locales/web_ui/es-ES.yml +200 -118
  49. data/lib/trmnl/i18n/locales/web_ui/fr.yml +128 -46
  50. data/lib/trmnl/i18n/locales/web_ui/he.yml +132 -50
  51. data/lib/trmnl/i18n/locales/web_ui/id.yml +129 -47
  52. data/lib/trmnl/i18n/locales/web_ui/it.yml +177 -95
  53. data/lib/trmnl/i18n/locales/web_ui/ja.yml +133 -51
  54. data/lib/trmnl/i18n/locales/web_ui/ko.yml +204 -122
  55. data/lib/trmnl/i18n/locales/web_ui/nl.yml +129 -47
  56. data/lib/trmnl/i18n/locales/web_ui/no.yml +114 -35
  57. data/lib/trmnl/i18n/locales/web_ui/pl.yml +661 -0
  58. data/lib/trmnl/i18n/locales/web_ui/pt-BR.yml +132 -50
  59. data/lib/trmnl/i18n/locales/web_ui/raw.yml +109 -29
  60. data/lib/trmnl/i18n/locales/web_ui/sv.yml +479 -0
  61. data/lib/trmnl/i18n/locales/web_ui/uk.yml +135 -53
  62. data/lib/trmnl/i18n/locales/web_ui/zh-CN.yml +130 -48
  63. data/lib/trmnl/i18n/locales/web_ui/zh-HK.yml +152 -70
  64. data/lib/trmnl/i18n/synchronization/processor.rb +56 -0
  65. data/lib/trmnl/i18n/synchronization/repo.rb +43 -0
  66. data/lib/trmnl/i18n/synchronization/value_reducer.rb +23 -0
  67. data/trmnl-i18n.gemspec +3 -3
  68. data.tar.gz.sig +0 -0
  69. metadata +28 -19
  70. metadata.gz.sig +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59ddae3d741b34f755daf591d1b701204832b2226c70a874b45157ab0262fa73
4
- data.tar.gz: '0383f8153b04e72fb7f1c48654a8c84b9f1dac720961c5bb601abb72e8483d61'
3
+ metadata.gz: c89aa898b70329de018c0b976fa12bcb2fd8c78522ec4e3fc437b93e379982fb
4
+ data.tar.gz: 9f5baf0ff8da9390261e6e827cf88ba98f0c0b719f4731513c8012a0f6e24c40
5
5
  SHA512:
6
- metadata.gz: d5781161d7d0e9a517960faea260e0d77159f69aac4cd14e4645a1121fe7772fba5e562f6025091b81d53753aa1d160cd8f2cb06bea5d71e9cbcaa434d772a14
7
- data.tar.gz: b9f78dfa87bb02cdcb60795f23ef6822ab454367b03871e1ecef444f422a2321eeae3b23c46ef618f0b27b8c41da3d13dbdc9e3faed670d4917b1c3a8c0acab7
6
+ metadata.gz: f6abcb47d77a230c1717b0cf682e7a85d8aa8bb2519cda45b32bd52ca487b5dc2b9c56c92e593eb1581c982043c02f15e24473386c934b7100d48b7437d2f359
7
+ data.tar.gz: 5812dc8cfa63e60f80662c751670897e8967fb388ed70933fb428ca0019e6fa1aa9c21bdf029e54c828b560ccf678357f8d84841d206c16f7c3014f9d76fa505
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -12,9 +12,10 @@ This is the complete collection locales for {trmnl_link} internationalization.
12
12
 
13
13
  toc::[]
14
14
 
15
- == Features
15
+ == Contributions
16
16
 
17
- * Enhances your application with TRMNL specific localizations.
17
+ 1. Fork this repository.
18
+ 2. Follow the link:https://github.com/usetrmnl/localizations/blob/main/GUIDE.md[guide].
18
19
 
19
20
  == Requirements
20
21
 
@@ -76,6 +77,8 @@ You can also use the IRB console for direct access to all objects:
76
77
  bin/console
77
78
  ----
78
79
 
80
+ To add new locale keys, first add them to the `en.yml` files in each folder. Then run `bin/sync` to update all other languages. The default source locale is always `en` but you can supply a specific locale if you like. For example, if wanting to use French as the default source locale, run: `bin/sync fr`.
81
+
79
82
  To test within a Rails app for local development purposes, you can do the following:
80
83
 
81
84
  . Create a feature branch and add your new locales.
@@ -110,18 +113,13 @@ gemsmith --publish
110
113
 
111
114
  That's it!
112
115
 
113
- == Contributions
114
-
115
- 1. Fork this repository.
116
- 2. Follow the link:https://github.com/usetrmnl/localizations/blob/master/GUIDE.md[guide].
117
-
118
116
  == Credits
119
117
 
120
- * German via @ramdacxp, @philippbosch, @yannicschuller, @MaxDev98, @IngmarStein
121
- * Spanish (Spain) via @joesfer, @jeff-foster
118
+ * German via @ramdacxp, @philippbosch, @yannicschuller, @MaxDev98, @IngmarStein, @DavidOrtmann
119
+ * Spanish (Spain) via @joesfer, @jeff-foster, @fixmycode
122
120
  * French via @theogiraudet, @MarvinNTA
123
121
  * Indonesian via @Adekabang
124
- * Italian via @danieleb-podero
122
+ * Italian via @danieleb-podero, @Stefifox
125
123
  * Japanese via Hiroyuki Miyoshi, @liahsheep
126
124
  * Korean via @i-say-young
127
125
  * Portuguese via @danielsitnik
@@ -1,12 +1,22 @@
1
+ ---
1
2
  da:
2
- # namespace to not interfere with other localizations
3
3
  custom_plugins:
4
-
5
- # generic words and phrases to make custom plugins more accessible
6
4
  today: i dag
7
5
  tomorrow: i morgen
8
-
9
- # plugin-specific localizations; alphabetize by plugin's keyname
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
10
20
  simple_calendar:
11
21
  title: Kalender
12
22
  ym_format: "%B %Y"
@@ -30,36 +40,36 @@ da:
30
40
  - M12
31
41
  date_labels:
32
42
  -
33
- - "1"
34
- - "2"
35
- - "3"
36
- - "4"
37
- - "5"
38
- - "6"
39
- - "7"
40
- - "8"
41
- - "9"
42
- - "10"
43
- - "11"
44
- - "12"
45
- - "13"
46
- - "14"
47
- - "15"
48
- - "16"
49
- - "17"
50
- - "18"
51
- - "19"
52
- - "20"
53
- - "21"
54
- - "22"
55
- - "23"
56
- - "24"
57
- - "25"
58
- - "26"
59
- - "27"
60
- - "28"
61
- - "29"
62
- - "30"
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'
63
73
  heavenly_stems:
64
74
  - Wood
65
75
  - Wood
@@ -95,7 +105,7 @@ da:
95
105
  nengo:
96
106
  reiwa: Reiwa
97
107
  ym_format: "%B %Y (%{nengo} %{alt_year})"
98
- year_1: "1"
108
+ year_1: '1'
99
109
  hebrew:
100
110
  ym_format: ", %{month_label} %{alt_year}"
101
111
  month_labels:
@@ -1,12 +1,22 @@
1
+ ---
1
2
  de-AT:
2
- # namespace to not interfere with other localizations
3
3
  custom_plugins:
4
-
5
- # generic words and phrases to make custom plugins more accessible
6
4
  today: Heute
7
5
  tomorrow: Morgen
8
-
9
- # plugin-specific localizations; alphabetize by plugin's keyname
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
10
20
  simple_calendar:
11
21
  title: Kalender
12
22
  ym_format: "%B %Y"
@@ -30,36 +40,36 @@ de-AT:
30
40
  - M12
31
41
  date_labels:
32
42
  -
33
- - "1"
34
- - "2"
35
- - "3"
36
- - "4"
37
- - "5"
38
- - "6"
39
- - "7"
40
- - "8"
41
- - "9"
42
- - "10"
43
- - "11"
44
- - "12"
45
- - "13"
46
- - "14"
47
- - "15"
48
- - "16"
49
- - "17"
50
- - "18"
51
- - "19"
52
- - "20"
53
- - "21"
54
- - "22"
55
- - "23"
56
- - "24"
57
- - "25"
58
- - "26"
59
- - "27"
60
- - "28"
61
- - "29"
62
- - "30"
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'
63
73
  heavenly_stems:
64
74
  - Wood
65
75
  - Wood
@@ -95,7 +105,7 @@ de-AT:
95
105
  nengo:
96
106
  reiwa: Reiwa
97
107
  ym_format: "%B %Y (%{nengo} %{alt_year})"
98
- year_1: "1"
108
+ year_1: '1'
99
109
  hebrew:
100
110
  ym_format: ", %{month_label} %{alt_year}"
101
111
  month_labels:
@@ -1,12 +1,22 @@
1
+ ---
1
2
  de:
2
- # namespace to not interfere with other localizations
3
3
  custom_plugins:
4
-
5
- # generic words and phrases to make custom plugins more accessible
6
4
  today: Heute
7
5
  tomorrow: Morgen
8
-
9
- # plugin-specific localizations; alphabetize by plugin's keyname
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
10
20
  simple_calendar:
11
21
  title: Kalender
12
22
  ym_format: "%B %Y"
@@ -30,36 +40,36 @@ de:
30
40
  - M12
31
41
  date_labels:
32
42
  -
33
- - "1"
34
- - "2"
35
- - "3"
36
- - "4"
37
- - "5"
38
- - "6"
39
- - "7"
40
- - "8"
41
- - "9"
42
- - "10"
43
- - "11"
44
- - "12"
45
- - "13"
46
- - "14"
47
- - "15"
48
- - "16"
49
- - "17"
50
- - "18"
51
- - "19"
52
- - "20"
53
- - "21"
54
- - "22"
55
- - "23"
56
- - "24"
57
- - "25"
58
- - "26"
59
- - "27"
60
- - "28"
61
- - "29"
62
- - "30"
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'
63
73
  heavenly_stems:
64
74
  - Wood
65
75
  - Wood
@@ -95,7 +105,7 @@ de:
95
105
  nengo:
96
106
  reiwa: Reiwa
97
107
  ym_format: "%B %Y (%{nengo} %{alt_year})"
98
- year_1: "1"
108
+ year_1: '1'
99
109
  hebrew:
100
110
  ym_format: ", %{month_label} %{alt_year}"
101
111
  month_labels:
@@ -1,12 +1,22 @@
1
+ ---
1
2
  en:
2
- # namespace to not interfere with other localizations
3
3
  custom_plugins:
4
-
5
- # generic words and phrases to make custom plugins more accessible
6
4
  today: today
7
5
  tomorrow: tomorrow
8
-
9
- # plugin-specific localizations; alphabetize by plugin's keyname
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
10
20
  simple_calendar:
11
21
  title: Calendar
12
22
  ym_format: "%B %Y"
@@ -30,36 +40,36 @@ en:
30
40
  - M12
31
41
  date_labels:
32
42
  -
33
- - "1"
34
- - "2"
35
- - "3"
36
- - "4"
37
- - "5"
38
- - "6"
39
- - "7"
40
- - "8"
41
- - "9"
42
- - "10"
43
- - "11"
44
- - "12"
45
- - "13"
46
- - "14"
47
- - "15"
48
- - "16"
49
- - "17"
50
- - "18"
51
- - "19"
52
- - "20"
53
- - "21"
54
- - "22"
55
- - "23"
56
- - "24"
57
- - "25"
58
- - "26"
59
- - "27"
60
- - "28"
61
- - "29"
62
- - "30"
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'
63
73
  heavenly_stems:
64
74
  - Wood
65
75
  - Wood
@@ -95,7 +105,7 @@ en:
95
105
  nengo:
96
106
  reiwa: Reiwa
97
107
  ym_format: "%B %Y (%{nengo} %{alt_year})"
98
- year_1: "1"
108
+ year_1: '1'
99
109
  hebrew:
100
110
  ym_format: ", %{month_label} %{alt_year}"
101
111
  month_labels:
@@ -1,12 +1,22 @@
1
+ ---
1
2
  es-ES:
2
- # namespace to not interfere with other localizations
3
3
  custom_plugins:
4
-
5
- # generic words and phrases to make custom plugins more accessible
6
4
  today: hoy
7
5
  tomorrow: mañana
8
-
9
- # plugin-specific localizations; alphabetize by plugin's keyname
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
10
20
  simple_calendar:
11
21
  title: Calendario
12
22
  ym_format: "%B %Y"
@@ -30,36 +40,36 @@ es-ES:
30
40
  - M12
31
41
  date_labels:
32
42
  -
33
- - "1"
34
- - "2"
35
- - "3"
36
- - "4"
37
- - "5"
38
- - "6"
39
- - "7"
40
- - "8"
41
- - "9"
42
- - "10"
43
- - "11"
44
- - "12"
45
- - "13"
46
- - "14"
47
- - "15"
48
- - "16"
49
- - "17"
50
- - "18"
51
- - "19"
52
- - "20"
53
- - "21"
54
- - "22"
55
- - "23"
56
- - "24"
57
- - "25"
58
- - "26"
59
- - "27"
60
- - "28"
61
- - "29"
62
- - "30"
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'
63
73
  heavenly_stems:
64
74
  - Wood
65
75
  - Wood
@@ -95,7 +105,7 @@ es-ES:
95
105
  nengo:
96
106
  reiwa: Reiwa
97
107
  ym_format: "%B %Y (%{nengo} %{alt_year})"
98
- year_1: "1"
108
+ year_1: '1'
99
109
  hebrew:
100
110
  ym_format: ", %{month_label} %{alt_year}"
101
111
  month_labels: