提交 c7eaee63 编写于 作者: M Matt Gajownik

UI: Add description to Log Reply window

上级 c878bfcb
......@@ -333,6 +333,8 @@ Output.BadPath.Text="The configured file output path is invalid. Please check yo
# log upload dialog text and messages
LogReturnDialog="Log Upload Successful"
LogReturnDialog.Description="Your log file has been uploaded. You can now share the URL for debugging or support purposes."
LogReturnDialog.Description.Crash="Your crash report has been uploaded. You can now share the URL for debugging purposes."
LogReturnDialog.CopyURL="Copy URL"
LogReturnDialog.ErrorUploadingLog="Error uploading log file"
......
......@@ -14,6 +14,13 @@
<string>LogReturnDialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="description">
<property name="text">
<string>LogReturnDialog.Description</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
......
......@@ -25,9 +25,12 @@ OBSLogReply::OBSLogReply(QWidget *parent, const QString &url, const bool crash)
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
ui->setupUi(this);
ui->urlEdit->setText(url);
if (crash) {
ui->description->setText(
Str("LogReturnDialog.Description.Crash"));
}
installEventFilter(CreateShortcutFilter());
UNUSED_PARAMETER(crash);
}
void OBSLogReply::on_copyURL_clicked()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册