DFE-Digital/govuk-formbuilder

View on GitHub
spec/support/locales/sample.en.yaml

Summary

Maintainability
Test Coverage
helpers:
  label:
    person:
      name: Who goes there?
      cv: Tell us about your employment history
      favourite_colour: What is your favourite colour?
      favourite_colour_options:
        red: Red
      projects_options:
        11: Eleven
      photo: Upload a recent passport photo
      department: Department name
      department_options:
        it: Information technology
        marketing: Marketing
        finance: Finance
        sales: Sales
      stationery_options:
        ballpoint_pen: An ink-dispensing writing implement
      address:
        number_and_street: "Enter your street address"
        number_and_street_options:
          one-something-street: "One Something Street"
          two-something-street: "Two Something Street"
        postcode: "Enter your postcode"

  caption:
    person:
      name: Personal information
      favourite_colour: Aesthetic choices
      photo: Personal appearance
      cv: Background information
      born_on: Required data
      projects: Workplace data
      address:
        number_and_street: "Work address"
  legend:
    person:
      favourite_colour: To which colours are you most partial?
      born_on: What is your date of birth?
      projects: What do you do all day at work?
      address:
        number_and_street: Building number and street name
  hint:
    person:
      name: Enter your full name including middle names, nicknames and aliases
      favourite_colour: |-
        Yes, there are plenty of options but please pick the one you enjoy most
      cv: Where did you work? What did you do?
      photo: Make sure your face is clear and you are looking at the camera
      born_on: Check your birth certificate or passport
      projects: If you cannot remember check with your teammates or manager
      department_options:
        it: Computers and stuff
        marketing: Flyers, posters, etc
        finance: What's worth doing is worth doing for money
        # sales is intentionally missing
      stationery_options:
        ballpoint_pen: |-
          A ballpoint pen, also known as a biro or ball pen, is a pen that
          dispenses ink (usually in paste form) over a metal ball at its point.
      address:
        number_and_street: "Enter your home address"
        number_and_street_options:
          one-something-street: "The first place you lived"
          two-something-street: "The second place you lived"