govuk_publishing_components 24.11.0 → 24.13.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js +1 -1
  3. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +3 -0
  4. data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +50 -31
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +0 -35
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +0 -13
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +0 -6
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +0 -4
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +10 -3
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +11 -1
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +1 -1
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +0 -1
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_show-password.scss +1 -0
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +8 -2
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +6 -2
  16. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +1 -0
  17. data/app/views/govuk_publishing_components/components/_action_link.html.erb +2 -1
  18. data/app/views/govuk_publishing_components/components/_attachment.html.erb +3 -3
  19. data/app/views/govuk_publishing_components/components/_attachment_link.html.erb +1 -1
  20. data/app/views/govuk_publishing_components/components/_character_count.html.erb +1 -1
  21. data/app/views/govuk_publishing_components/components/_contents_list.html.erb +10 -3
  22. data/app/views/govuk_publishing_components/components/_contextual_sidebar.html.erb +2 -2
  23. data/app/views/govuk_publishing_components/components/_cookie_banner.html.erb +16 -6
  24. data/app/views/govuk_publishing_components/components/_government_navigation.html.erb +14 -14
  25. data/app/views/govuk_publishing_components/components/_image_card.html.erb +15 -2
  26. data/app/views/govuk_publishing_components/components/_layout_footer.html.erb +6 -9
  27. data/app/views/govuk_publishing_components/components/_metadata.html.erb +6 -6
  28. data/app/views/govuk_publishing_components/components/_modal_dialogue.html.erb +1 -1
  29. data/app/views/govuk_publishing_components/components/_organisation_logo.html.erb +13 -13
  30. data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +11 -7
  31. data/app/views/govuk_publishing_components/components/_share_links.html.erb +1 -1
  32. data/app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb +4 -4
  33. data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +1 -1
  34. data/app/views/govuk_publishing_components/components/_subscription_links.html.erb +9 -9
  35. data/app/views/govuk_publishing_components/components/_success_alert.html.erb +1 -1
  36. data/app/views/govuk_publishing_components/components/_tabs.html.erb +1 -1
  37. data/app/views/govuk_publishing_components/components/contextual_sidebar/_brexit_cta.html.erb +9 -4
  38. data/app/views/govuk_publishing_components/components/docs/government_navigation.yml +2 -0
  39. data/app/views/govuk_publishing_components/components/docs/inset_text.yml +2 -2
  40. data/app/views/govuk_publishing_components/components/docs/inverse_header.yml +18 -15
  41. data/app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb +6 -6
  42. data/app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb +5 -5
  43. data/app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb +6 -6
  44. data/app/views/govuk_publishing_components/components/metadata/_sentence.html.erb +2 -2
  45. data/app/views/govuk_publishing_components/components/related_navigation/_section.html.erb +1 -1
  46. data/config/locales/ar.yml +33 -0
  47. data/config/locales/az.yml +33 -0
  48. data/config/locales/be.yml +33 -0
  49. data/config/locales/bg.yml +33 -0
  50. data/config/locales/bn.yml +33 -0
  51. data/config/locales/cs.yml +33 -0
  52. data/config/locales/cy.yml +34 -1
  53. data/config/locales/da.yml +33 -0
  54. data/config/locales/de.yml +33 -0
  55. data/config/locales/dr.yml +33 -0
  56. data/config/locales/el.yml +33 -0
  57. data/config/locales/en.yml +45 -9
  58. data/config/locales/es-419.yml +33 -0
  59. data/config/locales/es.yml +33 -0
  60. data/config/locales/et.yml +33 -0
  61. data/config/locales/fa.yml +33 -0
  62. data/config/locales/fi.yml +33 -0
  63. data/config/locales/fr.yml +33 -0
  64. data/config/locales/gd.yml +33 -0
  65. data/config/locales/gu.yml +33 -0
  66. data/config/locales/he.yml +33 -0
  67. data/config/locales/hi.yml +33 -0
  68. data/config/locales/hr.yml +33 -0
  69. data/config/locales/hu.yml +33 -0
  70. data/config/locales/hy.yml +33 -0
  71. data/config/locales/id.yml +33 -0
  72. data/config/locales/is.yml +33 -0
  73. data/config/locales/it.yml +33 -0
  74. data/config/locales/ja.yml +33 -0
  75. data/config/locales/ka.yml +33 -0
  76. data/config/locales/kk.yml +33 -0
  77. data/config/locales/ko.yml +33 -0
  78. data/config/locales/lt.yml +33 -0
  79. data/config/locales/lv.yml +33 -0
  80. data/config/locales/ms.yml +33 -0
  81. data/config/locales/mt.yml +33 -0
  82. data/config/locales/nl.yml +33 -0
  83. data/config/locales/no.yml +33 -0
  84. data/config/locales/pa-pk.yml +33 -0
  85. data/config/locales/pa.yml +33 -0
  86. data/config/locales/pl.yml +33 -0
  87. data/config/locales/ps.yml +33 -0
  88. data/config/locales/pt.yml +33 -0
  89. data/config/locales/ro.yml +33 -0
  90. data/config/locales/ru.yml +33 -0
  91. data/config/locales/si.yml +33 -0
  92. data/config/locales/sk.yml +33 -0
  93. data/config/locales/sl.yml +33 -0
  94. data/config/locales/so.yml +33 -0
  95. data/config/locales/sq.yml +33 -0
  96. data/config/locales/sr.yml +33 -0
  97. data/config/locales/sv.yml +33 -0
  98. data/config/locales/sw.yml +33 -0
  99. data/config/locales/ta.yml +33 -0
  100. data/config/locales/th.yml +33 -0
  101. data/config/locales/tk.yml +33 -0
  102. data/config/locales/tr.yml +33 -0
  103. data/config/locales/uk.yml +33 -0
  104. data/config/locales/ur.yml +33 -0
  105. data/config/locales/uz.yml +33 -0
  106. data/config/locales/vi.yml +33 -0
  107. data/config/locales/zh-hk.yml +33 -0
  108. data/config/locales/zh-tw.yml +33 -0
  109. data/config/locales/zh.yml +33 -0
  110. data/lib/govuk_publishing_components.rb +1 -0
  111. data/lib/govuk_publishing_components/presenters/brexit_cta_helper.rb +33 -0
  112. data/lib/govuk_publishing_components/presenters/content_item.rb +1 -3
  113. data/lib/govuk_publishing_components/presenters/contents_list_helper.rb +0 -3
  114. data/lib/govuk_publishing_components/presenters/public_layout_helper.rb +1 -1
  115. data/lib/govuk_publishing_components/version.rb +1 -1
  116. metadata +8 -7
