Modify

Opened 10 years ago

Closed 10 years ago

#6057 closed defect (fixed)

Single quotes in tagging presets not working due to tr() usage

Reported by: stoecker Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: quote preset Cc: AM909

Description (last modified by stoecker)

Single quotes in Tagging presets (combo and multiselect) don't work as expected due to the usage of tr() in display. There must be a special handling, as using '' in this context is not possible.

Attachments (0)

Change History (4)

comment:1 Changed 10 years ago by stoecker

Description: modified (diff)

comment:2 Changed 10 years ago by AM909

Cc: AM909 added
Keywords: quote preset added
Version: latest

As alluded to above, using '' instead of ' in the preset definition appears to fix the problem (e.g. McDonald''s in a preset combobox definition causes McDonald's to appear in the dropdown list). However, if you then choose this item, it shows McDonald's in the textbox, but when it adds the value to the object, it puts McDonald''s there instead.

r3786

comment:3 Changed 10 years ago by stoecker

Correct. You copy the wrong value into the real database, which is not a desired result.

comment:4 Changed 10 years ago by stoecker

Resolution: fixed
Status: newclosed

In [4170/josm]:

fix #6057 - single quotes in presets impossible

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.