WIP Lib version 2.39.1

This commit is contained in:
BONNEVILLE Geoffroy
2018-05-22 18:27:44 +02:00
parent 0b95669db0
commit ad02740d8a
43 changed files with 1469 additions and 522 deletions

View File

@@ -55,18 +55,18 @@ namespace ModernKeePassLib
/// e.g. 2.19 = 0x02130000.
/// It is highly recommended to use <c>FileVersion64</c> instead.
/// </summary>
public const uint Version32 = 0x02260000;
public const uint Version32 = 0x02270100;
/// <summary>
/// Version, encoded as 64-bit unsigned integer
/// (component-wise, 16 bits per component).
/// </summary>
public const ulong FileVersion64 = 0x0002002600000000UL;
public const ulong FileVersion64 = 0x0002002700010000UL;
/// <summary>
/// Version, encoded as string.
/// </summary>
public const string VersionString = "2.38";
public const string VersionString = "2.39.1";
public const string Copyright = @"Copyright © 2003-2018 Dominik Reichl";
@@ -219,6 +219,15 @@ namespace ModernKeePassLib
return (pe.Strings.ReadSafe(PwDefs.TitleField) == TanTitle);
}
internal static string GetTranslationDisplayVersion(string strFileVersion)
{
if(strFileVersion == null) { Debug.Assert(false); return string.Empty; }
if(strFileVersion == "2.39") return "2.39 / 2.39.1";
return strFileVersion;
}
}
// #pragma warning disable 1591 // Missing XML comments warning