Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #22131 from nullaus/bug1041841
Browse files Browse the repository at this point in the history
bug 1041841 - Manually trigger translation of element since l10n API doe...
  • Loading branch information
nullaus committed Jul 25, 2014
2 parents 9b6d735 + b8a3019 commit 0a86498
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shared/js/download/download_ui.js
Expand Up @@ -152,6 +152,7 @@ var DownloadUI = (function() {
}
// Then localize.
element.setAttribute('data-l10n-id', l10nid);
navigator.mozL10n.translate(element);
return element;
}

Expand Down

0 comments on commit 0a86498

Please sign in to comment.