Commit 565b04af authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

[weather applet] Add UI marker context to i18n calls

parent 6934606f
......@@ -21,19 +21,19 @@ import org.kde.plasma.configuration 2.0
ConfigModel {
ConfigCategory {
name: i18n("Weather Station")
name: i18nc("@title:tab", "Weather Station")
icon: "services"
source: "config/ConfigWeatherStation.qml"
}
ConfigCategory {
name: i18n("Appearance")
name: i18nc("@title:tab", "Appearance")
icon: "preferences-desktop-color"
source: "config/ConfigAppearance.qml"
}
ConfigCategory {
name: i18n("Units")
name: i18nc("@title:tab", "Units")
icon: "preferences-other"
source: "config/ConfigUnits.qml"
}
......
......@@ -41,7 +41,7 @@ ColumnLayout {
PlasmaExtras.Heading {
level: 4
text: index == 0 ? i18nc("weather warnings", "Warnings Issued") : i18nc("weather watches" ,"Watches Issued")
text: index == 0 ? i18nc("@title:column weather warnings", "Warnings Issued") : i18nc("@title:column weather watches" ,"Watches Issued")
}
Repeater {
......
......@@ -51,7 +51,7 @@ ColumnLayout {
visible: false;
text: i18n("Details")
text: i18nc("@title:tab", "Details")
}
DetailsView {
......@@ -67,7 +67,7 @@ ColumnLayout {
visible: false;
text: i18n("Notices")
text: i18nc("@title:tab", "Notices")
}
NoticesView {
......
......@@ -53,7 +53,7 @@ ColumnLayout {
Layout.column: 0
Layout.alignment: Qt.AlignRight
enabled: canShowTemperature
text: i18n("Show temperature in compact mode:")
text: i18nc("@label", "Show temperature in compact mode:")
}
QtControls.CheckBox {
......
......@@ -64,7 +64,7 @@ ColumnLayout {
Layout.row: 0
Layout.column: 0
Layout.alignment: Qt.AlignRight
text: i18n("Temperature:")
text: i18nc("@label:listbox", "Temperature:")
}
QtControls.ComboBox {
......@@ -80,7 +80,7 @@ ColumnLayout {
Layout.row: 1
Layout.column: 0
Layout.alignment: Qt.AlignRight
text: i18n("Pressure:")
text: i18nc("@label:listbox", "Pressure:")
}
QtControls.ComboBox {
......@@ -96,7 +96,7 @@ ColumnLayout {
Layout.row: 2
Layout.column: 0
Layout.alignment: Qt.AlignRight
text: i18n("Wind speed:")
text: i18nc("@label:listbox", "Wind speed:")
}
QtControls.ComboBox {
......@@ -112,7 +112,7 @@ ColumnLayout {
Layout.row: 3
Layout.column: 0
Layout.alignment: Qt.AlignRight
text: i18n("Visibility:")
text: i18nc("@label:listbox", "Visibility:")
}
QtControls.ComboBox {
......
......@@ -119,7 +119,7 @@ ColumnLayout {
Layout.row: 0
Layout.column: 0
Layout.alignment: Qt.AlignRight
text: i18n("Location:")
text: i18nc("@label", "Location:")
}
QtControls.Label {
......@@ -147,7 +147,7 @@ ColumnLayout {
QtControls.Button {
id: serviceSelectionButton
iconName: "services"
tooltip: i18n("Select weather services providers")
tooltip: i18nc("@info:tooltip", "Select weather services providers")
menu: serviceSelectionMenu
}
......@@ -165,7 +165,7 @@ ColumnLayout {
QtControls.Button {
id: searchButton
iconName: "edit-find"
text: i18n("Search")
text: i18nc("@action:button", "Search")
enabled: !!searchStringEdit.text && selectedServices.length
onClicked: searchLocation();
}
......@@ -204,7 +204,7 @@ ColumnLayout {
Layout.row: 3
Layout.column: 0
Layout.alignment: Qt.AlignRight
text: i18n("Update every:")
text: i18nc("@label:spinbox", "Update every:")
}
QtControls.SpinBox {
id: updateIntervalSpin
......
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