diff --git a/Application/FileConverter/ConversionJobs/ConversionJob_ExtractCDA.cs b/Application/FileConverter/ConversionJobs/ConversionJob_ExtractCDA.cs index 344ae35..53e242d 100644 --- a/Application/FileConverter/ConversionJobs/ConversionJob_ExtractCDA.cs +++ b/Application/FileConverter/ConversionJobs/ConversionJob_ExtractCDA.cs @@ -114,7 +114,7 @@ namespace FileConverter.ConversionJobs Debug.Log("Starting CDA extraction."); - this.UserState = "Extraction"; + this.UserState = Properties.Resources.ConversionStateExtraction; if (!this.cdDrive.IsCDReady()) { @@ -160,7 +160,7 @@ namespace FileConverter.ConversionJobs Debug.Log(string.Empty); Debug.Log("Start compression."); - this.UserState = "Conversion"; + this.UserState = Properties.Resources.ConversionStateConversion; this.compressionThread.Start(); diff --git a/Application/FileConverter/ConversionJobs/ConversionJob_Gif.cs b/Application/FileConverter/ConversionJobs/ConversionJob_Gif.cs index 4cedf80..d14f6cd 100644 --- a/Application/FileConverter/ConversionJobs/ConversionJob_Gif.cs +++ b/Application/FileConverter/ConversionJobs/ConversionJob_Gif.cs @@ -66,7 +66,7 @@ namespace FileConverter.ConversionJobs if (this.pngConversionJob != null) { - this.UserState = "Read input image"; + this.UserState = Properties.Resources.ConversionStateReadIntputImage; Diagnostics.Debug.Log(string.Empty); Diagnostics.Debug.Log("Convert image to PNG (intermediate format)."); diff --git a/Application/FileConverter/Properties/Resources.Designer.cs b/Application/FileConverter/Properties/Resources.Designer.cs index 6cb89d3..f6a32cf 100644 --- a/Application/FileConverter/Properties/Resources.Designer.cs +++ b/Application/FileConverter/Properties/Resources.Designer.cs @@ -168,6 +168,69 @@ namespace FileConverter.Properties { } } + /// + /// Looks up a localized string similar to Conversion. + /// + public static string ConversionStateConversion { + get { + return ResourceManager.GetString("ConversionStateConversion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Done. + /// + public static string ConversionStateDone { + get { + return ResourceManager.GetString("ConversionStateDone", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Extraction. + /// + public static string ConversionStateExtraction { + get { + return ResourceManager.GetString("ConversionStateExtraction", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed. + /// + public static string ConversionStateFailed { + get { + return ResourceManager.GetString("ConversionStateFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to In queue. + /// + public static string ConversionStateInQueue { + get { + return ResourceManager.GetString("ConversionStateInQueue", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Read input image. + /// + public static string ConversionStateReadIntputImage { + get { + return ResourceManager.GetString("ConversionStateReadIntputImage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Read document. + /// + public static string ConversionStateReadPdf { + get { + return ResourceManager.GetString("ConversionStateReadPdf", resourceCulture); + } + } + /// /// Looks up a localized string similar to Converted from. /// diff --git a/Application/FileConverter/Properties/Resources.resx b/Application/FileConverter/Properties/Resources.resx index 6a4d7b8..dd77e9d 100644 --- a/Application/FileConverter/Properties/Resources.resx +++ b/Application/FileConverter/Properties/Resources.resx @@ -382,4 +382,25 @@ Special paths: No rotation + + Conversion + + + Done + + + Extraction + + + Failed + + + In queue + + + Read input image + + + Read document + \ No newline at end of file