mirror of https://github.com/KDE/kasts.git
Adopt string casings according to HIG
This commit is contained in:
parent
af4c275e8c
commit
5a69783ffb
|
@ -45,21 +45,21 @@ QString Error::description() const
|
|||
{
|
||||
switch (type) {
|
||||
case Error::Type::FeedUpdate:
|
||||
return i18n("Podcast Update Error");
|
||||
return i18n("Podcast update error");
|
||||
case Error::Type::MediaDownload:
|
||||
return i18n("Media Download Error");
|
||||
return i18n("Media download error");
|
||||
case Error::Type::MeteredNotAllowed:
|
||||
return i18n("Update Not Allowed on Metered Connection");
|
||||
return i18n("Update not allowed on metered connection");
|
||||
case Error::Type::InvalidMedia:
|
||||
return i18n("Invalid Media File");
|
||||
return i18n("Invalid media file");
|
||||
case Error::Type::DiscoverError:
|
||||
return i18n("Nothing Found");
|
||||
return i18n("Nothing found");
|
||||
case Error::Type::StorageMoveError:
|
||||
return i18n("Error moving storage path");
|
||||
case Error::Type::SyncError:
|
||||
return i18n("Error Syncing Feed and/or Episode Status");
|
||||
return i18n("Error syncing feed and/or episode status");
|
||||
case Error::Type::MeteredStreamingNotAllowed:
|
||||
return i18n("No Connection or Streaming Not Allowed on Metered Connection");
|
||||
return i18n("Connection or streaming not allowed on metered connection");
|
||||
default:
|
||||
return QString();
|
||||
}
|
||||
|
|
|
@ -435,7 +435,7 @@ FocusScope {
|
|||
|
||||
Controls.Label {
|
||||
id: text
|
||||
text: AudioManager.entry ? AudioManager.entry.adjustedContent(width, font.pixelSize) : i18n("No Track Loaded")
|
||||
text: AudioManager.entry ? AudioManager.entry.adjustedContent(width, font.pixelSize) : i18n("No track loaded")
|
||||
verticalAlignment: Text.AlignTop
|
||||
baseUrl: AudioManager.entry ? AudioManager.entry.baseUrl : ""
|
||||
textFormat: Text.RichText
|
||||
|
|
|
@ -117,7 +117,7 @@ FocusScope {
|
|||
property string image: AudioManager.entry ? ((desktopPlayerControls.chapterModel.currentChapter && desktopPlayerControls.chapterModel.currentChapter !== undefined) ? desktopPlayerControls.chapterModel.currentChapter.cachedImage : AudioManager.entry.cachedImage) : "no-image"
|
||||
property string blurredImage: AudioManager.entry ? AudioManager.entry.cachedImage : "no-image"
|
||||
property string title: AudioManager.entry ? AudioManager.entry.title : i18n("No Track Title")
|
||||
property string feed: AudioManager.entry ? AudioManager.entry.feed.name : i18n("No Track Loaded")
|
||||
property string feed: AudioManager.entry ? AudioManager.entry.feed.name : i18n("No track loaded")
|
||||
property string authors: AudioManager.entry ? (AudioManager.entry.feed.authors.length !== 0 ? AudioManager.entry.feed.authors[0].name : "") : ""
|
||||
|
||||
implicitHeight: headerBar.handlePosition
|
||||
|
|
|
@ -54,7 +54,7 @@ Kirigami.ScrollablePage {
|
|||
width: Kirigami.Units.gridUnit * 20
|
||||
anchors.centerIn: parent
|
||||
|
||||
text: i18n("No Downloads")
|
||||
text: i18n("No downloads")
|
||||
}
|
||||
|
||||
model: DownloadModel
|
||||
|
|
|
@ -95,7 +95,7 @@ Kirigami.ScrollablePage {
|
|||
width: Kirigami.Units.gridUnit * 20
|
||||
anchors.centerIn: parent
|
||||
|
||||
text: i18n("No Episodes Available")
|
||||
text: i18n("No episodes available")
|
||||
}
|
||||
|
||||
model: EpisodeProxyModel {
|
||||
|
|
|
@ -364,7 +364,7 @@ Kirigami.ScrollablePage {
|
|||
|
||||
width: Kirigami.Units.gridUnit * 20
|
||||
|
||||
text: feed.errorId === 0 ? i18n("No Episodes Available") : i18n("Error (%1): %2", feed.errorId, feed.errorString)
|
||||
text: feed.errorId === 0 ? i18n("No episodes available") : i18n("Error (%1): %2", feed.errorId, feed.errorString)
|
||||
icon.name: feed.errorId === 0 ? "" : "data-error"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@ Addons.SearchPopupField {
|
|||
anchors.fill: parent
|
||||
visible: searchListView.count === 0
|
||||
|
||||
text: i18nc("@info Placeholder text in search box", "No Search Results")
|
||||
text: i18nc("@info Placeholder text in search box", "No search results")
|
||||
}
|
||||
|
||||
Kirigami.Action {
|
||||
|
|
|
@ -154,7 +154,7 @@ Kirigami.Page {
|
|||
}
|
||||
|
||||
Controls.Label {
|
||||
text: AudioManager.entry ? AudioManager.entry.feed.name : i18n("No Podcast Title")
|
||||
text: AudioManager.entry ? AudioManager.entry.feed.name : i18n("No podcast title")
|
||||
elide: Text.ElideRight
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.maximumWidth: parent.width
|
||||
|
@ -186,7 +186,7 @@ Kirigami.Page {
|
|||
Controls.Label {
|
||||
id: text
|
||||
Layout.fillWidth: true
|
||||
text: AudioManager.entry ? AudioManager.entry.adjustedContent(width, font.pixelSize) : i18n("No Track Loaded")
|
||||
text: AudioManager.entry ? AudioManager.entry.adjustedContent(width, font.pixelSize) : i18n("No track loaded")
|
||||
verticalAlignment: Text.AlignTop
|
||||
baseUrl: AudioManager.entry ? AudioManager.entry.baseUrl : ""
|
||||
textFormat: Text.RichText
|
||||
|
@ -220,7 +220,7 @@ Kirigami.Page {
|
|||
width: parent.width
|
||||
anchors.centerIn: parent
|
||||
|
||||
text: i18n("No chapters found.")
|
||||
text: i18n("No chapters found")
|
||||
}
|
||||
|
||||
ListView {
|
||||
|
@ -342,7 +342,7 @@ Kirigami.Page {
|
|||
Controls.ToolTip {
|
||||
visible: parent.hovered
|
||||
delay: Qt.styleHints.mousePressAndHoldInterval
|
||||
text: i18nc("@action:button", "Open Volume Settings")
|
||||
text: i18nc("@action:button", "Open volume settings")
|
||||
}
|
||||
onClicked: {
|
||||
if (volumePopup.visible) {
|
||||
|
@ -372,7 +372,7 @@ Kirigami.Page {
|
|||
Controls.ToolTip {
|
||||
visible: parent.hovered
|
||||
delay: Qt.styleHints.mousePressAndHoldInterval
|
||||
text: i18nc("@action:button", "Toggle Mute")
|
||||
text: i18nc("@action:button", "Toggle mute")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue