|
@@ -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);
|