UI: Remove tabs for About error statements
And change error statements to translation key
This commit is contained in:
parent
3c28d3a2bc
commit
e1b02e5b8a
2 changed files with 7 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue