trmnl-i18n 0.1.0 → 0.2.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 (63) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/README.adoc +5 -7
  4. data/lib/trmnl/i18n/locales/custom_plugins/da.yml +32 -36
  5. data/lib/trmnl/i18n/locales/custom_plugins/de-AT.yml +32 -36
  6. data/lib/trmnl/i18n/locales/custom_plugins/de.yml +32 -36
  7. data/lib/trmnl/i18n/locales/custom_plugins/en.yml +32 -36
  8. data/lib/trmnl/i18n/locales/custom_plugins/es-ES.yml +32 -36
  9. data/lib/trmnl/i18n/locales/custom_plugins/fr.yml +32 -36
  10. data/lib/trmnl/i18n/locales/custom_plugins/he.yml +32 -36
  11. data/lib/trmnl/i18n/locales/custom_plugins/id.yml +32 -36
  12. data/lib/trmnl/i18n/locales/custom_plugins/it.yml +32 -36
  13. data/lib/trmnl/i18n/locales/custom_plugins/ja.yml +31 -35
  14. data/lib/trmnl/i18n/locales/custom_plugins/ko.yml +32 -36
  15. data/lib/trmnl/i18n/locales/custom_plugins/nl.yml +32 -36
  16. data/lib/trmnl/i18n/locales/custom_plugins/pt-BR.yml +32 -36
  17. data/lib/trmnl/i18n/locales/custom_plugins/raw.yml +32 -36
  18. data/lib/trmnl/i18n/locales/custom_plugins/uk.yml +32 -36
  19. data/lib/trmnl/i18n/locales/custom_plugins/zh-CN.yml +1 -5
  20. data/lib/trmnl/i18n/locales/custom_plugins/zh-HK.yml +1 -5
  21. data/lib/trmnl/i18n/locales/plugin_renders/da.yml +29 -5
  22. data/lib/trmnl/i18n/locales/plugin_renders/de-AT.yml +28 -4
  23. data/lib/trmnl/i18n/locales/plugin_renders/de.yml +28 -4
  24. data/lib/trmnl/i18n/locales/plugin_renders/en.yml +28 -4
  25. data/lib/trmnl/i18n/locales/plugin_renders/es-ES.yml +28 -3
  26. data/lib/trmnl/i18n/locales/plugin_renders/fr.yml +28 -4
  27. data/lib/trmnl/i18n/locales/plugin_renders/he.yml +29 -5
  28. data/lib/trmnl/i18n/locales/plugin_renders/id.yml +28 -4
  29. data/lib/trmnl/i18n/locales/plugin_renders/it.yml +28 -4
  30. data/lib/trmnl/i18n/locales/plugin_renders/ja.yml +28 -4
  31. data/lib/trmnl/i18n/locales/plugin_renders/ko.yml +28 -4
  32. data/lib/trmnl/i18n/locales/plugin_renders/nl.yml +28 -4
  33. data/lib/trmnl/i18n/locales/plugin_renders/no.yml +29 -5
  34. data/lib/trmnl/i18n/locales/plugin_renders/pt-BR.yml +28 -4
  35. data/lib/trmnl/i18n/locales/plugin_renders/raw.yml +28 -4
  36. data/lib/trmnl/i18n/locales/plugin_renders/uk.yml +28 -4
  37. data/lib/trmnl/i18n/locales/plugin_renders/zh-CN.yml +28 -4
  38. data/lib/trmnl/i18n/locales/plugin_renders/zh-HK.yml +28 -4
  39. data/lib/trmnl/i18n/locales/web_ui/da.yml +24 -26
  40. data/lib/trmnl/i18n/locales/web_ui/de-AT.yml +40 -43
  41. data/lib/trmnl/i18n/locales/web_ui/de.yml +41 -44
  42. data/lib/trmnl/i18n/locales/web_ui/en.yml +41 -44
  43. data/lib/trmnl/i18n/locales/web_ui/es-ES.yml +41 -44
  44. data/lib/trmnl/i18n/locales/web_ui/fr.yml +37 -40
  45. data/lib/trmnl/i18n/locales/web_ui/he.yml +40 -43
  46. data/lib/trmnl/i18n/locales/web_ui/id.yml +38 -41
  47. data/lib/trmnl/i18n/locales/web_ui/it.yml +40 -43
  48. data/lib/trmnl/i18n/locales/web_ui/ja.yml +42 -45
  49. data/lib/trmnl/i18n/locales/web_ui/ko.yml +39 -42
  50. data/lib/trmnl/i18n/locales/web_ui/nl.yml +38 -41
  51. data/lib/trmnl/i18n/locales/web_ui/no.yml +21 -27
  52. data/lib/trmnl/i18n/locales/web_ui/pt-BR.yml +41 -44
  53. data/lib/trmnl/i18n/locales/web_ui/raw.yml +21 -24
  54. data/lib/trmnl/i18n/locales/web_ui/uk.yml +44 -47
  55. data/lib/trmnl/i18n/locales/web_ui/zh-CN.yml +39 -42
  56. data/lib/trmnl/i18n/locales/web_ui/zh-HK.yml +62 -65
  57. data/lib/trmnl/i18n/synchronization/processor.rb +56 -0
  58. data/lib/trmnl/i18n/synchronization/repo.rb +43 -0
  59. data/lib/trmnl/i18n/synchronization/value_reducer.rb +23 -0
  60. data/trmnl-i18n.gemspec +3 -3
  61. data.tar.gz.sig +0 -0
  62. metadata +21 -19
  63. 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: cc35d21ca99443bd0d4cdd37bd93a7121680e81b253ea077691140aac04b1f71
4
+ data.tar.gz: 73e910d1ed4a98077dc258e2a3d8f4250244e4a804ad7e6c411ad7e3d3d8b94d
5
5
  SHA512:
6
- metadata.gz: d5781161d7d0e9a517960faea260e0d77159f69aac4cd14e4645a1121fe7772fba5e562f6025091b81d53753aa1d160cd8f2cb06bea5d71e9cbcaa434d772a14
7
- data.tar.gz: b9f78dfa87bb02cdcb60795f23ef6822ab454367b03871e1ecef444f422a2321eeae3b23c46ef618f0b27b8c41da3d13dbdc9e3faed670d4917b1c3a8c0acab7
6
+ metadata.gz: ee4379f73d47d1e2356b9bab66277720c30b46dd4771c2a7911bdbf244adca3347d570879847ba8e8eab7687d99e93813a47df5033ae17bb54e8f4584d8aed30
7
+ data.tar.gz: 0f8491da94e4f9c8c01fd7d2933f82f97eb3ed3320d2a016edbe5e6130d2c7ece284ef76ca417f23c1c99cc55bdabcbff0457818b36a19cd65fee28076a70816
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/master/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,11 +113,6 @@ 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
118
  * German via @ramdacxp, @philippbosch, @yannicschuller, @MaxDev98, @IngmarStein
@@ -1,12 +1,8 @@
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
10
6
  simple_calendar:
11
7
  title: Kalender
12
8
  ym_format: "%B %Y"
@@ -30,36 +26,36 @@ da:
30
26
  - M12
31
27
  date_labels:
32
28
  -
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"
29
+ - '1'
30
+ - '2'
31
+ - '3'
32
+ - '4'
33
+ - '5'
34
+ - '6'
35
+ - '7'
36
+ - '8'
37
+ - '9'
38
+ - '10'
39
+ - '11'
40
+ - '12'
41
+ - '13'
42
+ - '14'
43
+ - '15'
44
+ - '16'
45
+ - '17'
46
+ - '18'
47
+ - '19'
48
+ - '20'
49
+ - '21'
50
+ - '22'
51
+ - '23'
52
+ - '24'
53
+ - '25'
54
+ - '26'
55
+ - '27'
56
+ - '28'
57
+ - '29'
58
+ - '30'
63
59
  heavenly_stems:
