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 #30705 from yzen/bug-1176763
Browse files Browse the repository at this point in the history
Bug 1176763 - add a missing label to the icon.
  • Loading branch information
yzen committed Jul 2, 2015
2 parents 7220287 + 8ffc9b7 commit ad0aab3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 12 additions & 3 deletions apps/camera/js/controllers/battery.js
Expand Up @@ -52,15 +52,24 @@ BatteryController.prototype.bindEvents = function() {
BatteryController.prototype.notifications = {
low: {
text: 'battery-low-text',
attrs: { 'data-icon': 'battery-3' }
attrs: {
'data-icon': 'battery-3',
'data-l10n-id': 'battery-low-indicator'
},
},
verylow: {
text: 'battery-verylow-text',
attrs: { 'data-icon': 'battery-1' }
attrs: {
'data-icon': 'battery-1',
'data-l10n-id': 'battery-verylow-indicator'
}
},
critical: {
text: 'battery-critical-text',
attrs: { 'data-icon': 'battery-1' },
attrs: {
'data-icon': 'battery-1',
'data-l10n-id': 'battery-critical-indicator'
},
persistent: true
}
};
Expand Down
2 changes: 2 additions & 0 deletions apps/camera/locales/camera.en-US.properties
Expand Up @@ -140,3 +140,5 @@ self-timer-indicator.ariaLabel = Self-Timer enabled
hdr-indicator.ariaLabel = HDR enabled
location-indicator.ariaLabel = Geolocation enabled
battery-low-indicator.ariaLabel = 15% battery remaining
battery-verylow-indicator.ariaLabel = 10% battery remaining
battery-critical-indicator.ariaLabel = Critically low battery

0 comments on commit ad0aab3

Please sign in to comment.