govuk_app_config 4.1.0 → 4.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/govuk_app_config/govuk_i18n.rb +8 -0
- data/lib/govuk_app_config/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f1c91ef4af1e3ddee565df434c56247bd49948c2c610a37add40f2f1c9ecfd58
|
|
4
|
+
data.tar.gz: 653a72692c7fbbe97f5717adac39d282a54834e05b2d934d6c2d5c22a8671000
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba9588d5172ca683b37ebbe74768fa1fc040c2b7b7aedf7bb7c794f14f15ae5c0b16689293a601ad3d8247d20155fb18f53d8c76aef6ffe6a769549bf1162aca
|
|
7
|
+
data.tar.gz: b23829fa60d1c5cb50f0ace75d5c26e8dd6daab88344bdb4dfb33e6690fd70c959885e23c3996240474fd27de4b0aa02f11f151570424a5c0b9cd99bdfb666f5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
module GovukI18n
|
|
2
2
|
def self.plurals
|
|
3
3
|
{
|
|
4
|
+
# Azerbaijani
|
|
5
|
+
az: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
|
|
4
6
|
# Dari - this isn't an iso code. Probably should be 'prs' as per ISO 639-3.
|
|
5
7
|
dr: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
|
|
6
8
|
# Latin America and Caribbean Spanish
|
|
7
9
|
"es-419": { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
|
|
10
|
+
# Persian
|
|
11
|
+
fa: { i18n: { plural: { keys: %i[one other], rule: ->(n) { [0, 1].include?(n) ? :one : :other } } } },
|
|
8
12
|
# Scottish Gaelic
|
|
9
13
|
gd: { i18n: { plural: { keys: %i[one two few other],
|
|
10
14
|
rule:
|
|
@@ -21,12 +25,16 @@ module GovukI18n
|
|
|
21
25
|
end } } },
|
|
22
26
|
# Armenian
|
|
23
27
|
hy: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
|
|
28
|
+
# Georgian
|
|
29
|
+
ka: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
|
|
24
30
|
# Kazakh
|
|
25
31
|
kk: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
|
|
26
32
|
# Punjabi Shahmukhi
|
|
27
33
|
"pa-pk": { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
|
|
28
34
|
# Sinhalese
|
|
29
35
|
si: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
|
|
36
|
+
# Turkish
|
|
37
|
+
tr: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
|
|
30
38
|
# Uzbek
|
|
31
39
|
uz: { i18n: { plural: { keys: %i[one other], rule: ->(n) { n == 1 ? :one : :other } } } },
|
|
32
40
|
# Chinese Hong Kong
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: govuk_app_config
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GOV.UK Dev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-01-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logstasher
|