Skip to content

Commit

Permalink
Merge pull request #1727 from Jacky720/exportstringsbetter-quickfix
Browse files Browse the repository at this point in the history
Fix ExportAllStringsBetter
  • Loading branch information
BenjaminUrquhart authored May 1, 2024
2 parents 1d370a1 + 5288067 commit 3ff8ca4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System.Linq;
using System.Text;
using System.Windows.Forms; // Needed for SaveFileDialog prompt

EnsureDataLoaded();

Expand All @@ -24,7 +25,7 @@ json.Length -= suffix.Length;
json.Append("\r\n ]\r\n}");

File.WriteAllText(saveFileDialog.FileName, json.ToString());
ScriptMessage($"Successfully exported to\n{saveFileDialog.FileName}", "String export");
ScriptMessage($"Successfully exported to\n{saveFileDialog.FileName}");

static string JsonifyString(string str)
{
Expand Down

0 comments on commit 3ff8ca4

Please sign in to comment.