Merge lp:~artmello/ubuntu-ui-extras/ubuntu-ui-extras-i18n_set_domain into lp:ubuntu-ui-extras

Proposed by Arthur Mello
Status: Merged
Approved by: Bill Filler
Approved revision: 96
Merged at revision: 101
Proposed branch: lp:~artmello/ubuntu-ui-extras/ubuntu-ui-extras-i18n_set_domain
Merge into: lp:ubuntu-ui-extras
Diff against target: 63 lines (+6/-6)
3 files modified
modules/Ubuntu/Components/Extras/PhotoEditor/CropOverlay.qml (+1/-1)
modules/Ubuntu/Components/Extras/PhotoEditor/EditStack.qml (+3/-3)
modules/Ubuntu/Components/Extras/PhotoEditor/ExposureAdjuster.qml (+2/-2)
To merge this branch: bzr merge lp:~artmello/ubuntu-ui-extras/ubuntu-ui-extras-i18n_set_domain
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Ubuntu Phablet Team Pending
Review via email: mp+293423@code.launchpad.net

Commit message

Specify the domain "ubuntu-ui-extras" for i18n messages

Description of the change

Specify the domain "ubuntu-ui-extras" for i18n messages

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
96. By Arthur Mello

Merge with trunk

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'modules/Ubuntu/Components/Extras/PhotoEditor/CropOverlay.qml'
2--- modules/Ubuntu/Components/Extras/PhotoEditor/CropOverlay.qml 2014-12-15 13:32:18 +0000
3+++ modules/Ubuntu/Components/Extras/PhotoEditor/CropOverlay.qml 2016-06-07 13:31:04 +0000
4@@ -346,7 +346,7 @@
5 Button {
6 objectName: "centerCropIcon"
7 anchors.centerIn: parent
8- text: i18n.tr("Crop")
9+ text: i18n.dtr("ubuntu-ui-extras", "Crop")
10 color: frame.border.color
11 opacity: 0.9
12 onClicked: cropOverlay.cropButtonPressed()
13
14=== modified file 'modules/Ubuntu/Components/Extras/PhotoEditor/EditStack.qml'
15--- modules/Ubuntu/Components/Extras/PhotoEditor/EditStack.qml 2015-02-11 14:46:34 +0000
16+++ modules/Ubuntu/Components/Extras/PhotoEditor/EditStack.qml 2016-06-07 13:31:04 +0000
17@@ -111,21 +111,21 @@
18 }
19
20 property Action undoAction: Action {
21- text: i18n.tr("Undo")
22+ text: i18n.dtr("ubuntu-ui-extras", "Undo")
23 iconName: "undo"
24 enabled: items.length > 0 && level > 0 && actionsEnabled
25 onTriggered: restoreSnapshot(--level);
26 }
27
28 property Action redoAction: Action {
29- text: i18n.tr("Redo")
30+ text: i18n.dtr("ubuntu-ui-extras", "Redo")
31 iconName: "redo"
32 enabled: level < items.length - 1 && actionsEnabled
33 onTriggered: restoreSnapshot(++level);
34 }
35
36 property Action revertAction: Action {
37- text: i18n.tr("Revert to Original")
38+ text: i18n.dtr("ubuntu-ui-extras", "Revert to Original")
39 iconSource: Qt.resolvedUrl("assets/edit_revert.png")
40 enabled: actionsEnabled &&
41 (level > 0 || (!_revertedInThisSession && _pristineFileExists))
42
43=== modified file 'modules/Ubuntu/Components/Extras/PhotoEditor/ExposureAdjuster.qml'
44--- modules/Ubuntu/Components/Extras/PhotoEditor/ExposureAdjuster.qml 2015-02-11 14:46:34 +0000
45+++ modules/Ubuntu/Components/Extras/PhotoEditor/ExposureAdjuster.qml 2016-06-07 13:31:04 +0000
46@@ -69,7 +69,7 @@
47 anchors.horizontalCenter: parent.horizontalCenter
48 spacing: units.gu(2)
49 Button {
50- text: i18n.tr("Done")
51+ text: i18n.dtr("ubuntu-ui-extras", "Done")
52 color: UbuntuColors.green
53 enabled: adjuster.enabled
54 onTriggered: {
55@@ -78,7 +78,7 @@
56 }
57 }
58 Button {
59- text: i18n.tr("Cancel")
60+ text: i18n.dtr("ubuntu-ui-extras", "Cancel")
61 color: UbuntuColors.red
62 enabled: adjuster.enabled
63 onTriggered: {

Subscribers

People subscribed via source and target branches