#9027 closed defect (fixed)
[patch] Error in Internal Preset
Reported by: | andygol | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Internal preset | Version: | latest |
Keywords: | Cc: |
Description (last modified by )
Attachments (4)
Change History (20)
by , 11 years ago
Attachment: | internal_preset_err.png added |
---|
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
by , 11 years ago
Attachment: | 9027.patch added |
---|
follow-up: 4 comment:2 by , 11 years ago
Summary: | Error in Internal Preset → [patch] Error in Internal Preset |
---|
follow-up: 6 comment:3 by , 11 years ago
Sorry about that :( We need to update build.xml to make it fail in case of a validation error of presets file. It is possible with SchemaValidate.
follow-up: 5 comment:4 by , 11 years ago
follow-up: 7 comment:5 by , 11 years ago
by , 11 years ago
Attachment: | 9027-prevention.patch added |
---|
validate default presets internally in unit tests and externally in build.xml
comment:6 by , 11 years ago
Replying to Don-vip:
Sorry about that :( We need to update build.xml to make it fail in case of a validation error of presets file. It is possible with SchemaValidate.
I've attached 9027-prevention.patch that checks that.
follow-up: 8 comment:7 by , 11 years ago
Replying to AlfonZ:
As far as I know,
key
doesn't display anything to the user in the preset dialog, it directly sets the tag.
Yes, sorry, you are right.
Well, than the problem is the label above which needs text_context
.
follow-up: 9 comment:8 by , 11 years ago
follow-up: 10 comment:9 by , 11 years ago
Replying to skyper:
Replying to skyper:
Replying to AlfonZ:
As far as I know,
key
doesn't display anything to the user in the preset dialog, it directly sets the tag.
Yes, sorry, you are right.
Well, than the problem is the label above which needs
text_context
.
Looking at other items having text_context
on label - e.g. (railway) Station, I wonder if there should be name_context
on item
as well.
comment:10 by , 11 years ago
Replying to AlfonZ:
Replying to skyper:
Replying to skyper:
Replying to AlfonZ:
As far as I know,
key
doesn't display anything to the user in the preset dialog, it directly sets the tag.
Yes, sorry, you are right.
Well, than the problem is the label above which needs
text_context
.
Looking at other items having
text_context
on label - e.g. (railway) Station, I wonder if there should bename_context
onitem
as well.
Does translation work case-sensitive ?
In general you are right, but I have to admit that I was too fast and your first patch should be sufficient as for labels the whole text is translated and I only find "Skating" at one place in the whole file.
For station you are right that there are some *_context missing.
comment:11 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
follow-up: 14 comment:12 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
In 6208/josm:
comment:14 by , 11 years ago
follow-up: 16 comment:15 by , 11 years ago
Because it was late and I didn't notice. Ok for taking care of that in #9029 :)
Caused by r6195.