summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--installer/opentrack-installer.iss4
-rw-r--r--opentrack/lang/nl_NL.ts27
-rw-r--r--opentrack/lang/ru_RU.ts27
-rw-r--r--opentrack/lang/stub.ts27
-rw-r--r--opentrack/lang/zh_CN.ts27
-rw-r--r--opentrack/main-window.cpp3
6 files changed, 111 insertions, 4 deletions
diff --git a/installer/opentrack-installer.iss b/installer/opentrack-installer.iss
index 469192f7..01478557 100644
--- a/installer/opentrack-installer.iss
+++ b/installer/opentrack-installer.iss
@@ -3,9 +3,9 @@
#include "../build/opentrack-version.hxx"
#define MyAppName "TrackHat opentrack v3"
-#define MyAppVersion "TrackHat opentrack v3.0b"
+#define MyAppVersion OPENTRACK_VERSION
#define MyAppPublisher "TrackHat"
-#define MyAppURL "http://github.com/opentrack/opentrack"
+#define MyAppURL "https://www.trackhat.org/trackhat-opentrack"
#define MyAppExeName "opentrack.exe"
[Setup]
diff --git a/opentrack/lang/nl_NL.ts b/opentrack/lang/nl_NL.ts
index b0e0072a..aad3532b 100644
--- a/opentrack/lang/nl_NL.ts
+++ b/opentrack/lang/nl_NL.ts
@@ -13,6 +13,33 @@
</message>
</context>
<context>
+ <name>UpdateDialog</name>
+ <message>
+ <source>Dialog</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Software update released</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Current version:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>TextLabel</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Released version:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Don&apos;t remind me again about this version</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
<name>main_window</name>
<message>
<source>Profile</source>
diff --git a/opentrack/lang/ru_RU.ts b/opentrack/lang/ru_RU.ts
index 6f202f4f..3a0cad0d 100644
--- a/opentrack/lang/ru_RU.ts
+++ b/opentrack/lang/ru_RU.ts
@@ -13,6 +13,33 @@
</message>
</context>
<context>
+ <name>UpdateDialog</name>
+ <message>
+ <source>Dialog</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Software update released</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Current version:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>TextLabel</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Released version:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Don&apos;t remind me again about this version</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
<name>main_window</name>
<message>
<source>Create new empty config</source>
diff --git a/opentrack/lang/stub.ts b/opentrack/lang/stub.ts
index cef43cb3..de72e075 100644
--- a/opentrack/lang/stub.ts
+++ b/opentrack/lang/stub.ts
@@ -13,6 +13,33 @@
</message>
</context>
<context>
+ <name>UpdateDialog</name>
+ <message>
+ <source>Dialog</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Software update released</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Current version:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>TextLabel</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Released version:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Don&apos;t remind me again about this version</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
<name>main_window</name>
<message>
<source>Profile</source>
diff --git a/opentrack/lang/zh_CN.ts b/opentrack/lang/zh_CN.ts
index cfeb5f3e..bdd69ff8 100644
--- a/opentrack/lang/zh_CN.ts
+++ b/opentrack/lang/zh_CN.ts
@@ -13,6 +13,33 @@
</message>
</context>
<context>
+ <name>UpdateDialog</name>
+ <message>
+ <source>Dialog</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Software update released</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Current version:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>TextLabel</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Released version:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Don&apos;t remind me again about this version</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
<name>main_window</name>
<message>
<source>Profile</source>
diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp
index 896247c4..3e60b7a3 100644
--- a/opentrack/main-window.cpp
+++ b/opentrack/main-window.cpp
@@ -588,8 +588,7 @@ void main_window::show_pose_(const double* mapped, const double* raw)
void main_window::set_title(const QString& game_title)
{
- //static const QString version{opentrack_version};
- static const QString version = "TrackHat opentrack v3";
+ static const QString version{opentrack_version};
static const QString sep { tr(" :: ") };
static const QString pat1{ version + sep + "%1" + sep + "%2" };
static const QString pat2{ version + sep + "%1" };