hof 22.8.4 → 22.9.0-beta
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.
- package/CHANGELOG.md +16 -0
- package/README.md +30 -0
- package/config/hof-defaults.js +6 -1
- package/frontend/govuk-template/govuk_template_generated.html +102 -0
- package/frontend/template-partials/views/layout.html +2 -8
- package/frontend/themes/gov-uk/styles/_cookie-banner.scss +0 -3
- package/hof-22.9.0.tgz +0 -0
- package/lib/settings.js +1 -0
- package/package/.eslintignore +1 -0
- package/package/CHANGELOG.md +232 -0
- package/package/LICENSE +21 -0
- package/package/README.md +1887 -0
- package/package/bin/hof-build +10 -0
- package/package/bin/hof-transpiler +12 -0
- package/package/build/helpers/importer.js +29 -0
- package/package/build/helpers/local.js +35 -0
- package/package/build/helpers/resolver/import.js +32 -0
- package/package/build/helpers/resolver/nearest-package-root.js +33 -0
- package/package/build/helpers/resolver/package.js +29 -0
- package/package/build/helpers/resolver.js +16 -0
- package/package/build/index.js +49 -0
- package/package/build/lib/env.js +36 -0
- package/package/build/lib/mkdir.js +9 -0
- package/package/build/lib/run.js +17 -0
- package/package/build/lib/spawn.js +18 -0
- package/package/build/tasks/browserify/compress.js +15 -0
- package/package/build/tasks/browserify/index.js +48 -0
- package/package/build/tasks/build/index.js +6 -0
- package/package/build/tasks/images/index.js +27 -0
- package/package/build/tasks/index.js +8 -0
- package/package/build/tasks/sass/index.js +67 -0
- package/package/build/tasks/translate/index.js +20 -0
- package/package/build/tasks/watch/index.js +161 -0
- package/package/components/address-lookup/default-model.js +76 -0
- package/package/components/address-lookup/defaults.js +25 -0
- package/package/components/address-lookup/index.js +251 -0
- package/package/components/address-lookup/templates/address-lookup.html +14 -0
- package/package/components/address-lookup/templates/address.html +22 -0
- package/package/components/address-lookup/templates/postcode.html +9 -0
- package/package/components/clear-session/Readme.md +46 -0
- package/package/components/clear-session/index.js +26 -0
- package/package/components/combine-and-loop-fields/Readme.md +42 -0
- package/package/components/combine-and-loop-fields/index.js +156 -0
- package/package/components/date/fields.js +16 -0
- package/package/components/date/index.js +172 -0
- package/package/components/date/templates/date.html +20 -0
- package/package/components/emailer/assets/images/govuk_logotype_email.png +0 -0
- package/package/components/emailer/assets/images/ho_crest_27px.png +0 -0
- package/package/components/emailer/assets/images/spacer.gif +0 -0
- package/package/components/emailer/email-service.js +51 -0
- package/package/components/emailer/emailer.js +53 -0
- package/package/components/emailer/index.js +74 -0
- package/package/components/emailer/transports/debug.js +74 -0
- package/package/components/emailer/transports/index.js +8 -0
- package/package/components/emailer/transports/ses.js +36 -0
- package/package/components/emailer/transports/smtp.js +26 -0
- package/package/components/emailer/transports/stub.js +5 -0
- package/package/components/emailer/views/layout.html +63 -0
- package/package/components/homeoffice-countries/index.js +22 -0
- package/package/components/index.js +13 -0
- package/package/components/notify/index.js +62 -0
- package/package/components/notify/notify.js +51 -0
- package/package/components/session-timeout-warning/index.js +67 -0
- package/package/components/summary/index.js +237 -0
- package/package/config/builder-defaults.js +45 -0
- package/package/config/component-defaults.js +13 -0
- package/package/config/hof-defaults.js +65 -0
- package/package/config/rate-limits.js +20 -0
- package/package/config/sanitisation-rules.js +32 -0
- package/package/controller/base-controller.js +296 -0
- package/package/controller/behaviour-hooks.js +51 -0
- package/package/controller/behaviour-session.js +64 -0
- package/package/controller/controller.js +258 -0
- package/package/controller/deprecate-error.js +10 -0
- package/package/controller/formatting/formatters.js +70 -0
- package/package/controller/formatting/index.js +32 -0
- package/package/controller/index.js +17 -0
- package/package/controller/validation/email.js +30 -0
- package/package/controller/validation/index.js +101 -0
- package/package/controller/validation/validators.js +181 -0
- package/package/controller/validation-error.js +14 -0
- package/package/frontend/govuk-template/build/config.js +24 -0
- package/package/frontend/govuk-template/build/govuk_template.html +102 -0
- package/package/frontend/govuk-template/build/index.js +23 -0
- package/package/frontend/govuk-template/govuk_template_generated.html +102 -0
- package/package/frontend/govuk-template/index.js +29 -0
- package/package/frontend/index.js +9 -0
- package/package/frontend/template-mixins/mixins/helpers.js +103 -0
- package/package/frontend/template-mixins/mixins/index.js +37 -0
- package/package/frontend/template-mixins/mixins/render.js +12 -0
- package/package/frontend/template-mixins/mixins/template-mixins.js +520 -0
- package/package/frontend/template-mixins/partials/forms/checkbox-group.html +47 -0
- package/package/frontend/template-mixins/partials/forms/checkbox.html +16 -0
- package/package/frontend/template-mixins/partials/forms/input-submit.html +1 -0
- package/package/frontend/template-mixins/partials/forms/input-text-date.html +37 -0
- package/package/frontend/template-mixins/partials/forms/input-text-group.html +45 -0
- package/package/frontend/template-mixins/partials/forms/option-group.html +43 -0
- package/package/frontend/template-mixins/partials/forms/select.html +17 -0
- package/package/frontend/template-mixins/partials/forms/textarea-group.html +37 -0
- package/package/frontend/template-mixins/partials/mixins/panel.html +4 -0
- package/package/frontend/template-partials/index.js +9 -0
- package/package/frontend/template-partials/translations/index.js +26 -0
- package/package/frontend/template-partials/translations/src/cy/base.json +4 -0
- package/package/frontend/template-partials/translations/src/cy/buttons.json +6 -0
- package/package/frontend/template-partials/translations/src/cy/cookies.json +104 -0
- package/package/frontend/template-partials/translations/src/cy/errorlist.json +6 -0
- package/package/frontend/template-partials/translations/src/cy/errors.json +18 -0
- package/package/frontend/template-partials/translations/src/cy/terms.json +28 -0
- package/package/frontend/template-partials/translations/src/en/accessibility.json +43 -0
- package/package/frontend/template-partials/translations/src/en/base.json +5 -0
- package/package/frontend/template-partials/translations/src/en/buttons.json +10 -0
- package/package/frontend/template-partials/translations/src/en/cookies.json +116 -0
- package/package/frontend/template-partials/translations/src/en/errorlist.json +7 -0
- package/package/frontend/template-partials/translations/src/en/errors.json +35 -0
- package/package/frontend/template-partials/translations/src/en/exit.json +5 -0
- package/package/frontend/template-partials/translations/src/en/fields.json +5 -0
- package/package/frontend/template-partials/translations/src/en/journey.json +6 -0
- package/package/frontend/template-partials/translations/src/en/save-and-exit.json +4 -0
- package/package/frontend/template-partials/translations/src/en/terms.json +28 -0
- package/package/frontend/template-partials/views/404.html +9 -0
- package/package/frontend/template-partials/views/accessibility.html +55 -0
- package/package/frontend/template-partials/views/confirm.html +8 -0
- package/package/frontend/template-partials/views/confirmation.html +19 -0
- package/package/frontend/template-partials/views/content/en/what-happens-next.md +0 -0
- package/package/frontend/template-partials/views/cookie-error.html +1 -0
- package/package/frontend/template-partials/views/cookies.html +84 -0
- package/package/frontend/template-partials/views/email/data-row.html +4 -0
- package/package/frontend/template-partials/views/email/formatted.html +12 -0
- package/package/frontend/template-partials/views/email/layout.html +63 -0
- package/package/frontend/template-partials/views/email/raw.html +11 -0
- package/package/frontend/template-partials/views/email/section-row.html +3 -0
- package/package/frontend/template-partials/views/error.html +20 -0
- package/package/frontend/template-partials/views/exit.html +9 -0
- package/package/frontend/template-partials/views/feedback-submitted.html +11 -0
- package/package/frontend/template-partials/views/layout.html +55 -0
- package/package/frontend/template-partials/views/partials/analytics-table.html +25 -0
- package/package/frontend/template-partials/views/partials/back.html +5 -0
- package/package/frontend/template-partials/views/partials/bullet-list.html +7 -0
- package/package/frontend/template-partials/views/partials/confirmation-alert.html +6 -0
- package/package/frontend/template-partials/views/partials/continue.html +5 -0
- package/package/frontend/template-partials/views/partials/cookie-banner.html +29 -0
- package/package/frontend/template-partials/views/partials/cookie-notification.html +4 -0
- package/package/frontend/template-partials/views/partials/cookie-settings-button.html +1 -0
- package/package/frontend/template-partials/views/partials/cookie-settings-radio.html +8 -0
- package/package/frontend/template-partials/views/partials/details-summary.html +8 -0
- package/package/frontend/template-partials/views/partials/external-link.html +1 -0
- package/package/frontend/template-partials/views/partials/form.html +10 -0
- package/package/frontend/template-partials/views/partials/gatag.html +60 -0
- package/package/frontend/template-partials/views/partials/head.html +31 -0
- package/package/frontend/template-partials/views/partials/heading.html +11 -0
- package/package/frontend/template-partials/views/partials/items-table.html +32 -0
- package/package/frontend/template-partials/views/partials/maincontent-left.html +10 -0
- package/package/frontend/template-partials/views/partials/navigation.html +8 -0
- package/package/frontend/template-partials/views/partials/page.html +23 -0
- package/package/frontend/template-partials/views/partials/panel-indent.html +3 -0
- package/package/frontend/template-partials/views/partials/session-cookies-table.html +28 -0
- package/package/frontend/template-partials/views/partials/session-timeout-warning.html +38 -0
- package/package/frontend/template-partials/views/partials/summary-table-row.html +14 -0
- package/package/frontend/template-partials/views/partials/summary-table.html +8 -0
- package/package/frontend/template-partials/views/partials/table.html +18 -0
- package/package/frontend/template-partials/views/partials/validation-list.html +3 -0
- package/package/frontend/template-partials/views/partials/validation-summary.html +25 -0
- package/package/frontend/template-partials/views/partials/warn.html +7 -0
- package/package/frontend/template-partials/views/rate-limit-error.html +10 -0
- package/package/frontend/template-partials/views/save-and-exit.html +17 -0
- package/package/frontend/template-partials/views/service-unavailable.html +13 -0
- package/package/frontend/template-partials/views/session-timeout.html +7 -0
- package/package/frontend/template-partials/views/step.html +14 -0
- package/package/frontend/template-partials/views/terms.html +26 -0
- package/package/frontend/themes/gov-uk/client-js/cookieSettings.js +145 -0
- package/package/frontend/themes/gov-uk/client-js/govuk-cookies.js +121 -0
- package/package/frontend/themes/gov-uk/client-js/index.js +27 -0
- package/package/frontend/themes/gov-uk/client-js/session-timeout-dialog.js +348 -0
- package/package/frontend/themes/gov-uk/client-js/skip-to-main.js +19 -0
- package/package/frontend/themes/gov-uk/index.js +9 -0
- package/package/frontend/themes/gov-uk/styles/_base.scss +17 -0
- package/package/frontend/themes/gov-uk/styles/_check_your_answers.scss +155 -0
- package/package/frontend/themes/gov-uk/styles/_cookie-banner.scss +111 -0
- package/package/frontend/themes/gov-uk/styles/_cookie-settings.scss +33 -0
- package/package/frontend/themes/gov-uk/styles/_govuk_frontend_toolkit.scss +23 -0
- package/package/frontend/themes/gov-uk/styles/_helpers.scss +5 -0
- package/package/frontend/themes/gov-uk/styles/_layout.scss +125 -0
- package/package/frontend/themes/gov-uk/styles/_panel-indent.scss +27 -0
- package/package/frontend/themes/gov-uk/styles/_pdf.scss +42 -0
- package/package/frontend/themes/gov-uk/styles/_session-timeout-dialog.scss +121 -0
- package/package/frontend/themes/gov-uk/styles/_typography.scss +27 -0
- package/package/frontend/themes/gov-uk/styles/_variables.scss +11 -0
- package/package/frontend/themes/gov-uk/styles/govuk.scss +43 -0
- package/package/frontend/themes/gov-uk/styles/mixins.scss +16 -0
- package/package/frontend/themes/gov-uk/styles/modules/_alerts.scss +73 -0
- package/package/frontend/themes/gov-uk/styles/modules/_buttons.scss +5 -0
- package/package/frontend/themes/gov-uk/styles/modules/_character-count.scss +8 -0
- package/package/frontend/themes/gov-uk/styles/modules/_confirm-page.scss +20 -0
- package/package/frontend/themes/gov-uk/styles/modules/_lists.scss +5 -0
- package/package/frontend/themes/gov-uk/styles/modules/_progressive-reveal.scss +17 -0
- package/package/frontend/themes/gov-uk/styles/modules/_validation.scss +51 -0
- package/package/frontend/themes/index.js +5 -0
- package/package/frontend/toolkit/assets/images/passports/new-window-link-blue.png +0 -0
- package/package/frontend/toolkit/assets/images/passports/new-window-link.png +0 -0
- package/package/frontend/toolkit/assets/images/spinner.gif +0 -0
- package/package/frontend/toolkit/assets/javascript/character-count.js +99 -0
- package/package/frontend/toolkit/assets/javascript/form-focus.js +101 -0
- package/package/frontend/toolkit/assets/javascript/helpers.js +177 -0
- package/package/frontend/toolkit/assets/javascript/progressive-reveal.js +72 -0
- package/package/frontend/toolkit/assets/javascript/validation.js +71 -0
- package/package/frontend/toolkit/assets/javascript/vendor/details.polyfill.js +189 -0
- package/package/frontend/toolkit/assets/javascript/vendor/indexof.polyfill.js +39 -0
- package/package/frontend/toolkit/assets/javascript/vendor/safari-cachebuster.js +6 -0
- package/package/frontend/toolkit/assets/stylesheets/_base.scss +17 -0
- package/package/frontend/toolkit/assets/stylesheets/_helpers.scss +5 -0
- package/package/frontend/toolkit/assets/stylesheets/_layout.scss +118 -0
- package/package/frontend/toolkit/assets/stylesheets/_typography.scss +27 -0
- package/package/frontend/toolkit/assets/stylesheets/_variables.scss +11 -0
- package/package/frontend/toolkit/assets/stylesheets/app.scss +30 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_buttons.scss +47 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_details.scss +38 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_elements-typography.scss +175 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_forms.scss +167 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_helpers.scss +39 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_layout.scss +67 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_lists.scss +40 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_panels.scss +29 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_reset.scss +33 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_tables.scss +33 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/forms/_form-block-labels.scss +63 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/forms/_form-date.scss +39 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/forms/_form-validation.scss +63 -0
- package/package/frontend/toolkit/assets/stylesheets/mixins.scss +16 -0
- package/package/frontend/toolkit/assets/stylesheets/modules/_alerts.scss +73 -0
- package/package/frontend/toolkit/assets/stylesheets/modules/_buttons.scss +5 -0
- package/package/frontend/toolkit/assets/stylesheets/modules/_confirm-page.scss +20 -0
- package/package/frontend/toolkit/assets/stylesheets/modules/_lists.scss +5 -0
- package/package/frontend/toolkit/assets/stylesheets/modules/_progressive-reveal.scss +17 -0
- package/package/frontend/toolkit/assets/stylesheets/modules/_validation.scss +51 -0
- package/package/frontend/toolkit/index.js +10 -0
- package/package/index.js +351 -0
- package/package/lib/deindex.js +18 -0
- package/package/lib/encryption.js +23 -0
- package/package/lib/ga-tag.js +89 -0
- package/package/lib/health.js +26 -0
- package/package/lib/helpers.js +66 -0
- package/package/lib/logger.js +65 -0
- package/package/lib/markdown.js +46 -0
- package/package/lib/router.js +111 -0
- package/package/lib/serve-static.js +12 -0
- package/package/lib/sessions.js +82 -0
- package/package/lib/settings.js +74 -0
- package/package/lib/which.js +28 -0
- package/package/middleware/cookies.js +43 -0
- package/package/middleware/deep-translate.js +32 -0
- package/package/middleware/errors.js +119 -0
- package/package/middleware/index.js +10 -0
- package/package/middleware/not-found.js +38 -0
- package/package/middleware/rate-limiter.js +98 -0
- package/package/middleware/service-unavailable.js +64 -0
- package/package/model/apis/axios-settings.js +21 -0
- package/package/model/apis/html-to-pdf-converter.js +35 -0
- package/package/model/apis/index.js +5 -0
- package/package/model/index.js +348 -0
- package/package/package.json +147 -0
- package/package/sandbox/README.md +66 -0
- package/package/sandbox/apps/sandbox/behaviours/clear-session.js +8 -0
- package/package/sandbox/apps/sandbox/behaviours/country-select.js +10 -0
- package/package/sandbox/apps/sandbox/behaviours/international-number.js +22 -0
- package/package/sandbox/apps/sandbox/fields.js +128 -0
- package/package/sandbox/apps/sandbox/index.js +99 -0
- package/package/sandbox/apps/sandbox/lib/staticAppealStages.js +189 -0
- package/package/sandbox/apps/sandbox/sections/summary-data-sections.js +43 -0
- package/package/sandbox/apps/sandbox/translations/src/en/errors.json +5 -0
- package/package/sandbox/apps/sandbox/translations/src/en/exit.json +4 -0
- package/package/sandbox/apps/sandbox/translations/src/en/fields.json +101 -0
- package/package/sandbox/apps/sandbox/translations/src/en/journey.json +7 -0
- package/package/sandbox/apps/sandbox/translations/src/en/pages.json +72 -0
- package/package/sandbox/apps/sandbox/translations/src/en/validation.json +54 -0
- package/package/sandbox/apps/sandbox/views/form-guidance-link.html +8 -0
- package/package/sandbox/apps/sandbox/views/save-and-exit.html +19 -0
- package/package/sandbox/assets/images/icons/icon-caret-left.png +0 -0
- package/package/sandbox/assets/images/icons/icon-complete.png +0 -0
- package/package/sandbox/assets/images/icons/icon-cross-remove-sign.png +0 -0
- package/package/sandbox/assets/js/index.js +70 -0
- package/package/sandbox/assets/scss/app.scss +27 -0
- package/package/sandbox/codecept.conf.js +15 -0
- package/package/sandbox/config.js +17 -0
- package/package/sandbox/package.json +26 -0
- package/package/sandbox/server.js +23 -0
- package/package/sandbox/yarn.lock +262 -0
- package/package/transpiler/index.js +2 -0
- package/package/transpiler/lib/aggregate.js +32 -0
- package/package/transpiler/lib/build.js +15 -0
- package/package/transpiler/lib/compile.js +12 -0
- package/package/transpiler/lib/expand-dirs.js +14 -0
- package/package/transpiler/lib/write-files.js +24 -0
- package/package/utilities/autofill/index.js +189 -0
- package/package/utilities/autofill/inputs.js +60 -0
- package/package/utilities/countries.js +12 -0
- package/package/utilities/helpers/index.js +189 -0
- package/package/utilities/index.js +9 -0
- package/package/utilities/reqres/index.js +18 -0
- package/package/utilities/test-data/data/domain.json +7 -0
- package/package/utilities/test-data/data/firstname.json +16 -0
- package/package/utilities/test-data/data/lastname.json +10 -0
- package/package/utilities/test-data/data/postcode.json +12 -0
- package/package/utilities/test-data/data/streetname.json +8 -0
- package/package/utilities/test-data/data/streetsuffix.json +7 -0
- package/package/utilities/test-data/data/town.json +9 -0
- package/package/utilities/test-data/index.js +67 -0
- package/package/wizard/behaviours/complete.js +20 -0
- package/package/wizard/behaviours/index.js +5 -0
- package/package/wizard/index.js +124 -0
- package/package/wizard/middleware/back-links.js +68 -0
- package/package/wizard/middleware/check-complete.js +13 -0
- package/package/wizard/middleware/check-progress.js +139 -0
- package/package/wizard/middleware/check-session.js +17 -0
- package/package/wizard/middleware/csrf.js +47 -0
- package/package/wizard/middleware/session-model.js +11 -0
- package/package/wizard/middleware/session.js +9 -0
- package/package/wizard/model.js +29 -0
- package/package/wizard/util/constants.js +5 -0
- package/package/wizard/util/helpers.js +19 -0
- package/package.json +5 -6
- package/.editorconfig +0 -10
- package/.github/workflows/automate-publish.yml +0 -38
- package/.github/workflows/automate-tag.yml +0 -78
- package/.istanbul.yml +0 -20
- package/codeReviewChecklist.md +0 -22
- package/pull_request_template.md +0 -16
@@ -0,0 +1,43 @@
|
|
1
|
+
<div id="{{key}}-group" class="govuk-form-group{{#className}} {{className}} {{/className}}{{#formGroupClassName}} {{formGroupClassName}}{{/formGroupClassName}}{{#error}} govuk-form-group--error{{/error}}">
|
2
|
+
<fieldset class="govuk-fieldset" {{#hint}} aria-describedby="{{key}}-hint"{{/hint}}>
|
3
|
+
<legend class="govuk-fieldset__legend {{#isPageHeading}}govuk-fieldset__legend--l{{/isPageHeading}}{{#legendClassName}} {{legendClassName}}{{/legendClassName}}">
|
4
|
+
{{#isPageHeading}}<h1 class="govuk-fieldset__heading">{{/isPageHeading}}
|
5
|
+
{{legend}}
|
6
|
+
{{#isPageHeading}}</h1>{{/isPageHeading}}
|
7
|
+
</legend>
|
8
|
+
{{#isWarning}}
|
9
|
+
<div class="govuk-warning-text">
|
10
|
+
<span class="govuk-warning-text__icon" aria-hidden="true">!</span>
|
11
|
+
<strong class="govuk-warning-text__text">
|
12
|
+
<span class="govuk-warning-text__assistive">Warning</span>
|
13
|
+
{{warning}}
|
14
|
+
</strong>
|
15
|
+
</div>
|
16
|
+
{{/isWarning}}
|
17
|
+
{{#hint}}<div id="{{key}}-hint" class="govuk-hint">{{{hint}}}</div>{{/hint}}
|
18
|
+
{{#error}}<p id="{{key}}-error" class="govuk-error-message"><span class="govuk-visually-hidden">Error:</span> {{error.message}}</p>{{/error}}
|
19
|
+
{{{detail}}}
|
20
|
+
<div class="govuk-radios" data-module="govuk-radios">
|
21
|
+
{{#options}}
|
22
|
+
<div class="govuk-radios__item">
|
23
|
+
<input
|
24
|
+
class="govuk-radios__input"
|
25
|
+
type="{{type}}"
|
26
|
+
name="{{key}}"
|
27
|
+
id="{{key}}-{{value}}"
|
28
|
+
value="{{value}}"
|
29
|
+
{{#toggle}} data-toggle="{{toggle}}"{{/toggle}}
|
30
|
+
{{#selected}} checked="checked"{{/selected}}
|
31
|
+
{{^error}}{{#optionHint}} aria-describedby="{{key}}-{{value}}-item-hint"{{/optionHint}}{{^optionHint}}{{#hint}} aria-describedby="{{key}}-hint"{{/hint}}{{/optionHint}}{{/error}}
|
32
|
+
{{#error}} aria-describedby="{{key}}-error" aria-invalid="true"{{/error}}
|
33
|
+
>
|
34
|
+
<label class="govuk-label govuk-radios__label" for="{{key}}-{{value}}">
|
35
|
+
{{{label}}}
|
36
|
+
</label>
|
37
|
+
{{#optionHint}}<div id="{{key}}-{{value}}-item-hint" class="govuk-hint govuk-radios__hint">{{optionHint}}</div>{{/optionHint}}
|
38
|
+
</div>
|
39
|
+
{{#renderChild}}{{/renderChild}}
|
40
|
+
{{/options}}
|
41
|
+
</div>
|
42
|
+
</fieldset>
|
43
|
+
</div>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<div id="{{id}}-group" class="{{#compound}} form-group-compound{{/compound}}{{#formGroupClassName}} {{formGroupClassName}}{{/formGroupClassName}}{{#error}} govuk-form-group--error{{/error}}">
|
2
|
+
{{#isPageHeading}}<h1 class="govuk-label-wrapper">{{/isPageHeading}}<label for="{{id}}" class="{{labelClassName}} {{#isPageHeading}}govuk-label--l{{/isPageHeading}}">
|
3
|
+
{{{label}}}
|
4
|
+
</label>
|
5
|
+
{{#isPageHeading}}</h1>{{/isPageHeading}}
|
6
|
+
{{#hint}}<div {{$hintId}}id="{{hintId}}" {{/hintId}}class="govuk-hint">{{{hint}}}</div>{{/hint}}
|
7
|
+
{{#error}}
|
8
|
+
<p class="govuk-error-message">
|
9
|
+
<span class="govuk-visually-hidden">Error:</span> {{error.message}}
|
10
|
+
</p>
|
11
|
+
{{/error}}
|
12
|
+
<select id="{{id}}" class="govuk-select{{#className}} {{className}}{{/className}}{{#error}} govuk-select--error{{/error}}" name="{{id}}" aria-required="{{required}}">
|
13
|
+
{{#options}}
|
14
|
+
<option value="{{value}}" {{#selected}}selected{{/selected}}>{{label}}</option>
|
15
|
+
{{/options}}
|
16
|
+
</select>
|
17
|
+
</div>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
{{#isMaxlengthOrMaxword}}<div class="govuk-character-count" data-module="govuk-character-count"
|
2
|
+
{{#maxlength}}data-maxlength="{{maxlength}}" {{/maxlength}} {{#maxword}}data-maxwords="{{maxword}}" {{/maxword}}>
|
3
|
+
{{/isMaxlengthOrMaxword}}
|
4
|
+
<div id="{{id}}-group" class="govuk-form-group {{#formGroupClassName}}{{formGroupClassName}}{{/formGroupClassName}}{{#error}} govuk-form-group--error{{/error}}">
|
5
|
+
{{#isPageHeading}}<h1 class="govuk-label-wrapper">{{/isPageHeading}}
|
6
|
+
<label for="{{id}}"
|
7
|
+
class="{{labelClassName}} {{#isPageHeading}}govuk-label--l{{/isPageHeading}}">
|
8
|
+
{{{label}}}
|
9
|
+
</label>
|
10
|
+
{{#isPageHeading}}</h1>{{/isPageHeading}}
|
11
|
+
{{#hint}}<div {{$hintId}}id="{{hintId}}" {{/hintId}}class="govuk-hint">{{{hint}}}</div>{{/hint}}
|
12
|
+
{{#error}}
|
13
|
+
<p id="{{id}}-error" class="govuk-error-message">
|
14
|
+
<span id="{{id}}-error" class="govuk-visually-hidden">Error:</span>{{error.message}}
|
15
|
+
</p>
|
16
|
+
{{/error}}
|
17
|
+
{{#renderChild}}{{/renderChild}}
|
18
|
+
<textarea name="{{id}}" id="{{id}}"
|
19
|
+
class="govuk-textarea {{#isMaxlengthOrMaxword}}govuk-js-character-count{{/isMaxlengthOrMaxword}} {{#className}}{{className}}{{/className}} {{#error}}govuk-input--error{{/error}}"
|
20
|
+
{{#isMaxlengthOrMaxword}}
|
21
|
+
aria-describedby="{{id}}-hint {{id}}-info"
|
22
|
+
{{/isMaxlengthOrMaxword}}
|
23
|
+
{{#attributes}}
|
24
|
+
{{attribute}}="{{value}}"
|
25
|
+
{{/attributes}}
|
26
|
+
{{^error}}{{#hintId}}{{#maxlength}} aria-describedby="{{id}}-maxlength-hint {{hintId}}"{{/maxlength}}{{/hintId}}{{/error}}
|
27
|
+
{{^error}}{{#hintId}}{{^maxlength}} aria-describedby="{{hintId}}"{{/maxlength}}{{/hintId}}{{/error}}
|
28
|
+
{{^error}}{{^hintId}}{{#maxlength}}aria-describedby="{{id}}-maxlength-hint" {{/maxlength}}{{/hintId}}{{/error}}
|
29
|
+
{{#error}} aria-invalid="true" aria-describedby="{{id}}-error" {{/error}}
|
30
|
+
>{{value}}</textarea>
|
31
|
+
{{#isMaxlengthOrMaxword}}
|
32
|
+
<div id="{{id}}-info" class=" govuk-hint govuk-character-count__message" aria-live="polite">You have {{#maxlength}}{{maxlength}} characters{{/maxlength}}{{#maxword}}{{maxword}}
|
33
|
+
words{{/maxword}} remaining
|
34
|
+
</div>
|
35
|
+
{{/isMaxlengthOrMaxword}}
|
36
|
+
</div>
|
37
|
+
{{#isMaxlengthOrMaxword}}</div>{{/isMaxlengthOrMaxword}}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
const path = require('path');
|
4
|
+
const fs = require('fs');
|
5
|
+
const _ = require('lodash');
|
6
|
+
|
7
|
+
const langs = fs.readdirSync(path.resolve(__dirname, 'src'));
|
8
|
+
|
9
|
+
const resources = langs.reduce((map, lang) => {
|
10
|
+
map[lang] = { default: {} };
|
11
|
+
const files = fs.readdirSync(path.resolve(__dirname, 'src', lang));
|
12
|
+
files.forEach(file => {
|
13
|
+
if (path.extname(file) === '.json') {
|
14
|
+
const name = path.basename(file, '.json');
|
15
|
+
map[lang].default[name] = require(path.resolve(__dirname, 'src', lang, file));
|
16
|
+
}
|
17
|
+
});
|
18
|
+
return map;
|
19
|
+
}, {});
|
20
|
+
|
21
|
+
module.exports = namespace => {
|
22
|
+
if (typeof namespace === 'string') {
|
23
|
+
return _.mapValues(resources, lang => ({ [namespace]: lang.default }));
|
24
|
+
}
|
25
|
+
return resources;
|
26
|
+
};
|
@@ -0,0 +1,104 @@
|
|
1
|
+
{
|
2
|
+
"banner": {
|
3
|
+
"message": "Mae GOV.UK yn defnyddio cwcis i wneud y safle’n symlach",
|
4
|
+
"link": "Darganfyddwch fwy am gwcis"
|
5
|
+
},
|
6
|
+
"header": "Cwcis",
|
7
|
+
"intro": "Mae’r gwasanaeth hwn yn gosod ffeiliau bychan (a elwir yn ‘cwcis’) ar eich cyfrifiadur er mwyn:",
|
8
|
+
"intro-list": {
|
9
|
+
"items": [
|
10
|
+
"cofio pa negeseuon rydych wedi’u gweld fel nad ydynt yn cael eu dangos i chi eto",
|
11
|
+
"storio gwybodaeth rydych yn ei roi dros dro i gefnogi eich cais"
|
12
|
+
]
|
13
|
+
},
|
14
|
+
"intro-list-ga-tag": {
|
15
|
+
"items": [
|
16
|
+
"cofio pa negeseuon rydych wedi’u gweld fel nad ydynt yn cael eu dangos i chi eto",
|
17
|
+
"deall sut rydych yn defnyddio’r gwasanaeth er mwyn i ni allu ei ddiweddaru a’i wella",
|
18
|
+
"storio gwybodaeth rydych yn ei roi dros dro i gefnogi eich cais"
|
19
|
+
]
|
20
|
+
},
|
21
|
+
"indent-intro": {
|
22
|
+
"content": "Nid yw’r cwcis a ddefnyddiwn yn eich adnabod yn bersonol."
|
23
|
+
},
|
24
|
+
"cookies-link": {
|
25
|
+
"before": "Darganfyddwch ",
|
26
|
+
"href": "http://www.aboutcookies.org/Default.aspx?page=1",
|
27
|
+
"link": "sut i reoli cwcis"
|
28
|
+
},
|
29
|
+
"intro-cookie": "Neges cyflwyno cwcis",
|
30
|
+
"intro-cookie-message": "Pan fyddwch yn defnyddio’r gwasanaeth am y tro cyntaf rydym yn dangos ‘neges cwcis’. Yna rydym yn storio cwci ar eich cyfrifiadur fel nad yw’n dangos y neges yma i chi eto.",
|
31
|
+
"intro-cookie-table": {
|
32
|
+
"headers": [
|
33
|
+
"Enw",
|
34
|
+
"Pwrpas",
|
35
|
+
"Dod i ben"
|
36
|
+
],
|
37
|
+
"rows": [
|
38
|
+
[
|
39
|
+
"seen_cookie_message",
|
40
|
+
"Yn gadael i ni wybod eich bod wedi gweld ein neges cwcis yn barod",
|
41
|
+
"1 mis"
|
42
|
+
]
|
43
|
+
]
|
44
|
+
},
|
45
|
+
"measuring-use": "Mesur defnydd o’r safle",
|
46
|
+
"google-analytics": [
|
47
|
+
"Rydym yn defnyddio Google Analytics i gasglu gwybodaeth am sut rydych chi’n defnyddio\nr gwasanaeth hwn. Mae hyn yn ein helpu i wirio ei fod yn diwallu eich anghenion ac i wneud gwelliannau.",
|
48
|
+
"Mae Google Analytics yn storio gwybodaeth am:"
|
49
|
+
],
|
50
|
+
"google-analytics-list": {
|
51
|
+
"items": [
|
52
|
+
"sut wnaethoch chi gyrraedd y safle",
|
53
|
+
"tudalennau rydych yn ymweld â hwy a faint o amser rydych yn ei dreulio arnynt",
|
54
|
+
"beth rydych yn clicio arno"
|
55
|
+
]
|
56
|
+
},
|
57
|
+
"no-identify": "Nid oes unrhyw fanylion personol yn cael eu storio gyda’r wybodaeth hon, felly ni ellir eich adnabod.",
|
58
|
+
"analytics-table": {
|
59
|
+
"headers": [
|
60
|
+
"Enw",
|
61
|
+
"Pwrpas",
|
62
|
+
"Dod i ben"
|
63
|
+
],
|
64
|
+
"rows": [
|
65
|
+
[
|
66
|
+
"_ga",
|
67
|
+
"Defnyddir i wahaniaethu defnyddwyr",
|
68
|
+
"2 flynedd"
|
69
|
+
],
|
70
|
+
[
|
71
|
+
"_gat",
|
72
|
+
"Defnyddir i wasgu’r gyfradd ceisiadau",
|
73
|
+
"10 munud"
|
74
|
+
]
|
75
|
+
]
|
76
|
+
},
|
77
|
+
"indent-ga": {
|
78
|
+
"content": "Ni chaniateir i Google ddefnyddio neu rannu ein data dadansoddol."
|
79
|
+
},
|
80
|
+
"session-cookies": "Cwcis sesiwn",
|
81
|
+
"session-cookies-content": "Mae cwcis sesiwn yn cael eu lawrlwytho bob tro y byddwch yn ymweld â\nr gwasanaeth ac yn cael eu dileu pan fyddwch yn cau eich porwr. Maent yn helpu’r gwasanaeth i weithio’n iawn.",
|
82
|
+
"session-cookies-table": {
|
83
|
+
"headers": [
|
84
|
+
"Enw",
|
85
|
+
"Pwrpas",
|
86
|
+
"Dod i ben"
|
87
|
+
],
|
88
|
+
"defaultCookieName": "hmbrp.sid",
|
89
|
+
"defaultCookiePurpose": "Mae’n Storio ID sesiwn a storio data rydych chi\nn ei gofnodi dros dro i’ch galluogi i wneud cais",
|
90
|
+
"defaultCookieExpires": "Pan fyddwch yn cau eich porwr",
|
91
|
+
"rows": [
|
92
|
+
[
|
93
|
+
"hof-wizard-sc",
|
94
|
+
"Mae’n dweud wrthym pan mae eich sesiwn yn dechrau fel ein bod yn gallu dweud wrthych os yw’n dod i ben",
|
95
|
+
"Pan fyddwch yn cau eich porwr"
|
96
|
+
],
|
97
|
+
[
|
98
|
+
"hof-cookie-check",
|
99
|
+
"Mae’n dweud wrthym eich bod wedi galluogi cwcis yn barod fel nad oes angen i ni ofyn i chi eto",
|
100
|
+
"Pan fyddwch yn cau eich porwr"
|
101
|
+
]
|
102
|
+
]
|
103
|
+
}
|
104
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{
|
2
|
+
"default": {
|
3
|
+
"title": "Mae’n ddrwg gennym, mae rhywbeth wedi mynd o’i le",
|
4
|
+
"message": "Digwyddodd eithriad serfiwr. Rhowch gynnig arall."
|
5
|
+
},
|
6
|
+
"session": {
|
7
|
+
"title": "Mae’n ddrwg gennym, mae rhywbeth wedi mynd o’i le",
|
8
|
+
"message": "Nid ydych wedi rhoi unrhyw fanylion am 30 munud, felly rydym wedi clirio eich gwybodaeth i’w gadw’n ddiogel."
|
9
|
+
},
|
10
|
+
"404": {
|
11
|
+
"title": "Ni ddaethpwyd o hyd i dudalen",
|
12
|
+
"description": "Nid yw’r dudalen hon yn bodoli"
|
13
|
+
},
|
14
|
+
"cookies-required": {
|
15
|
+
"title": "Mae angen cwcis i ddefnyddio’r gwasanaeth hwn",
|
16
|
+
"message": "Mae angen cwcis er mwyn ddefnyddio’r gwasanaeth hwn .<br /><br /> Dylech <a href=\"http://www.aboutcookies.org/how-to-control-cookies/\" rel=\"external\">alluogi cwcis</a> and try again. Find out <a href=\"/cookies\">sut rydym yn defnyddio cwcis</a>."
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"header": "Telerau ac amodau",
|
3
|
+
"how-we-use": "Sut rydym yn defnyddio eich gwybodaeth",
|
4
|
+
"data-link": {
|
5
|
+
"before": "Mae’r data rydych yn ei ddarparu yn cael ei ddefnyddio yn unol â ",
|
6
|
+
"href": "https://www.gov.uk/government/organisations/home-office/about/personal-information-charter",
|
7
|
+
"link": "siarter gwybodaeth y Swyddfa Gartref",
|
8
|
+
"after": ". Mae hyn yn cynnwys gwybodaeth am yr ymgeisydd ac unrhyw berson sy’n noddi eu cais. Y Swyddfa Gartref yw’r rheolydd data, sy’n golygu ei fod yn penderfynu sut y caiff y wybodaeth hon ei defnyddio a’i storio. Bydd y wybodaeth yn cael ei chadw’n gyfrinachol a’i thrin yn unol â Deddf Diogelu Data 1998."
|
9
|
+
},
|
10
|
+
"used-for": "Bydd y wybodaeth yn cael ei ddefnyddio i:",
|
11
|
+
"used-for-list": {
|
12
|
+
"items": [
|
13
|
+
"wneud penderfyniad ar gais",
|
14
|
+
"atal a chanfod troseddau"
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"your-info": "Gall eich gwybodaeth gael ei throsglwyddo i drydydd partïon, adrannau’r llywodraeth, awdurdodau lleol, llywodraethau tramor a chyrff cyhoeddus at ddibenion:",
|
18
|
+
"your-info-list": {
|
19
|
+
"items": [
|
20
|
+
"cadarnhau bod y wybodaeth a roddwyd gennych yn gywir,",
|
21
|
+
"atal a chanfod troseddau, gan gynnwys twyll a gwyngalchu arian",
|
22
|
+
"caniatáu i drydydd parti, adran o’r llywodraeth, awdurdod lleol neu gorff cyhoeddus gynnal eu hyfforddiant staff"
|
23
|
+
]
|
24
|
+
},
|
25
|
+
"info-gathered": "Mae’r Swyddfa Gartref yn cadw’r hawl i gasglu gwybodaeth sy’n ymwneud â defnyddio’r safle. Mae unrhyw wybodaeth a gesglir ar gyfer defnydd mewnol yn bennaf, er enghraifft, i wella gwasanaeth cwsmeriaid.",
|
26
|
+
"countries": "Cyfeiriadau at wledydd a chenhedloedd",
|
27
|
+
"countries-text": "Gellir rhestru gwlad neu diriogaeth fel cenedligrwydd neu wlad oherwydd bod ganddi awdurdod i roi pasbort."
|
28
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
{
|
2
|
+
"header": "Accessibility statement for this Home Office Forms Application",
|
3
|
+
"intro": "This accessibility statement applies to the 'Apply for a refugee integration loan' and 'Accepting your integration loan' services.",
|
4
|
+
"intro-p2": "This website is run by the Home Office. We want as many people as possible to be able to use this website. For example, that means you should be able to:",
|
5
|
+
"intro-p2-li1": "change colours, contrast levels and fonts",
|
6
|
+
"intro-p2-li2": "zoom in up to 300% without the text spilling off the screen",
|
7
|
+
"intro-p2-li3": "navigate most of the website using just a keyboard",
|
8
|
+
"intro-p2-li4": "navigate most of the website using speech recognition software",
|
9
|
+
"intro-p2-li5": "listen to most of the website using a screen reader (including the most recent versions of JAWS, NVDA and VoiceOver)",
|
10
|
+
"intro-p3-pre-link": "We've also made the website text as simple as possible to understand.",
|
11
|
+
"intro-p3-link": "AbilityNet",
|
12
|
+
"intro-p3-post-link": "has advice on making your device easier to use if you have a disability.",
|
13
|
+
"how-accessible-header": "How accessible this website is",
|
14
|
+
"how-accessible-p1": "We know some parts of this website are not fully accessible",
|
15
|
+
"how-accessible-p1-li1": "some tables do not fit on the screen when zooming in",
|
16
|
+
"how-accessible-p1-li2": "session timeout cannot be changed",
|
17
|
+
"contact-email-operations": "integrationloan@homeoffice.gov.uk",
|
18
|
+
"contact-email-accessibility": "hof-accessibility@digital.homeoffice.gov.uk",
|
19
|
+
"reporting-header": "Reporting accessibility problems with this website",
|
20
|
+
"reporting-p1": "We're always looking to improve the accessibility of this website. If you find any problems not listed on this page or think we're not meeting accessibility requirements, contact:",
|
21
|
+
"reporting-p1-li1-pre-link": "Email:",
|
22
|
+
"reporting-p2-link": "Read tips on contacting organisations about inaccessible websites.",
|
23
|
+
"enforcement-header": "Enforcement procedure",
|
24
|
+
"enforcement-p1-pre-link": "The Equality and Human Rights Commission (EHRC) is responsible for enforcing the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018 (the 'accessibility regulations'). If you're not happy with how we respond to your complaint,",
|
25
|
+
"enforcement-p1-link": "contact the Equality Advisory and Support Service (EASS).",
|
26
|
+
"enforcement-p2": "If you are in Northern Ireland and are not happy with how we respond to your complaint you can contact the Equalities Commission for Northern Ireland who are responsible for enforcing the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018(the 'accessibility regulations') in Northern Ireland.",
|
27
|
+
"technical-info-header": "Technical information about this website's accessibility",
|
28
|
+
"technical-info-p1": "The Home Office is committed to making its website accessible, in accordance with the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018.",
|
29
|
+
"compliance-header": "Compliance status",
|
30
|
+
"compliance-p1": "This website is partially compliant with the <a href='https://www.w3.org/TR/WCAG21/'>Web Content Accessibility Guidelines version 2.1</a> AA standard, due to the non-compliances listed below.",
|
31
|
+
"non-accessible-header": "Non-accessible Content",
|
32
|
+
"non-accessible-p1": "The content listed below is non-accessible for the following reasons.",
|
33
|
+
"non-compliance-header": "Non-compliance with the accessibility regulations",
|
34
|
+
"non-compliance-li1": "The session timeout of 30 minutes cannot be changed and the user is not alerted when it is running out. This for each individual page of the form, not the form overall. This does not meet WCAG 2.2 Enough Time.",
|
35
|
+
"disproportionate-burden-header": "Disproportionate burden",
|
36
|
+
"disproportionate-burden-p1": "At this time, we have not made any disproportionate burden claims.",
|
37
|
+
"outside-scope-header": "Content that's not within the scope of the accessibility regulations",
|
38
|
+
"outside-scope-p1": "At this time, this service does not contain any content that is exempt from the regulations.",
|
39
|
+
"preparation-header": "Preparation of this accessibility statement",
|
40
|
+
"preparation-p1": "This statement was prepared on 1 June 2020. It was last reviewed on 14 January 2022.",
|
41
|
+
"preparation-p2": "This website was last tested on 13 August 2021. The test was carried out internally by the Home Office.",
|
42
|
+
"preparation-p3": "We tested the service based on a user's ability to complete key journeys. All parts of the chosen journeys were tested, including documents. Journeys were chosen on a number of factors including usage statistics, risk assessments and subject matter."
|
43
|
+
}
|
@@ -0,0 +1,116 @@
|
|
1
|
+
{
|
2
|
+
"banner": {
|
3
|
+
"message": "GOV.UK uses cookies to make the site simpler.",
|
4
|
+
"link": "Find out more about cookies"
|
5
|
+
},
|
6
|
+
"header": "Cookies",
|
7
|
+
"intro": "This service puts small files (known as ‘cookies’) onto your computer in order to:",
|
8
|
+
"intro-list": {
|
9
|
+
"items": [
|
10
|
+
"remember what messages you’ve seen so you’re not shown them again",
|
11
|
+
"temporarily store information you enter to support your application"
|
12
|
+
]
|
13
|
+
},
|
14
|
+
"intro-list-ga-tag": {
|
15
|
+
"items": [
|
16
|
+
"remember what messages you’ve seen so you’re not shown them again",
|
17
|
+
"understand how you use the service so we can update and improve it",
|
18
|
+
"temporarily store information you enter to support your application"
|
19
|
+
]
|
20
|
+
},
|
21
|
+
"indent-intro": {
|
22
|
+
"content": "The cookies we use don’t identify you personally."
|
23
|
+
},
|
24
|
+
"cookies-link": {
|
25
|
+
"before": "Find out ",
|
26
|
+
"href": "http://www.aboutcookies.org/Default.aspx?page=1",
|
27
|
+
"link": "how to manage cookies"
|
28
|
+
},
|
29
|
+
"intro-cookie": "Introductory cookie message",
|
30
|
+
"intro-cookie-message": "When you first use the service we show a ‘cookie message’. We then store a cookie on your computer so it knows not to show this message again.",
|
31
|
+
"intro-cookie-table": {
|
32
|
+
"headers": [
|
33
|
+
"Name",
|
34
|
+
"Purpose",
|
35
|
+
"Expires"
|
36
|
+
],
|
37
|
+
"rows": [
|
38
|
+
[
|
39
|
+
"seen_cookie_message",
|
40
|
+
"Lets us know you’ve already seen our cookie message",
|
41
|
+
"1 month"
|
42
|
+
],
|
43
|
+
[
|
44
|
+
"cookie_preferences",
|
45
|
+
"Lets us know that you’ve saved your cookie consent settings",
|
46
|
+
"1 month"
|
47
|
+
]
|
48
|
+
]
|
49
|
+
},
|
50
|
+
"measuring-use": "Measuring site use",
|
51
|
+
"google-analytics": [
|
52
|
+
"We use Google Analytics to collect information about how you use this service. This helps us check it’s meeting your needs and make improvements.",
|
53
|
+
"Google Analytics stores information about:"
|
54
|
+
],
|
55
|
+
"google-analytics-list": {
|
56
|
+
"items": [
|
57
|
+
"how you got to the site",
|
58
|
+
"pages you visit and how long you spend on them",
|
59
|
+
"what you click on"
|
60
|
+
]
|
61
|
+
},
|
62
|
+
"no-identify": "No personal details are stored with this information, so you can’t be identified.",
|
63
|
+
"analytics-table": {
|
64
|
+
"containerIdExpires": "2 years",
|
65
|
+
"containerIdPurpose": "Used to persist session state",
|
66
|
+
"headers": [
|
67
|
+
"Name",
|
68
|
+
"Purpose",
|
69
|
+
"Expires"
|
70
|
+
],
|
71
|
+
"rows": [
|
72
|
+
[
|
73
|
+
"_ga",
|
74
|
+
"Used to distinguish users",
|
75
|
+
"2 years"
|
76
|
+
],
|
77
|
+
[
|
78
|
+
"_gat",
|
79
|
+
"Used to throttle request rate",
|
80
|
+
"10 minutes"
|
81
|
+
],
|
82
|
+
[
|
83
|
+
"_gid",
|
84
|
+
"Used to count and track page views",
|
85
|
+
"24 hours"
|
86
|
+
]
|
87
|
+
]
|
88
|
+
},
|
89
|
+
"indent-ga": {
|
90
|
+
"content": "We do not allow Google to use or share the data about how you use this site."
|
91
|
+
},
|
92
|
+
"session-cookies": "Session cookies",
|
93
|
+
"session-cookies-content": "Session cookies are downloaded each time you visit the service and deleted when you close your browser. They help the service to work properly.",
|
94
|
+
"session-cookies-table": {
|
95
|
+
"headers": [
|
96
|
+
"Name",
|
97
|
+
"Purpose",
|
98
|
+
"Expires"
|
99
|
+
],
|
100
|
+
"defaultCookieName": "hof.sid",
|
101
|
+
"defaultCookiePurpose": "Stores a session ID and temporarily stores data you enter to enable you to make an application",
|
102
|
+
"defaultCookieExpires": "When you close your browser",
|
103
|
+
"rows": [
|
104
|
+
[
|
105
|
+
"hof-wizard-sc",
|
106
|
+
"Tells us when your session starts so we can tell you if it expires",
|
107
|
+
"When you close your browser"
|
108
|
+
],
|
109
|
+
[
|
110
|
+
"hof-cookie-check",
|
111
|
+
"Tells us you have already allowed cookies so we don’t need to ask you again",
|
112
|
+
"When you close your browser"
|
113
|
+
]
|
114
|
+
]
|
115
|
+
}
|
116
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"default": {
|
3
|
+
"title": "Sorry, something went wrong",
|
4
|
+
"message": "A server exception occurred. Please try again."
|
5
|
+
},
|
6
|
+
"session": {
|
7
|
+
"title": "Sorry, you'll have to start again",
|
8
|
+
"message": "You haven't entered any details for 30 minutes, so we have cleared your information to keep it secure."
|
9
|
+
},
|
10
|
+
"404": {
|
11
|
+
"title": "Page not found",
|
12
|
+
"description": "This page does not exist"
|
13
|
+
},
|
14
|
+
"cookies-required": {
|
15
|
+
"title": "Cookies are required to use this service",
|
16
|
+
"message": "Cookies are required in order to use this service.<br /><br /> Please <a href=\"http://www.aboutcookies.org/how-to-control-cookies/\" rel=\"external\">enable cookies</a> and try again. Find out <a href=\"/cookies\">how to we use cookies</a>."
|
17
|
+
},
|
18
|
+
"ddos-rate-limit": {
|
19
|
+
"title": "Too many requests submitted",
|
20
|
+
"message": "You have submitted too many requests in quick succession.",
|
21
|
+
"pre-time-to-wait": "Please try again in ",
|
22
|
+
"post-time-to-wait": " minutes."
|
23
|
+
},
|
24
|
+
"submission-rate-limit": {
|
25
|
+
"title": "Too many submissions",
|
26
|
+
"message": "You have submitted too many applications in a short space of time.",
|
27
|
+
"pre-time-to-wait": "Please try again in ",
|
28
|
+
"post-time-to-wait": " minutes."
|
29
|
+
},
|
30
|
+
"service-unavailable": {
|
31
|
+
"title": "Sorry, the service is unavailable",
|
32
|
+
"message": "This service is temporarily unavailable.",
|
33
|
+
"answers-saved": "Your answers have not been saved."
|
34
|
+
}
|
35
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"header": "Terms and conditions",
|
3
|
+
"how-we-use": "How we use your information",
|
4
|
+
"data-link": {
|
5
|
+
"before": "The data you provide is used in accordance with the ",
|
6
|
+
"href": "https://www.gov.uk/government/organisations/home-office/about/personal-information-charter",
|
7
|
+
"link": "Home Office's personal information charter",
|
8
|
+
"after": ". This includes information about the applicant and any person sponsoring their application. The Home Office is the data controller, which means that it decides how this information will be used and stored. The information will be held in confidence and handled in accordance with the Data Protection Act 1998."
|
9
|
+
},
|
10
|
+
"used-for": "The information will be used to help:",
|
11
|
+
"used-for-list": {
|
12
|
+
"items": [
|
13
|
+
"make a decision on an application",
|
14
|
+
"prevent and detect crime"
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"your-info": "Your information may be passed on to third parties, government departments, local authorities, foreign governments and public bodies for the purpose of:",
|
18
|
+
"your-info-list": {
|
19
|
+
"items": [
|
20
|
+
"confirming that the information you have provided is accurate",
|
21
|
+
"preventing and detecting crime, including fraud and money laundering",
|
22
|
+
"allowing a third party, government department, local authority or public body to carry out their work staff training"
|
23
|
+
]
|
24
|
+
},
|
25
|
+
"info-gathered": "The Home Office reserves the right to gather information relating to site usage. Any information gathered is mainly for internal use, for example, to improve customer service.",
|
26
|
+
"countries": "References to countries and nationalities",
|
27
|
+
"countries-text": "A country or territory may be listed as a nationality or country because it has a passport-issuing authority."
|
28
|
+
}
|