Commit d84e833f authored by Volker Krause's avatar Volker Krause
Browse files

Remove translation markup from test code

Those slipped in here by habit and caused runtime warnings.
parent 7c690ee3
Pipeline #53126 passed with stage
in 19 seconds
......@@ -12,7 +12,7 @@ import org.kde.kpublictransport 1.0 as KPublicTransport
Kirigami.ScrollablePage {
id: root
title: i18n("Backends")
title: "Backends"
property alias publicTransportManager: backendModel.manager
......
......@@ -13,7 +13,7 @@ import org.kde.kpublictransport.ui 1.0
Kirigami.ScrollablePage {
id: root
title: i18n("Vehicle Layout")
title: "Vehicle Layout"
property alias publicTransportManager: vehicleModel.manager
property var departure
......
......@@ -25,13 +25,13 @@ Kirigami.ApplicationWindow {
globalDrawer: Kirigami.GlobalDrawer {
actions: [
Kirigami.Action {
text: i18n("Save...")
text: "Save..."
iconName: "document-save"
onTriggered: fileDialog.open();
},
Kirigami.Action {
iconName: "help-about-symbolic"
text: i18n("Data Sources")
text: "Data Sources"
enabled: departureModel.attributions.length > 0
onTriggered: aboutSheet.sheetOpen = true;
},
......@@ -45,7 +45,7 @@ Kirigami.ApplicationWindow {
Platform.FileDialog {
id: fileDialog
title: i18n("Save Departure Data")
title: "Save Departure Data"
fileMode: Platform.FileDialog.SaveFile
nameFilters: ["JSON files (*.json)"]
onAccepted: ExampleUtil.saveTo(departureModel, fileDialog.file);
......
......@@ -44,13 +44,13 @@ Kirigami.ApplicationWindow {
globalDrawer: Kirigami.GlobalDrawer {
actions: [
Kirigami.Action {
text: i18n("Save...")
text: "Save..."
iconName: "document-save"
onTriggered: fileDialog.open();
},
Kirigami.Action {
iconName: "help-about-symbolic"
text: i18n("Current Data Sources")
text: "Current Data Sources"
enabled: journeyModel.attributions.length > 0
onTriggered: {
aboutSheet.attributions = Qt.binding(function() { return journeyModel.attributions; });
......@@ -59,7 +59,7 @@ Kirigami.ApplicationWindow {
},
Kirigami.Action {
iconName: "help-about-symbolic"
text: i18n("All Data Sources")
text: "All Data Sources"
onTriggered: {
aboutSheet.attributions = Qt.binding(function() { return ptMgr.attributions; });
aboutSheet.sheetOpen = true;
......@@ -75,7 +75,7 @@ Kirigami.ApplicationWindow {
Platform.FileDialog {
id: fileDialog
title: i18n("Save Journey Data")
title: "Save Journey Data"
fileMode: Platform.FileDialog.SaveFile
nameFilters: ["JSON files (*.json)"]
onAccepted: ExampleUtil.saveTo(journeyModel, fileDialog.file);
......
......@@ -46,7 +46,7 @@ Kirigami.ApplicationWindow {
actions: [
Kirigami.Action {
iconName: "help-about-symbolic"
text: i18n("Data Sources")
text: "Data Sources"
enabled: locationModel.attributions.length > 0
onTriggered: aboutSheet.sheetOpen = true;
},
......
......@@ -31,7 +31,7 @@ Kirigami.ApplicationWindow {
actions: [
Kirigami.Action {
iconName: "help-about-symbolic"
text: i18n("Current Data Sources")
text: "Current Data Sources"
enabled: journeyModel.attributions.length > 0
onTriggered: {
aboutSheet.attributions = Qt.binding(function() { return journeyModel.attributions; });
......@@ -40,7 +40,7 @@ Kirigami.ApplicationWindow {
},
Kirigami.Action {
iconName: "help-about-symbolic"
text: i18n("All Data Sources")
text: "All Data Sources"
onTriggered: {
aboutSheet.attributions = Qt.binding(function() { return ptMgr.attributions; });
aboutSheet.sheetOpen = true;
......@@ -63,7 +63,7 @@ Kirigami.ApplicationWindow {
id: toName
}
QQC2.Button {
text: qsTr("Query")
text: "Query"
onClicked: {
var from = journeyModel.request.from;
from.name = fromName.text;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment