From 2844d30923ea7d0e7065128021fce277c0be2f34 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Sun, 28 May 2017 14:35:59 +0300 Subject: [PATCH 1/3] change text to reference the text object #99 --- text.js | 19 +++++++++++++++++-- views/home.hbs | 14 +++++++------- 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/text.js b/text.js index db1e34b..29d08b5 100644 --- a/text.js +++ b/text.js @@ -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)' } } diff --git a/views/home.hbs b/views/home.hbs index b856486..f6d571f 100644 --- a/views/home.hbs +++ b/views/home.hbs @@ -1,21 +1,21 @@
-

Select the Disability or Disabilities you want to be catered for

+

{{text.disabilitiesPrompt}}

- - - - + + + +
-

Filters chosen

+

{{text.filtersChosen}}

- Next + {{text.submit}}
From b6ebe24857808eb0e3e7f0cbdfdd6d88c87ea0e9 Mon Sep 17 00:00:00 2001 From: hibaakel Date: Sun, 28 May 2017 14:39:20 +0300 Subject: [PATCH 2/3] Update text.js --- text.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/text.js b/text.js index 29d08b5..3b6615b 100644 --- a/text.js +++ b/text.js @@ -27,9 +27,9 @@ module.exports = { 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)' + visual: 'بصري', + physical: 'جسدي', + aural: 'سمعي', + mental: 'عقلي' } } From ec0f3ef7572f226976806059cd43baba7bfc6374 Mon Sep 17 00:00:00 2001 From: suha-edris Date: Sun, 28 May 2017 14:56:34 +0300 Subject: [PATCH 3/3] change some keys from english to arabic --- text.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/text.js b/text.js index 3b6615b..3b28b75 100644 --- a/text.js +++ b/text.js @@ -2,8 +2,6 @@ module.exports = { english: { // General 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', @@ -24,9 +22,8 @@ module.exports = { homePage: 'العوده الى الصفحه الرئيسيه ', homeIcon: ' ايقونه الصفحه الرئيسيه ', helpIcon: ' ايقونه للمساعده', - filtersChosen: 'Filters Chosen (in Arabic)', // Disabilities page - disabilitiesPrompt: 'Select the Disability or Disabilities you want to be catered for (in Arabic)', + disabilitiesPrompt: 'حدد نوع الاعاقة او الاعاقات التي تهمك ', visual: 'بصري', physical: 'جسدي', aural: 'سمعي',