@@ -13,15 +13,36 @@ de:
13
13
  scoped_search_description:
14
14
  attachment:
15
15
  opendocument_html:
16
+ order_a_copy:
17
+ page:
18
+ one:
19
+ other:
20
+ reference:
16
21
  request_format_cta:
17
22
  request_format_details_html:
18
23
  request_format_text:
19
24
  back_link:
20
25
  back:
26
+ character_count:
27
+ body:
28
+ type:
29
+ characters:
30
+ words:
21
31
  checkboxes:
22
32
  or:
23
33
  contents_list:
24
34
  contents:
35
+ contextual_sidebar:
36
+ pretitle:
37
+ cookie_banner:
38
+ buttons:
39
+ accept_cookies:
40
+ reject_cookies:
41
+ confirmation_message:
42
+ confirmation_message_link:
43
+ hide:
44
+ text:
45
+ title:
25
46
  feedback:
26
47
  close:
27
48
  dont_include_personal_info:
@@ -48,6 +69,10 @@ de:
48
69
  news_and_communications:
49
70
  statistics:
50
71
  worldwide:
72
+ layout_footer:
73
+ copyright_html:
74
+ licence_html:
75
+ support_links:
51
76
  layout_header:
52
77
  hide_button:
53
78
  menu:
@@ -63,6 +88,8 @@ de:
63
88
  see_all_updates:
64
89
  toggle_less:
65
90
  toggle_more:
91
+ modal_dialogue:
92
+ close_modal:
66
93
  organisation_schema:
67
94
  all_content_search_description:
68
95
  previous_and_next_navigation:
@@ -89,6 +116,9 @@ de:
89
116
  topical_events:
90
117
  topics:
91
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
92
122
  link_path:
93
123
  link_text:
94
124
  title:
@@ -115,6 +145,7 @@ de:
115
145
  part_of:
116
146
  subscription_links:
117
147
  email_signup_link_text:
148
+ feed_link_label:
118
149
  feed_link_text:
119
150
  subscriptions:
120
151
  success_alert:
@@ -122,3 +153,5 @@ de:
122
153
  summary_list:
123
154
  delete:
124
155
  edit:
