rails-i18n 7.0.5 → 7.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +57 -2
  3. data/README.md +48 -12
  4. data/lib/rails_i18n/railtie.rb +9 -4
  5. data/lib/rails_i18n.rb +10 -0
  6. data/rails/locale/bn.yml +19 -19
  7. data/rails/locale/de-AT.yml +3 -0
  8. data/rails/locale/de-CH.yml +3 -0
  9. data/rails/locale/de-DE.yml +3 -0
  10. data/rails/locale/de.yml +3 -0
  11. data/rails/locale/dz.yml +213 -0
  12. data/rails/locale/en.yml +2 -0
  13. data/rails/locale/es-419.yml +1 -0
  14. data/rails/locale/es-AR.yml +1 -0
  15. data/rails/locale/es-CL.yml +1 -0
  16. data/rails/locale/es-CO.yml +1 -0
  17. data/rails/locale/es-CR.yml +1 -0
  18. data/rails/locale/es-EC.yml +1 -0
  19. data/rails/locale/es-ES.yml +1 -0
  20. data/rails/locale/es-MX.yml +1 -0
  21. data/rails/locale/es-NI.yml +1 -0
  22. data/rails/locale/es-PA.yml +1 -0
  23. data/rails/locale/es-PE.yml +1 -0
  24. data/rails/locale/es-US.yml +1 -0
  25. data/rails/locale/es-VE.yml +1 -0
  26. data/rails/locale/es.yml +1 -0
  27. data/rails/locale/fr-CA.yml +3 -1
  28. data/rails/locale/fr-CH.yml +3 -1
  29. data/rails/locale/fr-FR.yml +3 -1
  30. data/rails/locale/fr.yml +3 -1
  31. data/rails/locale/gl.yml +1 -1
  32. data/rails/locale/ja.yml +13 -39
  33. data/rails/locale/ko.yml +27 -53
  34. data/rails/locale/lo.yml +13 -85
  35. data/rails/locale/lv.yml +11 -0
  36. data/rails/locale/sc.yml +223 -0
  37. data/rails/locale/sv-FI.yml +207 -0
  38. data/rails/locale/sv-SE.yml +4 -1
  39. data/rails/locale/sv.yml +4 -1
  40. data/rails/locale/vi.yml +13 -37
  41. data/rails/locale/zh-CN.yml +30 -30
  42. data/rails/locale/zh-HK.yml +28 -60
  43. data/rails/locale/zh-TW.yml +30 -62
  44. data/rails/locale/zh-YUE.yml +23 -55
  45. data/rails/pluralization/el-CY.rb +3 -0
  46. data/rails/pluralization/en-CY.rb +3 -0
  47. data/rails/pluralization/en-IE.rb +3 -0
  48. data/rails/pluralization/en-TT.rb +3 -0
  49. data/rails/pluralization/en-US.rb +3 -0
  50. data/rails/pluralization/en-ZA.rb +3 -0
  51. data/rails/pluralization/sc.rb +3 -0
  52. data/rails/transliteration/de.yml +1 -0
  53. metadata +12 -51
  54. data/rails/locale/cy.yml +0 -246
  55. data/rails/pluralization/ak.rb +0 -3
  56. data/rails/pluralization/am.rb +0 -3
  57. data/rails/pluralization/bh.rb +0 -3
  58. data/rails/pluralization/bm.rb +0 -3
  59. data/rails/pluralization/bo.rb +0 -3
  60. data/rails/pluralization/br.rb +0 -31
  61. data/rails/pluralization/by.rb +0 -3
  62. data/rails/pluralization/cy.rb +0 -24
  63. data/rails/pluralization/dz.rb +0 -3
  64. data/rails/pluralization/ff.rb +0 -3
  65. data/rails/pluralization/ga.rb +0 -27
  66. data/rails/pluralization/gd.rb +0 -25
  67. data/rails/pluralization/guw.rb +0 -3
  68. data/rails/pluralization/gv.rb +0 -22
  69. data/rails/pluralization/ig.rb +0 -3
  70. data/rails/pluralization/ii.rb +0 -3
  71. data/rails/pluralization/iu.rb +0 -3
  72. data/rails/pluralization/jv.rb +0 -3
  73. data/rails/pluralization/kab.rb +0 -3
  74. data/rails/pluralization/kde.rb +0 -3
  75. data/rails/pluralization/kea.rb +0 -3
  76. data/rails/pluralization/ksh.rb +0 -23
  77. data/rails/pluralization/kw.rb +0 -3
  78. data/rails/pluralization/lag.rb +0 -24
  79. data/rails/pluralization/ln.rb +0 -3
  80. data/rails/pluralization/mo.rb +0 -3
  81. data/rails/pluralization/mt.rb +0 -28
  82. data/rails/pluralization/my.rb +0 -3
  83. data/rails/pluralization/naq.rb +0 -3
  84. data/rails/pluralization/nso.rb +0 -3
  85. data/rails/pluralization/root.rb +0 -3
  86. data/rails/pluralization/sah.rb +0 -3
  87. data/rails/pluralization/se.rb +0 -3
  88. data/rails/pluralization/ses.rb +0 -3
  89. data/rails/pluralization/sg.rb +0 -3
  90. data/rails/pluralization/sh.rb +0 -3
  91. data/rails/pluralization/shi.rb +0 -3
  92. data/rails/pluralization/sma.rb +0 -3
  93. data/rails/pluralization/smi.rb +0 -3
  94. data/rails/pluralization/smj.rb +0 -3
  95. data/rails/pluralization/smn.rb +0 -3
  96. data/rails/pluralization/sms.rb +0 -3
  97. data/rails/pluralization/ti.rb +0 -3
  98. data/rails/pluralization/to.rb +0 -3
  99. data/rails/pluralization/tzm.rb +0 -21
  100. data/rails/pluralization/wa.rb +0 -3
  101. data/rails/pluralization/yo.rb +0 -3
  102. data/rails/pluralization/zh.rb +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef7cee06deda3f23eeb1c88e22c6c84705d1c13df6b93692142d694e658fd7f7
