Mercurial > minori
diff src/gui/dialog/about.cc @ 224:7ca56c4ac0bc
about: don't abuse QCoreApplication:tr
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 08 Jan 2024 17:05:08 -0500 |
parents | 53211cb1e7f5 |
children | 4d461ef7d424 |
line wrap: on
line diff
--- a/src/gui/dialog/about.cc Mon Jan 08 16:54:16 2024 -0500 +++ b/src/gui/dialog/about.cc Mon Jan 08 17:05:08 2024 -0500 @@ -49,11 +49,11 @@ "<body>" " <h2 style=\"font-weight: normal;\"><strong>Minori</strong> v" + Strings::ToQString(session.version.to_string()) + "</h2>" " <p>" - " <strong>" + QCoreApplication::tr("Author:") + "</strong><br>" + " <strong>" + tr("Author:") + "</strong><br>" " Paper (@mrpapersonic)" " </p>" " <p>" - " <strong>" + QCoreApplication::tr("Third party components:") + "</strong><br>" + " <strong>" + tr("Third party components:") + "</strong><br>" "<a href=\"https://curl.se/\">libcurl v") + get_curl_version() + "</a>" ", " "<a href=\"https://p.yusukekamiyamane.com/\">Fugue Icons v3.5.6</a>" @@ -69,16 +69,16 @@ "<a href=\"https://github.com/pulzed/mINI\">mINI v0.9.14</a>" " </p>" "<span>" - "<strong>" + QCoreApplication::tr("Special thanks:") + "</strong>" + "<strong>" + tr("Special thanks:") + "</strong>" "</span>" " <ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 15px; margin-right: 0px; -qt-list-indent:0;\">" - " <li><strong>Eren Okka</strong> " + QCoreApplication::tr("for creating Taiga") + "</li>" - " <li><strong>Alex Huszagh</strong> " + QCoreApplication::tr("and") + " <strong>Colin Duquesnoy</strong> " + - QCoreApplication::tr("for creating BreezeStyleSheets, on which the dark theme in this program is " + " <li><strong>Eren Okka</strong> " + tr("for creating Taiga") + "</li>" + " <li><strong>Alex Huszagh</strong> " + tr("and") + " <strong>Colin Duquesnoy</strong> " + + tr("for creating BreezeStyleSheets, on which the dark theme in this program is " "based off of") + "</li>" - " <li><strong>Andy Brice</strong> " + QCoreApplication::tr("for providing some sample code for " + " <li><strong>Andy Brice</strong> " + tr("for providing some sample code for " "detecting dark mode on Windows and macOS") + "</li>" - " <li><strong>Manuel Wudka-Robles</strong> " + QCoreApplication::tr("for providing information on " + " <li><strong>Manuel Wudka-Robles</strong> " + tr("for providing information on " "getting open file descriptors on macOS") + "</li>" " </ul>" "</body>";