govuk_publishing_components 24.10.0 → 24.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/analytics/pii.js +1 -1
  3. data/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js +6 -248
  4. data/app/assets/javascripts/govuk_publishing_components/components/accordion.js +1 -1
  5. data/app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js +1 -0
  6. data/app/assets/javascripts/govuk_publishing_components/components/feedback.js +142 -104
  7. data/app/assets/javascripts/govuk_publishing_components/components/reorderable-list.js +1 -1
  8. data/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js +2 -2
  9. data/app/assets/javascripts/govuk_publishing_components/lib/trigger-event.js +18 -0
  10. data/app/assets/stylesheets/govuk_publishing_components/_all_components_print.scss +0 -11
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak.scss +1 -0
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +15 -18
  13. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss +27 -24
  14. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +1 -1
  15. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +1 -0
  16. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss +1 -0
  17. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +1 -0
  18. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +1 -0
  19. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss +1 -0
  20. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +1 -0
  21. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_form-download.scss +19 -16
  22. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_fraction.scss +1 -0
  23. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +30 -27
  24. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss +1 -0
  25. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_information-callout.scss +1 -0
  26. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_legislative-list.scss +1 -0
  27. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_place.scss +26 -21
  28. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_stat-headline.scss +1 -0
  29. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_steps.scss +19 -16
  30. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_summary.scss +21 -18
  31. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss +1 -0
  32. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +1 -0
  33. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +1 -0
  34. data/app/assets/stylesheets/govuk_publishing_components/components/print/_attachment.scss +2 -3
  35. data/app/assets/stylesheets/govuk_publishing_components/components/print/_back-link.scss +2 -3
  36. data/app/assets/stylesheets/govuk_publishing_components/components/print/_button.scss +0 -4
  37. data/app/assets/stylesheets/govuk_publishing_components/components/print/_feedback.scss +2 -3
  38. data/app/assets/stylesheets/govuk_publishing_components/components/print/_layout-footer.scss +2 -6
  39. data/app/assets/stylesheets/govuk_publishing_components/components/print/_layout-header.scss +2 -3
  40. data/app/assets/stylesheets/govuk_publishing_components/components/print/_metadata.scss +2 -6
  41. data/app/assets/stylesheets/govuk_publishing_components/components/print/_search.scss +2 -3
  42. data/app/assets/stylesheets/govuk_publishing_components/components/print/_share-links.scss +2 -3
  43. data/app/assets/stylesheets/govuk_publishing_components/components/print/_skip-link.scss +2 -3
  44. data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav-header.scss +0 -4
  45. data/app/assets/stylesheets/govuk_publishing_components/components/print/_subscription-links.scss +2 -3
  46. data/app/assets/stylesheets/govuk_publishing_components/components/print/_translation-nav.scss +2 -3
  47. data/app/views/govuk_publishing_components/components/_attachment.html.erb +1 -1
  48. data/app/views/govuk_publishing_components/components/_back_link.html.erb +1 -1
  49. data/app/views/govuk_publishing_components/components/_button.html.erb +1 -1
  50. data/app/views/govuk_publishing_components/components/_feedback.html.erb +1 -1
  51. data/app/views/govuk_publishing_components/components/_government_navigation.html.erb +7 -7
  52. data/app/views/govuk_publishing_components/components/_layout_footer.html.erb +5 -3
  53. data/app/views/govuk_publishing_components/components/_layout_header.html.erb +1 -1
  54. data/app/views/govuk_publishing_components/components/_machine_readable_metadata.html.erb +1 -1
  55. data/app/views/govuk_publishing_components/components/_metadata.html.erb +9 -8
  56. data/app/views/govuk_publishing_components/components/_phase_banner.html.erb +1 -5
  57. data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +1 -1
  58. data/app/views/govuk_publishing_components/components/_print_link.html.erb +1 -1
  59. data/app/views/govuk_publishing_components/components/_radio.html.erb +6 -11
  60. data/app/views/govuk_publishing_components/components/_search.html.erb +1 -1
  61. data/app/views/govuk_publishing_components/components/_share_links.html.erb +1 -1
  62. data/app/views/govuk_publishing_components/components/_skip_link.html.erb +1 -1
  63. data/app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb +6 -6
  64. data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +1 -1
  65. data/app/views/govuk_publishing_components/components/_subscription_links.html.erb +2 -2
  66. data/app/views/govuk_publishing_components/components/_success_alert.html.erb +1 -1
  67. data/app/views/govuk_publishing_components/components/_translation_nav.html.erb +1 -1
  68. data/app/views/govuk_publishing_components/components/docs/feedback.yml +2 -0
  69. data/app/views/govuk_publishing_components/components/docs/phase_banner.yml +2 -2
  70. data/app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb +2 -2
  71. data/app/views/govuk_publishing_components/components/metadata/_sentence.html.erb +4 -4
  72. data/app/views/govuk_publishing_components/components/related_navigation/_section.html.erb +2 -2
  73. data/config/locales/ar.yml +123 -0
  74. data/config/locales/az.yml +123 -0
  75. data/config/locales/be.yml +123 -0
  76. data/config/locales/bg.yml +123 -0
  77. data/config/locales/bn.yml +123 -0
  78. data/config/locales/cs.yml +123 -0
  79. data/config/locales/cy.yml +115 -6
  80. data/config/locales/da.yml +123 -0
  81. data/config/locales/de.yml +123 -0
  82. data/config/locales/dr.yml +123 -0
  83. data/config/locales/el.yml +123 -0
  84. data/config/locales/en.yml +111 -103
  85. data/config/locales/es-419.yml +123 -0
  86. data/config/locales/es.yml +123 -0
  87. data/config/locales/et.yml +120 -0
  88. data/config/locales/fa.yml +123 -0
  89. data/config/locales/fi.yml +123 -0
  90. data/config/locales/fr.yml +120 -0
  91. data/config/locales/gd.yml +123 -0
  92. data/config/locales/gu.yml +123 -0
  93. data/config/locales/he.yml +123 -0
  94. data/config/locales/hi.yml +123 -0
  95. data/config/locales/hr.yml +123 -0
  96. data/config/locales/hu.yml +123 -0
  97. data/config/locales/hy.yml +123 -0
  98. data/config/locales/id.yml +123 -0
  99. data/config/locales/is.yml +123 -0
  100. data/config/locales/it.yml +123 -0
  101. data/config/locales/ja.yml +123 -0
  102. data/config/locales/ka.yml +123 -0
  103. data/config/locales/kk.yml +123 -0
  104. data/config/locales/ko.yml +123 -0
  105. data/config/locales/lt.yml +123 -0
  106. data/config/locales/lv.yml +123 -0
  107. data/config/locales/ms.yml +123 -0
  108. data/config/locales/mt.yml +123 -0
  109. data/config/locales/nl.yml +123 -0
  110. data/config/locales/no.yml +124 -1
  111. data/config/locales/pa-pk.yml +123 -0
  112. data/config/locales/pa.yml +123 -0
  113. data/config/locales/pl.yml +123 -0
  114. data/config/locales/ps.yml +123 -0
  115. data/config/locales/pt.yml +123 -0
  116. data/config/locales/ro.yml +123 -0
  117. data/config/locales/ru.yml +123 -0
  118. data/config/locales/si.yml +123 -0
  119. data/config/locales/sk.yml +123 -0
  120. data/config/locales/sl.yml +123 -0
  121. data/config/locales/so.yml +123 -0
  122. data/config/locales/sq.yml +123 -0
  123. data/config/locales/sr.yml +123 -0
  124. data/config/locales/sv.yml +123 -0
  125. data/config/locales/sw.yml +123 -0
  126. data/config/locales/ta.yml +123 -0
  127. data/config/locales/th.yml +123 -0
  128. data/config/locales/tk.yml +123 -0
  129. data/config/locales/tr.yml +123 -0
  130. data/config/locales/uk.yml +123 -0
  131. data/config/locales/ur.yml +123 -0
  132. data/config/locales/uz.yml +123 -0
  133. data/config/locales/vi.yml +123 -0
  134. data/config/locales/zh-hk.yml +123 -0
  135. data/config/locales/zh-tw.yml +123 -0
  136. data/config/locales/zh.yml +123 -0
  137. data/lib/govuk_publishing_components/presenters/breadcrumb_selector.rb +5 -0
  138. data/lib/govuk_publishing_components/presenters/content_breadcrumbs_based_on_taxons.rb +1 -2
  139. data/lib/govuk_publishing_components/presenters/content_item.rb +4 -0
  140. data/lib/govuk_publishing_components/presenters/contextual_navigation.rb +4 -0
  141. data/lib/govuk_publishing_components/presenters/machine_readable/page.rb +4 -0
  142. data/lib/govuk_publishing_components/version.rb +1 -1
  143. data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +7 -16
  144. data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +4 -15
  145. data/node_modules/govuk-frontend/govuk/components/character-count/macro-options.json +1 -1
  146. data/node_modules/govuk-frontend/govuk/components/checkboxes/macro-options.json +3 -3
  147. data/node_modules/govuk-frontend/govuk/components/cookie-banner/README.md +15 -0
  148. data/node_modules/govuk-frontend/govuk/components/cookie-banner/fixtures.json +40 -22
  149. data/node_modules/govuk-frontend/govuk/components/cookie-banner/macro-options.json +6 -6
  150. data/node_modules/govuk-frontend/govuk/components/cookie-banner/template.njk +15 -5
  151. data/node_modules/govuk-frontend/govuk/components/date-input/macro-options.json +2 -2
  152. data/node_modules/govuk-frontend/govuk/components/details/_index.scss +5 -1
  153. data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +13 -14
  154. data/node_modules/govuk-frontend/govuk/components/file-upload/macro-options.json +1 -1
  155. data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +14 -19
  156. data/node_modules/govuk-frontend/govuk/components/header/_index.scss +39 -21
  157. data/node_modules/govuk-frontend/govuk/components/input/macro-options.json +1 -1
  158. data/node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss +1 -1
  159. data/node_modules/govuk-frontend/govuk/components/radios/macro-options.json +3 -3
  160. data/node_modules/govuk-frontend/govuk/components/select/macro-options.json +1 -1
  161. data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss +1 -1
  162. data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss +1 -6
  163. data/node_modules/govuk-frontend/govuk/components/textarea/macro-options.json +1 -1
  164. data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss +10 -0
  165. data/node_modules/govuk-frontend/govuk/core/_links.scss +8 -0
  166. data/node_modules/govuk-frontend/govuk/helpers/_links.scss +153 -38
  167. data/node_modules/govuk-frontend/govuk/settings/_all.scss +2 -0
  168. data/node_modules/govuk-frontend/govuk/settings/_links.scss +62 -0
  169. data/node_modules/govuk-frontend/package.json +1 -1
  170. metadata +20 -3
@@ -11,6 +11,9 @@
11
11
  small ||= false
12
12
  inline ||= false
13
13
  is_page_heading ||= false
14
+ heading_level = is_page_heading ? 'h1' : shared_helper.get_heading_level
15
+ heading_classes = %w(govuk-fieldset__heading)
16
+ heading_classes << "gem-c-radio__heading-text" if heading_level == 'h1'
14
17
 
15
18
  if ['s', 'm', 'l', 'xl'].include?(heading_size)
16
19
  size = heading_size
@@ -46,20 +49,12 @@
46
49
  %>
47
50
  <%= tag.div id: id, class: form_group_css_classes do %>
48
51
  <%= tag.fieldset class: "govuk-fieldset", "aria-describedby": aria do %>
49
-
50
52
  <% if heading.present? %>
51
- <% if is_page_heading %>
52
- <%= tag.legend class: legend_classes do %>
53
- <%= tag.span(heading_caption, class: "govuk-caption-#{size}") if heading_caption.present? %>
54
- <%= tag.h1 heading, class: "gem-c-radio__heading-text govuk-fieldset__heading" %>
55
- <% end %>
56
- <% else %>
57
- <%= tag.legend class: legend_classes do %>
58
- <%= content_tag(shared_helper.get_heading_level, heading, class: "govuk-fieldset__heading") %>
59
- <% end %>
53
+ <%= tag.legend class: legend_classes do %>
54
+ <%= tag.span(heading_caption, class: "govuk-caption-#{size}") if heading_caption.present? %>
55
+ <%= content_tag(heading_level, heading, class: heading_classes) %>
60
56
  <% end %>