4
- data.tar.gz: 7fabe1deed31d62c9715fc22a884072d4ea50e1d1eb283f9956e073ffd573c79
3
+ metadata.gz: 475615df0336d9f48d08c06d2037b0661d80f74c4330d0a55bf67271a4658550
4
+ data.tar.gz: c46313e99ee432b4f5873a9464af037a23e3b8009f09e7c60e57b9fb7033590f
5
5
  SHA512:
6
- metadata.gz: 95859f3f8678e70e4480f7076298082ab77f497aa7c659928fe09ffd824e9d2220a984283cdaebc8a679213cb0c185899a6371cf2f8654a8e89cb8bc2339cd47
7
- data.tar.gz: 6876dc5a2e2243fa86e5a13b45e72cf9c9d26099847fb051423ce42020045f8486acbc1a3028851dce5fc57da3f6edc3720ce48aa222d98255ca391902dae885
6
+ metadata.gz: 7fd3393b9d32f9b2986a02350d4b42a374a927fe1e173bb1c3cf821175ca1ff091298a4406105111624336942f769102e95561ad9b635fd460f05260c9283951
7
+ data.tar.gz: 14d018acae0d21299050e7f06e39a9c10173682062d268e1a90e8726cf7478e336ae28dcbbde09e12753f7f8b76398e13cdbe589312e072468dfe8c159579926
data/CHANGELOG.md CHANGED
@@ -1,6 +1,61 @@
1
- ## unreleased
1
+ ## 7.0.6 (2022-11-08)
2
2
 
3
- - Remove eager loading of translations during boot phase (this is now done by Rails).
3
+ - Add option to choose which modules (locales, pluralization, transliteration,
4
+ ordinals) are enabled #1019
5
+ - Add following locales:
6
+ - Dzongkha (dz) #1052
7
+ - Sardinian (sc) #1030
8
+ - Swedish (sv-FI): Finland’s native Swedish-speakers #1055
9
+ - Update following locales:
10
+ - Bengali (bn): Fix date and spelling issues #1031
11
+ - Chinese (zh-HK, zh-TW, zh-YUE, zh-CN):
12
+ - Simplify pluralization #1032 #1033 #1036
13
+ - Standardize punctuation #997
14
+ - English (en, en-CY, en-IE, en-TT, en-US, en-ZA):
15
+ - Add pluralization #1021
16
+ - Add `in` and `round_mode` keys #1042
17
+ - French (fr, fr-CA, fr-CH, fr-CA):
18
+ - Change an abreviation for March month in abbr_month_names #1002
19
+ - Add `in` and `round_mode` keys #1046
20
+ - Galician (gl): Add missing accent on `incluído` #961
21
+ - German (de-AT, de-CH, de-DE, de):
22
+ - Add transliteration rule for `ẞ` #1025
23
+ - Add `eb` and `pb` storage units #1043
24
+ - Add `round_mode` key #1044
25
+ - Greek (el-CY): Add pluralization #1022
26
+ - Japanese (ja): Simplify pluralization #1038
27
+ - Korean (ko):
28
+ - Language improvements #989
29
+ - Simplify pluralization #1037
30
+ - Latvian (lv): Add multiple missing translations #966
31
+ - Spanish (es, es-419, es-AR, es-CL, es-CO, es-CR, es-ES, es-MX, es-NI, es-PA,
32
+ es-PE, es-US, es-VE): Add `round_mode` key #1045
33
+ - Swedish (sv-SE): Adjust precision and add some missing keys #1047
34
+ - Vietnamese (vi):
35
+ - Update translation for taken #1009
36
+ - Simplify pluralization #1035
37
+ - Removed pluralizations rules that do not have locale files: ak, am, bh, bm,
38
+ bo, br, by, cy, dz, ff, ga, gd, guw, gv, ig, ii, iu, jv, kab, kde, kea, ksh,
39
+ kw, lag, ln, mo, mt, my, naq, nso, root, sah, se, ses, sg, sh, shi, sma, smi,
40
+ smj, smn, sms, ti, to, tzm, wa, yo, zh #1017
41
+
42
+ ## 7.0.5 (2022-07-03)
43
+
44
+ - No changes.
45
+
46
+ ## 7.0.4 (2022-07-03)
47
+
48
+ - Add following locales:
49
+ - Western Frisian (fy) #985
50
+ - Kazakh (kk) #945
51
+ - Update following locales:
52
+ - Slovak (sk): Fixed missing message #994
53
+ - French (fr): Revert remainder of NBSP characters #996
54
+ - French (fr): Use no-padded date format #991
55
+ - Arabic (ar): fix errors.messages.greater_than typo #998
56
+ - South slavic pluralizers #987
57
+ - Update update.rb to fetch active_model locale #1000
58
+ - Remove eager loading of translations during boot phase (this is now done by Rails). #983
4
59
 
