Skip to content

Commit

Permalink
Merge pull request #150 from sergioruizdavila/feature/Translate_text_…
Browse files Browse the repository at this point in the history
…to_English_#148

Feature/translate text to english #148
  • Loading branch information
serudda authored Jan 19, 2017
2 parents a2b36ec + d1d49fe commit abcae54
Show file tree
Hide file tree
Showing 11 changed files with 196 additions and 126 deletions.
4 changes: 2 additions & 2 deletions www/app/app.values.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion www/app/app.values.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions www/app/app.values.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ interface IDataConfig {
// bucketS3: 'waysily-img/teachers-avatar-prd'
var dataConfig: IDataConfig = {
currentYear: '2017',
baseUrl: 'https://waysily-server-dev.herokuapp.com/api/v1/',
baseUrl: 'https://waysily-server.herokuapp.com/api/v1/',
googleMapKey: 'AIzaSyD-vO1--MMK-XmQurzNQrxW4zauddCJh5Y',
mixpanelToken: '86a48c88274599c662ad64edb74b12da',
modalMeetingPointTmpl: 'components/modal/modalMeetingPoint/modalMeetingPoint.html',
Expand All @@ -53,7 +53,7 @@ interface IDataConfig {
modalEducationTmpl: 'components/modal/modalEducation/modalEducation.html',
modalCertificateTmpl: 'components/modal/modalCertificate/modalCertificate.html',
modalSignUpTmpl: 'components/modal/modalSignUp/modalSignUp.html',
bucketS3: 'waysily-img/teachers-avatar-dev',
bucketS3: 'waysily-img/teachers-avatar-prd',
regionS3: 'us-east-1',
accessKeyIdS3: 'AKIAIHKBYIUQD4KBIRLQ',
secretAccessKeyS3: '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',
Expand Down
227 changes: 147 additions & 80 deletions www/assets/i18n/en.json

Large diffs are not rendered by default.

59 changes: 30 additions & 29 deletions www/assets/i18n/es.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions www/build/js/app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion www/components/header/header.directive.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion www/components/header/header.directive.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion www/components/header/header.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ module components.header {
//Init form
this.form = {
language: this.functionsUtil.getCurrentLanguage() || 'en',
whereTo: 'Where to?'
whereTo: this.$filter('translate')('%header.search.placeholder.text')
};

this._slideout = false;
Expand Down
12 changes: 6 additions & 6 deletions www/components/header/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
search
</i>
<label class="screen-reader-only"
for="header-search-form" aria-hidden="true">
Where to?
for="header-search-form" aria-hidden="true" translate>
%header.search.placeholder.text
</label>
<input type="text"
class="ma-header__block__search-wrapper__form__search-bar__input"
Expand Down Expand Up @@ -406,17 +406,17 @@
<a class="ma-dropdown__option__btn disabled"
href>
Guatemala
<span class="ma-p ma-p--default pull-right">
Coming soon
<span class="ma-p ma-p--default pull-right" translate>
%global.coming_soon.text
</span>
</a>
</li>
<li class="ma-dropdown__option">
<a class="ma-dropdown__option__btn disabled"
href>
Mexico
<span class="ma-p ma-p--default pull-right">
Coming soon
<span class="ma-p ma-p--default pull-right" translate>
%global.coming_soon.text
</span>
</a>
</li>
Expand Down
2 changes: 2 additions & 0 deletions www/components/modal/modalExperience/modalExperience.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ <h4 class="ma-box__title margin-reset">
<label for="position-experience-input" translate>
%modal.experience.form.position.text
</label>
<!-- TODO: Remover el placeholder quemado en este input -->
<input id="position-experience-input" type="text"
class="ma-input
ma-input--large"
Expand All @@ -49,6 +50,7 @@ <h4 class="ma-box__title margin-reset">
<label for="company-experience-input" translate>
%modal.experience.form.company.text
</label>
<!-- TODO: Remover el placeholder quemado en este input -->
<input id="company-experience-input" type="text"
class="ma-input
ma-input--large"
Expand Down

0 comments on commit abcae54

Please sign in to comment.