OpenClonk Bugtracker - OpenClonk
View Issue Details
0002049OpenClonkEnginepublic2018-12-18 18:202019-02-03 19:12
ReporterMarky 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002049: Bug or feature? Properties get evaluated in Desc*.txt?
DescriptionIf you write a localized string that contains a property, such as:

local Description="$Description"

and have DescUS.txt:

Description=This is a "foo.bar".

then the engine tries to evaluate the "foo.bar" as a property of the object. This results in an engine error:

ERROR: '}' or ',' expected, but found identifier (.../Script.c:<line nr>:<closing ">)

Or is it the "-character that needs to be escaped?
TagsNo tags attached.
Attached Files

Notes
(0006195)
Marky   
2018-12-23 08:45   
May have been a misconception!
(0006209)
Marky   
2019-02-03 19:12   
I think that this was actually an unrelated error and wrong interpretation of the error message by me.

Issue History
2018-12-18 18:20MarkyNew Issue
2018-12-23 08:45MarkyNote Added: 0006195
2019-02-03 19:12MarkyNote Added: 0006209