rails_translation_manager 1.5.1 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a65778c39b278103e8338f32392a62d043fe00cbe5d17e6f6022430535fe49e
4
- data.tar.gz: e6bb43c0f68cf6d11d2da6299119e6c25f1a7164df0e6bf6314f8c3f32b08e6a
3
+ metadata.gz: '0586632094e19c18a2fef0977554080b300afd1b590b25396f7212bc699bcf49'
4
+ data.tar.gz: b40d1c4a33d1ab35e2dd997a28dbf1cf43303e96ef12b87b6f309038bee63754
5
5
  SHA512:
6
- metadata.gz: 8c0ef6580950126127bede40d39a56b4702bafbd177c43a22e74d8e1761ab3564a27614e66c26fd8d8d1e6cb3c0ab8cbc0359b295f014fe28b2a07dd27878259
7
- data.tar.gz: f289ee8695990b0e1561fc8cab17abf99ecb7aa0f9b63136179d08e0a1ae4b19f5d4fd01100b1d03b8afcf9336016c2b4034e6bd29b5eadf36b66a37c8dba1e5
6
+ metadata.gz: 6f99d23e8366b0d646d0e2e273cc2919cbf156b5b82a28de499ea4195f8c34ec956e00e118c8eefe09a378a07417bba8f7d6197c91559442e43f649081b63c94
7
+ data.tar.gz: f1e76272d20dad72b019f078302329137308072e44054174591de882db82826f9fd9aca7c71df6a11d238b750e69039092316788e11d960172e7a673f9a01538
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.6
1
+ 2.7.6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.5.2
2
+
3
+ Add missing plurals for Gujarati and Yiddish https://github.com/alphagov/rails_translation_manager/pull/44
4
+
1
5
  # 1.5.1
2
6
 
3
7
  Fixes uppercase bug when comparing actual vs available locales. https://github.com/alphagov/rails_translation_manager/pull/43
@@ -5,6 +5,8 @@
5
5
  dr: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
6
6
  # Latin America and Caribbean Spanish
7
7
  "es-419": { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
8
+ # Gujarati
9
+ gu: { i18n: { plural: { keys: %i[one other], rule: ->(n) { [0, 1].include?(n) ? :one : :other } } } },
8
10
  # Scottish Gaelic
9
11
  gd: { i18n: { plural: { keys: %i[one two few other],
10
12
  rule: lambda do |n|
@@ -18,8 +20,6 @@
18
20
  :other
19
21
  end
20
22
  end } } },
21
- # Gujarati
22
- gu: { i18n: { plural: { keys: %i[one other], rule: ->(n) { [0, 1].include?(n) ? :one : :other } } } },
23
23
  # Armenian
24
24
  hy: { i18n: { plural: { keys: %i[one other], rule: ->(n) { [0, 1].include?(n) ? :one : :other } } } },
25
25
  # Kazakh
@@ -42,6 +42,8 @@
42
42
  tk: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
43
43
  # Uzbek
44
44
  uz: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
45
+ # Yiddish
46
+ yi: { i18n: { plural: { keys: %i[one other], rule: ->(n) { [0, 1].include?(n) ? :one : :other } } } },
45
47
  # Chinese Hong Kong
46
48
  'zh-hk' => { i18n: { plural: { keys: %i[other], rule: -> { :other } } } },
47
49
  # Chinese Taiwan
@@ -1,3 +1,3 @@
1
1
  module RailsTranslationManager
2
- VERSION = "1.5.1"
2
+ VERSION = "1.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_translation_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edd Sowden
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-01 00:00:00.000000000 Z
11
+ date: 2022-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -235,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
237
  requirements: []
238
- rubygems_version: 3.0.3
238
+ rubygems_version: 3.1.6
239
239
  signing_key:
240
240
  specification_version: 4
241
241
  summary: Tasks to manage translation files