mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
ChangelogPanel: update layout
shell: remove UpdateService i18n: update ChangelogPanel text
This commit is contained in:
@@ -410,7 +410,7 @@
|
||||
"buttons": {
|
||||
"discord": "Unserem Discord beitreten",
|
||||
"feedback": "Feedback senden",
|
||||
"dismiss": "Verstanden"
|
||||
"dismiss": "Ok"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
@@ -409,7 +409,7 @@
|
||||
},
|
||||
"buttons": {
|
||||
"discord": "Join our Discord",
|
||||
"dismiss": "Got it"
|
||||
"dismiss": "Ok"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
@@ -410,7 +410,7 @@
|
||||
"buttons": {
|
||||
"discord": "Únete a nuestro Discord",
|
||||
"feedback": "Enviar comentarios",
|
||||
"dismiss": "Entendido"
|
||||
"dismiss": "Ok"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
@@ -410,7 +410,7 @@
|
||||
"buttons": {
|
||||
"discord": "Rejoindre notre Discord",
|
||||
"feedback": "Envoyer un retour",
|
||||
"dismiss": "Compris"
|
||||
"dismiss": "Ok"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
@@ -410,7 +410,7 @@
|
||||
"buttons": {
|
||||
"discord": "Word lid van onze Discord",
|
||||
"feedback": "Feedback verzenden",
|
||||
"dismiss": "Begrepen"
|
||||
"dismiss": "Ok"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
@@ -410,7 +410,7 @@
|
||||
"buttons": {
|
||||
"discord": "Entre no nosso Discord",
|
||||
"feedback": "Enviar feedback",
|
||||
"dismiss": "Entendi"
|
||||
"dismiss": "Ok"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
@@ -410,7 +410,7 @@
|
||||
"buttons": {
|
||||
"discord": "Присоединиться к нашему Discord",
|
||||
"feedback": "Отправить отзыв",
|
||||
"dismiss": "Понятно"
|
||||
"dismiss": "Ок"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
@@ -410,7 +410,7 @@
|
||||
"buttons": {
|
||||
"discord": "Discord sunucumuza katıl",
|
||||
"feedback": "Geri bildirim gönder",
|
||||
"dismiss": "Anladım"
|
||||
"dismiss": "Tamam"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
@@ -410,7 +410,7 @@
|
||||
"buttons": {
|
||||
"discord": "Приєднатися до нашого Discord",
|
||||
"feedback": "Надіслати відгук",
|
||||
"dismiss": "Зрозуміло"
|
||||
"dismiss": "Ок"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
@@ -410,7 +410,7 @@
|
||||
"buttons": {
|
||||
"discord": "加入我们的 Discord",
|
||||
"feedback": "发送反馈",
|
||||
"dismiss": "知道了"
|
||||
"dismiss": "确定"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
@@ -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 {
|
||||
Layout.fillWidth: true
|
||||
spacing: Style.marginS
|
||||
@@ -243,6 +217,7 @@ SmartPanel {
|
||||
Layout.fillWidth: true
|
||||
icon: "brand-discord"
|
||||
text: I18n.tr("changelog.panel.buttons.discord")
|
||||
outlined: true
|
||||
onClicked: UpdateService.openDiscord()
|
||||
}
|
||||
|
||||
@@ -259,8 +234,6 @@ SmartPanel {
|
||||
Layout.fillWidth: true
|
||||
icon: "check"
|
||||
text: I18n.tr("changelog.panel.buttons.dismiss")
|
||||
backgroundColor: Color.mSurface
|
||||
textColor: Color.mOnSurface
|
||||
onClicked: root.close()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,10 +47,6 @@ Singleton {
|
||||
|
||||
initialized = true;
|
||||
Logger.i("UpdateService", "Version:", root.currentVersion);
|
||||
|
||||
if (changelogPending) {
|
||||
handleChangelogRequest(changelogFromVersion, changelogToVersion);
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
|
||||
Reference in New Issue
Block a user