Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change text to reference the text object #99 #115

Merged
merged 4 commits into from
May 28, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
change text to reference the text object #99
m4v15 committed May 28, 2017
commit 2844d30923ea7d0e7065128021fce277c0be2f34
19 changes: 17 additions & 2 deletions text.js
Original file line number Diff line number Diff line change
@@ -3,10 +3,18 @@ module.exports = {
mainTitle: 'easy Naz',
help: 'Help',
submit: 'Next',
nextAria: 'Go to the next page',
back: 'go back to the previous page',
homePage: 'Go-back-to-the-Start',
homeIcon: 'Icon for the home page',
helpIcon: 'Icon for the help button'
helpIcon: 'Icon for the help button',
filtersChosen: 'Filters Chosen',
// Disabilities page
disabilitiesPrompt: 'Select the Disability or Disabilities you want to be catered for',
visual: 'Visual',
physical: 'Physical',
aural: 'Aural',
mental: 'Mental'
},
arabic: { // General
mainTitle: 'easy Naz',
@@ -15,6 +23,13 @@ module.exports = {
back: 'العوده صفحه الى الوراء ',
homePage: 'العوده الى الصفحه الرئيسيه ',
homeIcon: ' ايقونه الصفحه الرئيسيه ',
helpIcon: ' ايقونه للمساعده'
helpIcon: ' ايقونه للمساعده',
filtersChosen: 'Filters Chosen (in Arabic)',
// Disabilities page
disabilitiesPrompt: 'Select the Disability or Disabilities you want to be catered for (in Arabic)',
visual: 'Visual (in arabic)',
physical: 'Physical (in arabic)',
aural: 'Aural (in arabic)',
mental: 'Mental (in arabic)'
}
}
14 changes: 7 additions & 7 deletions views/home.hbs
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<section class="">
<div class="">
<h2>Select the Disability or Disabilities you want to be catered for</h2>
<h2>{{text.disabilitiesPrompt}}</h2>
</div>
<div id="buttons" class="">
<button type="button" aria-pressed="false">Visual</button>
<button type="button" aria-pressed="false">Physical</button>
<button type="button" aria-pressed="false">Aural</button>
<button type="button" aria-pressed="false">Mental</button>
<button type="button" aria-pressed="false">{{text.visual}}</button>
<button type="button" aria-pressed="false">{{text.physical}}</button>
<button type="button" aria-pressed="false">{{text.aural}}</button>
<button type="button" aria-pressed="false">{{text.mental}}</button>
</div>
<section>
<p>Filters chosen</p>
<p>{{text.filtersChosen}}</p>
<div id="filters">

</div>
</section>
<div class="">
<a href="services" aria-label="Go to next page">Next</a>
<a href="services" aria-label={{text.nextAria}}>{{text.submit}}</a>
</div>
</section>