Skip to content

Commit

Permalink
fix: 省略号修正问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Icexbb committed Aug 16, 2024
1 parent 1be00d0 commit bce6794
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SekaiToolsCore/Story/Translation/TranslationData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public TranslationData(string? filePath)
fileStrings.ForEach(line =>
{
Translations.Add(line.Contains(':')
? new DialogTranslate(line.Split(':', 2)[0], line.Split(':', 2)[1])
? new DialogTranslate(line.Split(':', 2)[0], line.Split(':', 2)[1].Replace("…", "..."))
: new EffectTranslate(line));
});
}
Expand Down
2 changes: 1 addition & 1 deletion SekaiToolsGUI/View/Subtitle/Components/DialogLine.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class DialogLineModel : ViewModelBase

public DialogLineModel(DialogFrameSet set)
{
set.Data.BodyTranslated = set.Data.BodyTranslated.Replace("...", "…");
// set.Data.BodyTranslated = set.Data.BodyTranslated.Replace("...", "…");
Set = set;
RawContent = set.Data.BodyOriginal;
TranslatedContent = set.Data.BodyTranslated.EscapedReturn();
Expand Down

0 comments on commit bce6794

Please sign in to comment.