5
60
  ## 7.0.3 (2022-03-01)
6
61
 
data/README.md CHANGED
@@ -35,6 +35,31 @@ Note that your Ruby on Rails version must be 3.0 or higher in order to install t
35
35
 
36
36
  ## Configuration
37
37
 
38
+ ### Enabled modules
39
+
40
+ By default, all `rails-i18n` modules (locales, pluralization, transliteration, ordinals) are enabled.
41
+
42
+ If you would like to only enable specific modules, you can do so in your Rails configuration:
43
+
44
+ ```ruby
45
+ # to enable only pluralization rules, but disable all other features
46
+ config.rails_i18n.enabled_modules = [:pluralization]
47
+
48
+ # to enable pluralization and ordinals
49
+ config.rails_i18n.enabled_modules = [:pluralization, :ordinals]
50
+ ```
51
+
52
+ The possible module names:
53
+
54
+ * `:locale`
55
+ * `:ordinals`
56
+ * `:pluralization`
57
+ * `:transliteration`
58
+
59
+ Setting `enabled_modules` will restrict the gem's loaded features to only the specific types.
60
+
61
+ ### Available locales
62
+
38
63
  `rails-i18n` gem initially loads all available locale files, pluralization and transliteration rules. This default behaviour can be changed. If you specify in `config/environments/*` the locales which have to be loaded via `I18n.available_locales` option:
39
64
 
