metadata_presenter 3.4.7 → 3.4.8
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54ba9e6f30f6f3dfaee56c1521557572caaa85768c9cd6628f2d0585548e55ee
|
4
|
+
data.tar.gz: bb3f45a1f0209408257b99b99c4ff1cd393ccde189962f8af503070d1921cb82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f182b421643d0460b2a9eb7b455018503fbc1603fa49e249e0ca91cbe9bf879bc437c6835430e9c0af7bd5ea384efc89a6a52a25275f7e8d62bbba4711749366
|
7
|
+
data.tar.gz: 8bdbeec86b12396cf80a45d5df68ba4604ac7ebf06be86338b9f37a8931abe83587a90663cd640d44034cea3a7cef22d7002ee92786b39b0f878e8c5c1a2cf2b
|
@@ -137,9 +137,9 @@ module MetadataPresenter
|
|
137
137
|
|
138
138
|
def raw_date_answer(component_id)
|
139
139
|
[
|
140
|
-
GOVUKDesignSystemFormBuilder::
|
141
|
-
GOVUKDesignSystemFormBuilder::
|
142
|
-
GOVUKDesignSystemFormBuilder::
|
140
|
+
GOVUKDesignSystemFormBuilder::DEFAULTS[:default_date_segments][:day],
|
141
|
+
GOVUKDesignSystemFormBuilder::DEFAULTS[:default_date_segments][:month],
|
142
|
+
GOVUKDesignSystemFormBuilder::DEFAULTS[:default_date_segments][:year]
|
143
143
|
].map do |segment|
|
144
144
|
sanitize(answers["#{component_id}(#{segment})"])
|
145
145
|
end
|
@@ -4,5 +4,10 @@
|
|
4
4
|
data: { "fb-default-text" => default_text('hint') },
|
5
5
|
text: component.hint
|
6
6
|
},
|
7
|
-
legend: { text: input_title }
|
7
|
+
legend: { text: input_title },
|
8
|
+
segment_names: {
|
9
|
+
day: I18n.t('date.day'),
|
10
|
+
month: I18n.t('date.month'),
|
11
|
+
year: I18n.t('date.year')
|
12
|
+
}
|
8
13
|
%>
|
data/config/locales/cy.yml
CHANGED
@@ -4,6 +4,9 @@ cy:
|
|
4
4
|
abbr_day_names: [ Sul, Llun, Maw, Mer, Iau, Gwe, Sad ]
|
5
5
|
month_names: [ ~, Ionawr, Chwefror, Mawrth, Ebrill, Mai, Mehefin, Gorffennaf, Awst, Medi, Hydref, Tachwedd, Rhagfyr ]
|
6
6
|
abbr_month_names: [ ~, Ion, Chw, Maw, Ebr, Mai, Meh, Gor, Awst, Med, Hyd, Tach, Rha ]
|
7
|
+
day: Diwrnod
|
8
|
+
month: Mis
|
9
|
+
year: Blwyddyn
|
7
10
|
time:
|
8
11
|
am: yb
|
9
12
|
pm: yh
|
data/config/locales/en.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metadata_presenter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MoJ Forms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_design_system_formbuilder
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 5.11.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 5.11.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json-schema
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|