govuk_publishing_components 34.4.2 → 34.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-core.js +1 -29
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js +2 -2
- data/app/assets/javascripts/govuk_publishing_components/dependencies.js +0 -10
- data/app/assets/javascripts/govuk_publishing_components/load-analytics.js +126 -30
- data/app/assets/javascripts/govuk_publishing_components/modules.js +7 -2
- data/app/views/govuk_publishing_components/components/_cookie_banner.html.erb +8 -4
- data/app/views/govuk_publishing_components/components/_image_card.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +3 -3
- data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +33 -4
- data/config/locales/ar.yml +6 -2
- data/config/locales/az.yml +6 -2
- data/config/locales/be.yml +6 -2
- data/config/locales/bg.yml +6 -2
- data/config/locales/bn.yml +6 -2
- data/config/locales/cs.yml +6 -2
- data/config/locales/cy.yml +6 -2
- data/config/locales/da.yml +6 -2
- data/config/locales/de.yml +6 -2
- data/config/locales/dr.yml +6 -2
- data/config/locales/el.yml +6 -2
- data/config/locales/en.yml +7 -3
- data/config/locales/es-419.yml +6 -2
- data/config/locales/es.yml +6 -2
- data/config/locales/et.yml +6 -2
- data/config/locales/fa.yml +6 -2
- data/config/locales/fi.yml +6 -2
- data/config/locales/fr.yml +6 -2
- data/config/locales/gd.yml +6 -2
- data/config/locales/gu.yml +6 -2
- data/config/locales/he.yml +6 -2
- data/config/locales/hi.yml +6 -2
- data/config/locales/hr.yml +6 -2
- data/config/locales/hu.yml +6 -2
- data/config/locales/hy.yml +6 -2
- data/config/locales/id.yml +6 -2
- data/config/locales/is.yml +6 -2
- data/config/locales/it.yml +6 -2
- data/config/locales/ja.yml +6 -2
- data/config/locales/ka.yml +6 -2
- data/config/locales/kk.yml +6 -2
- data/config/locales/ko.yml +6 -2
- data/config/locales/lt.yml +6 -2
- data/config/locales/lv.yml +6 -2
- data/config/locales/ms.yml +6 -2
- data/config/locales/mt.yml +6 -2
- data/config/locales/nl.yml +6 -2
- data/config/locales/no.yml +6 -2
- data/config/locales/pa-pk.yml +6 -2
- data/config/locales/pa.yml +6 -2
- data/config/locales/pl.yml +6 -2
- data/config/locales/ps.yml +6 -2
- data/config/locales/pt.yml +6 -2
- data/config/locales/ro.yml +6 -2
- data/config/locales/ru.yml +6 -2
- data/config/locales/si.yml +6 -2
- data/config/locales/sk.yml +6 -2
- data/config/locales/sl.yml +6 -2
- data/config/locales/so.yml +6 -2
- data/config/locales/sq.yml +6 -2
- data/config/locales/sr.yml +6 -2
- data/config/locales/sv.yml +6 -2
- data/config/locales/sw.yml +6 -2
- data/config/locales/ta.yml +6 -2
- data/config/locales/th.yml +6 -2
- data/config/locales/tk.yml +6 -2
- data/config/locales/tr.yml +6 -2
- data/config/locales/uk.yml +6 -2
- data/config/locales/ur.yml +6 -2
- data/config/locales/uz.yml +6 -2
- data/config/locales/vi.yml +6 -2
- data/config/locales/zh-hk.yml +6 -2
- data/config/locales/zh-tw.yml +6 -2
- data/config/locales/zh.yml +6 -2
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/README.md +1 -1
- data/node_modules/axe-core/axe.js +175 -129
- data/node_modules/axe-core/axe.min.js +2 -2
- data/node_modules/axe-core/package.json +27 -27
- data/node_modules/axe-core/sri-history.json +4 -0
- metadata +3 -4
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/init-ga4.js +0 -28
data/config/locales/sr.yml
CHANGED
@@ -41,8 +41,12 @@ sr:
|
|
41
41
|
buttons:
|
42
42
|
accept_cookies: Prihvati dodatne kolačiće
|
43
43
|
reject_cookies: Odbaci dodatne kolačiće
|
44
|
-
|
45
|
-
|
44
|
+
view_cookies:
|
45
|
+
confirmation_message:
|
46
|
+
accepted:
|
47
|
+
html: U svakom trenutku možete da %{link}.
|
48
|
+
link: promenite podešavanja kolačića
|
49
|
+
rejected:
|
46
50
|
hide: Sakrij ovu poruku
|
47
51
|
text:
|
48
52
|
- Koristimo osnovne kolačiće za funkcionisanje ovog veb-sajta.
|
data/config/locales/sv.yml
CHANGED
@@ -40,8 +40,12 @@ sv:
|
|
40
40
|
buttons:
|
41
41
|
accept_cookies: Acceptera fler cookies
|
42
42
|
reject_cookies: Avvisa fler cookies
|
43
|
-
|
44
|
-
|
43
|
+
view_cookies:
|
44
|
+
confirmation_message:
|
45
|
+
accepted:
|
46
|
+
html: Du kan %{link} när som helst.
|
47
|
+
link: ändra dina cookie-inställningar
|
48
|
+
rejected:
|
45
49
|
hide: Dölj det här meddelandet
|
46
50
|
text:
|
47
51
|
- Vi använder vissa viktiga cookies för att den här webbplatsen ska fungera.
|
data/config/locales/sw.yml
CHANGED
@@ -40,8 +40,12 @@ sw:
|
|
40
40
|
buttons:
|
41
41
|
accept_cookies: Kubali vidakuzi vya ziada
|
42
42
|
reject_cookies: Kataa vidakuzi vya ziada
|
43
|
-
|
44
|
-
|
43
|
+
view_cookies:
|
44
|
+
confirmation_message:
|
45
|
+
accepted:
|
46
|
+
html: Unaweza %{link} wakati wowote.
|
47
|
+
link: badilisha mipangilio yako ya vidakuzi
|
48
|
+
rejected:
|
45
49
|
hide: Ficha ujumbe huu
|
46
50
|
text:
|
47
51
|
- Tunatumia vidakuzi muhimu ili kufanya tovuti hii ifanye kazi.
|
data/config/locales/ta.yml
CHANGED
@@ -40,8 +40,12 @@ ta:
|
|
40
40
|
buttons:
|
41
41
|
accept_cookies: கூடுதல் குக்கீஸ்களை ஏற்கவும்
|
42
42
|
reject_cookies: கூடுதல் குக்கீஸ்களை நிராகரி
|
43
|
-
|
44
|
-
|
43
|
+
view_cookies:
|
44
|
+
confirmation_message:
|
45
|
+
accepted:
|
46
|
+
html: எந்த நேரத்திலும் உங்களால் %{link} முடியும்.
|
47
|
+
link: உங்கள் குக்கீ அமைப்புகளை மாற்றவும்
|
48
|
+
rejected:
|
45
49
|
hide: இந்தச் செய்தியை மறை
|
46
50
|
text:
|
47
51
|
- "”இந்த இணையத்தளம் செயல்படுவதற்கான சில அத்தியாவசிய குக்கீஸ்களை நாங்கள் பயன்படுத்துகிறோம்.”"
|
data/config/locales/th.yml
CHANGED
@@ -39,8 +39,12 @@ th:
|
|
39
39
|
buttons:
|
40
40
|
accept_cookies: ยอมรับคุกกี้เพิ่มเติม
|
41
41
|
reject_cookies: ปฏิเสธคุกกี้เพิ่มเติม
|
42
|
-
|
43
|
-
|
42
|
+
view_cookies:
|
43
|
+
confirmation_message:
|
44
|
+
accepted:
|
45
|
+
html: คุณสามารถ %{link} เมื่อใดก็ได้
|
46
|
+
link: เปลี่ยนการตั้งค่าคุกกี้ของคุณ
|
47
|
+
rejected:
|
44
48
|
hide: ซ่อนข้อความนี้
|
45
49
|
text:
|
46
50
|
- เราใช้คุกกี้ที่จำเป็นบางอย่างเพื่อทำให้เว็บไซต์นี้ทำงานได้
|
data/config/locales/tk.yml
CHANGED
@@ -40,8 +40,12 @@ tk:
|
|
40
40
|
buttons:
|
41
41
|
accept_cookies: Goşmaça kukileri kabul et
|
42
42
|
reject_cookies: Goşmaça kukileri ret et
|
43
|
-
|
44
|
-
|
43
|
+
view_cookies:
|
44
|
+
confirmation_message:
|
45
|
+
accepted:
|
46
|
+
html: Islendik wagt %{link} edip bilersiňiz.
|
47
|
+
link: kukiler sazlamalaryňyzy üýtgediň
|
48
|
+
rejected:
|
45
49
|
hide: Bu habary gizle
|
46
50
|
text:
|
47
51
|
- Bu internet sahypasyny işletmek üçin käbir möhüm kukileri ulanýarys.
|
data/config/locales/tr.yml
CHANGED
@@ -40,8 +40,12 @@ tr:
|
|
40
40
|
buttons:
|
41
41
|
accept_cookies: Ek çerezleri kabul et
|
42
42
|
reject_cookies: Ek çerezleri reddet
|
43
|
-
|
44
|
-
|
43
|
+
view_cookies:
|
44
|
+
confirmation_message:
|
45
|
+
accepted:
|
46
|
+
html: İstediğiniz zaman %{link} yapabilirsiniz.
|
47
|
+
link: çerez ayarlarınızı değiştirin
|
48
|
+
rejected:
|
45
49
|
hide: Bu mesajı gizle
|
46
50
|
text:
|
47
51
|
- Bu web sitesini çalıştırmak için bazı gerekli çerezleri kullanıyoruz.
|
data/config/locales/uk.yml
CHANGED
@@ -42,8 +42,12 @@ uk:
|
|
42
42
|
buttons:
|
43
43
|
accept_cookies: Прийняти додаткові файли cookie
|
44
44
|
reject_cookies: Відхилити додаткові файли cookie
|
45
|
-
|
46
|
-
|
45
|
+
view_cookies:
|
46
|
+
confirmation_message:
|
47
|
+
accepted:
|
48
|
+
html: Ви можете %{link} у будь -який час.
|
49
|
+
link: Змініть налаштування файлів cookie
|
50
|
+
rejected:
|
47
51
|
hide: Приховати це повідомлення
|
48
52
|
text:
|
49
53
|
- Ми використовуємо деякі важливі файли cookie
|
data/config/locales/ur.yml
CHANGED
@@ -40,8 +40,12 @@ ur:
|
|
40
40
|
buttons:
|
41
41
|
accept_cookies: اضافی کوکیز کو قبول کریں
|
42
42
|
reject_cookies: اضافی کوکیز کو مسترد کریں
|
43
|
-
|
44
|
-
|
43
|
+
view_cookies:
|
44
|
+
confirmation_message:
|
45
|
+
accepted:
|
46
|
+
html: آپ کسی بھی وقت %{link} کر سکتے ہیں۔
|
47
|
+
link: اپنی کوکی کی ترتیبات تبدیل کریں
|
48
|
+
rejected:
|
45
49
|
hide: اس پیغام کو پوشیدہ کریں
|
46
50
|
text:
|
47
51
|
- ہم اس ویب سائٹ کو چلانے کے لیے کچھ ضروری کوکیز استعمال کرتے ہیں۔، ہم اس بات کو سمجھنے کے لیے کچھ اضافی کوکیز سیٹ کرنا چاہیں گے کہ آپ GOV.UK کو کیسے سمجھتے ہیں، اپنی ترتیبات یاد رکھیں اور حکومتی سروسز کو بہتر بنائیں۔، ہم دیگر سائٹس سے مواد کی ترسیل کرنے کے لیے دیگر سائٹس کی جانب سے سیٹ کی گئی کوکیز بھی استعمال کرتے ہیں۔
|
data/config/locales/uz.yml
CHANGED
@@ -40,8 +40,12 @@ uz:
|
|
40
40
|
buttons:
|
41
41
|
accept_cookies: cookie қўшимча файлларини қабул қилиш
|
42
42
|
reject_cookies: cookie қўшимча файлларини бекор қилиш
|
43
|
-
|
44
|
-
|
43
|
+
view_cookies:
|
44
|
+
confirmation_message:
|
45
|
+
accepted:
|
46
|
+
html: Сиз %{link} исталган вақтда қилишингиз мумкин.
|
47
|
+
link: cookie файлларини созламаларини ўзгариши
|
48
|
+
rejected:
|
45
49
|
hide: Ушбу хабарни яшириш
|
46
50
|
text:
|
47
51
|
- Биз ушбу веб-сайтни ишини таъминлаш учун cookieнинг муайян файлларини қўллаймиз.
|
data/config/locales/vi.yml
CHANGED
@@ -39,8 +39,12 @@ vi:
|
|
39
39
|
buttons:
|
40
40
|
accept_cookies: Chấp nhận các cookie bổ sung
|
41
41
|
reject_cookies: Từ chối các cookie bổ sung
|
42
|
-
|
43
|
-
|
42
|
+
view_cookies:
|
43
|
+
confirmation_message:
|
44
|
+
accepted:
|
45
|
+
html: Bạn có thể %{link} bất kỳ lúc nào.
|
46
|
+
link: thay đổi cài đặt cookie của bạn
|
47
|
+
rejected:
|
44
48
|
hide: Ẩn thông báo này
|
45
49
|
text:
|
46
50
|
- Chúng tôi sử dụng một số cookie cần thiết để vận hành trang web này.
|
data/config/locales/zh-hk.yml
CHANGED
@@ -39,8 +39,12 @@ zh-hk:
|
|
39
39
|
buttons:
|
40
40
|
accept_cookies: 接受額外 cookies
|
41
41
|
reject_cookies: 拒絕額外 cookies
|
42
|
-
|
43
|
-
|
42
|
+
view_cookies:
|
43
|
+
confirmation_message:
|
44
|
+
accepted:
|
45
|
+
html: 您可隨時 %{link} 。
|
46
|
+
link: 更改您的 cookie 設定
|
47
|
+
rejected:
|
44
48
|
hide: 隱藏此一訊息
|
45
49
|
text:
|
46
50
|
- 我們使用部份基本 cookies 讓此一網站運作。
|
data/config/locales/zh-tw.yml
CHANGED
@@ -39,8 +39,12 @@ zh-tw:
|
|
39
39
|
buttons:
|
40
40
|
accept_cookies: 接受額外cookie
|
41
41
|
reject_cookies: 拒絕額外cookie
|
42
|
-
|
43
|
-
|
42
|
+
view_cookies:
|
43
|
+
confirmation_message:
|
44
|
+
accepted:
|
45
|
+
html: 可以隨時 %{link}。
|
46
|
+
link: 更改你的cookie設定
|
47
|
+
rejected:
|
44
48
|
hide: 隱藏此訊息
|
45
49
|
text:
|
46
50
|
- 我們使用一些必要的 cookie 來正常運作本網站。
|
data/config/locales/zh.yml
CHANGED
@@ -39,8 +39,12 @@ zh:
|
|
39
39
|
buttons:
|
40
40
|
accept_cookies: 接受额外cookies
|
41
41
|
reject_cookies: 拒绝额外cookies
|
42
|
-
|
43
|
-
|
42
|
+
view_cookies:
|
43
|
+
confirmation_message:
|
44
|
+
accepted:
|
45
|
+
html: 您可以随时 %{link}。
|
46
|
+
link: 更改您的cookie设置
|
47
|
+
rejected:
|
44
48
|
hide: 隐藏此消息
|
45
49
|
text:
|
46
50
|
- 我们使用一些基本的cookie以使本网站运作。
|
@@ -177,6 +177,6 @@ Read the [documentation on contributing](CONTRIBUTING.md)
|
|
177
177
|
|
178
178
|
## Acknowledgements
|
179
179
|
|
180
|
-
Thanks to Dulin
|
180
|
+
Thanks to Marat Dulin for his [css-selector-parser](https://www.npmjs.com/package/css-selector-parser) implementation which is included for shadow DOM support.
|
181
181
|
|
182
182
|
Thanks to the [Slick Parser](https://github.com/mootools/slick/blob/master/Source/Slick.Parser.js) implementers for their contribution, we have used some of their algorithms in our shadow DOM support code.
|