ChangelogPanel: update layout

shell: remove UpdateService
i18n: update ChangelogPanel text
This commit is contained in:
Ly-sec
2025-11-18 01:08:19 +01:00
parent 836029b567
commit 226213457f
13 changed files with 11 additions and 43 deletions
+1 -1
View File
@@ -410,7 +410,7 @@
"buttons": { "buttons": {
"discord": "Unserem Discord beitreten", "discord": "Unserem Discord beitreten",
"feedback": "Feedback senden", "feedback": "Feedback senden",
"dismiss": "Verstanden" "dismiss": "Ok"
} }
}, },
"error": { "error": {
+1 -1
View File
@@ -409,7 +409,7 @@
}, },
"buttons": { "buttons": {
"discord": "Join our Discord", "discord": "Join our Discord",
"dismiss": "Got it" "dismiss": "Ok"
} }
}, },
"error": { "error": {
+1 -1
View File
@@ -410,7 +410,7 @@
"buttons": { "buttons": {
"discord": "Únete a nuestro Discord", "discord": "Únete a nuestro Discord",
"feedback": "Enviar comentarios", "feedback": "Enviar comentarios",
"dismiss": "Entendido" "dismiss": "Ok"
} }
}, },
"error": { "error": {
+1 -1
View File
@@ -410,7 +410,7 @@
"buttons": { "buttons": {
"discord": "Rejoindre notre Discord", "discord": "Rejoindre notre Discord",
"feedback": "Envoyer un retour", "feedback": "Envoyer un retour",
"dismiss": "Compris" "dismiss": "Ok"
} }
}, },
"error": { "error": {
+1 -1
View File
@@ -410,7 +410,7 @@
"buttons": { "buttons": {
"discord": "Word lid van onze Discord", "discord": "Word lid van onze Discord",
"feedback": "Feedback verzenden", "feedback": "Feedback verzenden",
"dismiss": "Begrepen" "dismiss": "Ok"
} }
}, },
"error": { "error": {
+1 -1
View File
@@ -410,7 +410,7 @@
"buttons": { "buttons": {
"discord": "Entre no nosso Discord", "discord": "Entre no nosso Discord",
"feedback": "Enviar feedback", "feedback": "Enviar feedback",
"dismiss": "Entendi" "dismiss": "Ok"
} }
}, },
"error": { "error": {
+1 -1
View File
@@ -410,7 +410,7 @@
"buttons": { "buttons": {
"discord": "Присоединиться к нашему Discord", "discord": "Присоединиться к нашему Discord",
"feedback": "Отправить отзыв", "feedback": "Отправить отзыв",
"dismiss": "Понятно" "dismiss": "Ок"
} }
}, },
"error": { "error": {
+1 -1
View File
@@ -410,7 +410,7 @@
"buttons": { "buttons": {
"discord": "Discord sunucumuza katıl", "discord": "Discord sunucumuza katıl",
"feedback": "Geri bildirim gönder", "feedback": "Geri bildirim gönder",
"dismiss": "Anladım" "dismiss": "Tamam"
} }
}, },
"error": { "error": {
+1 -1
View File
@@ -410,7 +410,7 @@
"buttons": { "buttons": {
"discord": "Приєднатися до нашого Discord", "discord": "Приєднатися до нашого Discord",
"feedback": "Надіслати відгук", "feedback": "Надіслати відгук",
"dismiss": "Зрозуміло" "dismiss": "Ок"
} }
}, },
"error": { "error": {
+1 -1
View File
@@ -410,7 +410,7 @@
"buttons": { "buttons": {
"discord": "加入我们的 Discord", "discord": "加入我们的 Discord",
"feedback": "发送反馈", "feedback": "发送反馈",
"dismiss": "知道了" "dismiss": "确定"
} }
}, },
"error": { "error": {
+1 -28
View File
@@ -209,32 +209,6 @@ SmartPanel {
} }
} }
Rectangle {
Layout.fillWidth: true
color: Qt.alpha(Color.mOnSurfaceVariant, 0.08)
radius: Style.radiusS
border.color: Color.mOutline
border.width: Style.borderS
RowLayout {
anchors.fill: parent
anchors.margins: Style.marginM
spacing: Style.marginS
NIcon {
icon: "palette"
color: Color.mOnSurface
}
NText {
text: I18n.tr("changelog.panel.notes.color-schemes")
color: Color.mOnSurface
wrapMode: Text.WordWrap
Layout.fillWidth: true
}
}
}
RowLayout { RowLayout {
Layout.fillWidth: true Layout.fillWidth: true
spacing: Style.marginS spacing: Style.marginS
@@ -243,6 +217,7 @@ SmartPanel {
Layout.fillWidth: true Layout.fillWidth: true
icon: "brand-discord" icon: "brand-discord"
text: I18n.tr("changelog.panel.buttons.discord") text: I18n.tr("changelog.panel.buttons.discord")
outlined: true
onClicked: UpdateService.openDiscord() onClicked: UpdateService.openDiscord()
} }
@@ -259,8 +234,6 @@ SmartPanel {
Layout.fillWidth: true Layout.fillWidth: true
icon: "check" icon: "check"
text: I18n.tr("changelog.panel.buttons.dismiss") text: I18n.tr("changelog.panel.buttons.dismiss")
backgroundColor: Color.mSurface
textColor: Color.mOnSurface
onClicked: root.close() onClicked: root.close()
} }
} }
-4
View File
@@ -47,10 +47,6 @@ Singleton {
initialized = true; initialized = true;
Logger.i("UpdateService", "Version:", root.currentVersion); Logger.i("UpdateService", "Version:", root.currentVersion);
if (changelogPending) {
handleChangelogRequest(changelogFromVersion, changelogToVersion);
}
} }
Connections { Connections {
-1
View File
@@ -80,7 +80,6 @@ ShellRoot {
PowerProfileService.init(); PowerProfileService.init();
HostService.init(); HostService.init();
FontService.init(); FontService.init();
UpdateService.init();
// Only open the setup wizard for new users // Only open the setup wizard for new users
if (!Settings.data.setupCompleted) { if (!Settings.data.setupCompleted) {