Skip to content

Commit

Permalink
Merge pull request #3262 from alphagov/add-title-above-published-date
Browse files Browse the repository at this point in the history
Fix: Add hidden heading in _published_dates
  • Loading branch information
MartinJJones authored Jul 11, 2024
2 parents cbccad6 + 450b53a commit 4872d69
Show file tree
Hide file tree
Showing 67 changed files with 67 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/components/_published_dates.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
classes << shared_helper.get_margin_bottom if local_assigns[:margin_bottom]
%>
<% if published || last_updated %>
<h2 class="govuk-visually-hidden"><%= t('components.published_dates.hidden_heading') %></h2>
<div class="<%= classes.join(' ') %>" <% if history.any? %>id="full-publication-update-history" data-module="gem-toggle"<% end %> lang="en">
<% if published %>
<%= t('components.published_dates.published', date: published) %>
Expand Down
1 change: 1 addition & 0 deletions config/locales/ar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ar:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: إخفاء كافة التحديثات
last_updated: تاريخ آخر تحديث %{date}
published: تاريخ النشر %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/az.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ az:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: bütün yenilmələri gizlət
last_updated: 'Son yenilənmə: %{date}'
published: 'Dərc edilib: %{date}'
Expand Down
1 change: 1 addition & 0 deletions config/locales/be.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ be:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: схаваць усе абнаўленні
last_updated: Апошняе абнаўленне %{date}
published: Апублікавана %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/bg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ bg:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: скриване на всички актуализации
last_updated: Последна актуализация %{date}
published: Публикувано на %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/bn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ bn:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: সকল আপডেট লুকান
last_updated: সর্বশেষ হালনাগাদ হয়েছে %{date}
published: প্রকাশিত হওয়ার তারিখ %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ cs:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: skrýt všechny aktualizace
last_updated: Poslední aktualizace %{date}
published: Zveřejněno %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/cy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ cy:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: cuddio pob diweddariad
last_updated: Diweddarwyd ddiwethaf ar %{date}
published: Cyhoeddwyd ar %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/da.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ da:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: skjule alle opdateringer
last_updated: Senest opdateret %{date}
published: Udgivet %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ de:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: alle Aktualisierungen ausblenden
last_updated: Letzte Aktualisierung am %{date}
published: Veröffentlicht am %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/dr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ dr:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: مخفی کردن تمام آپدیت ها
last_updated: آخرین آپدیت%{date}
published: منتشر شده%{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/el.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ el:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: απόκρυψη όλων των ενημερώσεων
last_updated: Τελευταία ενημέρωση %{date}
published: Δημοσιεύτηκε %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ en:
print_link:
text: Print this page
published_dates:
hidden_heading: Updates to this page
hide_all_updates: hide all updates
last_updated: Last updated %{date}
published: Published %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/es-419.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ es-419:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: ocultar todas las novedades
last_updated: Última actualización %{date}
published: Publicado %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ es:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: ocultar todas las actualizaciones
last_updated: Última actualización de %{date}
published: Publicado %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/et.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ et:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: peida kõik värskendused
last_updated: Viimati värskendatud %{date}
published: Avaldatud %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/fa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ fa:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: مخفی کردن تمام بروزرسانی‌ها
last_updated: آخرین بروزرسانی %{date}
published: منشتر شده %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/fi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ fi:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: piilota kaikki päivitykset
last_updated: Viimeksi päivitetty %{date}
published: Julkaistu %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ fr:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: masquer toutes les mises à jour
last_updated: Dernière mise à jour le %{date}
published: Publié le %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/gd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ gd:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: gach nuashonrú a cheilt
last_updated: Nuashonrú deireanach %{date}
published: Arna chur suas ar %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/gu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ gu:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: બધા અપડેટ્સને હાઈડ કરો
last_updated: છેલ્લો અપડેટ %{date}
published: પ્રકાશિત થયો %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/he.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ he:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: להסתיר כל עדכונים
last_updated: עדכון אחרון %{date}
published: פורסם %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/hi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ hi:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: सारे अपडेट छिपाएं
last_updated: पिछली बार अपडेट किया गया %{date}
published: प्रकाशित %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/hr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ hr:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: sakriti sva ažuriranja
last_updated: Zadnje ažurirano %{date}
published: Objavljeno %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/hu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ hu:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: minden frissítés elrejtése
last_updated: 'Utolsó frissítés: %{date}'
published: 'közzététel dátuma: %{date}'
Expand Down
1 change: 1 addition & 0 deletions config/locales/hy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ hy:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: թաքցնել բոլոր թարմացումները
last_updated: Վերջին թարմացումը՝ %{date}
published: Հրապարակվել է՝ %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ id:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: sembunyikan semua pembaruan
last_updated: Terakhir diperbarui %{date}
published: Diterbitkan %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/is.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ is:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: fela allar uppfærslur
last_updated: Síðast uppfært %{date}
published: Birt %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ it:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: nascondi tutti gli aggiornamenti
last_updated: Ultimo aggiornamento %{date}
published: Pubblicato %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ja:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: すべての更新を非表示
last_updated: 最終更新日:%{date}
published: 公開日:%{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/ka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ka:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: ყველა ცვლილების დაფარვა
last_updated: ბოლოს განახლდა %{date}
published: გამოქვეყნდა %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/kk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ kk:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: барлық жаңартуларды жасыру
last_updated: Соңғы рет %{date} жаңартылды
published: "%{date} күні жарияланды"
Expand Down
1 change: 1 addition & 0 deletions config/locales/ko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ko:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: 모든 업데이트 숨기기
last_updated: 최근 업데이트일 %{date}
published: 발행일 %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/lt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ lt:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: slėpti visą naują informacij
last_updated: Paskutinį kartą naujinta %{date}
published: Publikuota %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/lv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ lv:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: paslēpt visus atjauninājumus
last_updated: Pēdējoreiz atjaunināts %{date}
published: Publicēts %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/ms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ms:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: sorok semua kemas kini
last_updated: Kali terakhir dikemas kini %{date}
published: Diterbitkan %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/mt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ mt:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: aħbi l-aġġornamenti kollha
last_updated: L-aħħar aġġornament %{date}
published: Ippubblikat %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/ne.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ne:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: सबै अद्यावधिक लुकाउनुहोस्
last_updated: पछिल्लो अद्यावधिक %{date}
published: प्रकाशित %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ nl:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: verberg alle updates
last_updated: Laatst bijgewerkt %{date}
published: Gepubliceerd %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/no.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: skjul alle oppdateringer
last_updated: Sist oppdatert %{date}
published: Publisert %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/pa-pk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pa-pk:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: سارے تازہ ترین حالات نوں لُکا لوؤ
last_updated: اخری وار تازہ ترین بنایا {date} %
published: شائع ہویا {date} %
Expand Down
1 change: 1 addition & 0 deletions config/locales/pa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pa:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: ਸਾਰੇ ਅਪਡੇਟਾਂ ਨੂੰ ਲੁਕਾਓ
last_updated: ਪਿਛਲੀ ਵਾਰ ਅਪਡੇਟ ਕੀਤਾ ਗਿਆ %{date}
published: ਪ੍ਰਕਾਸ਼ਿਤ %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/pl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pl:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: ukryj wszystkie aktualizacje
last_updated: Ostatnio zaktualizowano %{date}
published: Opublikowano %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/ps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ps:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: ټول تازه معلومات پټ کړئ
last_updated: وروستی تازه شوی%{date}
published: خپور شوی%{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/pt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pt:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: ocultar todas as atualizações
last_updated: Última atualização a %{date}
published: Publicado a %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/ro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ro:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: ascundeți toate actualizările
last_updated: Ultima actualizare %{date}
published: Publicat pe %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ru:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: Скрыть всю последнюю информацию
last_updated: Последние изменения %{date}
published: Опубликовано %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/si.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ si:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: සියලු යාවත්කාලීන සඟවන්න
last_updated: අවසන් වරට යාවත්කාලීන කළේ %{date}
published: පළ කළේ %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/sk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ sk:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: skryť všetky aktualizácie
last_updated: Posledná aktualizácia %{date}
published: Zverejnené %{date}
Expand Down
1 change: 1 addition & 0 deletions config/locales/sl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ sl:
print_link:
text:
published_dates:
hidden_heading:
hide_all_updates: Skrij vse posodobitve
last_updated: Zadnjič posodobljeno %{date}
published: Objavljeno %{date}
Expand Down
Loading

0 comments on commit 4872d69

Please sign in to comment.