diff --git a/LanguageMaster.xml b/LanguageMaster.xml index e03b5f612..b63bf1acb 100644 --- a/LanguageMaster.xml +++ b/LanguageMaster.xml @@ -254,6 +254,7 @@ Note: Do check free disk space. Top align selected lines (keep horizontal position) Bottom align selected lines (keep horizontal position) Size: {0}x{1} + Set aspect ratio 1:1 Edit bookmark @@ -2376,11 +2377,12 @@ Continue? Edit word only Add '{0}' to name list Add '{0}' to user dictionary - Auto fix names where only casing differ + Auto fix names where only casing differs Also fix names via 'spell check suggestions' Prompt for unknown one letter words Treat word ending " in' " as " ing " (English only) Remember "Use always" list + Live spell check Image text Spell check completed Spell check aborted diff --git a/build.bat b/build.bat index 2bfa42a09..995228741 100644 --- a/build.bat +++ b/build.bat @@ -15,6 +15,13 @@ ECHO Getting latest changes... git pull ECHO. +ECHO Check for new translation strings... +SET "LanguageToolPath=src\UpdateLanguageFiles\bin\debug\UpdateLanguageFiles.exe" +IF NOT EXIST "%LanguageToolPath%" ( + ECHO Compile UpdateLanguageFiles! +) +"%LanguageToolPath%" "LanguageMaster.xml" "src\ui\Logic\LanguageDeserializer.cs" + ECHO Starting compilation... REM Set environment variables for Visual Studio command line if necessary diff --git a/build_beta.bat b/build_beta.bat index c1c7147b5..57889ada3 100644 --- a/build_beta.bat +++ b/build_beta.bat @@ -15,6 +15,14 @@ ECHO Getting latest changes... git pull ECHO. +ECHO Check for new translation strings... +SET "LanguageToolPath=src\UpdateLanguageFiles\bin\debug\UpdateLanguageFiles.exe" +IF NOT EXIST "%LanguageToolPath%" ( + ECHO Compile UpdateLanguageFiles! +) +"%LanguageToolPath%" "LanguageMaster.xml" "src\ui\Logic\LanguageDeserializer.cs" +ECHO. + ECHO Starting compilation... MD SubtitleEditBeta diff --git a/src/ui/Logic/Language.cs b/src/ui/Logic/Language.cs index ac2a04a9d..d315495fd 100644 --- a/src/ui/Logic/Language.cs +++ b/src/ui/Logic/Language.cs @@ -399,6 +399,7 @@ namespace Nikse.SubtitleEdit.Logic TopAlignSelectedLines = "Top align selected lines (keep horizontal position)", BottomAlignSelectedLines = "Bottom align selected lines (keep horizontal position)", SizeXY = "Size: {0}x{1}", + SetAspectRatio11 = "Set aspect ratio 1:1", }; Bookmarks = new LanguageStructure.Bookmarks diff --git a/src/ui/Logic/LanguageDeserializer.cs b/src/ui/Logic/LanguageDeserializer.cs index 3b8e5edee..5eb365c29 100644 --- a/src/ui/Logic/LanguageDeserializer.cs +++ b/src/ui/Logic/LanguageDeserializer.cs @@ -691,6 +691,9 @@ namespace Nikse.SubtitleEdit.Logic case "BinEdit/SizeXY": language.BinEdit.SizeXY = reader.Value; break; + case "BinEdit/SetAspectRatio11": + language.BinEdit.SetAspectRatio11 = reader.Value; + break; case "Bookmarks/EditBookmark": language.Bookmarks.EditBookmark = reader.Value; break; diff --git a/src/ui/Logic/LanguageStructure.cs b/src/ui/Logic/LanguageStructure.cs index f8d849012..ad09719b7 100644 --- a/src/ui/Logic/LanguageStructure.cs +++ b/src/ui/Logic/LanguageStructure.cs @@ -268,6 +268,7 @@ public string TopAlignSelectedLines { get; set; } public string BottomAlignSelectedLines { get; set; } public string SizeXY { get; set; } + public string SetAspectRatio11 { get; set; } } public class Bookmarks