156
+ tabs:
157
+ contents:
@@ -13,15 +13,36 @@ dr:
13
13
  scoped_search_description:
14
14
  attachment:
15
15
  opendocument_html:
16
+ order_a_copy:
17
+ page:
18
+ one:
19
+ other:
20
+ reference:
16
21
  request_format_cta:
17
22
  request_format_details_html:
18
23
  request_format_text:
19
24
  back_link:
20
25
  back:
26
+ character_count:
27
+ body:
28
+ type:
29
+ characters:
30
+ words:
21
31
  checkboxes:
22
32
  or:
23
33
  contents_list:
24
34
  contents:
35
+ contextual_sidebar:
36
+ pretitle:
37
+ cookie_banner:
38
+ buttons:
39
+ accept_cookies:
40
+ reject_cookies:
41
+ confirmation_message:
42
+ confirmation_message_link:
43
+ hide:
44
+ text:
45
+ title:
25
46
  feedback:
26
47
  close:
27
48
  dont_include_personal_info:
@@ -48,6 +69,10 @@ dr:
48
69
  news_and_communications:
49
70
  statistics:
50
71
  worldwide:
72
+ layout_footer:
73
+ copyright_html:
74
+ licence_html:
75
+ support_links:
51
76
  layout_header:
52
77
  hide_button:
53
78
  menu:
@@ -63,6 +88,8 @@ dr:
63
88
  see_all_updates:
64
89
  toggle_less:
65
90
  toggle_more:
91
+ modal_dialogue:
92
+ close_modal:
66
93
  organisation_schema:
67
94
  all_content_search_description:
68
95
  previous_and_next_navigation:
@@ -89,6 +116,9 @@ dr:
89
116
  topical_events:
90
117
  topics:
91
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
92
122
  link_path:
93
123
  link_text:
94
124
  title:
@@ -115,6 +145,7 @@ dr:
115
145
  part_of:
116
146
  subscription_links:
117
147
  email_signup_link_text:
148
+ feed_link_label:
118
149
  feed_link_text:
119
150
  subscriptions:
120
151
  success_alert:
@@ -122,3 +153,5 @@ dr:
122
153
  summary_list:
123
154
  delete:
124
155
  edit:
156
+ tabs:
157
+ contents:
@@ -13,15 +13,36 @@ el:
13
13
  scoped_search_description:
14
14
  attachment:
15
15
  opendocument_html:
16
+ order_a_copy:
17
+ page:
18
+ one:
19
+ other:
20
+ reference:
16
21
  request_format_cta:
17
22
  request_format_details_html:
18
23
  request_format_text:
19
24
  back_link:
20
25
  back:
26
+ character_count:
27
+ body:
28
+ type:
29
+ characters:
30
+ words:
21
31
  checkboxes:
22
32
  or:
23
33
  contents_list:
24
34
  contents:
35
+ contextual_sidebar:
36
+ pretitle:
37
+ cookie_banner:
38
+ buttons:
39
+ accept_cookies:
40
+ reject_cookies:
41
+ confirmation_message:
42
+ confirmation_message_link:
43
+ hide:
44
+ text:
45
+ title:
25
46
  feedback:
26
47
  close:
27
48
  dont_include_personal_info:
@@ -48,6 +69,10 @@ el:
48
69
  news_and_communications:
49
70
  statistics:
50
71
  worldwide:
72
+ layout_footer:
73
+ copyright_html:
74
+ licence_html:
75
+ support_links:
51
76
  layout_header:
52
77
  hide_button:
53
78
  menu:
@@ -63,6 +88,8 @@ el:
63
88
  see_all_updates:
64
89
  toggle_less:
65
90
  toggle_more:
91
+ modal_dialogue:
92
+ close_modal:
66
93
  organisation_schema:
67
94
  all_content_search_description:
68
95
  previous_and_next_navigation:
@@ -89,6 +116,9 @@ el:
89
116
  topical_events:
90
117
  topics:
91
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
92
122
  link_path:
93
123
  link_text:
94
124
  title:
@@ -115,6 +145,7 @@ el:
115
145
  part_of:
116
146
  subscription_links:
117
147
  email_signup_link_text:
148
+ feed_link_label:
118
149
  feed_link_text:
119
150
  subscriptions:
120
151
  success_alert:
@@ -122,3 +153,5 @@ el:
122
153
  summary_list:
123
154
  delete:
124
155
  edit:
