Skip to content

Commit

Permalink
replace hyphens with underscores in locale.
Browse files Browse the repository at this point in the history
closes #31.
  • Loading branch information
Philip Cunningham committed Jun 3, 2016
1 parent 8e8aabe commit 3d88df8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/assets/javascripts/gettext/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
return;
}

locale = locale.replace(/-/g, "_");

var i18n = new Jed(locales[locale] || {});

window.__ = function() {
Expand Down

0 comments on commit 3d88df8

Please sign in to comment.