summaryrefslogtreecommitdiffstats
path: root/qt-ui/usersurvey.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-08 10:42:39 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-08 10:44:06 -0700
commita9f59c0cb3c1aa038a1d0c035d47130ddba58beb (patch)
treea75b3ef63356f4a454524f6a607cf9f0d8791869 /qt-ui/usersurvey.cpp
parent4a125384ac9e331130b20301a8f43687431189a1 (diff)
downloadsubsurface-a9f59c0cb3c1aa038a1d0c035d47130ddba58beb.tar.gz
Revert "Don't translate components of the version"
This reverts commit 6fdbf2069df4f238d7966fef67a31cee5c5eddbb. That was actually the wrong thing to do, now that I think about it. Instead we should show the translated version on screen and send a compact, easy to parse variation of this as the User-Agent header. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/usersurvey.cpp')
-rw-r--r--qt-ui/usersurvey.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/usersurvey.cpp b/qt-ui/usersurvey.cpp
index 0a5973226..ff55e8133 100644
--- a/qt-ui/usersurvey.cpp
+++ b/qt-ui/usersurvey.cpp
@@ -38,12 +38,12 @@ QString UserSurvey::getVersion()
QString arch;
// fill in the system data
QString sysInfo = QString("Subsurface %1").arg(VERSION_STRING);
- sysInfo.append(QString("\nOperating System: %1").arg(SubsurfaceSysInfo::prettyOsName()));
+ sysInfo.append(tr("\nOperating System: %1").arg(SubsurfaceSysInfo::prettyOsName()));
arch = SubsurfaceSysInfo::cpuArchitecture();
- sysInfo.append(QString("\nCPU Architecture: %1").arg(arch));
+ sysInfo.append(tr("\nCPU Architecture: %1").arg(arch));
if (arch == "i386")
- sysInfo.append(QString("\nOS CPU Architecture: %1").arg(SubsurfaceSysInfo::osArch()));
- sysInfo.append(QString("\nLanguage: %1").arg(uiLanguage(NULL)));
+ sysInfo.append(tr("\nOS CPU Architecture: %1").arg(SubsurfaceSysInfo::osArch()));
+ sysInfo.append(tr("\nLanguage: %1").arg(uiLanguage(NULL)));
return sysInfo;
}