~ubuntu-branches/ubuntu/vivid/content-hub/vivid

« back to all changes in this revision

Viewing changes to import/Ubuntu/Content/ContentPeerPicker10.qml

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Sebastien Bacher
  • Date: 2014-10-10 16:16:32 UTC
  • mfrom: (1.1.39)
  • Revision ID: package-import@ubuntu.com-20141010161632-dwmt4z1gf3m3w3rg
Tags: 0.0+14.10.20141010-0ubuntu1
[ Sebastien Bacher ]
Include missing sources in the translation template, use the custom
rule to update it and load the translations from the correct domain

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
    Header {
47
47
        id: header
48
 
        title: (handler === ContentHandler.Source) ? i18n.tr("Choose from") : (handler === ContentHandler.Destination ? i18n.tr("Open with") : i18n.tr("Share to"))
 
48
        title: (handler === ContentHandler.Source) ? i18n.dtr("content-hub", "Choose from") : (handler === ContentHandler.Destination ? i18n.dtr("content-hub", "Open with") : i18n.dtr("content-hub", "Share to"))
49
49
    }
50
50
 
51
51
    Loader {
155
155
    ListItem.Header {
156
156
        id: appTitle
157
157
        anchors.top: header.visible ? header.bottom : parent.top
158
 
        text: i18n.tr("Apps")
 
158
        text: i18n.dtr("content-hub", "Apps")
159
159
    }
160
160
 
161
161
    Rectangle {
191
191
                    width: parent.width - units.gu(5)
192
192
                    wrapMode: Text.WordWrap
193
193
                    horizontalAlignment: Text.AlignHCenter
194
 
                    text: root.handler === ContentHandler.Source ? i18n.tr("Sorry, there aren't currently any apps installed that can provide this type of content.") : i18n.tr("Sorry, there aren't currently any apps installed that can handle this type of content.")
 
194
                    text: root.handler === ContentHandler.Source ? i18n.dtr("content-hub", "Sorry, there aren't currently any apps installed that can provide this type of content.") : i18n.dtr("content-hub", "Sorry, there aren't currently any apps installed that can handle this type of content.")
195
195
                    visible: appPeers.model ? appPeers.model.length == 0 : false
196
196
                }
197
197
            }
207
207
            right: parent.right
208
208
            top: apps.bottom
209
209
        }
210
 
        text: i18n.tr("Devices")
 
210
        text: i18n.dtr("content-hub", "Devices")
211
211
    }
212
212
 
213
213
    Rectangle {
244
244
    Button {
245
245
        id: cancelButton
246
246
        objectName: "contentPeerPickerCancelButton"
247
 
        text: i18n.tr("Cancel")
 
247
        text: i18n.dtr("content-hub", "Cancel")
248
248
        anchors {
249
249
            left: parent.left
250
250
            bottom: parent.bottom