156
+ tabs:
157
+ contents:
@@ -14,6 +14,11 @@ en:
14
14
  attachment:
15
15
  opendocument_html: This file is in an <a href='https://www.gov.uk/guidance/using-open-document-formats-odf-in-your-organisation'
16
16
  target=%{target} class='govuk-link'>OpenDocument</a> format
17
+ order_a_copy: Order a copy
18
+ page:
19
+ one: 1 page
20
+ other: '%{count} pages'
21
+ reference: 'Ref: %{reference}'
17
22
  request_format_cta: Request an accessible format.
18
23
  request_format_details_html: If you use assistive technology (such as a screen
19
24
  reader) and need a version of this document in a more accessible format, please
@@ -24,10 +29,29 @@ en:
24
29
  request_format_text: This file may not be suitable for users of assistive technology.
25
30
  back_link:
26
31
  back: Back
32
+ character_count:
33
+ body: You can enter up to %{number} %{type}
34
+ type:
35
+ characters: characters
36
+ words: words
27
37
  checkboxes:
28
38
  or: or
29
39
  contents_list:
30
40
  contents: Contents
41
+ contextual_sidebar:
42
+ pretitle: Also part of
43
+ cookie_banner:
44
+ buttons:
45
+ accept_cookies: Accept additional cookies
46
+ reject_cookies: Reject additional cookies
47
+ hide: Hide this message
48
+ text:
49
+ - We use some essential cookies to make this website work.
50
+ - We’d like to set additional cookies to understand how you use GOV.UK, remember your settings and improve government services.
51
+ - We also use cookies set by other sites to help us deliver content from their services.
52
+ confirmation_message: You can %{link} at any time.
53
+ confirmation_message_link: change your cookie settings
54
+ title: Cookies on GOV.UK
31
55
  feedback:
32
56
  close: Close
33
57
  dont_include_personal_info: Don’t include personal or financial information
@@ -51,13 +75,17 @@ en:
51
75
  what_wrong: What went wrong?
52
76
  'yes': 'Yes'
53
77
  government_navigation:
54
- consultations:
55
- departments:
56
- get-involved:
57
- how-government-works:
58
- news_and_communications:
59
- statistics:
60
- worldwide:
78
+ consultations: Consultations
79
+ departments: Departments
80
+ get-involved: Get involved
81
+ how-government-works: How government works
82
+ news_and_communications: News and communications
83
+ statistics: Statistics
84
+ worldwide: Worldwide
85
+ layout_footer:
86
+ copyright_html: <a class="govuk-footer__link govuk-footer__copyright-logo" href="http://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/">© Crown copyright</a>
87
+ licence_html: All content is available under the <a class="govuk-footer__link" href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" rel="license">Open Government Licence v3.0</a>, except where otherwise stated
88
+ support_links: Support links
61
89
  layout_header:
62
90
  hide_button: Hide search
63
91
  menu: Menu
@@ -73,10 +101,12 @@ en:
73
101
  see_all_updates: See all updates
74
102
  toggle_less: Show fewer
75
103
  toggle_more: "+ %{number} more"
104
+ modal_dialogue:
105
+ close_modal: Close modal dialogue
76
106
  organisation_schema:
77
107
  all_content_search_description: Find all content from %{organisation}
78
108
  previous_and_next_navigation:
79
- pagination:
109
+ pagination: Pagination
80
110
  print_link:
81
111
  text: Print this page
82
112
  radio:
@@ -99,9 +129,12 @@ en:
99
129
  topical_events: Topical event
100
130
  topics: Explore the topic
101
131
  transition:
102
- link_path: "/transition"
132
+ link_path: "/brexit"
103
133
  link_text: Check what you need to do
104
134
  title: Brexit
135
+ hub_page_link_path: "/transition-check/questions"
136
+ hub_page_link_text: Get a personalised list of actions
137
+ hub_page_title: Brexit checker
105
138
  world_locations: World locations
106
139
  search_box:
107
140
  input_title: Search
@@ -125,6 +158,7 @@ en:
125
158
  part_of: Part of
126
159
  subscription_links:
127
160
  email_signup_link_text: Get emails
161
+ feed_link_label: Copy and paste this URL into your feed reader
128
162
  feed_link_text: Subscribe to feed
129
163
  subscriptions: Subscriptions
130
164
  success_alert:
@@ -132,3 +166,5 @@ en:
132
166
  summary_list:
133
167
  delete: Delete
134
168
  edit: Change
