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": {
|
"buttons": {
|
||||||
"discord": "Unserem Discord beitreten",
|
"discord": "Unserem Discord beitreten",
|
||||||
"feedback": "Feedback senden",
|
"feedback": "Feedback senden",
|
||||||
"dismiss": "Verstanden"
|
"dismiss": "Ok"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
|
|||||||
@@ -409,7 +409,7 @@
|
|||||||
},
|
},
|
||||||
"buttons": {
|
"buttons": {
|
||||||
"discord": "Join our Discord",
|
"discord": "Join our Discord",
|
||||||
"dismiss": "Got it"
|
"dismiss": "Ok"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
@@ -410,7 +410,7 @@
|
|||||||
"buttons": {
|
"buttons": {
|
||||||
"discord": "Присоединиться к нашему Discord",
|
"discord": "Присоединиться к нашему Discord",
|
||||||
"feedback": "Отправить отзыв",
|
"feedback": "Отправить отзыв",
|
||||||
"dismiss": "Понятно"
|
"dismiss": "Ок"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
@@ -410,7 +410,7 @@
|
|||||||
"buttons": {
|
"buttons": {
|
||||||
"discord": "Приєднатися до нашого Discord",
|
"discord": "Приєднатися до нашого Discord",
|
||||||
"feedback": "Надіслати відгук",
|
"feedback": "Надіслати відгук",
|
||||||
"dismiss": "Зрозуміло"
|
"dismiss": "Ок"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
|
|||||||
@@ -410,7 +410,7 @@
|
|||||||
"buttons": {
|
"buttons": {
|
||||||
"discord": "加入我们的 Discord",
|
"discord": "加入我们的 Discord",
|
||||||
"feedback": "发送反馈",
|
"feedback": "发送反馈",
|
||||||
"dismiss": "知道了"
|
"dismiss": "确定"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"error": {
|
"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 {
|
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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user