From 0763fc56e6d17976d4686bd15b8a8022b31a5095 Mon Sep 17 00:00:00 2001 From: Daniel Karaj Date: Thu, 21 Sep 2023 16:39:34 +0100 Subject: [PATCH] Add an aria label to the attachment preview link. WCAG 2.4.4 Link Purpose (In Context). The "View online" link is not descriptive when out of context as it doesn't mention what you can view online. --- .../components/_attachment.html.erb | 2 +- config/locales/ar.yml | 1 + config/locales/az.yml | 1 + config/locales/be.yml | 1 + config/locales/bg.yml | 1 + config/locales/bn.yml | 1 + config/locales/cs.yml | 1 + config/locales/cy.yml | 1 + config/locales/da.yml | 1 + config/locales/de.yml | 1 + config/locales/dr.yml | 1 + config/locales/el.yml | 1 + config/locales/en.yml | 3 ++- config/locales/es-419.yml | 1 + config/locales/es.yml | 1 + config/locales/et.yml | 1 + config/locales/fa.yml | 1 + config/locales/fi.yml | 1 + config/locales/fr.yml | 1 + config/locales/gd.yml | 1 + config/locales/gu.yml | 1 + config/locales/he.yml | 1 + config/locales/hi.yml | 1 + config/locales/hr.yml | 1 + config/locales/hu.yml | 1 + config/locales/hy.yml | 1 + config/locales/id.yml | 1 + config/locales/is.yml | 1 + config/locales/it.yml | 1 + config/locales/ja.yml | 1 + config/locales/ka.yml | 1 + config/locales/kk.yml | 1 + config/locales/ko.yml | 1 + config/locales/lt.yml | 1 + config/locales/lv.yml | 1 + config/locales/ms.yml | 1 + config/locales/mt.yml | 1 + config/locales/nl.yml | 1 + config/locales/no.yml | 1 + config/locales/pa-pk.yml | 1 + config/locales/pa.yml | 1 + config/locales/pl.yml | 1 + config/locales/ps.yml | 1 + config/locales/pt.yml | 1 + config/locales/ro.yml | 1 + config/locales/ru.yml | 1 + config/locales/si.yml | 1 + config/locales/sk.yml | 1 + config/locales/sl.yml | 1 + config/locales/so.yml | 1 + config/locales/sq.yml | 1 + config/locales/sr.yml | 1 + config/locales/sv.yml | 1 + config/locales/sw.yml | 1 + config/locales/ta.yml | 1 + config/locales/th.yml | 1 + config/locales/tk.yml | 1 + config/locales/tr.yml | 1 + config/locales/uk.yml | 1 + config/locales/ur.yml | 1 + config/locales/uz.yml | 1 + config/locales/vi.yml | 1 + config/locales/zh-hk.yml | 1 + config/locales/zh-tw.yml | 1 + config/locales/zh.yml | 1 + 65 files changed, 66 insertions(+), 2 deletions(-) diff --git a/app/views/govuk_publishing_components/components/_attachment.html.erb b/app/views/govuk_publishing_components/components/_attachment.html.erb index 663730c8cc..2c007aee58 100644 --- a/app/views/govuk_publishing_components/components/_attachment.html.erb +++ b/app/views/govuk_publishing_components/components/_attachment.html.erb @@ -99,7 +99,7 @@ <% end %> <% if attachment.preview_url.present? %> - <%= tag.p link_to(t("components.attachment.preview_link"), attachment.preview_url, class: "govuk-link"), class: "gem-c-attachment__metadata" %> + <%= tag.p link_to(t("components.attachment.preview_link"), attachment.preview_url, class: "govuk-link", "aria-label": t("components.attachment.preview_aria_label", title: attachment.title)), class: "gem-c-attachment__metadata" %> <% end %> <% if attachment.is_official_document && !hide_order_copy_link %> diff --git a/config/locales/ar.yml b/config/locales/ar.yml index 50e54aba86..70d3401868 100644 --- a/config/locales/ar.yml +++ b/config/locales/ar.yml @@ -23,6 +23,7 @@ ar: other: "%{count} صفحات" two: zero: + preview_aria_label: preview_link: reference: 'مرجع: %{reference}' request_format_cta: طلب تنسيق يمكن الاطلاع عليه. diff --git a/config/locales/az.yml b/config/locales/az.yml index a606820d80..acd54be59a 100644 --- a/config/locales/az.yml +++ b/config/locales/az.yml @@ -19,6 +19,7 @@ az: page: one: other: "%{count} səhifə" + preview_aria_label: preview_link: reference: 'İst: %{reference}' request_format_cta: İstifadə edilə bilən format tələb edin. diff --git a/config/locales/be.yml b/config/locales/be.yml index 99b02cd873..3428405c46 100644 --- a/config/locales/be.yml +++ b/config/locales/be.yml @@ -21,6 +21,7 @@ be: many: one: 1 старонка other: "%{count} старонкi" + preview_aria_label: preview_link: reference: 'Спасылка: %{reference}' request_format_cta: Запрасіць файл у іншым фармаце. diff --git a/config/locales/bg.yml b/config/locales/bg.yml index 1bbe196a28..d06a24f6dd 100644 --- a/config/locales/bg.yml +++ b/config/locales/bg.yml @@ -19,6 +19,7 @@ bg: page: one: 1-ва страница other: "%{count} страници" + preview_aria_label: preview_link: reference: 'Реф: %{reference}' request_format_cta: Поискайте достъпен формат. diff --git a/config/locales/bn.yml b/config/locales/bn.yml index 94ddcea415..fbb5412c66 100644 --- a/config/locales/bn.yml +++ b/config/locales/bn.yml @@ -19,6 +19,7 @@ bn: page: one: 1 পেজ other: "%{count} পেজ" + preview_aria_label: preview_link: reference: 'সুত্র: %{reference}' request_format_cta: একটি প্রবেশযোগ্য ফরম্যাটের অনুরোধ করুন। diff --git a/config/locales/cs.yml b/config/locales/cs.yml index f1003ea07e..b839c3072b 100644 --- a/config/locales/cs.yml +++ b/config/locales/cs.yml @@ -20,6 +20,7 @@ cs: few: one: Strana 1 other: "%{count} stránek" + preview_aria_label: preview_link: reference: 'Odkaz: %{reference}' request_format_cta: Vyžádejte si přístupný formát. diff --git a/config/locales/cy.yml b/config/locales/cy.yml index 2aeae92906..cb0f9b3253 100644 --- a/config/locales/cy.yml +++ b/config/locales/cy.yml @@ -23,6 +23,7 @@ cy: other: "%{count} o dudalennau" two: zero: + preview_aria_label: preview_link: reference: 'Cyfeirnod: %{reference}' request_format_cta: Gwneud cais am fformat hygyrch. diff --git a/config/locales/da.yml b/config/locales/da.yml index 04a75c6e01..1bdd7572eb 100644 --- a/config/locales/da.yml +++ b/config/locales/da.yml @@ -19,6 +19,7 @@ da: page: one: 1 side other: "%{count} sider" + preview_aria_label: preview_link: reference: 'Henvisning: %{reference}' request_format_cta: Anmod om et tilgængeligt format. diff --git a/config/locales/de.yml b/config/locales/de.yml index 1312c9003c..9491e3faf6 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -19,6 +19,7 @@ de: page: one: 1 Seite other: "%{count} Seiten" + preview_aria_label: preview_link: reference: 'Ref: %{reference}' request_format_cta: Fordern Sie ein zugängliches Format an. diff --git a/config/locales/dr.yml b/config/locales/dr.yml index 9ba52880a0..641e1d392a 100644 --- a/config/locales/dr.yml +++ b/config/locales/dr.yml @@ -19,6 +19,7 @@ dr: page: one: صفحهء 1 other: "%{count} صفحات" + preview_aria_label: preview_link: reference: "%{reference}:مرجع" request_format_cta: یک فارمت قابل دسترس را درخواست کنید. diff --git a/config/locales/el.yml b/config/locales/el.yml index c316cb12d6..7d55610c93 100644 --- a/config/locales/el.yml +++ b/config/locales/el.yml @@ -19,6 +19,7 @@ el: page: one: 1 σελίδα other: "%{count} σελίδες" + preview_aria_label: preview_link: reference: 'Αναφ.: %{reference}' request_format_cta: Ζητήστε μια προσβάσιμη μορφή. diff --git a/config/locales/en.yml b/config/locales/en.yml index 55e5f8c909..a4cdc6b80a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -16,10 +16,11 @@ en: attachment: opendocument_html: This file is in an OpenDocument format order_a_copy: Order a copy - preview_link: View online page: one: 1 page other: "%{count} pages" + preview_aria_label: View %{title} online + preview_link: View online reference: 'Ref: %{reference}' request_format_cta: Request an accessible format. request_format_details_html: If you use assistive technology (such as a screen reader) and need a version of this document in a more accessible format, please email %{alternative_format_contact_email}. Please tell us what format you need. It will help us if you say what assistive technology you use. diff --git a/config/locales/es-419.yml b/config/locales/es-419.yml index 4934d5e8a0..f73a7b4b6a 100644 --- a/config/locales/es-419.yml +++ b/config/locales/es-419.yml @@ -19,6 +19,7 @@ es-419: page: one: 1 página other: "%{count} páginas" + preview_aria_label: preview_link: reference: 'Referencia: %{reference}' request_format_cta: Solicite un formato accesible. diff --git a/config/locales/es.yml b/config/locales/es.yml index b6e86e2925..8e8818f972 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -19,6 +19,7 @@ es: page: one: 1 página other: "%{count} páginas" + preview_aria_label: preview_link: reference: 'Ref.: %{reference}' request_format_cta: Solicitar un formato accesible. diff --git a/config/locales/et.yml b/config/locales/et.yml index aeb5cffa4b..57d5bed414 100644 --- a/config/locales/et.yml +++ b/config/locales/et.yml @@ -19,6 +19,7 @@ et: page: one: 1 leht other: "%{count} lehte" + preview_aria_label: preview_link: reference: 'Viide: %{reference}' request_format_cta: Taotlege juurdepääsetavat vormingut. diff --git a/config/locales/fa.yml b/config/locales/fa.yml index 825f7204be..69f942bbee 100644 --- a/config/locales/fa.yml +++ b/config/locales/fa.yml @@ -19,6 +19,7 @@ fa: page: one: other: "%{count} صفحه" + preview_aria_label: preview_link: reference: 'مرجع: %{reference}' request_format_cta: درخواست یک قالب با قابلیت دسترسی بهتر. diff --git a/config/locales/fi.yml b/config/locales/fi.yml index 40f0702854..c7614f5a2a 100644 --- a/config/locales/fi.yml +++ b/config/locales/fi.yml @@ -19,6 +19,7 @@ fi: page: one: 1 sivu other: "%{count} pages" + preview_aria_label: preview_link: reference: 'Viite: %{reference}' request_format_cta: Pyydä helppokäyttöistä muotoa. diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 546f2f09ad..46feffcd27 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -19,6 +19,7 @@ fr: page: one: 1 page other: "%{count} pages" + preview_aria_label: preview_link: reference: 'Réf.: %{reference}' request_format_cta: Demandez un format accessible. diff --git a/config/locales/gd.yml b/config/locales/gd.yml index 096fbce3b4..0209a0bce7 100644 --- a/config/locales/gd.yml +++ b/config/locales/gd.yml @@ -21,6 +21,7 @@ gd: one: 1 leathanach other: "%{count} leathanaigh" two: + preview_aria_label: preview_link: reference: 'Tagairt: %{reference}' request_format_cta: Is féidir leat formáid inrochtana a iarraidh. diff --git a/config/locales/gu.yml b/config/locales/gu.yml index fcddcb2b82..243870e7ab 100644 --- a/config/locales/gu.yml +++ b/config/locales/gu.yml @@ -19,6 +19,7 @@ gu: page: one: 1 પૃષ્ઠ other: "%{count} પૃષ્ઠો" + preview_aria_label: preview_link: reference: સંદર્ભ:%{reference} request_format_cta: કોઈ એક્સેસિબલ ફોરમેટ માટે વિનંતી કરો. diff --git a/config/locales/he.yml b/config/locales/he.yml index a91d173535..b33122e89d 100644 --- a/config/locales/he.yml +++ b/config/locales/he.yml @@ -19,6 +19,7 @@ he: page: one: דף 1 other: "%{count} דפים" + preview_aria_label: preview_link: reference: 'הפניה: %{reference}' request_format_cta: בקש פורמט נגיש. diff --git a/config/locales/hi.yml b/config/locales/hi.yml index bacb042c38..f074cde1d0 100644 --- a/config/locales/hi.yml +++ b/config/locales/hi.yml @@ -19,6 +19,7 @@ hi: page: one: 1 पेज other: "%{count} पेज" + preview_aria_label: preview_link: reference: 'संदर्भ: %{reference}' request_format_cta: एक सुलभ प्रारूप का अनुरोध करें। diff --git a/config/locales/hr.yml b/config/locales/hr.yml index daf8a16a4c..0eb556ed43 100644 --- a/config/locales/hr.yml +++ b/config/locales/hr.yml @@ -20,6 +20,7 @@ hr: few: one: 1 stranica other: "%{count} stranice" + preview_aria_label: preview_link: reference: 'Referenca: %{reference}' request_format_cta: Zatražite pristupačan format. diff --git a/config/locales/hu.yml b/config/locales/hu.yml index f3b782a67f..9b62868f74 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -19,6 +19,7 @@ hu: page: one: 1 oldal other: "%{count} oldal" + preview_aria_label: preview_link: reference: 'Ref: %{reference}' request_format_cta: Kérjen hozzáférhető formátumot. diff --git a/config/locales/hy.yml b/config/locales/hy.yml index 6aad17c14d..faf73dfcbd 100644 --- a/config/locales/hy.yml +++ b/config/locales/hy.yml @@ -19,6 +19,7 @@ hy: page: one: 1 էջ other: "%{count} էջ" + preview_aria_label: preview_link: reference: Հղում՝ %{reference} request_format_cta: 'Նշեք համապատասխան ձևաչափ:' diff --git a/config/locales/id.yml b/config/locales/id.yml index e9a5dfcccc..332dd6da52 100644 --- a/config/locales/id.yml +++ b/config/locales/id.yml @@ -18,6 +18,7 @@ id: order_a_copy: Pesan salinan page: other: "%{count} halaman" + preview_aria_label: preview_link: reference: 'Ref: %{reference}' request_format_cta: Minta format yang dapat diakses. diff --git a/config/locales/is.yml b/config/locales/is.yml index f3c1fcb18f..12211e2485 100644 --- a/config/locales/is.yml +++ b/config/locales/is.yml @@ -19,6 +19,7 @@ is: page: one: 1 síða other: "%{count} síður" + preview_aria_label: preview_link: reference: 'Tilv: %{reference}' request_format_cta: Óska eftir aðgengilegu sniði. diff --git a/config/locales/it.yml b/config/locales/it.yml index a3e116999a..4208b6c4a1 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -19,6 +19,7 @@ it: page: one: 1 pagina other: "%{count} pagine" + preview_aria_label: preview_link: reference: 'Rif: %{reference}' request_format_cta: Richiedi un formato accessibile. diff --git a/config/locales/ja.yml b/config/locales/ja.yml index e508167434..34e197c463 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -18,6 +18,7 @@ ja: order_a_copy: コピーを注文する page: other: "%{count}ページ" + preview_aria_label: preview_link: reference: 参照:%{reference} request_format_cta: アクセス可能なフォーマットをリクエストしてください。 diff --git a/config/locales/ka.yml b/config/locales/ka.yml index 7325c82c58..05ff1934e1 100644 --- a/config/locales/ka.yml +++ b/config/locales/ka.yml @@ -19,6 +19,7 @@ ka: page: one: 1 გვერი other: "%{count} გვერდები" + preview_aria_label: preview_link: reference: 'მითითება: %{reference}' request_format_cta: ხელმისაწვდომი ფორმატის მოთხოვნა. diff --git a/config/locales/kk.yml b/config/locales/kk.yml index 37b02a1ef1..360796c46a 100644 --- a/config/locales/kk.yml +++ b/config/locales/kk.yml @@ -19,6 +19,7 @@ kk: page: one: 1 бет other: "%{count} бет" + preview_aria_label: preview_link: reference: 'Сілтеме: %{reference}' request_format_cta: Қолжетімді пішімді сұраңыз. diff --git a/config/locales/ko.yml b/config/locales/ko.yml index 98d0b3dc93..80f4c6f71c 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -18,6 +18,7 @@ ko: order_a_copy: page: other: + preview_aria_label: preview_link: reference: request_format_cta: diff --git a/config/locales/lt.yml b/config/locales/lt.yml index a78293d888..a11b93c836 100644 --- a/config/locales/lt.yml +++ b/config/locales/lt.yml @@ -20,6 +20,7 @@ lt: few: one: 1 puslapis other: "%{count} puslapių" + preview_aria_label: preview_link: reference: 'Nuoroda: %{reference}' request_format_cta: Prašyti prieinamo formato. diff --git a/config/locales/lv.yml b/config/locales/lv.yml index 23b127c27d..82cffbd295 100644 --- a/config/locales/lv.yml +++ b/config/locales/lv.yml @@ -19,6 +19,7 @@ lv: page: one: 1 lapa other: "%{count} lapas" + preview_aria_label: preview_link: reference: 'Ref.: %{reference}' request_format_cta: Pieprasīt pieejamu formātu. diff --git a/config/locales/ms.yml b/config/locales/ms.yml index 33c9859d4f..2647927c11 100644 --- a/config/locales/ms.yml +++ b/config/locales/ms.yml @@ -18,6 +18,7 @@ ms: order_a_copy: Pesan satu salinan page: other: "%{count} halaman" + preview_aria_label: preview_link: reference: 'Ruj: %{reference}' request_format_cta: Minta format yang boleh diakses. diff --git a/config/locales/mt.yml b/config/locales/mt.yml index bb8b79f340..7b05f82bda 100644 --- a/config/locales/mt.yml +++ b/config/locales/mt.yml @@ -21,6 +21,7 @@ mt: many: one: 1 paġna other: "%{count} paġni" + preview_aria_label: preview_link: reference: 'Ref: %{reference}' request_format_cta: Itlob format aċċessibbli. diff --git a/config/locales/nl.yml b/config/locales/nl.yml index e411a9270b..62056f2a00 100644 --- a/config/locales/nl.yml +++ b/config/locales/nl.yml @@ -19,6 +19,7 @@ nl: page: one: 1 pagina other: "%{count} pagina's" + preview_aria_label: preview_link: reference: 'Ref: %{reference}' request_format_cta: Vraag een toegankelijk formaat aan. diff --git a/config/locales/no.yml b/config/locales/no.yml index 6015e21c6f..00d83fa578 100644 --- a/config/locales/no.yml +++ b/config/locales/no.yml @@ -19,6 +19,7 @@ page: one: 1 side other: "%{count} sider" + preview_aria_label: preview_link: reference: 'Ref: %{reference}' request_format_cta: Be om et tilgjengelig format. diff --git a/config/locales/pa-pk.yml b/config/locales/pa-pk.yml index f010aa6290..eda588dae7 100644 --- a/config/locales/pa-pk.yml +++ b/config/locales/pa-pk.yml @@ -19,6 +19,7 @@ pa-pk: page: one: پہلا ورق other: ورقے {count}% + preview_aria_label: preview_link: reference: حوالہ:{reference}% request_format_cta: اک طریقے تک پوہنچن لئی اِک درخواست دیو۔ diff --git a/config/locales/pa.yml b/config/locales/pa.yml index 86142d98e3..fdda93c68e 100644 --- a/config/locales/pa.yml +++ b/config/locales/pa.yml @@ -19,6 +19,7 @@ pa: page: one: 1 ਪੰਨਾ other: "%{count} ਪੰਨੇ" + preview_aria_label: preview_link: reference: 'ਹਵਾਲਾ: %{reference}' request_format_cta: ਇੱਕ ਪਹੁੰਚਯੋਗ ਫਾਰਮੈਟ ਦੀ ਬੇਨਤੀ ਕਰੋ। diff --git a/config/locales/pl.yml b/config/locales/pl.yml index 6c445c8fd7..4f181d9541 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -21,6 +21,7 @@ pl: many: one: 1 strona other: "%{count} strony" + preview_aria_label: preview_link: reference: 'Odnośnik: %{reference}' request_format_cta: Poproś o inny format. diff --git a/config/locales/ps.yml b/config/locales/ps.yml index 50ef615e23..1089a3b8b0 100644 --- a/config/locales/ps.yml +++ b/config/locales/ps.yml @@ -19,6 +19,7 @@ ps: page: one: 1 پاڼه other: "%{count} پاڼې" + preview_aria_label: preview_link: reference: حواله:%{reference} request_format_cta: د لاسرسي وړ پاڼه غوښتنه وکړئ. diff --git a/config/locales/pt.yml b/config/locales/pt.yml index 61d1dccb20..0a5cc91829 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -19,6 +19,7 @@ pt: page: one: 1 página other: "%{count} páginas" + preview_aria_label: preview_link: reference: 'Ref: %{reference}' request_format_cta: Solicitar um formato acessível. diff --git a/config/locales/ro.yml b/config/locales/ro.yml index 2634316a3e..097be8ad83 100644 --- a/config/locales/ro.yml +++ b/config/locales/ro.yml @@ -20,6 +20,7 @@ ro: few: one: 1 pagină other: "%{count} pagini" + preview_aria_label: preview_link: reference: 'Referință: %{reference}' request_format_cta: Solicitați un format accesibil. diff --git a/config/locales/ru.yml b/config/locales/ru.yml index bffa93fa0c..216ee14dcd 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -21,6 +21,7 @@ ru: many: one: 1 страница other: "%{count} страниц" + preview_aria_label: preview_link: reference: 'Ссылка: %{reference}' request_format_cta: Запросить в доступном формате. diff --git a/config/locales/si.yml b/config/locales/si.yml index 29968a5474..cd5e5116c8 100644 --- a/config/locales/si.yml +++ b/config/locales/si.yml @@ -19,6 +19,7 @@ si: page: one: පිටු 1ක් other: පිටු %{count}ක් + preview_aria_label: preview_link: reference: 'යොමුව: %{reference}' request_format_cta: පිවිසිය හැකි ආකෘතියක් ඉල්ලන්න. diff --git a/config/locales/sk.yml b/config/locales/sk.yml index 55ca6ac59b..36c2f85d5c 100644 --- a/config/locales/sk.yml +++ b/config/locales/sk.yml @@ -20,6 +20,7 @@ sk: few: one: 1 strana other: "%{count} strán" + preview_aria_label: preview_link: reference: 'Odkaz: %{reference}' request_format_cta: Vyžiadajte si prístupný formát. diff --git a/config/locales/sl.yml b/config/locales/sl.yml index 4d5014d90d..e598c3db1e 100644 --- a/config/locales/sl.yml +++ b/config/locales/sl.yml @@ -21,6 +21,7 @@ sl: one: 1 stran other: "%{count} strani" two: + preview_aria_label: preview_link: reference: 'Referenca: % (reference}' request_format_cta: Zahtevajte dostopen format. diff --git a/config/locales/so.yml b/config/locales/so.yml index 73fb17eb70..45fb854629 100644 --- a/config/locales/so.yml +++ b/config/locales/so.yml @@ -19,6 +19,7 @@ so: page: one: 1 boga other: "%{count} bogaga" + preview_aria_label: preview_link: reference: 'Tixraac: %{reference}' request_format_cta: Codso nidaam la gali karo. diff --git a/config/locales/sq.yml b/config/locales/sq.yml index f54668ce7c..a8dff15d7f 100644 --- a/config/locales/sq.yml +++ b/config/locales/sq.yml @@ -19,6 +19,7 @@ sq: page: one: 1 faqe other: "%{count} faqet" + preview_aria_label: preview_link: reference: 'Ref: %{reference}' request_format_cta: Kërkoni një format të arritshëm. diff --git a/config/locales/sr.yml b/config/locales/sr.yml index 957365be5c..470cb44606 100644 --- a/config/locales/sr.yml +++ b/config/locales/sr.yml @@ -20,6 +20,7 @@ sr: few: one: 1 stranica other: "%{count} str." + preview_aria_label: preview_link: reference: 'Ref: %{reference}' request_format_cta: Zatražite format kom možete da pristupite. diff --git a/config/locales/sv.yml b/config/locales/sv.yml index 51b1bc4877..a4acf09295 100644 --- a/config/locales/sv.yml +++ b/config/locales/sv.yml @@ -19,6 +19,7 @@ sv: page: one: 1 sida other: "%{count} sidor" + preview_aria_label: preview_link: reference: 'Ref: %{reference}' request_format_cta: Begär ett tillgängligt format. diff --git a/config/locales/sw.yml b/config/locales/sw.yml index f4ff00a7f5..51a23646b4 100644 --- a/config/locales/sw.yml +++ b/config/locales/sw.yml @@ -19,6 +19,7 @@ sw: page: one: Ukurasa mmoja (1) other: Kurasa %{count} + preview_aria_label: preview_link: reference: 'Marejeleo: %{reference}' request_format_cta: Omba muundo unaoweza kutumika. diff --git a/config/locales/ta.yml b/config/locales/ta.yml index f4315d6397..96b2739aa6 100644 --- a/config/locales/ta.yml +++ b/config/locales/ta.yml @@ -19,6 +19,7 @@ ta: page: one: 1 பக்கம் other: "%{count} பக்கங்கள்" + preview_aria_label: preview_link: reference: 'பார்வை: %{reference}' request_format_cta: அணுகக்கூடிய வடிவத்தைக் கோருக. diff --git a/config/locales/th.yml b/config/locales/th.yml index 979457c82a..1807ba8d19 100644 --- a/config/locales/th.yml +++ b/config/locales/th.yml @@ -18,6 +18,7 @@ th: order_a_copy: สั่งซื้อสำเนา page: other: "%{count} หน้า" + preview_aria_label: preview_link: reference: 'อ้างอิง: %{reference}' request_format_cta: ขอรูปแบบไฟล์ที่สามารถเข้าถึงได้ diff --git a/config/locales/tk.yml b/config/locales/tk.yml index bb1a39f80d..e5e9a37ad3 100644 --- a/config/locales/tk.yml +++ b/config/locales/tk.yml @@ -19,6 +19,7 @@ tk: page: one: 1 sahypa other: "%{count} sahypalar" + preview_aria_label: preview_link: reference: 'Salgylanma: %{reference}' request_format_cta: Elýeterli formaty talap etmek. diff --git a/config/locales/tr.yml b/config/locales/tr.yml index 50b1944645..a45fb97e7f 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -19,6 +19,7 @@ tr: page: one: 1 sayfa other: "%{count} sayfa" + preview_aria_label: preview_link: reference: 'İlgi: %{reference}' request_format_cta: Erişilebilir bir format talep edin. diff --git a/config/locales/uk.yml b/config/locales/uk.yml index 738e17650b..79c66b5eb3 100644 --- a/config/locales/uk.yml +++ b/config/locales/uk.yml @@ -21,6 +21,7 @@ uk: many: one: 1 сторінка other: "%{count} сторінок" + preview_aria_label: preview_link: reference: 'Посилання: %{reference}' request_format_cta: Надішліть запит на доступний формат. diff --git a/config/locales/ur.yml b/config/locales/ur.yml index 2ae7b5f0c3..2d0a27316f 100644 --- a/config/locales/ur.yml +++ b/config/locales/ur.yml @@ -19,6 +19,7 @@ ur: page: one: 1 صفحہ other: "%{count} صفحات" + preview_aria_label: preview_link: reference: 'حوالہ: %{reference}' request_format_cta: قابل رسائی فارمیٹ کی درخواست دیں۔ diff --git a/config/locales/uz.yml b/config/locales/uz.yml index d75993d1cb..8118f6da09 100644 --- a/config/locales/uz.yml +++ b/config/locales/uz.yml @@ -19,6 +19,7 @@ uz: page: one: 1 саҳифа other: "%{count} саҳифа" + preview_aria_label: preview_link: reference: 'Ҳавола: %{reference}' request_format_cta: Мақбул форматни олишга сўров. diff --git a/config/locales/vi.yml b/config/locales/vi.yml index 0c909ca0a6..ed9ee0bcb3 100644 --- a/config/locales/vi.yml +++ b/config/locales/vi.yml @@ -18,6 +18,7 @@ vi: order_a_copy: Đặt hàng một bản sao page: other: "%{count} trang" + preview_aria_label: preview_link: reference: 'Tham khảo: %{reference}' request_format_cta: Yêu cầu một định dạng có thể truy cập. diff --git a/config/locales/zh-hk.yml b/config/locales/zh-hk.yml index a55dc63269..cd97fc65c5 100644 --- a/config/locales/zh-hk.yml +++ b/config/locales/zh-hk.yml @@ -18,6 +18,7 @@ zh-hk: order_a_copy: 索取副本 page: other: "%{count} 頁" + preview_aria_label: preview_link: reference: 'Ref: %{reference}' request_format_cta: 索取可讀取之格式。 diff --git a/config/locales/zh-tw.yml b/config/locales/zh-tw.yml index 8aba98e26d..1c472c509f 100644 --- a/config/locales/zh-tw.yml +++ b/config/locales/zh-tw.yml @@ -18,6 +18,7 @@ zh-tw: order_a_copy: 預定副本 page: other: "%{count} 頁面" + preview_aria_label: preview_link: reference: 參考:%{reference} request_format_cta: 請求可參閱格式。 diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 301ce32a5c..88f55d14ac 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -18,6 +18,7 @@ zh: order_a_copy: 订购副本 page: other: "%{count} 页" + preview_aria_label: preview_link: reference: 参考号:%{reference} request_format_cta: 申请可访问格式。