mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Add update language stuff to build.bat and build_beta.bat
This commit is contained in:
parent
9b09a4a968
commit
477ce470fd
@ -254,6 +254,7 @@ Note: Do check free disk space.</WaveFileMalformed>
|
|||||||
<TopAlignSelectedLines>Top align selected lines (keep horizontal position)</TopAlignSelectedLines>
|
<TopAlignSelectedLines>Top align selected lines (keep horizontal position)</TopAlignSelectedLines>
|
||||||
<BottomAlignSelectedLines>Bottom align selected lines (keep horizontal position)</BottomAlignSelectedLines>
|
<BottomAlignSelectedLines>Bottom align selected lines (keep horizontal position)</BottomAlignSelectedLines>
|
||||||
<SizeXY>Size: {0}x{1}</SizeXY>
|
<SizeXY>Size: {0}x{1}</SizeXY>
|
||||||
|
<SetAspectRatio11>Set aspect ratio 1:1</SetAspectRatio11>
|
||||||
</BinEdit>
|
</BinEdit>
|
||||||
<Bookmarks>
|
<Bookmarks>
|
||||||
<EditBookmark>Edit bookmark</EditBookmark>
|
<EditBookmark>Edit bookmark</EditBookmark>
|
||||||
@ -2376,11 +2377,12 @@ Continue?</RestoreDefaultSettingsMsg>
|
|||||||
<EditWordOnly>Edit word only</EditWordOnly>
|
<EditWordOnly>Edit word only</EditWordOnly>
|
||||||
<AddXToNames>Add '{0}' to name list</AddXToNames>
|
<AddXToNames>Add '{0}' to name list</AddXToNames>
|
||||||
<AddXToUserDictionary>Add '{0}' to user dictionary</AddXToUserDictionary>
|
<AddXToUserDictionary>Add '{0}' to user dictionary</AddXToUserDictionary>
|
||||||
<AutoFixNames>Auto fix names where only casing differ</AutoFixNames>
|
<AutoFixNames>Auto fix names where only casing differs</AutoFixNames>
|
||||||
<AutoFixNamesViaSuggestions>Also fix names via 'spell check suggestions'</AutoFixNamesViaSuggestions>
|
<AutoFixNamesViaSuggestions>Also fix names via 'spell check suggestions'</AutoFixNamesViaSuggestions>
|
||||||
<CheckOneLetterWords>Prompt for unknown one letter words</CheckOneLetterWords>
|
<CheckOneLetterWords>Prompt for unknown one letter words</CheckOneLetterWords>
|
||||||
<TreatINQuoteAsING>Treat word ending " in' " as " ing " (English only)</TreatINQuoteAsING>
|
<TreatINQuoteAsING>Treat word ending " in' " as " ing " (English only)</TreatINQuoteAsING>
|
||||||
<RememberUseAlwaysList>Remember "Use always" list</RememberUseAlwaysList>
|
<RememberUseAlwaysList>Remember "Use always" list</RememberUseAlwaysList>
|
||||||
|
<LiveSpellCheck>Live spell check</LiveSpellCheck>
|
||||||
<ImageText>Image text</ImageText>
|
<ImageText>Image text</ImageText>
|
||||||
<SpellCheckCompleted>Spell check completed</SpellCheckCompleted>
|
<SpellCheckCompleted>Spell check completed</SpellCheckCompleted>
|
||||||
<SpellCheckAborted>Spell check aborted</SpellCheckAborted>
|
<SpellCheckAborted>Spell check aborted</SpellCheckAborted>
|
||||||
|
@ -15,6 +15,13 @@ ECHO Getting latest changes...
|
|||||||
git pull
|
git pull
|
||||||
ECHO.
|
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...
|
ECHO Starting compilation...
|
||||||
|
|
||||||
REM Set environment variables for Visual Studio command line if necessary
|
REM Set environment variables for Visual Studio command line if necessary
|
||||||
|
@ -15,6 +15,14 @@ ECHO Getting latest changes...
|
|||||||
git pull
|
git pull
|
||||||
ECHO.
|
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...
|
ECHO Starting compilation...
|
||||||
|
|
||||||
MD SubtitleEditBeta
|
MD SubtitleEditBeta
|
||||||
|
@ -399,6 +399,7 @@ namespace Nikse.SubtitleEdit.Logic
|
|||||||
TopAlignSelectedLines = "Top align selected lines (keep horizontal position)",
|
TopAlignSelectedLines = "Top align selected lines (keep horizontal position)",
|
||||||
BottomAlignSelectedLines = "Bottom align selected lines (keep horizontal position)",
|
BottomAlignSelectedLines = "Bottom align selected lines (keep horizontal position)",
|
||||||
SizeXY = "Size: {0}x{1}",
|
SizeXY = "Size: {0}x{1}",
|
||||||
|
SetAspectRatio11 = "Set aspect ratio 1:1",
|
||||||
};
|
};
|
||||||
|
|
||||||
Bookmarks = new LanguageStructure.Bookmarks
|
Bookmarks = new LanguageStructure.Bookmarks
|
||||||
|
@ -691,6 +691,9 @@ namespace Nikse.SubtitleEdit.Logic
|
|||||||
case "BinEdit/SizeXY":
|
case "BinEdit/SizeXY":
|
||||||
language.BinEdit.SizeXY = reader.Value;
|
language.BinEdit.SizeXY = reader.Value;
|
||||||
break;
|
break;
|
||||||
|
case "BinEdit/SetAspectRatio11":
|
||||||
|
language.BinEdit.SetAspectRatio11 = reader.Value;
|
||||||
|
break;
|
||||||
case "Bookmarks/EditBookmark":
|
case "Bookmarks/EditBookmark":
|
||||||
language.Bookmarks.EditBookmark = reader.Value;
|
language.Bookmarks.EditBookmark = reader.Value;
|
||||||
break;
|
break;
|
||||||
|
@ -268,6 +268,7 @@
|
|||||||
public string TopAlignSelectedLines { get; set; }
|
public string TopAlignSelectedLines { get; set; }
|
||||||
public string BottomAlignSelectedLines { get; set; }
|
public string BottomAlignSelectedLines { get; set; }
|
||||||
public string SizeXY { get; set; }
|
public string SizeXY { get; set; }
|
||||||
|
public string SetAspectRatio11 { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Bookmarks
|
public class Bookmarks
|
||||||
|
Loading…
Reference in New Issue
Block a user