ide, licensing: Not prefixing 'unknown' version with a v; More strings to internation...
authorJerome St-Louis <jerome@ecere.com>
Tue, 11 Mar 2014 05:04:43 +0000 (01:04 -0400)
committerJerome St-Louis <jerome@ecere.com>
Tue, 11 Mar 2014 05:04:43 +0000 (01:04 -0400)
ide/src/about.ec
ide/src/licensing.ec

index 44e383f..5d8f196 100644 (file)
@@ -34,7 +34,7 @@ class AboutIDE : Window
       occ = strpbrk(shortVersion, "-+( ");
       if(occ) *occ = '\0';
       message = PrintString(
-            "Ecere Software Development Kit v", shortVersion, " \"Ryōan-ji\"" X64STRING "\n"
+            "Ecere Software Development Kit ", strcmp(shortVersion, "unknown") ? "v" : "", shortVersion, " \"Ryōan-ji\"" X64STRING "\n"
             "Build " REPOSITORY_VERSION "\n"
             "Copyright © 2005-2014 Ecere Corporation\n"
             "Copyright © 1996-2014 Jérôme Jacovella-St-Louis");
index c4b9396..ff880e9 100644 (file)
@@ -35,7 +35,7 @@ class LicenseTab : Tab
 
 class LicensesForm : Window
 {
-   caption = "License Agreements";
+   caption = $"License Agreements";
    background = formColor;
    borderStyle = sizable;
    hasClose = true;
@@ -50,12 +50,12 @@ class LicensesForm : Window
    Label label1
    {
       this, anchor = { top = 16 }, font = { "Tahoma", 10, true };
-      caption = "This program is based on these free open source software components.";
+      caption = $"This program is based on these free open source software components.";
    };
    Label label2
    {
       this, anchor = { top = 32 }, font = { "Tahoma", 10, true };
-      caption = "By using it you agree to the terms and conditions of their individual licenses.";
+      caption = $"By using it you agree to the terms and conditions of their individual licenses.";
    };
    LicenseTab ecereTab
    {