Skip to content

Commit

Permalink
Merge pull request mishguruorg#22 from akiko-pusu/master
Browse files Browse the repository at this point in the history
Enabled translating for "Primary", "Local" .
  • Loading branch information
ashokfernandez committed Dec 20, 2015
2 parents f3b6e70 + 22dfb17 commit c2d100c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions angular-timezone-selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ angular.module('angular-timezone-selector', [])
}

data.splice(0, 0, {
text: 'Local' + ': ',
text: _.get($scope, 'translations.local', 'Local') + ': ',
children: extraTZs,
firstNOffset: extraTZs[0].nOffset,
firstOffset: extraTZs[0].offset
Expand All @@ -131,7 +131,7 @@ angular.module('angular-timezone-selector', [])
extraTZs = _.filter(timezones, function (tz) { return _.contains(primaryChoices, tz.name) })

data.splice(0, 0, {
text: 'Primary' + ': ',
text: _.get($scope, 'translations.primary', 'Primary') + ': ',
children: extraTZs,
firstNOffset: extraTZs[0].nOffset,
firstOffset: extraTZs[0].offset
Expand Down

0 comments on commit c2d100c

Please sign in to comment.