Fixed UpdateLanguageFiles (generate libse\LanguageDeserializer.cs)

This commit is contained in:
Waldi Ravens 2015-09-17 06:53:18 +02:00
parent 75b8c8b717
commit 65a1e2c862
3 changed files with 3 additions and 5683 deletions

View File

@ -18,7 +18,7 @@ IF NOT EXIST "src\UpdateLanguageFiles\bin\%ConfigurationName%\UpdateLanguageFile
GOTO END
)
"src\UpdateLanguageFiles\bin\%ConfigurationName%\UpdateLanguageFiles.exe" "LanguageMaster.xml" "src\Logic\LanguageDeserializer.cs"
"src\UpdateLanguageFiles\bin\%ConfigurationName%\UpdateLanguageFiles.exe" "LanguageMaster.xml" "libse\LanguageDeserializer.cs"
IF %ERRORLEVEL% NEQ 0 (
ECHO ERROR: Something went wrong when generating the language files...

File diff suppressed because it is too large Load Diff

View File

@ -10,15 +10,14 @@ namespace Nikse.SubtitleEdit.Logic
public static string GenerateCSharpXmlDeserializerForLanguage()
{
var sb = new StringBuilder(@"using System.IO;
using System.Xml;
using System.Text;
using Nikse.SubtitleEdit.Logic;
using System.Xml;
// !!! THIS FILE IS AUTO-GENERATED!!!
// !!! THIS FILE IS AUTO-GENERATED!!!
// !!! THIS FILE IS AUTO-GENERATED!!!
namespace Nikse.SubtitleEdit.Logic
namespace Nikse.SubtitleEdit.Core
{
public class LanguageDeserializer // NOTE: This class is AUTO-GENERATED!!!!