Rename English translation base xml file

This commit is contained in:
niksedk 2022-09-06 19:51:02 +02:00
parent e9dea6b1ca
commit bce1b3fa74
6 changed files with 3139 additions and 5 deletions

3133
LanguageBaseEnglish.xml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -21,6 +21,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
build_beta.bat = build_beta.bat build_beta.bat = build_beta.bat
build_helpers.bat = build_helpers.bat build_helpers.bat = build_helpers.bat
Changelog.txt = Changelog.txt Changelog.txt = Changelog.txt
LanguageBaseEnglish.xml = LanguageBaseEnglish.xml
LICENSE.txt = LICENSE.txt LICENSE.txt = LICENSE.txt
README.md = README.md README.md = README.md
installer\Subtitle_Edit_installer.iss = installer\Subtitle_Edit_installer.iss installer\Subtitle_Edit_installer.iss = installer\Subtitle_Edit_installer.iss

View File

@ -99,7 +99,7 @@ SET "LanguageToolPath=src\UpdateLanguageFiles\bin\debug\UpdateLanguageFiles.exe"
IF NOT EXIST "%LanguageToolPath%" ( IF NOT EXIST "%LanguageToolPath%" (
ECHO Compile UpdateLanguageFiles! ECHO Compile UpdateLanguageFiles!
) )
"%LanguageToolPath%" "LanguageMaster.xml" "src\ui\Logic\LanguageDeserializer.cs" "%LanguageToolPath%" "LanguageBaseEnglish.xml" "src\ui\Logic\LanguageDeserializer.cs"
ECHO. ECHO.
"%MSBUILD%" SubtitleEdit.sln /r /t:%BUILDTYPE% /p:Configuration=Release /p:Platform="Any CPU"^ "%MSBUILD%" SubtitleEdit.sln /r /t:%BUILDTYPE% /p:Configuration=Release /p:Platform="Any CPU"^

View File

@ -106,7 +106,7 @@ SET "LanguageToolPath=src\UpdateLanguageFiles\bin\debug\UpdateLanguageFiles.exe"
IF NOT EXIST "%LanguageToolPath%" ( IF NOT EXIST "%LanguageToolPath%" (
ECHO Compile UpdateLanguageFiles! ECHO Compile UpdateLanguageFiles!
) )
"%LanguageToolPath%" "LanguageMaster.xml" "src\ui\Logic\LanguageDeserializer.cs" "%LanguageToolPath%" "LanguageBaseEnglish.xml" "src\ui\Logic\LanguageDeserializer.cs"
ECHO. ECHO.

View File

@ -20,7 +20,7 @@ IF NOT EXIST "%ToolPath%" (
GOTO END GOTO END
) )
"%ToolPath%" "LanguageMaster.xml" "src\ui\Logic\LanguageDeserializer.cs" "%ToolPath%" "LanguageBaseEnglish.xml" "src\ui\Logic\LanguageDeserializer.cs"
IF %ERRORLEVEL% NEQ 0 ( IF %ERRORLEVEL% NEQ 0 (
ECHO ERROR: Something went wrong when generating the language files... ECHO ERROR: Something went wrong when generating the language files...

View File

@ -29,8 +29,8 @@ namespace UpdateLanguageFiles
myName = Path.GetFileNameWithoutExtension(string.IsNullOrWhiteSpace(myName) ? System.Reflection.Assembly.GetEntryAssembly()?.Location : myName); myName = Path.GetFileNameWithoutExtension(string.IsNullOrWhiteSpace(myName) ? System.Reflection.Assembly.GetEntryAssembly()?.Location : myName);
if (args.Length != 2) if (args.Length != 2)
{ {
Console.Write("Usage: " + myName + @" <LanguageMaster> <LanguageDeserializer> Console.Write("Usage: " + myName + @" <LanguageBaseEnglish> <LanguageDeserializer>
<LanguageMaster> Path to the LanguageMaster xml file (LanguageMaster.xml) <LanguageBaseEnglish> Path to the LanguageBaseEnglish xml file (LanguageBaseEnglish.xml)
<LanguageDeserializer> Path to the LanguageDeserializer source code file (LanguageDeserializer.cs) <LanguageDeserializer> Path to the LanguageDeserializer source code file (LanguageDeserializer.cs)
"); ");
return 1; return 1;