Permalink
Browse files

Bug 826589 - (Part 2) Use localized app name in activity picker. r=al…

…ive a=bb+
  • Loading branch information...
1 parent 567878d commit 809cce4186716f92c431d1eebf4e831e38939194 @leibovic leibovic committed Jan 7, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 apps/system/js/activities.js
View
3 apps/system/js/activities.js
@@ -71,8 +71,9 @@ var Activities = {
var items = [];
choices.forEach(function(choice, index) {
+ var app = Applications.getByManifestURL(choice.manifest);
items.push({
- label: choice.title,
+ label: new ManifestHelper(app.manifest).name,
icon: choice.icon,
value: index
});

0 comments on commit 809cce4

Please sign in to comment.