Anonymous Login
2019-11-21 09:13 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002049OpenClonkEnginepublic2019-03-31 14:35
ReporterMarky 
Assigned ToMarky 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionunable to reproduce 
Product Version 
Target VersionFixed in Versiongit master 
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

-Relationships
+Relationships

-Notes

~0006195

Marky (developer)

May have been a misconception!

~0006209

Marky (developer)

I think that this was actually an unrelated error and wrong interpretation of the error message by me.

~0006215

Marky (developer)

Tried to reproduce by setting the pump Name=this.HitPoints - no errors whatsoever. Probably was a fault on my part when I entered the issue.
+Notes

-Issue History
Date Modified Username Field Change
2018-12-18 18:20 Marky New Issue
2018-12-23 08:45 Marky Note Added: 0006195
2019-02-03 19:12 Marky Note Added: 0006209
2019-03-31 14:35 Marky Assigned To => Marky
2019-03-31 14:35 Marky Status new => closed
2019-03-31 14:35 Marky Resolution open => unable to reproduce
2019-03-31 14:35 Marky Fixed in Version => git master
2019-03-31 14:35 Marky Note Added: 0006215
+Issue History