This commit is contained in:
朱子楚\zhuzi
2024-03-09 15:35:48 +08:00
parent 2a03f24941
commit 7c0c4cc451
167 changed files with 7567 additions and 1816 deletions

View File

@ -8,7 +8,7 @@ import "../component"
FluWindow {
id:window
title:"友情提示"
title: qsTr("Friendly Reminder")
width: 300
height: 400
fixSize: true
@ -37,11 +37,15 @@ FluWindow {
FluText{
id:text_info
anchors{
horizontalCenter: parent.horizontalCenter
top: parent.top
topMargin: 240
left: parent.left
right: parent.right
leftMargin: 10
rightMargin: 10
}
text:"发生意外错误\n给您带来的不便我们深表歉意"
wrapMode: Text.WordWrap
text: qsTr("We apologize for the inconvenience caused by an unexpected error")
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
@ -53,7 +57,7 @@ FluWindow {
bottomMargin: 20
}
FluButton{
text:"日志上报"
text: qsTr("Report Logs")
onClicked: {
FluTools.showFileInFolder(crashFilePath)
}
@ -63,7 +67,7 @@ FluWindow {
height: 1
}
FluFilledButton{
text:"重启程序"
text: qsTr("Restart Program")
onClicked: {
FluApp.exit(931)
}