workshop.codes icon indicating copy to clipboard operation
workshop.codes copied to clipboard

[Editor] Characters (quotes) in translations should be escaped

Open Mitcheljager opened this issue 2 years ago • 0 comments

Quotes aren't escaped, causing them to break strings in the Workshop output.

actions { 
   A = @translate(baguette, 1234);
}
actions {
  A = Value In Array(
    Array(Custom String("eng "lish" {0}", 1234), Custom String("fre "nch" {0}", 1234)),
      Max(False, Index Of Array Value(Global.WCDynamicLanguages, Custom String("{0}", Map(Practice Range), Null, Null)))
  )
}

Mitcheljager avatar Feb 04 '23 22:02 Mitcheljager