Index: Application/Ringtoets/src/Application.Ringtoets.Migration/Properties/Resources.Designer.cs
===================================================================
diff -u -r214922706cd2559757df5b96982bd99cf0fe9cfa -r5af53bf87a1ba736d10a3ec77637d26716d507f3
--- Application/Ringtoets/src/Application.Ringtoets.Migration/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 214922706cd2559757df5b96982bd99cf0fe9cfa)
+++ Application/Ringtoets/src/Application.Ringtoets.Migration/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 5af53bf87a1ba736d10a3ec77637d26716d507f3)
@@ -183,5 +183,14 @@
return ResourceManager.GetString("Migration_4_171", resourceCulture);
}
}
+
+ ///
+ /// Looks up a localized string similar to Het bestand '{0}' is moet een geldig Ringtoets database bestand zijn..
+ ///
+ public static string RingtoetsDatabaseSourceFile_Invalid_Ringtoets_File_Path_0 {
+ get {
+ return ResourceManager.GetString("RingtoetsDatabaseSourceFile_Invalid_Ringtoets_File_Path_0", resourceCulture);
+ }
+ }
}
}
Index: Application/Ringtoets/src/Application.Ringtoets.Migration/Properties/Resources.resx
===================================================================
diff -u -r214922706cd2559757df5b96982bd99cf0fe9cfa -r5af53bf87a1ba736d10a3ec77637d26716d507f3
--- Application/Ringtoets/src/Application.Ringtoets.Migration/Properties/Resources.resx (.../Resources.resx) (revision 214922706cd2559757df5b96982bd99cf0fe9cfa)
+++ Application/Ringtoets/src/Application.Ringtoets.Migration/Properties/Resources.resx (.../Resources.resx) (revision 5af53bf87a1ba736d10a3ec77637d26716d507f3)
@@ -130,4 +130,7 @@
..\Resources\Migration_4_17.0.sql;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252
+
+ Het bestand '{0}' is moet een geldig Ringtoets database bestand zijn.
+
\ No newline at end of file
Index: Application/Ringtoets/src/Application.Ringtoets.Migration/RingtoetsDatabaseSourceFile.cs
===================================================================
diff -u -r090bf03ca13a96b9e7c0a71b89f6853c303f7c02 -r5af53bf87a1ba736d10a3ec77637d26716d507f3
--- Application/Ringtoets/src/Application.Ringtoets.Migration/RingtoetsDatabaseSourceFile.cs (.../RingtoetsDatabaseSourceFile.cs) (revision 090bf03ca13a96b9e7c0a71b89f6853c303f7c02)
+++ Application/Ringtoets/src/Application.Ringtoets.Migration/RingtoetsDatabaseSourceFile.cs (.../RingtoetsDatabaseSourceFile.cs) (revision 5af53bf87a1ba736d10a3ec77637d26716d507f3)
@@ -21,10 +21,10 @@
using System;
using System.Data;
+using Application.Ringtoets.Migration.Properties;
using Core.Common.Base.Storage;
using Core.Common.IO.Exceptions;
using Core.Common.IO.Readers;
-using Migration.Scripts.Data.Properties;
namespace Application.Ringtoets.Migration
{
Index: Application/Ringtoets/src/Application.Ringtoets.MigrationConsole/Properties/Resources.Designer.cs
===================================================================
diff -u -r18607ec1398cf284f9126c36558b2c6b49f61880 -r5af53bf87a1ba736d10a3ec77637d26716d507f3
--- Application/Ringtoets/src/Application.Ringtoets.MigrationConsole/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 18607ec1398cf284f9126c36558b2c6b49f61880)
+++ Application/Ringtoets/src/Application.Ringtoets.MigrationConsole/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 5af53bf87a1ba736d10a3ec77637d26716d507f3)
@@ -82,15 +82,6 @@
}
///
- /// Looks up a localized string similar to Er is een verkeerd aantal parameters opgegeven voor de opdracht '{0}'.
- ///
- internal static string Command_0_Incorrect_number_of_parameters {
- get {
- return ResourceManager.GetString("Command_0_Incorrect_number_of_parameters", resourceCulture);
- }
- }
-
- ///
/// Looks up a localized string similar to Geef het hulp menu weer..
///
internal static string CommandHelp_Command_0_Detailed {
@@ -152,14 +143,5 @@
return ResourceManager.GetString("CommandSupported_Detailed", resourceCulture);
}
}
-
- ///
- /// Looks up a localized string similar to Het besturingssysteem geeft de volgende melding: {0}.
- ///
- internal static string Message_Inner_Exception_0 {
- get {
- return ResourceManager.GetString("Message_Inner_Exception_0", resourceCulture);
- }
- }
}
}
Index: Application/Ringtoets/src/Application.Ringtoets.MigrationConsole/Properties/Resources.resx
===================================================================
diff -u -r18607ec1398cf284f9126c36558b2c6b49f61880 -r5af53bf87a1ba736d10a3ec77637d26716d507f3
--- Application/Ringtoets/src/Application.Ringtoets.MigrationConsole/Properties/Resources.resx (.../Resources.resx) (revision 18607ec1398cf284f9126c36558b2c6b49f61880)
+++ Application/Ringtoets/src/Application.Ringtoets.MigrationConsole/Properties/Resources.resx (.../Resources.resx) (revision 5af53bf87a1ba736d10a3ec77637d26716d507f3)
@@ -138,10 +138,4 @@
RINGTOETSBESTANDSPAD is het bestandspad naar het Ringtoetsdatabase bestand waarvan de versie gevalideerd moet worden.
-
- Er is een verkeerd aantal parameters opgegeven voor de opdracht '{0}'
-
-
- Het besturingssysteem geeft de volgende melding: {0}
-
\ No newline at end of file
Index: Application/Ringtoets/src/Application.Ringtoets.MigrationConsole/RingtoetsMigrationTool.cs
===================================================================
diff -u -raf53f335d0fa6920f7a5c4ab27b112bae9eeaede -r5af53bf87a1ba736d10a3ec77637d26716d507f3
--- Application/Ringtoets/src/Application.Ringtoets.MigrationConsole/RingtoetsMigrationTool.cs (.../RingtoetsMigrationTool.cs) (revision af53f335d0fa6920f7a5c4ab27b112bae9eeaede)
+++ Application/Ringtoets/src/Application.Ringtoets.MigrationConsole/RingtoetsMigrationTool.cs (.../RingtoetsMigrationTool.cs) (revision 5af53bf87a1ba736d10a3ec77637d26716d507f3)
@@ -25,6 +25,7 @@
using Application.Ringtoets.MigrationConsole.Properties;
using Migration.Console;
using Migration.Scripts.Data.Exceptions;
+using MigrationConsoleResources = Migration.Console.Properties.Resources;
namespace Application.Ringtoets.MigrationConsole
{
@@ -71,15 +72,15 @@
private static void Exit(ErrorCode errorCode)
{
- EnvironmentControl.Instance.Exit((int)errorCode);
+ EnvironmentControl.Instance.Exit((int) errorCode);
}
private static void DisplayException(Exception exception)
{
ConsoleHelper.WriteErrorLine(exception.Message);
if (exception.InnerException != null)
{
- ConsoleHelper.WriteErrorLine(Resources.Message_Inner_Exception_0,
+ ConsoleHelper.WriteErrorLine(MigrationConsoleResources.Message_Inner_Exception_0,
exception.InnerException.Message);
}
ConsoleHelper.WriteErrorLine("");
@@ -108,13 +109,12 @@
private static void DisplayAllCommands()
{
Console.WriteLine(commandHelp
- + "\t"
- + Resources.CommandHelp_Command_0_Detailed, commandHelp);
+ + "\t"
+ + Resources.CommandHelp_Command_0_Detailed, commandHelp);
ShowMigrateCommand();
ShowSupportedCommand();
}
-
#region Invalid Command
private static void InvalidCommand(string command)
@@ -130,7 +130,7 @@
{
if (args.Length != 2)
{
- throw new InvalidOperationException(string.Format(Resources.Command_0_Incorrect_number_of_parameters,
+ throw new InvalidOperationException(string.Format(MigrationConsoleResources.Command_0_Incorrect_number_of_parameters,
commandVersionSupported));
}
@@ -139,15 +139,15 @@
var migrator = new RingtoetsSqLiteDatabaseFileMigrator();
bool isSupported = migrator.IsVersionSupported(version);
Console.WriteLine(isSupported
- ? "Version '{0}' is supported."
- : "Version '{0}' is not supported.", version);
+ ? "Version '{0}' is supported."
+ : "Version '{0}' is not supported.", version);
}
private static void ShowSupportedCommand()
{
Console.WriteLine(Resources.CommandSupported_Command_0_Brief
- + "\t"
- + Resources.CommandSupported_Detailed, commandVersionSupported);
+ + "\t"
+ + Resources.CommandSupported_Detailed, commandVersionSupported);
}
#endregion
@@ -158,7 +158,7 @@
{
if (args.Length != 4)
{
- throw new InvalidOperationException(string.Format(Resources.Command_0_Incorrect_number_of_parameters,
+ throw new InvalidOperationException(string.Format(MigrationConsoleResources.Command_0_Incorrect_number_of_parameters,
commandMigrate));
}
var migrator = new RingtoetsSqLiteDatabaseFileMigrator();
@@ -171,14 +171,14 @@
migrator.Migrate(sourceFile, toVersion, toFilepath);
Console.WriteLine(Resources.CommandMigrate_Successful_Migration_From_Location_0_To_Version_1_At_Location_2,
- filepath, toVersion, toFilepath);
+ filepath, toVersion, toFilepath);
}
private static void ShowMigrateCommand()
{
Console.WriteLine(Resources.CommandMigrate_Command_0_Brief
- + "\t"
- + Resources.CommandMigrate_Detailed, commandMigrate);
+ + "\t"
+ + Resources.CommandMigrate_Detailed, commandMigrate);
}
#endregion
Index: Migration/Console/src/Migration.Console/Migration.Console.csproj
===================================================================
diff -u -r18607ec1398cf284f9126c36558b2c6b49f61880 -r5af53bf87a1ba736d10a3ec77637d26716d507f3
--- Migration/Console/src/Migration.Console/Migration.Console.csproj (.../Migration.Console.csproj) (revision 18607ec1398cf284f9126c36558b2c6b49f61880)
+++ Migration/Console/src/Migration.Console/Migration.Console.csproj (.../Migration.Console.csproj) (revision 5af53bf87a1ba736d10a3ec77637d26716d507f3)
@@ -58,7 +58,7 @@
- ResXFileCodeGenerator
+ PublicResXFileCodeGenerator
Resources.Designer.cs
Designer
Index: Migration/Console/src/Migration.Console/Properties/Resources.Designer.cs
===================================================================
diff -u -r60985085195eb7c41933b5d2983d68b88d289bc8 -r5af53bf87a1ba736d10a3ec77637d26716d507f3
--- Migration/Console/src/Migration.Console/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 60985085195eb7c41933b5d2983d68b88d289bc8)
+++ Migration/Console/src/Migration.Console/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 5af53bf87a1ba736d10a3ec77637d26716d507f3)
@@ -43,7 +43,7 @@
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
+ public class Resources {
private static global::System.Resources.ResourceManager resourceMan;
@@ -57,7 +57,7 @@
/// Returns the cached ResourceManager instance used by this class.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
+ public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Migration.Console.Properties.Resources", typeof(Resources).Assembly);
@@ -72,7 +72,7 @@
/// resource lookups using this strongly typed resource class.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
+ public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@@ -84,79 +84,16 @@
///
/// Looks up a localized string similar to Er is een verkeerd aantal parameters opgegeven voor de opdracht '{0}'.
///
- internal static string Command_0_Incorrect_number_of_parameters {
+ public static string Command_0_Incorrect_number_of_parameters {
get {
return ResourceManager.GetString("Command_0_Incorrect_number_of_parameters", resourceCulture);
}
}
///
- /// Looks up a localized string similar to Geef het hulp menu weer..
- ///
- internal static string CommandHelp_Command_0_Detailed {
- get {
- return ResourceManager.GetString("CommandHelp_Command_0_Detailed", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to {0} is geen geldige opdracht..
- ///
- internal static string CommandInvalid_Command_0_Is_not_valid {
- get {
- return ResourceManager.GetString("CommandInvalid_Command_0_Is_not_valid", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to {0} RINGTOETSBESTANDSPAD NIEUWEVERSIE UITVOERPAD.
- ///
- internal static string CommandMigrate_Command_0_Brief {
- get {
- return ResourceManager.GetString("CommandMigrate_Command_0_Brief", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to RINGTOETSBESTANDSPAD is het bestandspad naar het Ringtoetsdatabase bestand dat gemigreerd moet worden. NIEUWEVERSIE is de versie naar waar gemigreerd moet worden. UITVOERPAD is het pad waar de het gemigreerde Ringtoetsbestand opgeslagen zal worden..
- ///
- internal static string CommandMigrate_Detailed {
- get {
- return ResourceManager.GetString("CommandMigrate_Detailed", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Het bestand '{0}' is succesvol gemigreerd naar versie {1} op locatie '{2}'..
- ///
- internal static string CommandMigrate_Successful_Migration_From_Location_0_To_Version_1_At_Location_2 {
- get {
- return ResourceManager.GetString("CommandMigrate_Successful_Migration_From_Location_0_To_Version_1_At_Location_2", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to {0} RINGTOETSBESTANDSPAD.
- ///
- internal static string CommandSupported_Command_0_Brief {
- get {
- return ResourceManager.GetString("CommandSupported_Command_0_Brief", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to RINGTOETSBESTANDSPAD is het bestandspad naar het Ringtoetsdatabase bestand waarvan de versie gevalideerd moet worden..
- ///
- internal static string CommandSupported_Detailed {
- get {
- return ResourceManager.GetString("CommandSupported_Detailed", resourceCulture);
- }
- }
-
- ///
/// Looks up a localized string similar to Het besturingssysteem geeft de volgende melding: {0}.
///
- internal static string Message_Inner_Exception_0 {
+ public static string Message_Inner_Exception_0 {
get {
return ResourceManager.GetString("Message_Inner_Exception_0", resourceCulture);
}
Index: Migration/Console/src/Migration.Console/Properties/Resources.resx
===================================================================
diff -u -r60985085195eb7c41933b5d2983d68b88d289bc8 -r5af53bf87a1ba736d10a3ec77637d26716d507f3
--- Migration/Console/src/Migration.Console/Properties/Resources.resx (.../Resources.resx) (revision 60985085195eb7c41933b5d2983d68b88d289bc8)
+++ Migration/Console/src/Migration.Console/Properties/Resources.resx (.../Resources.resx) (revision 5af53bf87a1ba736d10a3ec77637d26716d507f3)
@@ -1,128 +1,126 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 1.3
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- RINGTOETSBESTANDSPAD is het bestandspad naar het Ringtoetsdatabase bestand dat gemigreerd moet worden. NIEUWEVERSIE is de versie naar waar gemigreerd moet worden. UITVOERPAD is het pad waar de het gemigreerde Ringtoetsbestand opgeslagen zal worden.
-
-
- {0} RINGTOETSBESTANDSPAD NIEUWEVERSIE UITVOERPAD
-
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
Er is een verkeerd aantal parameters opgegeven voor de opdracht '{0}'
-
- Geef het hulp menu weer.
-
-
- {0} is geen geldige opdracht.
-
-
- RINGTOETSBESTANDSPAD is het bestandspad naar het Ringtoetsdatabase bestand waarvan de versie gevalideerd moet worden.
-
-
- {0} RINGTOETSBESTANDSPAD
-
Het besturingssysteem geeft de volgende melding: {0}
-
- Het bestand '{0}' is succesvol gemigreerd naar versie {1} op locatie '{2}'.
-
\ No newline at end of file
Index: Migration/Scripts/src/Migration.Scripts.Data/Properties/Resources.Designer.cs
===================================================================
diff -u -r214922706cd2559757df5b96982bd99cf0fe9cfa -r5af53bf87a1ba736d10a3ec77637d26716d507f3
--- Migration/Scripts/src/Migration.Scripts.Data/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 214922706cd2559757df5b96982bd99cf0fe9cfa)
+++ Migration/Scripts/src/Migration.Scripts.Data/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 5af53bf87a1ba736d10a3ec77637d26716d507f3)
@@ -89,14 +89,5 @@
return ResourceManager.GetString("Migrate_failed", resourceCulture);
}
}
-
- ///
- /// Looks up a localized string similar to Het bestand '{0}' is moet een geldig Ringtoets database bestand zijn..
- ///
- public static string RingtoetsDatabaseSourceFile_Invalid_Ringtoets_File_Path_0 {
- get {
- return ResourceManager.GetString("RingtoetsDatabaseSourceFile_Invalid_Ringtoets_File_Path_0", resourceCulture);
- }
- }
}
}
Index: Migration/Scripts/src/Migration.Scripts.Data/Properties/Resources.resx
===================================================================
diff -u -r214922706cd2559757df5b96982bd99cf0fe9cfa -r5af53bf87a1ba736d10a3ec77637d26716d507f3
--- Migration/Scripts/src/Migration.Scripts.Data/Properties/Resources.resx (.../Resources.resx) (revision 214922706cd2559757df5b96982bd99cf0fe9cfa)
+++ Migration/Scripts/src/Migration.Scripts.Data/Properties/Resources.resx (.../Resources.resx) (revision 5af53bf87a1ba736d10a3ec77637d26716d507f3)
@@ -120,7 +120,4 @@
Het migreren van de data is mislukt.
-
- Het bestand '{0}' is moet een geldig Ringtoets database bestand zijn.
-
\ No newline at end of file