Fix missing translation - thx Jamakmake :)

This commit is contained in:
niksedk 2023-04-19 21:36:55 +02:00
parent e67532ec16
commit b6431cbbc0
5 changed files with 9 additions and 2 deletions

View File

@ -2098,10 +2098,11 @@ can edit in same subtitle file (collaboration)</Information>
<Normal>&amp;Normal</Normal> <Normal>&amp;Normal</Normal>
<CaseSensitive>&amp;Case sensitive</CaseSensitive> <CaseSensitive>&amp;Case sensitive</CaseSensitive>
<RegularExpression>Regular e&amp;xpression</RegularExpression> <RegularExpression>Regular e&amp;xpression</RegularExpression>
<ReplaceWith>Replace with</ReplaceWith> <ReplaceWith>Replace with:</ReplaceWith>
<Find>&amp;Find</Find> <Find>&amp;Find</Find>
<Replace>&amp;Replace</Replace> <Replace>&amp;Replace</Replace>
<ReplaceAll>Replace &amp;all</ReplaceAll> <ReplaceAll>Replace &amp;all</ReplaceAll>
<FindReplaceIn>Replace/search in:</FindReplaceIn>
<TranslationAndOriginal>Translation and original</TranslationAndOriginal> <TranslationAndOriginal>Translation and original</TranslationAndOriginal>
<TranslationOnly>Translation only</TranslationOnly> <TranslationOnly>Translation only</TranslationOnly>
<OriginalOnly>Original only</OriginalOnly> <OriginalOnly>Original only</OriginalOnly>

View File

@ -35,6 +35,7 @@ namespace Nikse.SubtitleEdit.Forms
buttonFind.Text = LanguageSettings.Current.ReplaceDialog.Find; buttonFind.Text = LanguageSettings.Current.ReplaceDialog.Find;
buttonReplace.Text = LanguageSettings.Current.ReplaceDialog.Replace; buttonReplace.Text = LanguageSettings.Current.ReplaceDialog.Replace;
buttonReplaceAll.Text = LanguageSettings.Current.ReplaceDialog.ReplaceAll; buttonReplaceAll.Text = LanguageSettings.Current.ReplaceDialog.ReplaceAll;
labelFindReplaceIn.Text = LanguageSettings.Current.ReplaceDialog.FindReplaceIn;
if (Width < radioButtonRegEx.Right + 5) if (Width < radioButtonRegEx.Right + 5)
{ {

View File

@ -2423,10 +2423,11 @@ can edit in same subtitle file (collaboration)",
Normal = "&Normal", Normal = "&Normal",
CaseSensitive = "&Case sensitive", CaseSensitive = "&Case sensitive",
RegularExpression = "Regular e&xpression", RegularExpression = "Regular e&xpression",
ReplaceWith = "Replace with", ReplaceWith = "Replace with:",
Find = "&Find", Find = "&Find",
Replace = "&Replace", Replace = "&Replace",
ReplaceAll = "Replace &all", ReplaceAll = "Replace &all",
FindReplaceIn = "Replace/search in:",
TranslationAndOriginal = "Translation and original", TranslationAndOriginal = "Translation and original",
TranslationOnly = "Translation only", TranslationOnly = "Translation only",
OriginalOnly = "Original only", OriginalOnly = "Original only",

View File

@ -5677,6 +5677,9 @@ namespace Nikse.SubtitleEdit.Logic
case "ReplaceDialog/ReplaceAll": case "ReplaceDialog/ReplaceAll":
language.ReplaceDialog.ReplaceAll = reader.Value; language.ReplaceDialog.ReplaceAll = reader.Value;
break; break;
case "ReplaceDialog/FindReplaceIn":
language.ReplaceDialog.FindReplaceIn = reader.Value;
break;
case "ReplaceDialog/TranslationAndOriginal": case "ReplaceDialog/TranslationAndOriginal":
language.ReplaceDialog.TranslationAndOriginal = reader.Value; language.ReplaceDialog.TranslationAndOriginal = reader.Value;
break; break;

View File

@ -2274,6 +2274,7 @@ namespace Nikse.SubtitleEdit.Logic
public string Find { get; set; } public string Find { get; set; }
public string Replace { get; set; } public string Replace { get; set; }
public string ReplaceAll { get; set; } public string ReplaceAll { get; set; }
public string FindReplaceIn { get; set; }
public string TranslationAndOriginal { get; set; } public string TranslationAndOriginal { get; set; }
public string TranslationOnly { get; set; } public string TranslationOnly { get; set; }
public string OriginalOnly { get; set; } public string OriginalOnly { get; set; }