61
57
  <% end %>
62
-
63
58
  <% if description.present? %>
64
59
  <%= tag.div description, class: "govuk-body" %>
65
60
  <% end %>
@@ -10,7 +10,7 @@
10
10
  size ||= ""
11
11
  value ||= ""
12
12
 
13
- classes = %w[gem-c-search]
13
+ classes = %w[gem-c-search govuk-!-display-none-print]
14
14
  classes << (shared_helper.get_margin_top)
15
15
  classes << (shared_helper.get_margin_bottom) if local_assigns[:margin_bottom]
16
16
  classes << "gem-c-search--large" if size == "large"
@@ -8,7 +8,7 @@
8
8
  brand ||= false
9
9
  brand_helper = GovukPublishingComponents::AppHelpers::BrandHelper.new(brand)
10
10
 
11
- classes = %w(gem-c-share-links)
11
+ classes = %w(gem-c-share-links govuk-!-display-none-print)
12
12
  classes << "gem-c-share-links--stacked" if stacked
13
13
  classes << "gem-c-share-links--columns" if columns
14
14
  classes << brand_helper.brand_class
@@ -2,4 +2,4 @@
2
2
  href ||= '#main-content'
3
3
  text ||= t('components.skip_link.text')
4
4
  %>
5
- <%= link_to(text, href, class: "gem-c-skip-link govuk-skip-link") %>
5
+ <%= link_to(text, href, class: "gem-c-skip-link govuk-skip-link govuk-!-display-none-print") %>
@@ -19,13 +19,13 @@
19
19
  <% if steps %>
20
20
  <div
21
21
  data-module="gemstepnav"
22
- class="gem-c-step-nav js-hidden <% unless small %>gem-c-step-nav--large<% end %>"
22
+ class="gem-c-step-nav js-hidden <% if small %>govuk-!-display-none-print<% end %> <% unless small %>gem-c-step-nav--large<% end %>"
23
23
  <%= "data-remember" if remember_last_step %>
24
24
  <%= "data-id=#{tracking_id}" if tracking_id %>
25
- data-show-text="<%= t("govuk_component.step_by_step_nav.show", default: "show") %>"
26
- data-hide-text="<%= t("govuk_component.step_by_step_nav.hide", default: "hide") %>"
27
- data-show-all-text="<%= t("govuk_component.step_by_step_nav.show_all", default: "Show all steps") %>"
28
- data-hide-all-text="<%= t("govuk_component.step_by_step_nav.hide_all", default: "Hide all steps") %>"
25
+ data-show-text="<%= t("components.step_by_step_nav.show", default: "show") %>"
26
+ data-hide-text="<%= t("components.step_by_step_nav.hide", default: "hide") %>"
27
+ data-show-all-text="<%= t("components.step_by_step_nav.show_all", default: "Show all steps") %>"
28
+ data-hide-all-text="<%= t("components.step_by_step_nav.hide_all", default: "Hide all steps") %>"
29
29
  >
30
30
  <ol class="gem-c-step-nav__steps">
31
31
  <% steps.each_with_index do |step, step_index| %>
@@ -56,7 +56,7 @@
56
56
  <%= logic %>
57
57
  <% else %>
58
58
  <% step_number += 1 %>
59
- <span class="gem-c-step-nav__circle-step-label visuallyhidden">Step</span> <%= step_number %><span class="gem-c-step-nav__circle-step-colon visuallyhidden" aria-hidden="true">:</span>
59
+ <span class="gem-c-step-nav__circle-step-label govuk-!-display-none-print visuallyhidden">Step</span> <%= step_number %><span class="gem-c-step-nav__circle-step-colon govuk-!-display-none-print visuallyhidden" aria-hidden="true">:</span>
60
60
  <% end %>
61
61
  </span>
62
62
  </span>
@@ -1,6 +1,6 @@
1
1
  <%
2
2
  links ||= []
3
- pretitle ||= t("govuk_component.step_by_step_nav_related.part_of", default: "Part of")
3
+ pretitle ||= t("components.step_by_step_nav_related.part_of", default: "Part of")
4
4
  always_display_as_list ||= false
5
5
  %>
6
6
  <% if links.any? %>
@@ -8,7 +8,7 @@
8
8
  local_assigns[:margin_bottom] ||= 0
9
9
  local_assigns[:margin_bottom] = 0 if local_assigns[:margin_bottom] > 9
10
10
 
11
- css_classes = %w( gem-c-subscription-links )
11
+ css_classes = %w( gem-c-subscription-links govuk-!-display-none-print )
12
12
  css_classes << (shared_helper.get_margin_bottom) unless local_assigns[:margin_bottom] == 0
13
13
  css_classes << brand_helper.brand_class
14
14
  css_classes << "gem-c-subscription-links--with-feed-box" if sl_helper.feed_link_box_value
@@ -23,7 +23,7 @@
23
23
  <% if sl_helper.component_data_is_valid? %>
24
24
  <%= tag.section class: css_classes, data: data do %>
25
25
  <% unless hide_heading %>
26
- <h2 class="gem-c-subscription-links__hidden-header visuallyhidden"><%= t("govuk_component.subscription_links.subscriptions", default: "Subscriptions") %></h2>
26
+ <h2 class="gem-c-subscription-links__hidden-header visuallyhidden"><%= t("components.subscription_links.subscriptions", default: "Subscriptions") %></h2>
27
27
  <% end %>
28
28
  <ul
29
29
  class="gem-c-subscription-links__list<%= ' gem-c-subscription-links__list--small' if local_assigns[:small_form] == true %>"
@@ -13,7 +13,7 @@
13
13
  module: "initial-focus",
14
14
  } do %>
15
15
  <div class="govuk-notification-banner__header">
16
- <%= tag.h2 t("govuk_component.success_alert.success", default: "Success"), class: "govuk-notification-banner__title", id: title_id %>
16
+ <%= tag.h2 t("components.success_alert.success", default: "Success"), class: "govuk-notification-banner__title", id: title_id %>
17
17
  </div>
18
18
  <div class="govuk-notification-banner__content">
19
19
  <% if description.present? %>
@@ -5,7 +5,7 @@
5
5
  %>
6
6
  <% if translation_helper.has_translations? %>
7
7
  <nav role="navigation"
8
- class="gem-c-translation-nav <%= translation_helper.classes %> <%= brand_helper.brand_class %>"
8
+ class="gem-c-translation-nav govuk-!-display-none-print <%= translation_helper.classes %> <%= brand_helper.brand_class %>"
9
9
  aria-label="<%= t("common.translations") %>"
10
10
  <%= "data-module=\"gem-track-click\"" if translation_helper.tracking_is_present? %>
11
11
  >
@@ -2,6 +2,8 @@ name: Feedback
2
2
  description: Invites user feedback on the current page.
3
3
  body: |
4
4
  This component is designed to sit at the bottom of pages on GOV.UK to allow users to submit feedback on that page.
5
+
6
+ This component uses JavaScript for expanding and collapsing and also for submitting form responses. This code is not compatible with Internet Explorer, so IE11 and down do not use JavaScript to submit the forms, instead falling back to a normal form submission.
5
7
  accessibility_criteria: |
6
8
  Form elements in the component must:
7
9
 
@@ -1,6 +1,6 @@
1
- name: Phase (alpha & beta) banner
1
+ name: Phase banner
2
2
  description: |
3
- A banner that indicates content is in a alpha or beta phase, with an optional explanation
3
+ A banner that indicates content is in a certain phase (usually alpha or beta), with an optional explanation
4
4
  accessibility_criteria: |
5
5
  The label must:
6
6
 
@@ -4,10 +4,10 @@
4
4
  <button
5
5
  aria-controls="navigation"
6
6
  aria-label="Show or hide Top Level Navigation"
7
- class="govuk-header__menu-button govuk-js-header-toggle gem-c-header__menu-button"
7
+ class="govuk-header__menu-button govuk-js-header-toggle gem-c-header__menu-button govuk-!-display-none-print"
8
8
  type="button"
9
9
  >
10
- Menu
10
+ <%= t("components.layout_header.menu") %>
11
11
  </button>
