From e260433c7aedb10aa1585a31159cbec51b4c12aa Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Mon, 22 Jul 2024 18:58:18 +0200 Subject: [PATCH] settings: Remove translatable --- src/settings/appearancesettingspage.ui | 29 +++++++++------ src/settings/backendsettingspage.ui | 35 +++++++++++------- src/settings/contextsettingspage.ui | 40 ++++++++++++++------- src/settings/coverssettingspage.ui | 17 ++++----- src/settings/moodbarsettingspage.ui | 8 +++-- src/settings/networkproxysettingspage.ui | 21 ++++++++--- src/settings/notificationssettingspage.ui | 18 ++++++---- src/settings/qobuzsettingspage.ui | 33 +++++++++++++---- src/settings/spotifysettingspage.ui | 18 ++++++---- src/settings/tidalsettingspage.ui | 43 ++++++++++++++++++----- 10 files changed, 180 insertions(+), 82 deletions(-) diff --git a/src/settings/appearancesettingspage.ui b/src/settings/appearancesettingspage.ui index ed4d35a03..3b47de156 100644 --- a/src/settings/appearancesettingspage.ui +++ b/src/settings/appearancesettingspage.ui @@ -30,12 +30,16 @@ - + + + + + - Qt::Horizontal + Qt::Orientation::Horizontal @@ -109,7 +113,7 @@ false - + @@ -169,6 +173,9 @@ false + + + @@ -266,7 +273,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -318,7 +325,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -352,10 +359,10 @@ 100 - Qt::Horizontal + Qt::Orientation::Horizontal - QSlider::TicksBelow + QSlider::TickPosition::TicksBelow 10 @@ -388,10 +395,10 @@ 10 - Qt::Horizontal + Qt::Orientation::Horizontal - QSlider::TicksBelow + QSlider::TickPosition::TicksBelow 10 @@ -528,7 +535,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -585,7 +592,7 @@ - Qt::Vertical + Qt::Orientation::Vertical diff --git a/src/settings/backendsettingspage.ui b/src/settings/backendsettingspage.ui index 041435b4a..3b14fc9d7 100644 --- a/src/settings/backendsettingspage.ui +++ b/src/settings/backendsettingspage.ui @@ -50,6 +50,9 @@ false + + + @@ -64,6 +67,9 @@ false + + + @@ -71,6 +77,9 @@ false + + + @@ -140,7 +149,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -181,7 +190,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -273,7 +282,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -384,7 +393,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -397,7 +406,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -410,7 +419,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -434,7 +443,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -550,7 +559,7 @@ 600 - Qt::Horizontal + Qt::Orientation::Horizontal 600 @@ -583,7 +592,7 @@ 600 - Qt::Horizontal + Qt::Orientation::Horizontal 600 @@ -669,7 +678,7 @@ -230 - Qt::Horizontal + Qt::Orientation::Horizontal -230 @@ -774,7 +783,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -825,7 +834,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -843,7 +852,7 @@ - Qt::Vertical + Qt::Orientation::Vertical diff --git a/src/settings/contextsettingspage.ui b/src/settings/contextsettingspage.ui index 85ba6fb90..2bb404a29 100644 --- a/src/settings/contextsettingspage.ui +++ b/src/settings/contextsettingspage.ui @@ -23,10 +23,10 @@ - QFrame::NoFrame + QFrame::Shape::NoFrame - QFrame::Plain + QFrame::Shadow::Plain 0 @@ -50,10 +50,10 @@ - QFrame::NoFrame + QFrame::Shape::NoFrame - QFrame::Plain + QFrame::Shadow::Plain 0 @@ -68,7 +68,7 @@ - %title - %artist% + %title - %artist% @@ -99,7 +99,7 @@ - %album% + %album% @@ -128,10 +128,10 @@ - QFrame::NoFrame + QFrame::Shape::NoFrame - QFrame::Plain + QFrame::Shadow::Plain 0 @@ -242,7 +242,11 @@ - + + + + + @@ -254,7 +258,10 @@ - Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + Qt::TextInteractionFlag::TextSelectableByKeyboard|Qt::TextInteractionFlag::TextSelectableByMouse + + + @@ -275,7 +282,11 @@ - + + + + + @@ -313,7 +324,10 @@ - Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + Qt::TextInteractionFlag::TextSelectableByKeyboard|Qt::TextInteractionFlag::TextSelectableByMouse + + + @@ -323,7 +337,7 @@ - Qt::Vertical + Qt::Orientation::Vertical diff --git a/src/settings/coverssettingspage.ui b/src/settings/coverssettingspage.ui index 50f0fc3c1..96d262c18 100644 --- a/src/settings/coverssettingspage.ui +++ b/src/settings/coverssettingspage.ui @@ -66,7 +66,7 @@ - Qt::Vertical + Qt::Orientation::Vertical @@ -126,7 +126,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -176,7 +176,7 @@ - Qt::Vertical + Qt::Orientation::Vertical @@ -268,7 +268,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -284,7 +284,7 @@ - %albumartist-%album + %albumartist-%album @@ -318,7 +318,7 @@ - Qt::Vertical + Qt::Orientation::Vertical @@ -338,9 +338,6 @@ 1 - - - - + diff --git a/src/settings/moodbarsettingspage.ui b/src/settings/moodbarsettingspage.ui index ab2271c06..1b3195e11 100644 --- a/src/settings/moodbarsettingspage.ui +++ b/src/settings/moodbarsettingspage.ui @@ -35,7 +35,11 @@ - + + + + + @@ -54,7 +58,7 @@ - Qt::Vertical + Qt::Orientation::Vertical diff --git a/src/settings/networkproxysettingspage.ui b/src/settings/networkproxysettingspage.ui index 4c3e6432a..47ee4c747 100644 --- a/src/settings/networkproxysettingspage.ui +++ b/src/settings/networkproxysettingspage.ui @@ -64,7 +64,11 @@ - + + + + + @@ -98,7 +102,7 @@ - QFormLayout::AllNonFixedFieldsGrow + QFormLayout::FieldGrowthPolicy::AllNonFixedFieldsGrow @@ -108,7 +112,11 @@ - + + + + + @@ -119,8 +127,11 @@ + + + - QLineEdit::Password + QLineEdit::EchoMode::Password @@ -140,7 +151,7 @@ - Qt::Vertical + Qt::Orientation::Vertical diff --git a/src/settings/notificationssettingspage.ui b/src/settings/notificationssettingspage.ui index 6d9b0f9c4..6906e0d06 100644 --- a/src/settings/notificationssettingspage.ui +++ b/src/settings/notificationssettingspage.ui @@ -159,10 +159,10 @@ - QFrame::NoFrame + QFrame::Shape::NoFrame - QFrame::Plain + QFrame::Shadow::Plain 0 @@ -209,10 +209,10 @@ - QFrame::NoFrame + QFrame::Shape::NoFrame - QFrame::Plain + QFrame::Shadow::Plain 0 @@ -229,6 +229,9 @@ false + + + @@ -263,6 +266,9 @@ false + + + @@ -293,7 +299,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -364,7 +370,7 @@ - Qt::Vertical + Qt::Orientation::Vertical diff --git a/src/settings/qobuzsettingspage.ui b/src/settings/qobuzsettingspage.ui index 82d14b285..9f005da5e 100644 --- a/src/settings/qobuzsettingspage.ui +++ b/src/settings/qobuzsettingspage.ui @@ -60,7 +60,11 @@ - + + + + + @@ -72,7 +76,11 @@ - + + + + + @@ -85,8 +93,11 @@ + + + - QLineEdit::Password + QLineEdit::EchoMode::Password @@ -98,7 +109,11 @@ - + + + + + @@ -127,7 +142,11 @@ - + + + + + @@ -235,7 +254,7 @@ - Qt::Vertical + Qt::Orientation::Vertical @@ -250,7 +269,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal diff --git a/src/settings/spotifysettingspage.ui b/src/settings/spotifysettingspage.ui index 7ed6b689a..ca22fa353 100644 --- a/src/settings/spotifysettingspage.ui +++ b/src/settings/spotifysettingspage.ui @@ -68,13 +68,20 @@ + + + - QLineEdit::Password + QLineEdit::EchoMode::Password - + + + + + @@ -119,7 +126,7 @@ <html><head/><body><p>The GStreamer Spotify plugin is not detected, you will not be able to stream songs from Spotify without it. See: <a href="https://github.com/strawberrymusicplayer/strawberry/wiki/GStreamer-Spotify-plugin"><span style=" text-decoration: underline; color:#0000ff;">https://github.com/strawberrymusicplayer/strawberry/wiki/GStreamer-Spotify-plugin</span></a> for instructions on how to install the plugin.</p></body></html> - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop true @@ -247,7 +254,7 @@ - Qt::Vertical + Qt::Orientation::Vertical @@ -262,7 +269,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -314,7 +321,6 @@ checkbox_fetchalbums - diff --git a/src/settings/tidalsettingspage.ui b/src/settings/tidalsettingspage.ui index 51ff02ca1..2c26b6f95 100644 --- a/src/settings/tidalsettingspage.ui +++ b/src/settings/tidalsettingspage.ui @@ -67,7 +67,11 @@ - + + + + + @@ -90,6 +94,9 @@ 0 + + + @@ -102,7 +109,11 @@ - + + + + + @@ -115,8 +126,11 @@ + + + - QLineEdit::Password + QLineEdit::EchoMode::Password @@ -147,7 +161,11 @@ - + + + + + @@ -237,7 +255,11 @@ - + + + + + @@ -267,7 +289,11 @@ - + + + + + @@ -282,7 +308,7 @@ - Qt::Vertical + Qt::Orientation::Vertical @@ -297,7 +323,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -357,7 +383,6 @@ streamurl -