Uses resx string and added updated some properties.

This commit is contained in:
soukoku
2014-04-17 07:11:39 -04:00
parent a91d5aa4f2
commit b6ee9dfed9
12 changed files with 349 additions and 188 deletions

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18034
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -61,11 +61,29 @@ namespace NTwain.Properties {
}
/// <summary>
/// Looks up a localized string similar to The specified container type does not match the data..
/// Looks up a localized string similar to Invalid value type for {0}..
/// </summary>
internal static string BadContainerType {
internal static string BadValueType {
get {
return ResourceManager.GetString("BadContainerType", resourceCulture);
return ResourceManager.GetString("BadValueType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Capability has invalid container type {0}..
/// </summary>
internal static string CapHasBadContainer {
get {
return ResourceManager.GetString("CapHasBadContainer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Capability contains no data..
/// </summary>
internal static string CapHasNoData {
get {
return ResourceManager.GetString("CapHasNoData", resourceCulture);
}
}
@@ -77,5 +95,32 @@ namespace NTwain.Properties {
return ResourceManager.GetString("MaxStringLengthExceeded", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Failed to allocate requested memory..
/// </summary>
internal static string MemAllocError {
get {
return ResourceManager.GetString("MemAllocError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Message loop has not started yet..
/// </summary>
internal static string MsgLoopUnavailble {
get {
return ResourceManager.GetString("MsgLoopUnavailble", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Source name is required..
/// </summary>
internal static string SourceRequired {
get {
return ResourceManager.GetString("SourceRequired", resourceCulture);
}
}
}
}

View File

@@ -117,10 +117,25 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="BadContainerType" xml:space="preserve">
<value>The specified container type does not match the data.</value>
<data name="BadValueType" xml:space="preserve">
<value>Invalid value type for {0}.</value>
</data>
<data name="CapHasBadContainer" xml:space="preserve">
<value>Capability has invalid container type {0}.</value>
</data>
<data name="CapHasNoData" xml:space="preserve">
<value>Capability contains no data.</value>
</data>
<data name="MaxStringLengthExceeded" xml:space="preserve">
<value>The string value has exceeded the maximum length allowed.</value>
</data>
<data name="MemAllocError" xml:space="preserve">
<value>Failed to allocate requested memory.</value>
</data>
<data name="MsgLoopUnavailble" xml:space="preserve">
<value>Message loop has not started yet.</value>
</data>
<data name="SourceRequired" xml:space="preserve">
<value>Source name is required.</value>
</data>
</root>

View File

@@ -14,6 +14,6 @@ namespace NTwain
// keep this same in majors releases
public const string Release = "0.11.0.0";
// change this for each nuget release
public const string Build = "0.11.2";
public const string Build = "0.11.3";
}
}