diff --git a/UI/data/locale/en-US.ini b/UI/data/locale/en-US.ini index a651c619e..d77475f47 100644 --- a/UI/data/locale/en-US.ini +++ b/UI/data/locale/en-US.ini @@ -1369,6 +1369,7 @@ About.Donate="Make a Contribution" About.GetInvolved="Get Involved" About.Authors="Authors" About.License="License" +About.Error="Error! File could not be read.\n\nGo to: %1" About.Contribute="Support the OBS Project" # Drag-drop URL diff --git a/UI/window-basic-about.cpp b/UI/window-basic-about.cpp index 2bbc216aa..90e146d34 100644 --- a/UI/window-basic-about.cpp +++ b/UI/window-basic-about.cpp @@ -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);