# HG changeset patch # User Wuzzy <Wuzzy2@mail.ru> # Date 1544732736 -3600 # Node ID 5b5aff91cebbecc9f2397eccccf732f1e0540a07 # Parent e64b9ea24cd8f2712b885c0408b03e250195d52c Make captions in credits translatable, too diff -r e64b9ea24cd8 -r 5b5aff91cebb QTfrontend/ui/widget/about.cpp --- a/QTfrontend/ui/widget/about.cpp Thu Dec 13 21:19:17 2018 +0100 +++ b/QTfrontend/ui/widget/about.cpp Thu Dec 13 21:25:36 2018 +0100 @@ -151,14 +151,14 @@ // section if (!firstSection) out = out + "</ul>\n"; - out = out + "<h2>" + task + "</h2>\n<ul>\n"; + out = out + "<h2>" + HWApplication::translate("credits", task.toLatin1().constData()) + "</h2>\n<ul>\n"; firstSection = false; } else if(type == "U") { // subsection out = out + "</ul>\n"; - out = out + "<h3>" + task + "</h3>\n<ul>\n"; + out = out + "<h3>" + HWApplication::translate("credits", task.toLatin1().constData()) + "</h3>\n<ul>\n"; } else if(type == "M") {