Use absolute locations in translation files (#288)

They provide context when using Qt Liguist, as it shows the source code where it is being used.

Also replaced QT (capital T) with Qt, as the latter is the correct name.
This commit is contained in:
Alfredo Ramos
2018-07-27 17:03:02 -05:00
committed by Dharkael
parent fd99234bba
commit 228c4f15e5
13 changed files with 212 additions and 46 deletions

View File

@@ -115,7 +115,7 @@ void InfoWindow::initLabels() {
QLabel *versionTitleLabel = new QLabel(tr("<u><b>Version</b></u>"), this);
versionTitleLabel->setAlignment(Qt::AlignHCenter);
m_layout->addWidget(versionTitleLabel);
QString versionMsg = "Flameshot " + QString(APP_VERSION) + "\nCompiled with QT "
QString versionMsg = "Flameshot " + QString(APP_VERSION) + "\nCompiled with Qt "
+ QT_VERSION_STR;
QLabel *versionLabel = new QLabel(versionMsg, this);
versionLabel->setAlignment(Qt::AlignHCenter);