64
60
  - Wood
65
61
  - Wood
@@ -95,7 +91,7 @@ da:
95
91
  nengo:
96
92
  reiwa: Reiwa
97
93
  ym_format: "%B %Y (%{nengo} %{alt_year})"
98
- year_1: "1"
94
+ year_1: '1'
99
95
  hebrew:
100
96
  ym_format: ", %{month_label} %{alt_year}"
101
97
  month_labels:
@@ -1,12 +1,8 @@
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
10
6
  simple_calendar:
11
7
  title: Kalender
12
8
  ym_format: "%B %Y"
@@ -30,36 +26,36 @@ de-AT:
30
26
  - M12
31
27
  date_labels:
32
28
  -
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"
29
+ - '1'
30
+ - '2'
31
+ - '3'
32
+ - '4'
33
+ - '5'
34
+ - '6'
35
+ - '7'
36
+ - '8'
37
+ - '9'
38
+ - '10'
39
+ - '11'
40
+ - '12'
41
+ - '13'
42
+ - '14'
43
+ - '15'
44
+ - '16'
45
+ - '17'
46
+ - '18'
47
+ - '19'
48
+ - '20'
49
+ - '21'
50
+ - '22'
51
+ - '23'
52
+ - '24'
53
+ - '25'
54
+ - '26'
55
+ - '27'
56
+ - '28'
57
+ - '29'
58
+ - '30'
63
59
  heavenly_stems:
64
60
  - Wood
65
61
  - Wood
@@ -95,7 +91,7 @@ de-AT:
95
91
  nengo:
96
92
  reiwa: Reiwa
97
93
  ym_format: "%B %Y (%{nengo} %{alt_year})"
98
- year_1: "1"
94
+ year_1: '1'
99
95
  hebrew:
100
96
  ym_format: ", %{month_label} %{alt_year}"
101
97
  month_labels:
@@ -1,12 +1,8 @@
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
10
6
  simple_calendar:
11
7
  title: Kalender
12
8
  ym_format: "%B %Y"
@@ -30,36 +26,36 @@ de:
30
26
  - M12
31
27
  date_labels:
32
28
  -
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"
29
+ - '1'
30
+ - '2'
31
+ - '3'
32
+ - '4'
33
+ - '5'
34
+ - '6'
35
+ - '7'
36
+ - '8'
37
+ - '9'
38
+ - '10'
39
+ - '11'
40
+ - '12'
41
+ - '13'
42
+ - '14'
43
+ - '15'
44
+ - '16'
45
+ - '17'
46
+ - '18'
47
+ - '19'
48
+ - '20'
49
+ - '21'
50
+ - '22'
51
+ - '23'
52
+ - '24'
53
+ - '25'
54
+ - '26'
55
+ - '27'
56
+ - '28'
57
+ - '29'
58
+ - '30'
63
59
  heavenly_stems:
64
60
  - Wood
65
61
  - Wood
@@ -95,7 +91,7 @@ de:
95
91
  nengo:
96
92
  reiwa: Reiwa
97
93
  ym_format: "%B %Y (%{nengo} %{alt_year})"
98
- year_1: "1"
94
+ year_1: '1'
99
95
  hebrew:
100
96
  ym_format: ", %{month_label} %{alt_year}"
101
97
  month_labels:
@@ -1,12 +1,8 @@
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
10
6
  simple_calendar:
11
7
  title: Calendar
12
8
  ym_format: "%B %Y"
@@ -30,36 +26,36 @@ en:
30
26
  - M12
31
27
  date_labels:
32
28
  -
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"
29
+ - '1'
30
+ - '2'
31
+ - '3'
32
+ - '4'
33
+ - '5'
34
+ - '6'
35
+ - '7'
36
+ - '8'
37
+ - '9'
38
+ - '10'
39
+ - '11'
40
+ - '12'
41
+ - '13'
42
+ - '14'
43
+ - '15'
44
+ - '16'
45
+ - '17'
46
+ - '18'
47
+ - '19'
48
+ - '20'
49
+ - '21'
50
+ - '22'
51
+ - '23'
52
+ - '24'
53
+ - '25'
54
+ - '26'
55
+ - '27'
56
+ - '28'
57
+ - '29'
58
+ - '30'
63
59
  heavenly_stems:
64
60
  - Wood
65
61
  - Wood
@@ -95,7 +91,7 @@ en:
95
91
  nengo:
96
92
  reiwa: Reiwa
97
93
  ym_format: "%B %Y (%{nengo} %{alt_year})"
98
- year_1: "1"
94
+ year_1: '1'
99
95
  hebrew:
100
96
  ym_format: ", %{month_label} %{alt_year}"
101
97
  month_labels:
@@ -1,12 +1,8 @@
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
10
6
  simple_calendar:
11
7
  title: Calendario
12
8
  ym_format: "%B %Y"
@@ -30,36 +26,36 @@ es-ES:
30
26
  - M12
31
27
  date_labels:
32
28
  -
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"
29
+ - '1'
30
+ - '2'
31
+ - '3'
32
+ - '4'
33
+ - '5'
34
+ - '6'
35
+ - '7'
36
+ - '8'
37
+ - '9'
38
+ - '10'
39
+ - '11'
40
+ - '12'
41
+ - '13'
42
+ - '14'
43
+ - '15'
44
+ - '16'
45
+ - '17'
46
+ - '18'
47
+ - '19'
48
+ - '20'
49
+ - '21'
50
+ - '22'
51
+ - '23'
52
+ - '24'
53
+ - '25'
54
+ - '26'
55
+ - '27'
56
+ - '28'
57
+ - '29'
58
+ - '30'
63
59
  heavenly_stems:
64
60
  - Wood
65
61
  - Wood
@@ -95,7 +91,7 @@ es-ES:
95
91
  nengo:
96
92
  reiwa: Reiwa
97
93
  ym_format: "%B %Y (%{nengo} %{alt_year})"
98
- year_1: "1"
94
+ year_1: '1'
99
95
  hebrew:
100
96
  ym_format: ", %{month_label} %{alt_year}"
101
97
  month_labels:
@@ -1,12 +1,8 @@
1
+ ---
1
2
  fr:
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: aujourd'hui
7
5
  tomorrow: demain
8
-
9
- # plugin-specific localizations; alphabetize by plugin's keyname
10
6
  simple_calendar:
11
7
  title: Calendrier
12
8
  ym_format: "%B %Y"
@@ -30,36 +26,36 @@ fr:
30
26
  - M12
31
27
  date_labels:
32
28
  -
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"
29
+ - '1'
30
+ - '2'
31
+ - '3'
32
+ - '4'
33
+ - '5'
34
+ - '6'
35
+ - '7'
36
+ - '8'
37
+ - '9'
38
+ - '10'
39
+ - '11'
40
+ - '12'
41
+ - '13'
42
+ - '14'
43
+ - '15'
44
+ - '16'
45
+ - '17'
46
+ - '18'
47
+ - '19'
48
+ - '20'
49
+ - '21'
50
+ - '22'
51
+ - '23'
52
+ - '24'
53
+ - '25'
54
+ - '26'
55
+ - '27'
56
+ - '28'
57
+ - '29'
58
+ - '30'
63
59
  heavenly_stems:
64
60
  - Wood
65
61
  - Wood
@@ -95,7 +91,7 @@ fr:
95
91
  nengo:
96
92
  reiwa: Reiwa
97
93
  ym_format: "%B %Y (%{nengo} %{alt_year})"
98
- year_1: "1"
94
+ year_1: '1'
99
95
  hebrew:
100
96
  ym_format: ", %{month_label} %{alt_year}"
101
97
  month_labels: