mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 05:02:36 +01:00
Minor fix for last commit
This commit is contained in:
parent
fe5d007ab6
commit
837d850e4b
@ -174,11 +174,11 @@ namespace Nikse.SubtitleEdit.Core.Translate
|
||||
{
|
||||
text = "[" + text.ToUpperInvariant().Trim() + "]";
|
||||
}
|
||||
else if (SquareBracketsUppercase)
|
||||
else if (SquareBracketsStartWithLowercase)
|
||||
{
|
||||
if (text.Length > 0)
|
||||
{
|
||||
text = char.ToUpper(text[0]) + text.Remove(0, 1);
|
||||
text = char.ToLower(text[0]) + text.Remove(0, 1);
|
||||
}
|
||||
|
||||
text = "[" + text.Trim() + "]";
|
||||
|
Loading…
Reference in New Issue
Block a user