Commit 76e8a674 authored by Nicolas Fella's avatar Nicolas Fella

Revert "Translate stuff"

This reverts commit 65b5acdb.
parent 4b72041c
......@@ -13,7 +13,6 @@ include(KDEInstallDirs)
include(KDECMakeSettings)
find_package(Qt5 REQUIRED COMPONENTS Gui Qml)
find_package(KF5 REQUIRED COMPONENTS I18n)
if (ANDROID)
# runtime dependencies are build-time dependencies on Android
......
......@@ -27,7 +27,7 @@ import org.kde.kpublictransport 1.0
Kirigami.Page
{
title: i18n("Details")
title: "Details"
property var journey
......@@ -63,7 +63,7 @@ Kirigami.Page
text: {
if (modelData.mode == JourneySection.Walking) {
return i18n("Walking")
return "Walking"
}
return modelData.route.line.name
......
......@@ -26,7 +26,7 @@ import org.kde.ktrip 0.1
Kirigami.Page
{
title: i18n("Connections")
title: "Connections"
ListView {
......
......@@ -31,17 +31,17 @@ Kirigami.Page
title: {
if (type == "start") {
return i18n("Search for start location")
return "Search for start location"
}
if (type == "destination") {
return i18n("Search for destination location")
return "Search for destination location"
}
return "deadbeef"
}
header: TextField {
id: queryTextField
placeholderText: i18n("Search...")
placeholderText: "Search..."
onAccepted: {
queryModel.query = text
showCached = false
......
......@@ -28,11 +28,11 @@ Kirigami.Page
id: rootPage
property var start;
title: i18n("Start journey")
title: "Start journey"
actions.main: Kirigami.Action {
icon.name: "search"
text: i18n("Search")
text: "Search"
onTriggered: pageStack.push(Qt.resolvedUrl("ConnectionsPage.qml"))
}
......@@ -41,11 +41,11 @@ Kirigami.Page
width: parent.width
Label {
text: i18n("From:")
text: "From:"
}
Button {
Layout.fillWidth: true
text: _queryController.start.name ? _queryController.start.name : i18n("Pick start")
text: _queryController.start.name ? _queryController.start.name : "Pick start"
onClicked: pageStack.push(Qt.resolvedUrl("LocationQueryPage.qml"), {type: "start"})
}
Label {
......@@ -53,12 +53,12 @@ Kirigami.Page
}
Button {
Layout.fillWidth: true
text: _queryController.start.name ? _queryController.destination.name : i18n("Pick destination")
text: _queryController.start.name ? _queryController.destination.name : "Pick destination"
onClicked: pageStack.push(Qt.resolvedUrl("LocationQueryPage.qml"), {type: "destination"})
}
Label {
text: i18n("Departure date:")
text: "Departure date:"
}
DatePickerButton {
......@@ -68,7 +68,7 @@ Kirigami.Page
}
Label {
text: i18n("Departure time:")
text: "Departure time:"
}
TimePickerButton {
......
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