govuk_publishing_components 37.10.0 → 38.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +29 -15
  3. data/app/assets/config/govuk_publishing_components_sassc-rails_manifest.js +0 -1
  4. data/app/assets/images/govuk_publishing_components/crests/hmrc_crest_13px.png +0 -0
  5. data/app/assets/images/govuk_publishing_components/crests/hmrc_crest_13px_x2.png +0 -0
  6. data/app/assets/images/govuk_publishing_components/crests/hmrc_crest_18px.png +0 -0
  7. data/app/assets/images/govuk_publishing_components/crests/hmrc_crest_18px_x2.png +0 -0
  8. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +0 -1
  9. data/app/models/govuk_publishing_components/component_docs.rb +1 -3
  10. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +12 -1
  11. data/app/views/govuk_publishing_components/components/docs/contextual_footer.yml +6 -12
  12. data/app/views/govuk_publishing_components/components/docs/related_navigation.yml +9 -49
  13. data/config/locales/ar.yml +0 -7
  14. data/config/locales/az.yml +0 -7
  15. data/config/locales/be.yml +0 -7
  16. data/config/locales/bg.yml +0 -7
  17. data/config/locales/bn.yml +0 -7
  18. data/config/locales/cs.yml +0 -7
  19. data/config/locales/cy.yml +0 -7
  20. data/config/locales/da.yml +0 -7
  21. data/config/locales/de.yml +0 -7
  22. data/config/locales/dr.yml +0 -7
  23. data/config/locales/el.yml +0 -7
  24. data/config/locales/en.yml +0 -7
  25. data/config/locales/es-419.yml +0 -7
  26. data/config/locales/es.yml +0 -7
  27. data/config/locales/et.yml +0 -7
  28. data/config/locales/fa.yml +0 -7
  29. data/config/locales/fi.yml +0 -7
  30. data/config/locales/fr.yml +0 -7
  31. data/config/locales/gd.yml +0 -7
  32. data/config/locales/gu.yml +0 -7
  33. data/config/locales/he.yml +0 -7
  34. data/config/locales/hi.yml +0 -7
  35. data/config/locales/hr.yml +0 -7
  36. data/config/locales/hu.yml +0 -7
  37. data/config/locales/hy.yml +0 -7
  38. data/config/locales/id.yml +0 -7
  39. data/config/locales/is.yml +0 -7
  40. data/config/locales/it.yml +0 -7
  41. data/config/locales/ja.yml +0 -7
  42. data/config/locales/ka.yml +0 -7
  43. data/config/locales/kk.yml +0 -7
  44. data/config/locales/ko.yml +0 -7
  45. data/config/locales/lt.yml +0 -7
  46. data/config/locales/lv.yml +0 -7
  47. data/config/locales/ms.yml +0 -7
  48. data/config/locales/mt.yml +0 -7
  49. data/config/locales/nl.yml +0 -7
  50. data/config/locales/no.yml +0 -7
  51. data/config/locales/pa-pk.yml +0 -7
  52. data/config/locales/pa.yml +0 -7
  53. data/config/locales/pl.yml +0 -7
  54. data/config/locales/ps.yml +0 -7
  55. data/config/locales/pt.yml +0 -7
  56. data/config/locales/ro.yml +0 -7
  57. data/config/locales/ru.yml +0 -7
  58. data/config/locales/si.yml +0 -7
  59. data/config/locales/sk.yml +0 -7
  60. data/config/locales/sl.yml +0 -7
  61. data/config/locales/so.yml +0 -7
  62. data/config/locales/sq.yml +0 -7
  63. data/config/locales/sr.yml +0 -7
  64. data/config/locales/sv.yml +0 -7
  65. data/config/locales/sw.yml +0 -7
  66. data/config/locales/ta.yml +0 -7
  67. data/config/locales/th.yml +0 -7
  68. data/config/locales/tk.yml +0 -7
  69. data/config/locales/tr.yml +0 -7
  70. data/config/locales/uk.yml +0 -7
  71. data/config/locales/ur.yml +0 -7
  72. data/config/locales/uz.yml +0 -7
  73. data/config/locales/vi.yml +0 -7
  74. data/config/locales/zh-hk.yml +0 -7
  75. data/config/locales/zh-tw.yml +0 -7
  76. data/config/locales/zh.yml +0 -7
  77. data/lib/govuk_publishing_components/presenters/component_wrapper_helper.rb +1 -1
  78. data/lib/govuk_publishing_components/presenters/content_item.rb +0 -4
  79. data/lib/govuk_publishing_components/presenters/intervention_helper.rb +6 -4
  80. data/lib/govuk_publishing_components/presenters/related_navigation_helper.rb +6 -20
  81. data/lib/govuk_publishing_components/version.rb +1 -1
  82. data/lib/govuk_publishing_components.rb +1 -0
  83. metadata +2 -6
  84. data/app/assets/javascripts/govuk_publishing_components/components/show-password.js +0 -82
  85. data/app/assets/stylesheets/govuk_publishing_components/components/_show-password.scss +0 -70
  86. data/app/views/govuk_publishing_components/components/_show_password.html.erb +0 -46
  87. data/app/views/govuk_publishing_components/components/docs/show_password.yml +0 -91
@@ -179,13 +179,6 @@ hr:
179
179
  share_links:
180
180
  all_opens_in_new_tab:
181
181
  opens_in_new_tab:
182
- show_password:
183
- announce_hide: Vaša lozinka je skrivena
184
- announce_show: Vaša se lozinka prikazuje
185
- hide: Sakrij
186
- hide_password: Sakrij lozinku
187
- show: Prikaži
188
- show_password: Prikaži lozinku
189
182
  single_page_notification_button:
190
183
  subscribe_text:
191
184
  unsubscribe_text:
@@ -181,13 +181,6 @@ hu:
181
181
  share_links:
182
182
  all_opens_in_new_tab:
183
183
  opens_in_new_tab:
184
- show_password:
185
- announce_hide: A jelszava rejtett
186
- announce_show: A jelszava látható
187
- hide: Elrejtés
188
- hide_password: Jelszó elrejtése
189
- show: Megmutatás
190
- show_password: Jelszó megmutatása
191
184
  single_page_notification_button:
192
185
  subscribe_text:
193
186
  unsubscribe_text:
@@ -182,13 +182,6 @@ hy:
182
182
  share_links:
183
183
  all_opens_in_new_tab:
184
184
  opens_in_new_tab:
185
- show_password:
186
- announce_hide: Ձեր գաղտնաբառը թաքցրած է
187
- announce_show: Ձեր գաղտնաբառը ցուցադրված է
188
- hide: Թաքցնել
189
- hide_password: Թաքցնել գաղտնաբառը
190
- show: Ցուցադրել
191
- show_password: Ցույց տալ գաղտնաբառը
192
185
  single_page_notification_button:
193
186
  subscribe_text:
194
187
  unsubscribe_text:
@@ -178,13 +178,6 @@ id:
178
178
  share_links:
179
179
  all_opens_in_new_tab:
180
180
  opens_in_new_tab:
181
- show_password:
182
- announce_hide: Kata sandi Anda tersembunyi
183
- announce_show: Kata sandi Anda tampak
184
- hide: Sembunyikan
185
- hide_password: Sembunyikan kata sandi
186
- show: Tampilkan
187
- show_password: Tampilkan kata sandi
188
181
  single_page_notification_button:
189
182
  subscribe_text:
190
183
  unsubscribe_text:
@@ -178,13 +178,6 @@ is:
178
178
  share_links:
179
179
  all_opens_in_new_tab:
180
180
  opens_in_new_tab:
181
- show_password:
182
- announce_hide: Lykilorðið þitt er falið
183
- announce_show: Lykilorðið þitt er sýnt
184
- hide: Fela
185
- hide_password: Fela lykilorð
186
- show: Sýna
187
- show_password: Sýna lykilorð
188
181
  single_page_notification_button:
189
182
  subscribe_text:
190
183
  unsubscribe_text:
@@ -178,13 +178,6 @@ it:
178
178
  share_links:
179
179
  all_opens_in_new_tab:
180
180
  opens_in_new_tab:
181
- show_password:
182
- announce_hide: La tua password è nascosta
183
- announce_show: La tua password è mostrata
184
- hide: Nascondi
185
- hide_password: Nascondi password
186
- show: Mostra
187
- show_password: Mostra password
188
181
  single_page_notification_button:
189
182
  subscribe_text:
190
183
  unsubscribe_text:
@@ -174,13 +174,6 @@ ja:
174
174
  share_links:
175
175
  all_opens_in_new_tab:
176
176
  opens_in_new_tab:
177
- show_password:
178
- announce_hide: パスワードは非表示です
179
- announce_show: パスワードが表示されています
180
- hide: 非表示
181
- hide_password: パスワードを非表示にする
182
- show: 表示
183
- show_password: パスワードを表示する
184
177
  single_page_notification_button:
185
178
  subscribe_text:
186
179
  unsubscribe_text:
@@ -181,13 +181,6 @@ ka:
181
181
  share_links:
182
182
  all_opens_in_new_tab:
183
183
  opens_in_new_tab:
184
- show_password:
185
- announce_hide: თქვენი პაროლი დაფარულია
186
- announce_show: თქვენი პაროლი ჩანს
187
- hide: დაფარვა
188
- hide_password: პაროლის დაფარვა
189
- show: ჩვენება
190
- show_password: პაროლის ჩვენება
191
184
  single_page_notification_button:
192
185
  subscribe_text:
193
186
  unsubscribe_text:
@@ -178,13 +178,6 @@ kk:
178
178
  share_links:
179
179
  all_opens_in_new_tab:
180
180
  opens_in_new_tab:
181
- show_password:
182
- announce_hide: Құпиясөзіңіз жасырылған
183
- announce_show: Құпиясөзіңіз көрсетілген
184
- hide: Жасыру
185
- hide_password: Құпиясөзді жасыру
186
- show: Көрсету
187
- show_password: Құпиясөзді көрсету
188
181
  single_page_notification_button:
189
182
  subscribe_text:
190
183
  unsubscribe_text:
@@ -173,13 +173,6 @@ ko:
173
173
  share_links:
174
174
  all_opens_in_new_tab:
175
175
  opens_in_new_tab:
176
- show_password:
177
- announce_hide:
178
- announce_show:
179
- hide:
180
- hide_password:
181
- show:
182
- show_password:
183
176
  single_page_notification_button:
184
177
  subscribe_text:
185
178
  unsubscribe_text:
@@ -183,13 +183,6 @@ lt:
183
183
  share_links:
184
184
  all_opens_in_new_tab:
185
185
  opens_in_new_tab:
186
- show_password:
187
- announce_hide: Jūsų slaptažodis paslėptas
188
- announce_show: Jūsų slaptažodis rodomas
189
- hide: Slėpti
190
- hide_password: Slėpti slaptažodį
191
- show: Rodyti
192
- show_password: Rodyti slaptažodį
193
186
  single_page_notification_button:
194
187
  subscribe_text:
195
188
  unsubscribe_text:
@@ -182,13 +182,6 @@ lv:
182
182
  share_links:
183
183
  all_opens_in_new_tab:
184
184
  opens_in_new_tab:
185
- show_password:
186
- announce_hide: Jūsu parole ir paslēpta
187
- announce_show: Jūsu parole ir redzama
188
- hide: Paslēpt
189
- hide_password: Paslēpt paroli
190
- show: Rādīt
191
- show_password: Rādīt paroli
192
185
  single_page_notification_button:
193
186
  subscribe_text:
194
187
  unsubscribe_text:
@@ -177,13 +177,6 @@ ms:
177
177
  share_links:
178
178
  all_opens_in_new_tab:
179
179
  opens_in_new_tab:
180
- show_password:
181
- announce_hide: Kata laluan anda disorokkan
182
- announce_show: Kata laluan anda ditunjukkan
183
- hide: Sorok
184
- hide_password: Sorok kata laluan
185
- show: Tunjuk
186
- show_password: Tunjuk kata laluan
187
180
  single_page_notification_button:
188
181
  subscribe_text:
189
182
  unsubscribe_text:
@@ -180,13 +180,6 @@ mt:
180
180
  share_links:
181
181
  all_opens_in_new_tab:
182
182
  opens_in_new_tab:
183
- show_password:
184
- announce_hide: Il-password tiegħek hija moħbija
185
- announce_show: Il-password tiegħek qed tidher
186
- hide: Aħbi
187
- hide_password: Aħbi l-password
188
- show: Uri
189
- show_password: Uri l-password
190
183
  single_page_notification_button:
191
184
  subscribe_text:
192
185
  unsubscribe_text:
@@ -178,13 +178,6 @@ nl:
178
178
  share_links:
179
179
  all_opens_in_new_tab:
180
180
  opens_in_new_tab:
181
- show_password:
182
- announce_hide: Uw wachtwoord is verborgen
183
- announce_show: Uw wachtwoord wordt getoond
184
- hide: Verberg
185
- hide_password: Verberg wachtwoord
186
- show: Toon
187
- show_password: Wachtwoord tonen
188
181
  single_page_notification_button:
189
182
  subscribe_text:
190
183
  unsubscribe_text:
@@ -178,13 +178,6 @@
178
178
  share_links:
179
179
  all_opens_in_new_tab:
180
180
  opens_in_new_tab:
181
- show_password:
182
- announce_hide: Passordet ditt er skjult
183
- announce_show: Passordet ditt vises
184
- hide: Skjul
185
- hide_password: Skjul passord
186
- show: Vis
187
- show_password: Vis passord
188
181
  single_page_notification_button:
189
182
  subscribe_text:
190
183
  unsubscribe_text:
@@ -174,13 +174,6 @@ pa-pk:
174
174
  share_links:
175
175
  all_opens_in_new_tab:
176
176
  opens_in_new_tab:
177
- show_password:
178
- announce_hide: تہاڈا پاس ورڈ لُکیا ہویا اے
179
- announce_show: تہاڈا پاس ورڈ دکھائی دِتا اے
180
- hide: لُکاؤ
181
- hide_password: پاس ورڈ لُکاؤ
182
- show: دکھاؤ
183
- show_password: پاس ورڈ وکھاؤ
184
177
  single_page_notification_button:
185
178
  subscribe_text:
186
179
  unsubscribe_text:
@@ -178,13 +178,6 @@ pa:
178
178
  share_links:
179
179
  all_opens_in_new_tab:
180
180
  opens_in_new_tab:
181
- show_password:
182
- announce_hide: ਤੁਹਾਡਾ ਪਾਸਵਰਡ ਲੁਕਿਆ ਹੋਇਆ ਹੈ
183
- announce_show: ਤੁਹਾਡਾ ਪਾਸਵਰਡ ਦਿਖਾਇਆ ਗਿਆ ਹੈ
184
- hide: ਓਹਲੇ
185
- hide_password: ਪਾਸਵਰਡ ਲੁਕਾਓ
186
- show: ਦਿਖਾਉ
187
- show_password: ਪਾਸਵਰਡ ਦਿਖਾਓ
188
181
  single_page_notification_button:
189
182
  subscribe_text:
190
183
  unsubscribe_text:
@@ -182,13 +182,6 @@ pl:
182
182
  share_links:
183
183
  all_opens_in_new_tab:
184
184
  opens_in_new_tab:
185
- show_password:
186
- announce_hide: Twoje hasło jest ukryte
187
- announce_show: Twoje hasło jest wyświetlane
188
- hide: Ukryj
189
- hide_password: Ukryj hasło
190
- show: Pokaż
191
- show_password: Pokaż hasło
192
185
  single_page_notification_button:
193
186
  subscribe_text:
194
187
  unsubscribe_text:
@@ -175,13 +175,6 @@ ps:
175
175
  share_links:
176
176
  all_opens_in_new_tab:
177
177
  opens_in_new_tab:
178
- show_password:
179
- announce_hide: ستاسو رمز پټ دی
180
- announce_show: ستاسو رمز ښودل شوی
181
- hide: پټول
182
- hide_password: پټنوم پټ کړئ
183
- show: ښودل
184
- show_password: پاسورډ ښکاره کړئ
185
178
  single_page_notification_button:
186
179
  subscribe_text:
187
180
  unsubscribe_text:
@@ -178,13 +178,6 @@ pt:
178
178
  share_links:
179
179
  all_opens_in_new_tab:
180
180
  opens_in_new_tab:
181
- show_password:
182
- announce_hide: A sua palavra-passe é ocultada
183
- announce_show: A sua palavra-passe é mostrada
184
- hide: Ocultar
185
- hide_password: Ocultar palavra-passe
186
- show: Mostrar
187
- show_password: Mostrar palavra-passe
188
181
  single_page_notification_button:
189
182
  subscribe_text:
190
183
  unsubscribe_text:
@@ -179,13 +179,6 @@ ro:
179
179
  share_links:
180
180
  all_opens_in_new_tab:
181
181
  opens_in_new_tab:
182
- show_password:
183
- announce_hide: Parola dvs. este ascunsă
184
- announce_show: Parola dvs. este afișată
185
- hide: Ascundeți
186
- hide_password: Ascundeți parola
187
- show: Afișați
188
- show_password: Afișați parola
189
182
  single_page_notification_button:
190
183
  subscribe_text:
191
184
  unsubscribe_text:
@@ -182,13 +182,6 @@ ru:
182
182
  share_links:
183
183
  all_opens_in_new_tab:
184
184
  opens_in_new_tab:
185
- show_password:
186
- announce_hide: Ваш пароль скрыт
187
- announce_show: Ваш пароль показан
188
- hide: Скрыть
189
- hide_password: Скрыть пароль
190
- show: Показать
191
- show_password: Показать пароль
192
185
  single_page_notification_button:
193
186
  subscribe_text:
194
187
  unsubscribe_text:
@@ -178,13 +178,6 @@ si:
178
178
  share_links:
179
179
  all_opens_in_new_tab:
180
180
  opens_in_new_tab:
181
- show_password:
182
- announce_hide: ඔබගේ මුරපදය සඟවා ඇත
183
- announce_show: ඔබගේ මුරපදය පෙන්වා ඇත
184
- hide: සඟවන්න
185
- hide_password: රහස්වචනය සඟවන්න
186
- show: පෙන්වන්න
187
- show_password: මුරපදය පෙන්වන්න
188
181
  single_page_notification_button:
189
182
  subscribe_text:
190
183
  unsubscribe_text:
@@ -183,13 +183,6 @@ sk:
183
183
  share_links:
184
184
  all_opens_in_new_tab:
185
185
  opens_in_new_tab:
186
- show_password:
187
- announce_hide: Vaše heslo je skryté
188
- announce_show: Vaše heslo sa zobrazuje.
189
- hide: Skryť
190
- hide_password: Skryť heslo
191
- show: Zobraziť
192
- show_password: Zobraziť heslo
193
186
  single_page_notification_button:
194
187
  subscribe_text:
195
188
  unsubscribe_text:
@@ -185,13 +185,6 @@ sl:
185
185
  share_links:
186
186
  all_opens_in_new_tab:
187
187
  opens_in_new_tab:
188
- show_password:
189
- announce_hide: Vaše geslo je skrito
190
- announce_show: Vaše geslo je prikazano
191
- hide: Skrij
192
- hide_password: Skrij geslo
193
- show: Prikaži
194
- show_password: Prikaži geslo
195
188
  single_page_notification_button:
196
189
  subscribe_text:
197
190
  unsubscribe_text:
@@ -178,13 +178,6 @@ so:
178
178
  share_links:
179
179
  all_opens_in_new_tab:
180
180
  opens_in_new_tab:
181
- show_password:
182
- announce_hide: Fure sireedkaagu wuu qarsoonayhay
183
- announce_show: Fure sireedkaagu wuu muuqdaa
184
- hide: Qari
185
- hide_password: Qari fure sireedka
186
- show: Muuji
187
- show_password: Muuji furesireedka
188
181
  single_page_notification_button:
189
182
  subscribe_text:
190
183
  unsubscribe_text:
@@ -178,13 +178,6 @@ sq:
178
178
  share_links:
179
179
  all_opens_in_new_tab:
180
180
  opens_in_new_tab:
181
- show_password:
182
- announce_hide: Fjalëkalimi juaj është fshehur
183
- announce_show: Fjalëkalimi juaj është treguar
184
- hide: Fshih
185
- hide_password: Fshih fjalëkalimin
186
- show: Shfaq
187
- show_password: Shfaq fjalëkalimin
188
181
  single_page_notification_button:
189
182
  subscribe_text:
190
183
  unsubscribe_text:
@@ -179,13 +179,6 @@ sr:
179
179
  share_links:
180
180
  all_opens_in_new_tab:
181
181
  opens_in_new_tab:
182
- show_password:
183
- announce_hide: Lozinka je sakrivena
184
- announce_show: Lozinka je prikazana
185
- hide: Sakrij
186
- hide_password: Sakrij lozinku
187
- show: Prikaži
188
- show_password: Prikaži lozinku
189
182
  single_page_notification_button:
190
183
  subscribe_text:
191
184
  unsubscribe_text:
@@ -178,13 +178,6 @@ sv:
178
178
  share_links:
179
179
  all_opens_in_new_tab:
180
180
  opens_in_new_tab:
181
- show_password:
182
- announce_hide: Ditt lösenord är dolt
183
- announce_show: Ditt lösenord visas
184
- hide: Dölj
185
- hide_password: Dölj lösenordet
186
- show: Visa
187
- show_password: Visa lösenordet
188
181
  single_page_notification_button:
189
182
  subscribe_text:
190
183
  unsubscribe_text:
@@ -178,13 +178,6 @@ sw:
178
178
  share_links:
179
179
  all_opens_in_new_tab:
180
180
  opens_in_new_tab:
181
- show_password:
182
- announce_hide: Nenosiri lako limefichwa
183
- announce_show: Nenosiri lako limeonyeshwa
184
- hide: Ficha
185
- hide_password: Ficha nenosiri
186
- show: Onyesha
187
- show_password: Onyesha nenosiri
188
181
  single_page_notification_button:
189
182
  subscribe_text:
190
183
  unsubscribe_text:
@@ -179,13 +179,6 @@ ta:
179
179
  share_links:
180
180
  all_opens_in_new_tab:
181
181
  opens_in_new_tab:
182
- show_password:
183
- announce_hide: உங்கள் கடவுச்சொல் மறைக்கப்பட்டுள்ளது
184
- announce_show: உங்கள் கடவுச்சொல் காட்டப்படுகிறது
185
- hide: மறை
186
- hide_password: கடவுச்சொல்லை மறை
187
- show: காட்டு
188
- show_password: கடவுச்சொல்லைக் காட்டு
189
182
  single_page_notification_button:
190
183
  subscribe_text:
191
184
  unsubscribe_text:
@@ -176,13 +176,6 @@ th:
176
176
  share_links:
177
177
  all_opens_in_new_tab:
178
178
  opens_in_new_tab:
179
- show_password:
180
- announce_hide: รหัสผ่านของคุณถูกซ่อน
181
- announce_show: รหัสผ่านของคุณถูกแสดง
182
- hide: ซ่อน
183
- hide_password: ซ่อนรหัสผ่าน
184
- show: แสดง
185
- show_password: แสดงรหัสผ่าน
186
179
  single_page_notification_button:
187
180
  subscribe_text:
188
181
  unsubscribe_text:
@@ -179,13 +179,6 @@ tk:
179
179
  share_links:
180
180
  all_opens_in_new_tab:
181
181
  opens_in_new_tab:
182
- show_password:
183
- announce_hide: Açar sözüňiz gizlenen
184
- announce_show: Açar sözüňiz görkezilen
185
- hide: Gizle
186
- hide_password: Açar sözi gizle
187
- show: Görkez
188
- show_password: Açar sözi görkez
189
182
  single_page_notification_button:
190
183
  subscribe_text:
191
184
  unsubscribe_text:
@@ -179,13 +179,6 @@ tr:
179
179
  share_links:
180
180
  all_opens_in_new_tab:
181
181
  opens_in_new_tab:
182
- show_password:
183
- announce_hide: Şifreniz gizli
184
- announce_show: Şifreniz gösteriliyor
185
- hide: Gizle
186
- hide_password: Şifreyi gizle
187
- show: Göster
188
- show_password: Şifreyi göster
189
182
  single_page_notification_button:
190
183
  subscribe_text:
191
184
  unsubscribe_text:
@@ -185,13 +185,6 @@ uk:
185
185
  share_links:
186
186
  all_opens_in_new_tab:
187
187
  opens_in_new_tab:
188
- show_password:
189
- announce_hide: Ваш пароль приховано
190
- announce_show: Ваш пароль показано
191
- hide: Приховати
192
- hide_password: Приховати пароль
193
- show: Показати
194
- show_password: Показати пароль
195
188
  single_page_notification_button:
196
189
  subscribe_text:
197
190
  unsubscribe_text:
@@ -175,13 +175,6 @@ ur:
175
175
  share_links:
176
176
  all_opens_in_new_tab:
177
177
  opens_in_new_tab:
178
- show_password:
179
- announce_hide: آپ کا پاس ورڈ پوشیدہ ہے
180
- announce_show: آپ کا پاس ورڈ دکھائی دے رہا ہے
181
- hide: پوشیدہ کریں
182
- hide_password: پاس ورڈ کو پوشیدہ کریں
183
- show: دکھائیں
184
- show_password: پاس ورڈ دکھائیں
185
178
  single_page_notification_button:
186
179
  subscribe_text:
187
180
  unsubscribe_text:
@@ -180,13 +180,6 @@ uz:
180
180
  share_links:
181
181
  all_opens_in_new_tab:
182
182
  opens_in_new_tab:
183
- show_password:
184
- announce_hide: Сизнинг пароль яширилган
185
- announce_show: Сизнинг пароль акс эттирилган
186
- hide: Яшириш
187
- hide_password: Парольни яшириш
188
- show: Кўрсатиш
189
- show_password: Парольни кўрсатиш
190
183
  single_page_notification_button:
191
184
  subscribe_text:
192
185
  unsubscribe_text:
@@ -177,13 +177,6 @@ vi:
177
177
  share_links:
178
178
  all_opens_in_new_tab:
179
179
  opens_in_new_tab:
180
- show_password:
181
- announce_hide: Mật khẩu của bạn bị ẩn
182
- announce_show: Mật khẩu của bạn được hiển thị
183
- hide: Ẩn
184
- hide_password: Ẩn mật khẩu
185
- show: Hiển thị
186
- show_password: Hiển thị mật khẩu
187
180
  single_page_notification_button:
188
181
  subscribe_text:
189
182
  unsubscribe_text:
@@ -176,13 +176,6 @@ zh-hk:
176
176
  share_links:
177
177
  all_opens_in_new_tab:
178
178
  opens_in_new_tab:
179
- show_password:
180
- announce_hide: 您的密碼已隱藏
181
- announce_show: 您的密碼已顯示
182
- hide: 隱藏
183
- hide_password: 隱藏密碼
184
- show: 顯示
185
- show_password: 顯示密碼
186
179
  single_page_notification_button:
187
180
  subscribe_text:
188
181
  unsubscribe_text:
@@ -176,13 +176,6 @@ zh-tw:
176
176
  share_links:
177
177
  all_opens_in_new_tab:
178
178
  opens_in_new_tab:
179
- show_password:
180
- announce_hide: 隱藏你的密碼
181
- announce_show: 顯示你的密碼
182
- hide: 隱藏
183
- hide_password: 隱藏密碼
184
- show: 顯示
185
- show_password: 顯示密碼
186
179
  single_page_notification_button:
187
180
  subscribe_text:
188
181
  unsubscribe_text:
@@ -176,13 +176,6 @@ zh:
176
176
  share_links:
177
177
  all_opens_in_new_tab:
178
178
  opens_in_new_tab:
179
- show_password:
180
- announce_hide: 您的密码已隐藏
181
- announce_show: 您的密码已显示
182
- hide: 隐藏
183
- hide_password: 隐藏密码
184
- show: 显示
185
- show_password: 显示密码
186
179
  single_page_notification_button:
187
180
  subscribe_text:
188
181
  unsubscribe_text:
@@ -60,7 +60,7 @@ module GovukPublishingComponents
60
60
  def check_id_is_valid(id)
61
61
  return if id.blank?
62
62
 
63
- raise(ArgumentError, "Id (#{id}) cannot start with a number or contain whitespace and can only contain letters, digits, `_` and `-`") unless /^[a-zA-Z][\w:-]*$/.match?(id)
63
+ raise(ArgumentError, "Id (#{id}) cannot start with a number or contain whitespace and can only contain letters, digits, `_` and `-`") unless /\A[a-zA-Z][\w:-]*\z/.match?(id)
64
64
  end
65
65
 
66
66
  def check_data_attributes_are_valid(attributes)
@@ -97,10 +97,6 @@ module GovukPublishingComponents
97
97
  filter_link_type(content_store_response.dig("links", "related_statistical_data_sets").to_a, "statistical_data_set")
98
98
  end
99
99
 
100
- def related_topics
101
- filter_link_type(content_store_response.dig("links", "topics").to_a, "topic")
102
- end
103
-
104
100
  def related_topical_events
105
101
  filter_link_type(content_store_response.dig("links", "topical_events").to_a, "topical_event")
106
102
  end