Merge lp:~mpt/ubuntu-system-settings/1359344-restart-install into lp:ubuntu-system-settings

Proposed by Matthew Paul Thomas
Status: Merged
Approved by: Jonas G. Drange
Approved revision: 1450
Merged at revision: 1454
Proposed branch: lp:~mpt/ubuntu-system-settings/1359344-restart-install
Merge into: lp:ubuntu-system-settings
Diff against target: 21 lines (+2/-2)
1 file modified
plugins/system-update/PageComponent.qml (+2/-2)
To merge this branch: bzr merge lp:~mpt/ubuntu-system-settings/1359344-restart-install
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Jonas G. Drange (community) Approve
Sebastien Bacher (community) Approve
Review via email: mp+263237@code.launchpad.net

Commit message

Changes "Install & Restart" to "Restart & Install" and "Not Now" to "Cancel". lp:1359344

Description of the change

Fixes bug 1359344 by changing "Install & Restart" to "Restart & Install". Also changes "Not Now" to "Cancel".

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Matthew

review: Approve
Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

LGTM!

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

I don't understand those failures, or why they're different from one test run to the next. The only one I can see that might possibly have been caused by this change is ubuntu_system_settings.tests.test_system_updates.SystemUpdatesTestCases.test_no_updates_state, but even that seems implausible, and "_StringException: Binary content: FailedTestScreenshot (image/png)" is useless for telling what went wrong.

Revision history for this message
Sebastien Bacher (seb128) wrote :

@Matthew, the tests have started to be unreliable due to what might be an unity8 issue, that has been reported as bug #1468029 and is being investigated, the errors are probably not due to your changes there

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/system-update/PageComponent.qml'
2--- plugins/system-update/PageComponent.qml 2015-05-01 18:06:27 +0000
3+++ plugins/system-update/PageComponent.qml 2015-06-29 13:13:25 +0000
4@@ -96,7 +96,7 @@
5 text: root.batterySafeForUpdate ? i18n.tr("The phone needs to restart to install the system update.") : i18n.tr("Connect the phone to power before installing the system update.")
6
7 Button {
8- text: i18n.tr("Install & Restart")
9+ text: i18n.tr("Restart & Install")
10 visible: root.batterySafeForUpdate ? true : false
11 color: UbuntuColors.orange
12 onClicked: {
13@@ -106,7 +106,7 @@
14 }
15 }
16 Button {
17- text: i18n.tr("Not Now")
18+ text: i18n.tr("Cancel")
19 color: UbuntuColors.warmGrey
20 onClicked: {
21 updateList.currentIndex = 0;

Subscribers

People subscribed via source and target branches