~jocave/checkbox/hybrid-amd-gpu-mods

« back to all changes in this revision

Viewing changes to checkbox-touch/components/ResultsPage.qml

  • Committer: Sylvain Pineau
  • Author(s): Po-Hsu Lin
  • Date: 2016-05-18 10:22:30 UTC
  • mfrom: (4352.3.1 touch-i18n-fix)
  • Revision ID: sylvain_pineau-20160518102230-fquud7dskld1f0mh
"automatic merge of lp:~cypressyew/checkbox/cbt-i18n/ by tarmac [r=kissiel][bug=][author=cypressyew]"

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
                }
133
133
                Text {
134
134
                    objectName: "passedLabel"
135
 
                    text: results.totalPassed + " " + i18n.tr("tests passed")
 
135
                    // TRANSLATORS: %1 will be a number, please do not translate it
 
136
                    text: i18n.tr("%1 tests passed").arg(results.totalPassed)
136
137
                }
137
138
            }
138
139
            Row {
143
144
                }
144
145
                Text {
145
146
                    objectName: "failedLabel"
146
 
                    text: results.totalFailed + " " + i18n.tr("tests failed")
 
147
                    // TRANSLATORS: %1 will be a number, please do not translate it
 
148
                    text: i18n.tr("%1 tests failed").arg(results.totalFailed)
147
149
                }
148
150
            }
149
151
            Row {
154
156
                }
155
157
                Text {
156
158
                    objectName: "skippedLabel"
157
 
                    text: results.totalSkipped + " " + i18n.tr("tests skipped")
 
159
                    // TRANSLATORS: %1 will be a number, please do not translate it
 
160
                    text: i18n.tr("%1 tests skipped").arg(results.totalSkipped)
158
161
                }
159
162
            }
160
163
        }
174
177
            unlatchedColor: UbuntuColors.green
175
178
            visible: submissionName
176
179
            Layout.fillWidth: true
177
 
            // TRANSLATORS: follwing string will be followed by a service name, e.g. "certification website"
 
180
            // TRANSLATORS: following string will be followed by a service name, e.g. "certification website"
178
181
            text: i18n.tr("Submit results to " + submissionName)
179
182
            onLatchedClicked: {
180
183
                rerunAction.enabled = false;