40
65
  ``` ruby
@@ -61,21 +86,32 @@ Locale data whose structure is compatible with Rails 2.3 are available on the se
61
86
 
62
87
  ## Available Locales
63
88
 
64
- Available locales:
89
+ **Available locales:**
90
+
91
+ 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, 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
92
+
93
+ **Complete locales:**
94
+
95
+ da, de, de-AT, de-CH, de-DE, en-US, 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, fa, fr, fr-CA, fr-CH, fr-FR, fy, id, it, ja, ka, ml, nb, nl, nn, pt, pt-BR, sv, sv-SE, tr, zh-CN, zh-HK, zh-TW, zh-YUE, uk
96
+
97
+ **Locales with missing pluralization rules**
98
+
99
+ af, csb, dsb, fur, gsw-CH, lb, rm, scr, sq, te, tt, ug, uz
100
+
101
+ **Removed locales:**
102
+
103
+ cy
104
+
105
+ The cy locale was removed in commit 84f6c6b9b7a3e50df2b1fb1ccf7add329f7eab4f since unfortunately we could not find a Welsh speaker to support it.
106
+ We would welcome contributions to add it back to the project.
107
+ The locale is mostly complete for the missing translations please refer to [#1006](https://github.com/svenfuchs/rails-i18n/issues/1006)
108
+
109
+ **Removed pluralizations:**
65
110
 
66
- > af, ar, az, be, bg, bn, bs, ca, cs, cy, da, de, de-AT, de-CH, de-DE, el, el-CY,
67
- > en, en-AU, en-CA, en-GB, en-IE, en-IN, en-NZ, en-US, en-ZA, en-CY, en-TT, eo, es,
68
- > 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,
69
- > et, eu, fa, fi, fr, fr-CA, fr-CH, fr-FR, fy, gl, he, hi, hi-IN, hr, hu, id, is, it,
70
- > it-CH, ja, ka, km, kn, ko, lb, lo, lt, lv, mk, ml, mn, mr-IN, ms, nb, ne, nl, nn, oc, or,
71
- > pa, pl, pt, pt-BR, rm, ro, ru, sk, sl, sq, sr, st, sw, ta, te, th, tl, tr, tt, ug,
72
- > ur, uz, vi, wo, zh-CN, zh-HK, zh-TW, zh-YUE
111
+ 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
73
112
 
74
- Complete locales:
113
+ The above pluralization rules were removed because they did not have corresponding locale files.
75
114
 
76
- > af, da, de, de-AT, de-CH, de-DE, en-US, es, es-419, es-AR, es-CL, es-CO, es-CR, es-EC,
77
- > es-ES, es-MX, es-NI, es-PA, es-PE, es-US, es-VE, et, fa, fr, fr-CA, fr-CH, fr-FR, fy, id, it, ja, ka, ml, nb,
78
- > nl, nn, pt, pt-BR, sv, sv-SE, tr, zh-CN, zh-HK, zh-TW, zh-YUE, uk
79
115
 
80
116
  Currently, most locales are incomplete. Typically they lack the following keys:
81
117
 
@@ -2,14 +2,19 @@ require 'rails'
2
2
 
3
3
  module RailsI18n
4
4
  class Railtie < ::Rails::Railtie #:nodoc:
5
+ config.rails_i18n = RailsI18n
6
+
5
7
  initializer 'rails-i18n' do |app|
6
8
  RailsI18n::Railtie.instance_eval do
7
9
  pattern = pattern_from app.config.i18n.available_locales
8
10
 
9
- add("rails/locale/#{pattern}.yml")
10
- add("rails/pluralization/#{pattern}.rb")
11
- add("rails/ordinals/#{pattern}.rb")
12
- add("rails/transliteration/#{pattern}.{rb,yml}")
11
+ if app.config.rails_i18n.enabled_modules.empty?
12
+ RailsI18n.enabled_modules = Set.new([:locale, :pluralization, :ordinals, :transliteration])
13
+ end
14
+
15
+ RailsI18n.enabled_modules.each do |feature|
16
+ add("rails/#{feature}/#{pattern}.{rb,yml}")
17
+ end
13
18
 
14
19
  init_pluralization_module
15
20
  end
data/lib/rails_i18n.rb CHANGED
@@ -1 +1,11 @@
1
+ module RailsI18n
2
+ def self.enabled_modules
3
+ @enabled_modules ||= Set.new
4
+ end
5
+
6
+ def self.enabled_modules=(other)
7
+ @enabled_modules = Set.new(other)
8
+ end
9
+ end
10
+
1
11
  require 'rails_i18n/railtie'
data/rails/locale/bn.yml CHANGED
@@ -18,7 +18,7 @@ bn:
18
18
  - মে
19
19
  - জুন
20
20
  - জুলাই
21
- - অগাস্ট
21
+ - আগস্ট
22
22
  - সেপ্টেম্বর
23
23
  - অক্টোবর
24
24
  - নভেম্বর
@@ -33,8 +33,8 @@ bn:
33
33
  - শনিবার
34
34
  formats:
35
35
  default: "%e/%m/%Y"
36
- long: "%e de %B de %Y"
37
- short: "%e de %b"
36
+ long: "%e %B %Y"
37
+ short: "%e %b"
38
38
  month_names:
39
39
  -
40
40
  - জানুয়ারি
@@ -44,7 +44,7 @@ bn:
44
44
  - মে
45
45
  - জুন
46
46
  - জুলাই
47
- - অগাস্ট
47
+ - আগস্ট
48
48
  - সেপ্টেম্বর
49
49
  - অক্টোবর
50
50
  - নভেম্বর
@@ -56,17 +56,17 @@ bn:
56
56
  datetime:
57
57
  distance_in_words:
58
58
  about_x_hours:
59
- one: প্রায় ১ ঘন্টা
60
- other: প্রায় %{count} ঘন্টা
59
+ one: প্রায় ১ ঘণ্টা
60
+ other: প্রায় %{count} ঘণ্টা
61
61
  about_x_months:
62
62
  one: প্রায় ১ মাস
63
63
  other: প্রায় %{count} মাস
64
64
  about_x_years:
65
65
  one: প্রায় ১ বছর
66
66
  other: প্রায় %{count} বছর
67
- half_a_minute: অর্ধেক মিনিট
67
+ half_a_minute: অর্ধ মিনিট
68
68
  less_than_x_seconds:
69
- one: '১ সেকেন্ডর কম '
69
+ one: '১ সেকেন্ডর কম'
70
70
  other: "%{count} সেকেন্ডের কম"
71
71
  less_than_x_minutes:
72
72
  one: ১ মিনিটের কম
@@ -89,7 +89,7 @@ bn:
89
89
  prompts:
90
90
  second: সেকেন্ড
91
91
  minute: মিনিট
92
- hour: ঘন্টা
92
+ hour: ঘণ্টা
93
93
  day: দিন
94
94
  month: মাস
95
95
  year: বছর
@@ -103,9 +103,9 @@ bn:
103
103
  equal_to: "%{count} এর সঙ্গে সমান হতে হবে"
104
104
  even: জোড় হতে হবে
105
105
  exclusion: রিসার্ভ করা আছে
106
- greater_than: "%{count} থেকে বড়ো হতে হবে"
107
- greater_than_or_equal_to: "%{count} থেকে বড়ো অথবা তার সমান হতে হবে"
108
- inclusion: লিস্টে অন্তর্ভুক্ত নয়
106
+ greater_than: "%{count} থেকে বড় হতে হবে"
107
+ greater_than_or_equal_to: "%{count} থেকে বড় অথবা তার সমান হতে হবে"
108
+ inclusion: তালিকায় অন্তর্ভুক্ত নয়
109
109
  invalid: সঠিক নয়
110
110
  less_than: "%{count} থেকে ছোটো হতে হবে"
111
111
  less_than_or_equal_to: "%{count} থেকে ছোটো অথবা তার সমান হতে হবে"
@@ -118,8 +118,8 @@ bn:
118
118
  template:
119
119
  body: 'এই ফিল্ডগুলোতে কিছু সমস্যা দেখা দিয়েছে:'
120
120
  header:
121
- one: টি ত্রুটির কারনে %{model} সংরক্ষন করা সম্ভব হয়নি
122
- other: "%{count} টি ত্রুটির কারনে %{model} সংরক্ষন করা সম্ভব হয়নি"
121
+ one: ১টি ত্রুটির কারণে %{model} সংরক্ষণ করা সম্ভব হয়নি
122
+ other: "%{count}টি ত্রুটির কারণে %{model} সংরক্ষণ করা সম্ভব হয়নি"
123
123
  number:
124
124
  currency:
125
125
  format:
@@ -150,8 +150,8 @@ bn:
150
150
  format: "%n %u"
151
151
  units:
152
152
  byte:
153
- one: Byte
154
- other: Bytes
153
+ one: বাইট
154
+ other: বাইট
155
155
  gb: GB
156
156
  kb: KB
157
157
  mb: MB
@@ -170,7 +170,7 @@ bn:
170
170
  time:
171
171
  am: am
172
172
  formats:
173
- default: "%A, %e de %B de %Y %H:%M:%S %z"
174
- long: "%e de %B de %Y %H:%M"
175
- short: "%e de %b %H:%M"
173
+ default: "%A, %e %B %Y %H:%M:%S %z"
174
+ long: "%e %B %Y %H:%M"
175
+ short: "%e %b %H:%M"
176
176
  pm: pm
@@ -162,6 +162,7 @@ de-AT:
162
162
  format:
163
163
  delimiter: "."
164
164
  precision: 2
165
+ round_mode: default
165
166
  separator: ","
166
167
  significant: false
167
168
  strip_insignificant_zeros: false
@@ -194,9 +195,11 @@ de-AT:
194
195
  byte:
195
196
  one: Byte
196
197
  other: Bytes
198
+ eb: EB
197
199
  gb: GB
198
200
  kb: KB
199
201
  mb: MB
202
+ pb: PB
200
203
  tb: TB
201
204
  percentage:
202
205
  format:
@@ -162,6 +162,7 @@ de-CH:
162
162
  format:
163
163
  delimiter: "'"
164
164
  precision: 2
165
+ round_mode: default
165
166
  separator: "."
166
167
  significant: false
167
168
  strip_insignificant_zeros: false
@@ -194,9 +195,11 @@ de-CH:
194
195
  byte:
195
196
  one: Byte
196
197
  other: Bytes
198
+ eb: EB
197
199
  gb: GB
198
200
  kb: KB
199
201
  mb: MB
202
+ pb: PB
200
203
  tb: TB
201
204
  percentage:
202
205
  format:
@@ -162,6 +162,7 @@ de-DE:
162
162
  format:
163
163
  delimiter: "."
164
164
  precision: 2
165
+ round_mode: default
165
166
  separator: ","
166
167
  significant: false
167
168
  strip_insignificant_zeros: false
@@ -194,9 +195,11 @@ de-DE:
194
195
  byte:
195
196
  one: Byte
196
197
  other: Bytes
198
+ eb: EB
197
199
  gb: GB
198
200
  kb: KB
199
201
  mb: MB
202
+ pb: PB
200
203
  tb: TB
201
204
  percentage:
202
205
  format:
data/rails/locale/de.yml CHANGED
@@ -165,6 +165,7 @@ de:
165
165
  format:
166
166
  delimiter: "."
167
167
  precision: 2
168
+ round_mode: default
168
169
  separator: ","
169
170
  significant: false
170
171
  strip_insignificant_zeros: false
@@ -197,9 +198,11 @@ de:
197
198
  byte:
198
199
  one: Byte
199
200
  other: Bytes
201
+ eb: EB
200
202
  gb: GB
201
203
  kb: KB
202
204
  mb: MB
205
+ pb: PB
203
206
  tb: TB
204
207
  percentage:
205
208
  format:
@@ -0,0 +1,213 @@
1
+ ---
2
+ dz:
3
+ activerecord:
4
+ errors:
5
+ messages:
6
+ record_invalid: 'ཆ་འཇོག་འཐུས་ཤོར་ཡི་: %{errors}'
7
+ restrict_dependent_destroy:
8
+ has_one: ཡིག་ཐོ་ %{record} བརྟེན་ཏེ་ཡོད་པ་ལས་བཏོན་གཏང་མི་བཏུབ་
9
+ has_many: ཡིག་ཐོ་ %{record} བརྟེན་ཏེ་ཡོད་པ་ལས་བཏོན་གཏང་མི་བཏུབ་
10
+ date:
11
+ abbr_day_names:
12
+ - གཟའ་ཟླཝ
13
+ - གཟའ་མིག་དམར
14
+ - གཟའ་ལྷགཔ
15
+ - གཟའ་ཕུརཔ
16
+ - གཟའ་པ་སངས
17
+ - གཟའ་སྤེན་པ
18
+ - གཟའ་ཉིམ
19
+ abbr_month_names:
20
+ -
21
+ - ཟླཝ་དང་པ
22
+ - ཟླཝ་གཉིས་པ
23
+ - ཟླཝ་གསུམ་པ
24
+ - ཟླཝ་བཞི་པ
25
+ - ཟླཝ་ལྔ་པ
26
+ - ཟླཝ་དྲུག་པ
27
+ - ཟླཝ་བདུན་པ
28
+ - ཟླཝ་བརྒྱད་པ
29
+ - ཟླཝ་དགུ་པ
30
+ - ཟླཝ་བཅུ་པ
31
+ - ཟླཝ་བཅུ་གཅིག་པ
32
+ - ཟླཝ་བཅུ་གཉིས་པ
33
+ day_names:
34
+ - གཟའ་ཟླཝ
35
+ - གཟའ་མིག་དམར
36
+ - གཟའ་ལྷག་པ
37
+ - གཟའ་ཕུརཔ
38
+ - གཟའ་པ་སངས
39
+ - གཟའ་སྤེན་པ
40
+ - གཟའ་ཉི་མ
41
+ formats:
42
+ default: "%Y-%m-%d"
43
+ long: "%d %B %Y"
44
+ short: "%d %b"
45
+ month_names:
46
+ -
47
+ - ཟླཝ་དང་པ
48
+ - ཟླཝ་གཉིས་པ
49
+ - ཟླཝ་གསུམ་པ
50
+ - ཟླཝ་བཞི་པ
51
+ - ཟླཝ་ལྔ་པ
52
+ - ཟླཝ་དྲུག་པ
53
+ - ཟླཝ་བདུན་པ
54
+ - ཟླཝ་བརྒྱད་པ
55
+ - ཟླཝ་དགུ་པ
56
+ - ཟླཝ་བཅུ་པ
57
+ - ཟླཝ་བཅུ་གཅིག་པ
58
+ - ཟླཝ་བཅུ་གཉིས་པ
59
+ order:
60
+ - :ལོ
61
+ - :ཟླཝ
62
+ - :ཉིནམ
63
+ datetime:
64
+ distance_in_words:
65
+ about_x_hours:
66
+ one: ཆུ་ཚོད་ ༡ ་དེ་ཅིག
67
+ other: ཆུ་ཚོད་ %{count} དེ་ཅིག
68
+ about_x_months:
69
+ one: ཟླཝ་ ༡ ་དེ་ཅིག
70
+ other: ཟླཝ་ %{count} དེ་ཅིག
71
+ about_x_years:
72
+ one: ལོ་ ༡ ་དེ་ཅིག
73
+ other: ལོ་ %{count} དེ་ཅིག
74
+ almost_x_years: ལོ %{count} མ་ལྷགཔ་ཅིག
75
+ half_a_minute: སྐར་མ་ཕྱེད་ཀ
76
+ less_than_x_seconds:
77
+ one: སྐར་ཆ་ ༡ ་ལས་ཉུངམ
78
+ other: སྐར་ཆ %{count} ལས་ཉུངམ
79
+ less_than_x_minutes:
80
+ one: སྐར་མ་ ༡ ་ལས་ཉུངམ
81
+ other: སྐར་མ %{count} ལས་ཉུངམ
82
+ over_x_years:
83
+ one: ལོ་ ༡ ་ལྷག
84
+ other: ལོ་%{count}ལས་ལྷག
85
+ x_seconds:
86
+ one: སྐར་ཆ་གཅིག
87
+ other: སྐར་ཆ %{count}
88
+ x_minutes:
89
+ one: སྐར་མ་གཅིག
90
+ other: སྐར་མ %{count}
91
+ x_days:
92
+ one: ཉིནམ་གཅིག
93
+ other: ཉིནམ %{count}
94
+ x_months:
95
+ one: ཟླཝ་གཅིག
96
+ other: ཟླཝ %{count}
97
+ x_years:
98
+ one: ལོ་གཅིག
99
+ other: ལོ %{count}
100
+ prompts:
101
+ second: སྐར་ཆ
102
+ minute: སྐར་མ
103
+ hour: ཆུ་ཚོད
104
+ day: ཉིནམ
105
+ month: ཟླཝ
106
+ year: ལོ
107
+ errors:
108
+ format: "%{attribute} %{message}"
109
+ messages:
110
+ accepted: ངོས་ལན་འབད་དགོ
111
+ blank: སྟོང་པ་མི་བཏུབ
112
+ confirmation: "%{attribute} དང་ཅོག་འཐོད་མིན་འདུག"
113
+ empty: སྟོངམ་མི་བཏུབ
114
+ equal_to: "%{count} དང་འདྲ་མཉམ་དགོ"
115
+ even: འདྲན་འདྲ་དགོ
116
+ exclusion: ཟུར་གསོག
117
+ greater_than: "%{count} ལས་སྦོམ་དགོ"
118
+ greater_than_or_equal_to: "%{count} ལས་མང་སུ་ཡང་ན་འདྲན་འདྲ་དགོ"
119
+ inclusion: ཐོ་ཡིག་གི་གྲངས་སུ་མིན་འདུག
120
+ invalid: ཆ་མེད་ཨིན
121
+ less_than: "%{count} ལས་ཉུང་སུ་ཅིག་དགོ"
122
+ less_than_or_equal_to: "%{count} ལས་ཉུང་སུ་ཡང་ན་འདྲན་འདྲ་དགོ"
123
+ model_invalid: 'ཆ་འཇོག་འཐུས་ཤོར་ཡི: %{errors}'
124
+ not_a_number: ཨང་གྲངས་མེན
125
+ not_an_integer: ཧྲིལ་གྲངས་དགོ
126
+ odd: ཡ་ཨང་དགོ
127
+ other_than: "%{count} ལས་སོ་སོ་ཅིག་དགོ"
128
+ present: ས་སྟོང་བཞག་དགོ
129
+ required: དགོ་རང་དགོ
130
+ taken: ཧེ་མ་ལས་འབག་ཚར་ཡི
131
+ too_long:
132
+ one: ཡིག་འབྲུ་གནམ་མེད་ས་མེད་རིངམ་ཨིན་མེ་(ཡིག་འབྲུ་མཐོ་ཚད་གཅིག་་ཨིན)
133
+ other: ཡིག་འབྲུ་གནམ་མེད་ས་མེད་རིངམ་ཨིན་མེ་(ཡིག་འབྲུ་མཐོ་ཚད་ %{count} ཨིན)
134
+ too_short:
135
+ one: ཡིག་འབྲུ་གནམ་མེད་ས་མེད་ཐུང་སུ་ནུག་(ཡིག་འབྲུ་ཉུང་མཐའ་གཅིག་ཨིན)
136
+ other: ཡིག་འབྲུ་གནམ་མེད་ས་མེད་ཐུང་སུ་ནུག་(ཡིག་འབྲུ་ཉུང་མཐའ་ %{count} ཨིན)
137
+ wrong_length:
138
+ one: ཡིག་འབྲུ་འཛུལ་ནུག་(ཡིག་འབྲུ་གཅིག་ངེས་པར་དུ་དགོ)
139
+ other: ཡིག་འབྲུ་འཛུལ་ནུག་(ཡིག་འབྲུ་ %{count} ངེས་པར་དུ་དགོ)
140
+ template:
141
+ body: འོག་གི་ས་ཁོངས་ཚུ་ན་བཀའ་ངལ་འདུག
142
+ header:
143
+ one: འཛོལ་བ་ཅིག་གིས་ %{model} བསྡུ་བཞག་འབད་ནི་ལུ་བཀག་རྐྱབ་ཅིག
144
+ other: འཛོལ་བ་ %{count} ་གིས་ %{model} འདི་བསྡུ་བཞག་འབད་ནི་ལུ་བཀག་རྐྱབ་ཅིག
145
+ helpers:
146
+ select:
147
+ prompt: གདམ་ཁ་རྐྱབ
148
+ submit:
149
+ create: "%{model} གསར་སྤྲིན་འབད"
150
+ submit: "%{model} བསྡུ་བཞག་འབད"
151
+ update: "%{model} དུས་མཐུན་ཁ་གསོ་འབད"
152
+ number:
153
+ currency:
154
+ format:
155
+ delimiter: ","
156
+ format: "%u%n"
157
+ precision: ༢
158
+ separator: "."
159
+ significant: false
160
+ strip_insignificant_zeros: false
161
+ unit: "$"
162
+ format:
163
+ delimiter: ","
164
+ precision: ༣
165
+ separator: "."
166
+ significant: false
167
+ strip_insignificant_zeros: false
168
+ human:
169
+ decimal_units:
170
+ format: "%n %u"
171
+ units:
172
+ billion: ཐེར་འབུམ
173
+ million: ས་ཡ
174
+ quadrillion: Quadrillion
175
+ thousand: སྟོང་ཕྲག
176
+ trillion: ཁྲག་ཁྲིག་ཆེན་པོ
177
+ unit: ''
178
+ format:
179
+ delimiter: ''
180
+ precision: ༣
181
+ significant: true
182
+ strip_insignificant_zeros: true
183
+ storage_units:
184
+ format: "%n %u"
185
+ units:
186
+ byte:
187
+ one: Byte
188
+ other: Bytes
189
+ eb: EB
190
+ gb: GB
191
+ kb: KB
192
+ mb: MB
193
+ pb: PB
194
+ tb: TB
195
+ percentage:
196
+ format:
197
+ delimiter: ''
198
+ format: "%n%"
199
+ precision:
200
+ format:
201
+ delimiter: ''
202
+ support:
203
+ array:
204
+ last_word_connector: ", དང "
205
+ two_words_connector: " དང "
206
+ words_connector: ", "
207
+ time:
208
+ am: དྲོ་པ་གི་ཆུ་ཚོད་་
209
+ formats:
210
+ default: "%a, %d %b %Y %H:%M:%S %z"
211
+ long: "%d %B %Y %H:%M"
212
+ short: "%d %b %H:%M"
213
+ pm: ཕྱི་རུ་གི་ཆུ་ཚོད་
data/rails/locale/en.yml CHANGED
@@ -118,6 +118,7 @@ en:
118
118
  exclusion: is reserved
119
119
  greater_than: must be greater than %{count}
120
120
  greater_than_or_equal_to: must be greater than or equal to %{count}
121
+ in: must be in %{count}
121
122
  inclusion: is not included in the list
122
123
  invalid: is invalid
123
124
  less_than: must be less than %{count}
@@ -164,6 +165,7 @@ en:
164
165
  format:
165
166
  delimiter: ","
166
167
  precision: 3
168
+ round_mode: default
167
169
  separator: "."
168
170
  significant: false
169
171
  strip_insignificant_zeros: false
@@ -165,6 +165,7 @@ es-419:
165
165
  format:
166
166
  delimiter: ","
167
167
  precision: 2
168
+ round_mode: default
168
169
  separator: "."
169
170
  significant: false
170
171
  strip_insignificant_zeros: false
@@ -164,6 +164,7 @@ es-AR:
164
164
  format:
165
165
  delimiter: "."
166
166
  precision: 2
167
+ round_mode: default
167
168
  separator: ","
168
169
  significant: false
169
170
  strip_insignificant_zeros: false
@@ -164,6 +164,7 @@ es-CL:
164
164
  format:
165
165
  delimiter: "."
166
166
  precision: 3
167
+ round_mode: default
167
168
  separator: ","
168
169
  significant: false
169
170
  strip_insignificant_zeros: false
@@ -164,6 +164,7 @@ es-CO:
164
164
  format:
165
165
  delimiter: "."
166
166
  precision: 2
167
+ round_mode: default
167
168
  separator: ","
168
169
  significant: false
169
170
  strip_insignificant_zeros: false
@@ -164,6 +164,7 @@ es-CR:
164
164
  format:
165
165
  delimiter: ","
166
166
  precision: 2
167
+ round_mode: default
167
168
  separator: "."
168
169
  significant: false
169
170
  strip_insignificant_zeros: false
@@ -165,6 +165,7 @@ es-EC:
165
165
  format:
166
166
  delimiter: ","
167
167
  precision: 3
168
+ round_mode: default
168
169
  separator: "."
169
170
  significant: false
170
171
  strip_insignificant_zeros: false
@@ -164,6 +164,7 @@ es-ES:
164
164
  format:
165
165
  delimiter: "."
166
166
  precision: 3
167
+ round_mode: default
167
168
  separator: ","
168
169
  significant: false
169
170
  strip_insignificant_zeros: false