12
12
  <%= tag.nav class: "gem-c-header__nav", aria: { label: navigation_aria_label } do %>
13
13
  <ul id="navigation" class="govuk-header__navigation govuk-header__navigation--end">
@@ -8,13 +8,13 @@
8
8
  %>
9
9
  <% if remaining.any? %>
10
10
  <%= items.to_sentence(last_word_connector: ', ').html_safe %>
11
- <div class="gem-c-metadata__toggle-wrap">
11
+ <div class="gem-c-metadata__toggle-wrap govuk-!-display-none-print">
12
12
  <a href="#"
13
- class="gem-c-metadata__definition-link"
13
+ class="gem-c-metadata__definition-link govuk-!-display-none-print"
14
14
  data-controls="toggle-<%= toggle_id %>"
15
15
  data-expanded="false"
16
- data-toggled-text="<%= t("govuk_component.metadata.toggle_less", default: "Show fewer") %>">
17
- <%= t("govuk_component.metadata.toggle_more", number: remaining.length, default: "+ #{remaining.length} more") %>
16
+ data-toggled-text="<%= t("components.metadata.toggle_less", default: "Show fewer") %>">
17
+ <%= t("components.metadata.toggle_more", number: remaining.length, default: "+ #{remaining.length} more") %>
18
18
  </a>
19
19
  </div>
20
20
  <span id="toggle-<%= toggle_id %>" class="gem-c-metadata__toggle-items js-hidden"><%= remaining.to_sentence.html_safe %></span>
@@ -54,8 +54,8 @@
54
54
  class="gem-c-related-navigation__toggle"
55
55
  data-controls="toggle_<%= section_title %>"
56
56
  data-expanded="false"
