Skip to content

Commit

Permalink
Carriage return temp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Manu098vm committed Nov 6, 2024
1 parent 18e5d34 commit 74c56e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TeraFinder.Plugins/Utils/WinFormsTranslator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private static ReadOnlySpan<string> GetTranslationFile(string lang)
}

var txt = Core.ResourcesUtil.GetTextResource(file.Replace('-', '_'));
return txt is not null ? txt.Split("\n") : [];
return txt is not null ? txt.Split("\r\n") : [];
}

private static IEnumerable<object> GetTranslatableControls(Control f)
Expand Down

0 comments on commit 74c56e2

Please sign in to comment.