Context
- Fixes #419
- Replaces "hard-coded" English text with translation strings
- ~~Only splash page is done as of writing, but will be adding more commits soon.~~
- All strings I could find are translated.
- Potentially open to collaboration if we announce which pages we all are working on ahead of time.
Summary of Changes
- Changes
html.haml
files to use translation strings - Adds the translation strings in
config/locales/[component_name].en.yml
Checklist
- [x] Tested Mobile Responsiveness
- [ ] Added Unit Tests
- [x] CI Passes
- [ ] Deploys to Heroku on test Correctly (Maintainers will handle)
- [ ] Added Documentation (Service and Code when required)
We need to update: - [x] the "splash" page (homepage), - [x] the Contact page, - [x] the "Thank you for contacting us" page ~~(can't figure this one out, skipping)~~ - [x] simple_form content (HTML input forms, labels and such) - [x] the search results page and restroom entries, - [x] the nav bar (at the top) - [x] the footer - [x] search bar buttons - [x] ARIA labels - [ ] and if somehow possible, the API documentation page. (Does not seem doable IMO)
该提问来源于开源项目:RefugeRestrooms/refugerestrooms