rails_translation_manager 1.6.2 → 1.6.3

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: e78d6948f6352a4d8f9d07aca6681aacee4fb98d86c415e07ad44bf0823decd4
4
- data.tar.gz: f8c1792ba8534bf288a83169d4becd493fa622f0c3dc8c15f7e990b912f76455
3
+ metadata.gz: b22e022079868b0d53fef06e6ff5b01dcaead0581e83717129bdcd7390b052c9
4
+ data.tar.gz: 88132ad55d9464db0d5ada804264839d7229f47d30e2960ced17a16e198be63d
5
5
  SHA512:
6
- metadata.gz: 011a2ff414a52a94b13613fd9d45ecd98ba0c60a363eb1714a997268c68e57e6843afef40a35f56f3bae62a7d5bd6bb02adea90bb2d732e3c456c4f788ebde81
7
- data.tar.gz: 787c726abdd03338cf0752add06752b645c699354c468968cd9de0b53ddc040395ac3a1697e1c68392794a6550b13abe3492d4c8588b2d500c57d0a099d7ab92
6
+ metadata.gz: d3ee1b5e7edfbbb85e954d76670eb11fef58c78e364fff488802cf2adbcaec9be9712cf28751025cfb57dbd3f82f71d84cdd0a015080ecd2d4fdaec0226a6dc9
7
+ data.tar.gz: c3436392abd8892303c3708ffc9bd54e140f1bd7d461b62bca4a12a6722781341458ce7257f4457d234633dc785e3185da23eef57fefeff9d43c65334db2dd66
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.6.3
2
+
3
+ * Use proc for single plural languages https://github.com/alphagov/rails_translation_manager/pull/62
4
+
1
5
  # 1.6.2
2
6
 
3
7
  * Load plural rules after initialising app https://github.com/alphagov/rails_translation_manager/pull/61
@@ -79,9 +79,9 @@
79
79
  # Yiddish
80
80
  yi: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
81
81
  # Chinese
82
- zh: { i18n: { plural: { keys: %i[other], rule: -> { :other } } } },
82
+ zh: { i18n: { plural: { keys: %i[other], rule: proc { :other } } } },
83
83
  # Chinese Hong Kong
84
- "zh-hk": { i18n: { plural: { keys: %i[other], rule: -> { :other } } } },
84
+ "zh-hk": { i18n: { plural: { keys: %i[other], rule: proc { :other } } } },
85
85
  # Chinese Taiwan
86
- "zh-tw": { i18n: { plural: { keys: %i[other], rule: -> { :other } } } }
86
+ "zh-tw": { i18n: { plural: { keys: %i[other], rule: proc { :other } } } }
87
87
  }
@@ -1,3 +1,3 @@
1
1
  module RailsTranslationManager
2
- VERSION = "1.6.2"
2
+ VERSION = "1.6.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_translation_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev