govuk_publishing_components 38.2.0 → 38.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/components/feedback.js +0 -38
- data/app/views/govuk_publishing_components/components/_share_links.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb +7 -45
- data/config/locales/ar.yml +1 -1
- data/config/locales/az.yml +1 -1
- data/config/locales/be.yml +1 -1
- data/config/locales/bg.yml +1 -1
- data/config/locales/bn.yml +1 -1
- data/config/locales/cs.yml +1 -1
- data/config/locales/cy.yml +1 -1
- data/config/locales/da.yml +1 -1
- data/config/locales/de.yml +1 -1
- data/config/locales/dr.yml +1 -1
- data/config/locales/el.yml +1 -1
- data/config/locales/en.yml +1 -1
- data/config/locales/es-419.yml +1 -1
- data/config/locales/es.yml +1 -1
- data/config/locales/et.yml +1 -1
- data/config/locales/fa.yml +1 -1
- data/config/locales/fi.yml +1 -1
- data/config/locales/fr.yml +1 -1
- data/config/locales/gd.yml +1 -1
- data/config/locales/gu.yml +1 -1
- data/config/locales/he.yml +1 -1
- data/config/locales/hi.yml +1 -1
- data/config/locales/hr.yml +1 -1
- data/config/locales/hu.yml +1 -1
- data/config/locales/hy.yml +1 -1
- data/config/locales/id.yml +1 -1
- data/config/locales/is.yml +1 -1
- data/config/locales/it.yml +1 -1
- data/config/locales/ja.yml +1 -1
- data/config/locales/ka.yml +1 -1
- data/config/locales/kk.yml +1 -1
- data/config/locales/lt.yml +1 -1
- data/config/locales/lv.yml +1 -1
- data/config/locales/ms.yml +1 -1
- data/config/locales/mt.yml +1 -1
- data/config/locales/nl.yml +1 -1
- data/config/locales/no.yml +1 -1
- data/config/locales/pa-pk.yml +1 -1
- data/config/locales/pa.yml +1 -1
- data/config/locales/pl.yml +1 -1
- data/config/locales/ps.yml +1 -1
- data/config/locales/pt.yml +1 -1
- data/config/locales/ro.yml +1 -1
- data/config/locales/ru.yml +1 -1
- data/config/locales/si.yml +1 -1
- data/config/locales/sk.yml +1 -1
- data/config/locales/sl.yml +1 -1
- data/config/locales/so.yml +1 -1
- data/config/locales/sq.yml +1 -1
- data/config/locales/sr.yml +1 -1
- data/config/locales/sv.yml +1 -1
- data/config/locales/sw.yml +1 -1
- data/config/locales/ta.yml +1 -1
- data/config/locales/th.yml +1 -1
- data/config/locales/tk.yml +1 -1
- data/config/locales/tr.yml +1 -1
- data/config/locales/uk.yml +1 -1
- data/config/locales/ur.yml +1 -1
- data/config/locales/uz.yml +1 -1
- data/config/locales/vi.yml +1 -1
- data/config/locales/zh-hk.yml +1 -1
- data/config/locales/zh-tw.yml +1 -1
- data/config/locales/zh.yml +1 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/README.md +7 -3
- data/node_modules/axe-core/axe.js +11587 -10370
- data/node_modules/axe-core/axe.min.js +2 -2
- data/node_modules/axe-core/locales/_template.json +13 -5
- data/node_modules/axe-core/locales/da.json +3 -1
- data/node_modules/axe-core/locales/de.json +207 -31
- data/node_modules/axe-core/locales/el.json +1069 -0
- data/node_modules/axe-core/locales/es.json +3 -1
- data/node_modules/axe-core/locales/eu.json +3 -1
- data/node_modules/axe-core/locales/fr.json +3 -1
- data/node_modules/axe-core/locales/he.json +3 -1
- data/node_modules/axe-core/locales/it.json +1108 -0
- data/node_modules/axe-core/locales/ja.json +3 -1
- data/node_modules/axe-core/locales/ko.json +3 -1
- data/node_modules/axe-core/locales/no_NB.json +3 -1
- data/node_modules/axe-core/locales/pl.json +3 -1
- data/node_modules/axe-core/locales/pt_BR.json +3 -1
- data/node_modules/axe-core/locales/zh_CN.json +1116 -0
- data/node_modules/axe-core/locales/zh_TW.json +1108 -0
- data/node_modules/axe-core/package.json +19 -21
- data/node_modules/axe-core/sri-history.json +4 -0
- metadata +7 -3
data/config/locales/ru.yml
CHANGED
@@ -82,7 +82,7 @@ ru:
|
|
82
82
|
is_this_page_useful: Эта страница полезна?
|
83
83
|
is_useful: эта страница полезна
|
84
84
|
maybe: Может
|
85
|
-
more_about_visit:
|
85
|
+
more_about_visit:
|
86
86
|
'no': Нет
|
87
87
|
send: Отправить
|
88
88
|
send_me_survey: Отправить мне опрос
|
data/config/locales/si.yml
CHANGED
@@ -78,7 +78,7 @@ si:
|
|
78
78
|
is_this_page_useful: මෙම පිටුව ප්රයෝජනවත් ද?
|
79
79
|
is_useful: මෙම පිටුව ප්රයෝජනවත් ය
|
80
80
|
maybe: සමහර විට
|
81
|
-
more_about_visit:
|
81
|
+
more_about_visit:
|
82
82
|
'no': එපා
|
83
83
|
send: යවන්න
|
84
84
|
send_me_survey: මට සමීක්ෂණය එවන්න
|
data/config/locales/sk.yml
CHANGED
@@ -83,7 +83,7 @@ sk:
|
|
83
83
|
is_this_page_useful: Je táto stránka užitočná?
|
84
84
|
is_useful: táto stránka je užitočná
|
85
85
|
maybe: Možno
|
86
|
-
more_about_visit:
|
86
|
+
more_about_visit:
|
87
87
|
'no': Nie
|
88
88
|
send: Odoslať
|
89
89
|
send_me_survey: Pošlite mi prieskum
|
data/config/locales/sl.yml
CHANGED
@@ -85,7 +85,7 @@ sl:
|
|
85
85
|
is_this_page_useful: Je ta stran uporabna?
|
86
86
|
is_useful: Ta stran je uporabna
|
87
87
|
maybe: Morda
|
88
|
-
more_about_visit:
|
88
|
+
more_about_visit:
|
89
89
|
'no': Ne
|
90
90
|
send: Pošlji
|
91
91
|
send_me_survey: Pošlji mi raziskavo
|
data/config/locales/so.yml
CHANGED
@@ -78,7 +78,7 @@ so:
|
|
78
78
|
is_this_page_useful: Bogani faa'ido malaha miyaa?
|
79
79
|
is_useful: Bogani faa'ido ayuu leeyahay
|
80
80
|
maybe: Laga yaabaa
|
81
|
-
more_about_visit:
|
81
|
+
more_about_visit:
|
82
82
|
'no': Maya
|
83
83
|
send: Dir
|
84
84
|
send_me_survey: Ii dir aniga xog ururinta
|
data/config/locales/sq.yml
CHANGED
@@ -78,7 +78,7 @@ sq:
|
|
78
78
|
is_this_page_useful: A është e dobishme kjo faqe?
|
79
79
|
is_useful: kjo faqe është e dobishme
|
80
80
|
maybe: Ndoshta
|
81
|
-
more_about_visit:
|
81
|
+
more_about_visit:
|
82
82
|
'no': Jo
|
83
83
|
send: Dërgo
|
84
84
|
send_me_survey: Më dërgoni sondazhin
|
data/config/locales/sr.yml
CHANGED
@@ -79,7 +79,7 @@ sr:
|
|
79
79
|
is_this_page_useful: Da li je ova stranica bila korisna?
|
80
80
|
is_useful: ova stranica je korisna
|
81
81
|
maybe: Možda
|
82
|
-
more_about_visit:
|
82
|
+
more_about_visit:
|
83
83
|
'no': Ne
|
84
84
|
send: Pošalji
|
85
85
|
send_me_survey: Pošalji mi anketu
|
data/config/locales/sv.yml
CHANGED
@@ -78,7 +78,7 @@ sv:
|
|
78
78
|
is_this_page_useful: Är den här sidan användbar?
|
79
79
|
is_useful: Den här sidan är användbar
|
80
80
|
maybe: Kanske
|
81
|
-
more_about_visit:
|
81
|
+
more_about_visit:
|
82
82
|
'no': Nej
|
83
83
|
send: Skicka
|
84
84
|
send_me_survey: Skicka mig enkäten
|
data/config/locales/sw.yml
CHANGED
@@ -78,7 +78,7 @@ sw:
|
|
78
78
|
is_this_page_useful: Je, ukurasa huu ni muhimu?
|
79
79
|
is_useful: ukurasa huu ni muhimu
|
80
80
|
maybe: Huenda
|
81
|
-
more_about_visit:
|
81
|
+
more_about_visit:
|
82
82
|
'no': Hapana
|
83
83
|
send: Tuma
|
84
84
|
send_me_survey: Nitumie utafiti
|
data/config/locales/ta.yml
CHANGED
@@ -79,7 +79,7 @@ ta:
|
|
79
79
|
is_this_page_useful: இந்தப்பக்கம் உதவக்கூடியதாக இருக்கிறதா?
|
80
80
|
is_useful: இந்தப் பக்கம் உதவிகரமானது
|
81
81
|
maybe: இருக்கக் கூடும்
|
82
|
-
more_about_visit:
|
82
|
+
more_about_visit:
|
83
83
|
'no': இல்லை
|
84
84
|
send: அனுப்பு
|
85
85
|
send_me_survey: சர்வேயை எனக்கு அனுப்பு
|
data/config/locales/th.yml
CHANGED
@@ -76,7 +76,7 @@ th:
|
|
76
76
|
is_this_page_useful: หน้านี้มีประโยชน์หรือไม่
|
77
77
|
is_useful: หน้านี้มีประโยชน์
|
78
78
|
maybe: อาจใช่
|
79
|
-
more_about_visit:
|
79
|
+
more_about_visit:
|
80
80
|
'no': ไม่
|
81
81
|
send: ส่ง
|
82
82
|
send_me_survey: ส่งแบบสำรวจให้ฉัน
|
data/config/locales/tk.yml
CHANGED
@@ -79,7 +79,7 @@ tk:
|
|
79
79
|
is_this_page_useful: Bu sahypa peýdalymy?
|
80
80
|
is_useful: bu sahypa peýdaly
|
81
81
|
maybe: Mümkin
|
82
|
-
more_about_visit:
|
82
|
+
more_about_visit:
|
83
83
|
'no': Ýok
|
84
84
|
send: Ugrat
|
85
85
|
send_me_survey: Maňa anketany ugrat
|
data/config/locales/tr.yml
CHANGED
@@ -79,7 +79,7 @@ tr:
|
|
79
79
|
is_this_page_useful: bu sayfa yararlı mı?
|
80
80
|
is_useful: bu sayfa yararlı
|
81
81
|
maybe: Belki
|
82
|
-
more_about_visit:
|
82
|
+
more_about_visit:
|
83
83
|
'no': Hayır
|
84
84
|
send: Gönder
|
85
85
|
send_me_survey: Anketi bana gönder
|
data/config/locales/uk.yml
CHANGED
@@ -85,7 +85,7 @@ uk:
|
|
85
85
|
is_this_page_useful: Чи корисна ця сторінка?
|
86
86
|
is_useful: ця сторінка корисна
|
87
87
|
maybe: Можливо
|
88
|
-
more_about_visit:
|
88
|
+
more_about_visit:
|
89
89
|
'no': Ні
|
90
90
|
send: Надіслати
|
91
91
|
send_me_survey: Надішліть мені опитування
|
data/config/locales/ur.yml
CHANGED
@@ -75,7 +75,7 @@ ur:
|
|
75
75
|
is_this_page_useful: کیا یہ صفحہ مددگار ہے؟
|
76
76
|
is_useful: یہ صفحہ مددگار ہے
|
77
77
|
maybe: شاید
|
78
|
-
more_about_visit:
|
78
|
+
more_about_visit:
|
79
79
|
'no': نہیں
|
80
80
|
send: بھیجیں
|
81
81
|
send_me_survey: مجھے سروے بھیجیں
|
data/config/locales/uz.yml
CHANGED
@@ -80,7 +80,7 @@ uz:
|
|
80
80
|
is_this_page_useful: Ушбу саҳифадаги маълумот фойдалими?
|
81
81
|
is_useful: ушбу саҳифадаги маълумот фойдали ҳисобланади
|
82
82
|
maybe: Балки
|
83
|
-
more_about_visit:
|
83
|
+
more_about_visit:
|
84
84
|
'no': Йўқ
|
85
85
|
send: Жўнатиш
|
86
86
|
send_me_survey: Менга қисқача маълумот жўнатиш
|
data/config/locales/vi.yml
CHANGED
@@ -77,7 +77,7 @@ vi:
|
|
77
77
|
is_this_page_useful: Trang này có hữu ích không?
|
78
78
|
is_useful: trang này hữu ích
|
79
79
|
maybe: Có lẽ
|
80
|
-
more_about_visit:
|
80
|
+
more_about_visit:
|
81
81
|
'no': Không
|
82
82
|
send: Gửi
|
83
83
|
send_me_survey: Gửi cho tôi bài khảo sát
|
data/config/locales/zh-hk.yml
CHANGED
@@ -76,7 +76,7 @@ zh-hk:
|
|
76
76
|
is_this_page_useful: 這一頁面是否有用?
|
77
77
|
is_useful: 這一頁面有用處
|
78
78
|
maybe: 有可能
|
79
|
-
more_about_visit:
|
79
|
+
more_about_visit:
|
80
80
|
'no': 否
|
81
81
|
send: 寄出
|
82
82
|
send_me_survey: 請給我寄出調查問卷
|
data/config/locales/zh-tw.yml
CHANGED
data/config/locales/zh.yml
CHANGED
@@ -93,7 +93,7 @@ The [axe-core API](doc/API.md) package consists of:
|
|
93
93
|
|
94
94
|
## Localization
|
95
95
|
|
96
|
-
Axe can be built using your local language. To do so, a localization file must be added to the `./locales` directory. This file must
|
96
|
+
Axe can be built using your local language. To do so, a localization file must be added to the `./locales` directory. This file must be named in the following manner: `<langcode>.json`. To build axe using this locale, instead of the default, run axe with the `--lang` flag, like so:
|
97
97
|
|
98
98
|
`grunt build --lang=nl`
|
99
99
|
|
@@ -101,9 +101,9 @@ or equivalently:
|
|
101
101
|
|
102
102
|
`npm run build -- --lang=nl`
|
103
103
|
|
104
|
-
This will create a new build for axe, called `axe.<lang>.js` and `axe.<lang>.min.js`. If you want to build localized versions, simply pass in `--all-lang` instead. If you want to build multiple localized versions (but not all of them), you can pass in a comma-separated list of languages to the `--lang` flag, like `--lang=nl,ja`.
|
104
|
+
This will create a new build for axe, called `axe.<lang>.js` and `axe.<lang>.min.js`. If you want to build all localized versions, simply pass in `--all-lang` instead. If you want to build multiple localized versions (but not all of them), you can pass in a comma-separated list of languages to the `--lang` flag, like `--lang=nl,ja`.
|
105
105
|
|
106
|
-
To create a new translation for axe, start by running `grunt translate --lang=<langcode>`. This will create a json file fin the `./locales` directory, with the default English text in it for you to translate. Alternatively, you could copy `./locales/_template.json`. We welcome any localization for axe-core. For details on how to contribute, see the Contributing section below. For details on the message syntax, see [Check Message Template](/
|
106
|
+
To create a new translation for axe, start by running `grunt translate --lang=<langcode>`. This will create a json file fin the `./locales` directory, with the default English text in it for you to translate. Alternatively, you could copy `./locales/_template.json`. We welcome any localization for axe-core. For details on how to contribute, see the Contributing section below. For details on the message syntax, see [Check Message Template](/doc/check-message-template.md).
|
107
107
|
|
108
108
|
To update existing translation file, re-run `grunt translate --lang=<langcode>`. This will add new messages used in English and remove messages which were not used in English.
|
109
109
|
|
@@ -149,6 +149,10 @@ Axe-core supports the following locales. Do note that since locales are contribu
|
|
149
149
|
- Polish
|
150
150
|
- Portuguese (Brazilian)
|
151
151
|
- Spanish
|
152
|
+
- Greek
|
153
|
+
- Italian
|
154
|
+
- Simplified Chinese
|
155
|
+
- Traditional Chinese
|
152
156
|
|
153
157
|
## Updates & Security
|
154
158
|
|