169
+ tabs:
170
+ contents: Contents
@@ -13,15 +13,36 @@ es-419:
13
13
  scoped_search_description:
14
14
  attachment:
15
15
  opendocument_html:
16
+ order_a_copy:
17
+ page:
18
+ one:
19
+ other:
20
+ reference:
16
21
  request_format_cta:
17
22
  request_format_details_html:
18
23
  request_format_text:
19
24
  back_link:
20
25
  back:
26
+ character_count:
27
+ body:
28
+ type:
29
+ characters:
30
+ words:
21
31
  checkboxes:
22
32
  or:
23
33
  contents_list:
24
34
  contents:
35
+ contextual_sidebar:
36
+ pretitle:
37
+ cookie_banner:
38
+ buttons:
39
+ accept_cookies:
40
+ reject_cookies:
41
+ confirmation_message:
42
+ confirmation_message_link:
43
+ hide:
44
+ text:
45
+ title:
25
46
  feedback:
26
47
  close:
27
48
  dont_include_personal_info:
@@ -48,6 +69,10 @@ es-419:
48
69
  news_and_communications:
49
70
  statistics:
50
71
  worldwide:
72
+ layout_footer:
73
+ copyright_html:
74
+ licence_html:
75
+ support_links:
51
76
  layout_header:
52
77
  hide_button:
53
78
  menu:
@@ -63,6 +88,8 @@ es-419:
63
88
  see_all_updates:
64
89
  toggle_less:
65
90
  toggle_more:
91
+ modal_dialogue:
92
+ close_modal:
66
93
  organisation_schema:
67
94
  all_content_search_description:
68
95
  previous_and_next_navigation:
@@ -89,6 +116,9 @@ es-419:
89
116
  topical_events:
90
117
  topics:
91
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
92
122
  link_path:
93
123
  link_text:
94
124
  title:
@@ -115,6 +145,7 @@ es-419:
115
145
  part_of:
116
146
  subscription_links:
117
147
  email_signup_link_text:
148
+ feed_link_label:
118
149
  feed_link_text:
119
150
  subscriptions:
120
151
  success_alert:
@@ -122,3 +153,5 @@ es-419:
122
153
  summary_list:
123
154
  delete:
124
155
  edit:
156
+ tabs:
157
+ contents:
@@ -13,15 +13,36 @@ es:
13
13
  scoped_search_description:
14
14
  attachment:
15
15
  opendocument_html:
16
+ order_a_copy:
17
+ page:
18
+ one:
19
+ other:
20
+ reference:
16
21
  request_format_cta:
17
22
  request_format_details_html:
18
23
  request_format_text:
19
24
  back_link:
20
25
  back:
26
+ character_count:
27
+ body:
28
+ type:
29
+ characters:
30
+ words:
21
31
  checkboxes:
22
32
  or:
23
33
  contents_list:
24
34
  contents:
35
+ contextual_sidebar:
36
+ pretitle:
37
+ cookie_banner:
38
+ buttons:
39
+ accept_cookies:
40
+ reject_cookies:
41
+ confirmation_message:
42
+ confirmation_message_link:
43
+ hide:
44
+ text:
45
+ title:
25
46
  feedback:
26
47
  close:
27
48
  dont_include_personal_info:
@@ -48,6 +69,10 @@ es:
48
69
  news_and_communications:
49
70
  statistics:
50
71
  worldwide:
72
+ layout_footer:
73
+ copyright_html:
74
+ licence_html:
75
+ support_links:
51
76
  layout_header:
52
77
  hide_button:
53
78
  menu:
@@ -63,6 +88,8 @@ es:
63
88
  see_all_updates:
64
89
  toggle_less:
65
90
  toggle_more:
91
+ modal_dialogue:
92
+ close_modal:
66
93
  organisation_schema:
67
94
  all_content_search_description:
68
95
  previous_and_next_navigation:
@@ -89,6 +116,9 @@ es:
89
116
  topical_events:
90
117
  topics:
91
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
92
122
  link_path:
93
123
  link_text:
94
124
  title:
@@ -115,6 +145,7 @@ es:
115
145
  part_of:
116
146
  subscription_links:
117
147
  email_signup_link_text:
148
+ feed_link_label:
118
149
  feed_link_text:
119
150
  subscriptions:
120
151
  success_alert:
@@ -122,3 +153,5 @@ es:
122
153
  summary_list:
123
154
  delete:
124
155
  edit:
156
+ tabs:
157
+ contents: