From cdb573999cf148842b97df71a0a59e160920bdc7 Mon Sep 17 00:00:00 2001 From: Gemma Leigh Date: Mon, 5 Dec 2016 16:05:47 +0000 Subject: [PATCH] Use smart quotes and apostrophes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > “Smart quotes,” the correct quotation marks and apostrophes, are curly or sloped. "Dumb quotes," or straight quotes, are a vestigial constraint from typewriters when using one key for two different marks helped save space on a keyboard. – http://smartquotesforsmartpeople.com *** http://smartquotesforsmartpeople.com/ --- README.md | 2 +- app/views/examples/example_details_summary.html | 2 +- app/views/examples/example_grid_layout.html | 2 +- .../examples/example_radios_checkboxes.html | 2 +- app/views/guide_buttons.html | 4 ++-- app/views/guide_colour.html | 2 +- app/views/guide_data.html | 2 +- app/views/guide_form_elements.html | 16 ++++++++-------- app/views/guide_icons_images.html | 2 +- app/views/guide_typography.html | 10 +++++----- app/views/snippets/form_error_multiple.html | 4 ++-- .../form_error_multiple_show_errors.html | 4 ++-- app/views/snippets/form_hint_text.html | 2 +- 13 files changed, 27 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index b582fb46e..f26cf9d76 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ You can pick and chosoe partials from the govuk-elements-sass package. You can find these at the top of the `_govuk_elements.scss` partial. If you're not using the [GOV.UK template](https://github.com/alphagov/govuk_template), -you'll also need to uncomment the base partial in `_govuk_elements.scss`, or create your own. +you’ll also need to uncomment the base partial in `_govuk_elements.scss`, or create your own. // @import "elements/base"; // HTML elements, set by the GOV.UK template diff --git a/app/views/examples/example_details_summary.html b/app/views/examples/example_details_summary.html index ef50e35c3..e885dd044 100644 --- a/app/views/examples/example_details_summary.html +++ b/app/views/examples/example_details_summary.html @@ -20,7 +20,7 @@

- These elements are only supported by a few modern browsers at the moment so you'll need a JavaScript polyfill to make them work in other browsers. Here's the polyfill used by GOV.UK elements. + These elements are only supported by a few modern browsers at the moment so you’ll need a JavaScript polyfill to make them work in other browsers. Here’s the polyfill used by GOV.UK elements.

diff --git a/app/views/examples/example_grid_layout.html b/app/views/examples/example_grid_layout.html index 587bebeee..4d24ac382 100644 --- a/app/views/examples/example_grid_layout.html +++ b/app/views/examples/example_grid_layout.html @@ -148,7 +148,7 @@

One quarter

