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

Commit

Permalink
Bug 830708 - updatable.js references undefined 'updateReady' string r…
Browse files Browse the repository at this point in the history
…=etienne r=pike
  • Loading branch information
julienw committed Jan 25, 2013
1 parent 8bbd1b7 commit 8128b5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/system/js/updatable.js
Expand Up @@ -223,7 +223,7 @@ SystemUpdatable.prototype.showApplyPrompt = function() {
};

UtilityTray.hide();
CustomDialog.show(_('updateReady'), _('wantToInstall'),
CustomDialog.show(_('systemUpdateReady'), _('wantToInstall'),
cancel, confirm);
};

Expand Down
1 change: 1 addition & 0 deletions apps/system/locales/system.en-US.properties
Expand Up @@ -112,6 +112,7 @@ numberOfUpdates[few]={{ n }} updates available
numberOfUpdates[many]={{ n }} updates available
numberOfUpdates[other]={{ n }} updates available
systemUpdate=System update
systemUpdateReady=System Update Ready
required=Required
uncompressingMessage=Uncompressing… <span>This can take a few minutes.</span>
downloadNoWifiWarning=Wi-Fi unavailable. Updating over current connection may incur additional charges.
Expand Down
2 changes: 1 addition & 1 deletion apps/system/test/unit/updatable_test.js
Expand Up @@ -587,7 +587,7 @@ suite('system/Updatable', function() {
function testSystemApplyPrompt() {
test('apply prompt shown', function() {
assert.isTrue(MockCustomDialog.mShown);
assert.equal('updateReady', MockCustomDialog.mShowedTitle);
assert.equal('systemUpdateReady', MockCustomDialog.mShowedTitle);
assert.equal('wantToInstall', MockCustomDialog.mShowedMsg);

assert.equal('later', MockCustomDialog.mShowedCancel.title);
Expand Down

0 comments on commit 8128b5b

Please sign in to comment.