mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-31 02:11:28 +08:00
UI: Remove tabs for About error statements
And change error statements to translation key
This commit is contained in:
@@ -133,8 +133,9 @@ void OBSAbout::ShowAbout()
|
||||
void OBSAbout::ShowAuthors()
|
||||
{
|
||||
std::string path;
|
||||
QString error = "Error! File could not be read.\n\n \
|
||||
Go to: https://github.com/obsproject/obs-studio/blob/master/AUTHORS";
|
||||
QString error =
|
||||
QTStr("About.Error")
|
||||
.arg("https://github.com/obsproject/obs-studio/blob/master/AUTHORS");
|
||||
|
||||
#ifdef __APPLE__
|
||||
if (!GetDataFilePath("AUTHORS", path)) {
|
||||
@@ -160,8 +161,9 @@ void OBSAbout::ShowAuthors()
|
||||
void OBSAbout::ShowLicense()
|
||||
{
|
||||
std::string path;
|
||||
QString error = "Error! File could not be read.\n\n \
|
||||
Go to: https://github.com/obsproject/obs-studio/blob/master/COPYING";
|
||||
QString error =
|
||||
QTStr("About.Error")
|
||||
.arg("https://github.com/obsproject/obs-studio/blob/master/COPYING");
|
||||
|
||||
if (!GetDataFilePath("license/gplv2.txt", path)) {
|
||||
ui->textBrowser->setPlainText(error);
|
||||
|
||||
Reference in New Issue
Block a user