$html.toggleClass('example-highlight-grid'); if ($('.column-highlight').length>0) { - // Don't add more than once + // Don’t add more than once } else { $('.grid-row div').wrapInner('
'); } diff --git a/app/views/examples/example_radios_checkboxes.html b/app/views/examples/example_radios_checkboxes.html index d90add334..06121eb85 100644 --- a/app/views/examples/example_radios_checkboxes.html +++ b/app/views/examples/example_radios_checkboxes.html @@ -17,7 +17,7 @@

This test page demonstrates selection-buttons.js from the govuk frontend toolkit, which - sets 'focused' and 'selected' states for the large hit area labels that wrap checkboxes and radio buttons. + sets ‘focused’ and ‘selected’ states for the large hit area labels that wrap checkboxes and radio buttons.

diff --git a/app/views/guide_buttons.html b/app/views/guide_buttons.html index bc601757f..45d111acd 100755 --- a/app/views/guide_buttons.html +++ b/app/views/guide_buttons.html @@ -62,7 +62,7 @@

Start now button

Button alignment

- Align the primary action button to the left edge of your form, in the user's line of sight. + Align the primary action button to the left edge of your form, in the user’s line of sight.

@@ -82,7 +82,7 @@

Button alignment

Disabled buttons

diff --git a/app/views/guide_colour.html b/app/views/guide_colour.html index c85fe9b1d..4a0e28776 100755 --- a/app/views/guide_colour.html +++ b/app/views/guide_colour.html @@ -406,7 +406,7 @@

What happens next?

- We've sent your application to Hackney Electoral Register Office. + We’ve sent your application to Hackney Electoral Register Office.

They will contact you either to confirm your registration, or to ask for more information. diff --git a/app/views/guide_data.html b/app/views/guide_data.html index b655e86e9..91552a3ad 100755 --- a/app/views/guide_data.html +++ b/app/views/guide_data.html @@ -32,7 +32,7 @@

Contents:

Numeric tabular data

diff --git a/app/views/guide_form_elements.html b/app/views/guide_form_elements.html index 4b55a060b..99c437b9a 100755 --- a/app/views/guide_form_elements.html +++ b/app/views/guide_form_elements.html @@ -14,7 +14,7 @@

- Keep forms as simple as possible – only ask what's needed to run your service. + Keep forms as simple as possible – only ask what’s needed to run your service.

Contents:

@@ -42,14 +42,14 @@

Contents:

Optional and mandatory fields

  • only ask for the information you absolutely need
  • -
  • if you do ask for optional information, mark the labels of optional fields with '(optional)'
  • -
  • don't mark mandatory fields with asterisks
  • +
  • if you do ask for optional information, mark the labels of optional fields with ‘(optional)’
  • +
  • don’t mark mandatory fields with asterisks

Labels

  • all form fields should be given labels
  • -
  • don't hide labels, unless the surrounding context makes them unnecessary
  • +
  • don’t hide labels, unless the surrounding context makes them unnecessary
  • labels should be aligned above their fields
  • label text should be short, direct and in sentence case
  • avoid colons at the end of labels
  • @@ -90,7 +90,7 @@

    Form focus states

    All elements use the yellow focus style as a highlight, as either a fill or 3px outline.

    - Click on the label "Full name" or inside the form field to show the focus state. + Click on the label “Full name” or inside the form field to show the focus state.

@@ -100,7 +100,7 @@

Form focus states

Hint text

@@ -202,10 +202,10 @@

Hidden text (progressive

- If you're using the HTML5 details and summary elements, you'll need a polyfill for not-so-modern browsers. + If you’re using the HTML5 details and summary elements, you’ll need a polyfill for not-so-modern browsers.

- You'll need to ensure that your markup matches the example above. + You’ll need to ensure that your markup matches the example above. GOV.UK elements uses this polyfill.

diff --git a/app/views/snippets/form_error_multiple.html b/app/views/snippets/form_error_multiple.html index 602503251..76ad02da3 100644 --- a/app/views/snippets/form_error_multiple.html +++ b/app/views/snippets/form_error_multiple.html @@ -48,9 +48,9 @@

National Insurance number - It's on your National Insurance card, benefit letter, payslip or P60. + It’s on your National Insurance card, benefit letter, payslip or P60.
- For example, 'QQ 12 34 56 C'. + For example, ‘QQ 12 34 56 C’.
{% if error %} {% if not niNo %} diff --git a/app/views/snippets/form_error_multiple_show_errors.html b/app/views/snippets/form_error_multiple_show_errors.html index f63f8e027..d99a4681b 100644 --- a/app/views/snippets/form_error_multiple_show_errors.html +++ b/app/views/snippets/form_error_multiple_show_errors.html @@ -38,9 +38,9 @@

National Insurance number - It's on your National Insurance card, benefit letter, payslip or P60. + It’s on your National Insurance card, benefit letter, payslip or P60.
- For example, 'QQ 12 34 56 C'. + For example, ‘QQ 12 34 56 C’.
Error message about National Insurance number goes here diff --git a/app/views/snippets/form_hint_text.html b/app/views/snippets/form_hint_text.html index 677359f47..b6dd3f142 100644 --- a/app/views/snippets/form_hint_text.html +++ b/app/views/snippets/form_hint_text.html @@ -3,7 +3,7 @@ It's on your National Insurance card, benefit letter, payslip or P60.
- For example, 'QQ 12 34 56 C'. + For example, ‘QQ 12 34 56 C’.