diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-08-08 00:31:18 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-08 00:31:18 -0700 |
commit | 6fdbf2069df4f238d7966fef67a31cee5c5eddbb (patch) | |
tree | b81cf0e845bdfa5b2622b8478e93ca946cadf1d3 /qt-ui/usersurvey.cpp | |
parent | 9170fbc38324578151000c2ddb09180117fa60e8 (diff) | |
download | subsurface-6fdbf2069df4f238d7966fef67a31cee5c5eddbb.tar.gz |
Don't translate components of the version
When transmitting the Subsurface version string we always want to use the
English terms, not the localized terms.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/usersurvey.cpp')
-rw-r--r-- | qt-ui/usersurvey.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/usersurvey.cpp b/qt-ui/usersurvey.cpp index ff55e8133..0a5973226 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(tr("\nOperating System: %1").arg(SubsurfaceSysInfo::prettyOsName())); + sysInfo.append(QString("\nOperating System: %1").arg(SubsurfaceSysInfo::prettyOsName())); arch = SubsurfaceSysInfo::cpuArchitecture(); - sysInfo.append(tr("\nCPU Architecture: %1").arg(arch)); + sysInfo.append(QString("\nCPU Architecture: %1").arg(arch)); if (arch == "i386") - sysInfo.append(tr("\nOS CPU Architecture: %1").arg(SubsurfaceSysInfo::osArch())); - sysInfo.append(tr("\nLanguage: %1").arg(uiLanguage(NULL))); + sysInfo.append(QString("\nOS CPU Architecture: %1").arg(SubsurfaceSysInfo::osArch())); + sysInfo.append(QString("\nLanguage: %1").arg(uiLanguage(NULL))); return sysInfo; } |