57
- data-toggled-text="<%= t("govuk_component.metadata.toggle_less", default: "Show fewer") %>">
58
- <%= t("govuk_component.metadata.toggle_more",
57
+ data-toggled-text="<%= t("components.metadata.toggle_less", default: "Show fewer") %>">
58
+ <%= t("components.metadata.toggle_more",
59
59
  number: related_nav_helper.remaining_link_count(links),
60
60
  default: "+ #{related_nav_helper.remaining_link_count(links)} more") %>
61
61
  </a>
@@ -1 +1,124 @@
1
+ ---
1
2
  ar:
3
+ common:
4
+ translations:
5
+ components:
6
+ accordion:
7
+ hide:
8
+ hide_all:
9
+ show:
10
+ show_all:
11
+ this_section_visually_hidden:
12
+ article_schema:
13
+ scoped_search_description:
14
+ attachment:
15
+ opendocument_html:
16
+ request_format_cta:
17
+ request_format_details_html:
18
+ request_format_text:
19
+ back_link:
20
+ back:
21
+ checkboxes:
22
+ or:
23
+ contents_list:
24
+ contents:
25
+ feedback:
26
+ close:
27
+ dont_include_personal_info:
28
+ email_address:
29
+ help_us_improve_govuk:
30
+ is_not_useful:
31
+ is_this_page_useful:
32
+ is_useful:
33
+ maybe:
34
+ more_about_visit:
35
+ 'no':
36
+ send:
37
+ send_me_survey:
38
+ something_wrong:
39
+ thank_you_for_feedback:
40
+ what_doing:
41
+ what_wrong:
42
+ 'yes':
43
+ government_navigation:
44
+ consultations:
45
+ departments:
46
+ get-involved:
47
+ how-government-works:
48
+ news_and_communications:
49
+ statistics:
50
+ worldwide:
51
+ layout_header:
52
+ hide_button:
53
+ menu:
54
+ search_button:
55
+ show_button:
56
+ top_level:
57
+ metadata:
58
+ from:
59
+ history:
60
+ last_updated:
61
+ part_of:
62
+ published:
63
+ see_all_updates:
64
+ toggle_less:
65
+ toggle_more:
66
+ organisation_schema:
67
+ all_content_search_description:
68
+ previous_and_next_navigation:
69
+ pagination:
70
+ print_link:
71
+ text:
72
+ radio:
73
+ or:
74
+ related_footer_navigation:
75
+ collections:
76
+ policies:
77
+ statistical_data_sets:
78
+ topical_events:
79
+ related_navigation:
80
+ collections:
81
+ external_links:
82
+ policies:
83
+ publishers:
84
+ related_contacts:
85
+ related_content:
86
+ related_external_links:
87
+ related_guides:
88
+ statistical_data_sets:
89
+ topical_events:
90
+ topics:
91
+ transition:
92
+ link_path:
93
+ link_text:
94
+ title:
95
+ world_locations:
96
+ search_box:
97
+ input_title:
98
+ label:
99
+ search_button:
100
+ show_password:
101
+ announce_hide:
102
+ announce_show:
103
+ hide:
104
+ hide_password:
105
+ show:
106
+ show_password:
107
+ skip_link:
108
+ text:
109
+ step_by_step_nav:
110
+ hide:
111
+ hide_all:
112
+ show:
113
+ show_all:
114
+ step_by_step_nav_related:
115
+ part_of:
116
+ subscription_links:
117
+ email_signup_link_text:
118
+ feed_link_text:
119
+ subscriptions:
120
+ success_alert:
121
+ success:
122
+ summary_list:
123
+ delete:
124
+ edit:
@@ -1 +1,124 @@
1
+ ---
1
2
  az:
3
+ common:
4
+ translations:
5
+ components:
6
+ accordion:
7
+ hide:
8
+ hide_all:
9
+ show:
10
+ show_all:
11
+ this_section_visually_hidden:
12
+ article_schema:
13
+ scoped_search_description:
14
+ attachment:
15
+ opendocument_html:
16
+ request_format_cta:
17
+ request_format_details_html:
18
+ request_format_text:
19
+ back_link:
20
+ back:
21
+ checkboxes:
22
+ or:
23
+ contents_list:
24
+ contents:
25
+ feedback:
26
+ close:
27
+ dont_include_personal_info:
28
+ email_address:
29
+ help_us_improve_govuk:
30
+ is_not_useful:
31
+ is_this_page_useful:
32
+ is_useful:
33
+ maybe:
34
+ more_about_visit:
35
+ 'no':
36
+ send:
37
+ send_me_survey:
38
+ something_wrong:
39
+ thank_you_for_feedback:
40
+ what_doing:
41
+ what_wrong:
42
+ 'yes':
43
+ government_navigation:
44
+ consultations:
45
+ departments:
46
+ get-involved:
47
+ how-government-works:
48
+ news_and_communications:
49
+ statistics:
50
+ worldwide:
51
+ layout_header:
52
+ hide_button:
53
+ menu:
54
+ search_button:
55
+ show_button:
56
+ top_level:
57
+ metadata:
58
+ from:
59
+ history:
60
+ last_updated:
61
+ part_of:
62
+ published:
63
+ see_all_updates:
64
+ toggle_less:
65
+ toggle_more:
66
+ organisation_schema:
67
+ all_content_search_description:
68
+ previous_and_next_navigation:
69
+ pagination:
70
+ print_link:
71
+ text:
72
+ radio:
73
+ or:
74
+ related_footer_navigation:
75
+ collections:
76
+ policies:
77
+ statistical_data_sets:
78
+ topical_events:
79
+ related_navigation:
80
+ collections:
81
+ external_links:
82
+ policies:
83
+ publishers:
84
+ related_contacts:
85
+ related_content:
86
+ related_external_links:
87
+ related_guides:
88
+ statistical_data_sets:
89
+ topical_events:
90
+ topics:
91
+ transition:
92
+ link_path:
93
+ link_text:
94
+ title:
95
+ world_locations:
96
+ search_box:
97
+ input_title:
98
+ label:
99
+ search_button:
100
+ show_password:
101
+ announce_hide:
102
+ announce_show:
103
+ hide:
104
+ hide_password:
105
+ show:
106
+ show_password:
107
+ skip_link:
108
+ text:
109
+ step_by_step_nav:
110
+ hide:
111
+ hide_all:
112
+ show:
113
+ show_all:
114
+ step_by_step_nav_related:
115
+ part_of:
116
+ subscription_links:
117
+ email_signup_link_text:
118
+ feed_link_text:
119
+ subscriptions:
120
+ success_alert:
121
+ success:
122
+ summary_list:
123
+ delete:
124
+ edit: