Add theme for 'notes'

This commit is contained in:
Pieter Vander Vennet 2022-01-08 04:22:50 +01:00
parent 677a07e3d2
commit a58ce564c2
20 changed files with 678 additions and 314 deletions

View file

@ -425,7 +425,12 @@
},
"notes": {
"isClosed": "This note is resolved",
"closeNote":
"Close this note"
"addCommentPlaceholder": "Add a comment...",
"addComment": "Add comment",
"addCommentAndClose": "Add comment and close",
"closeNote": "Close note",
"reopenNote": "Reopen note",
"reopenNoteAndComment": "Reopen note and comment",
"anonymous": "Anonymous user"
}
}

View file

@ -947,11 +947,56 @@
"notes": {
"layers": {
"0": {
"filter": {
"0": {
"options": {
"0": {
"question": "Should mention {search} in the first comment"
}
}
},
"1": {
"options": {
"0": {
"question": "Should <b>not</b> mention {search} in the first comment"
}
}
},
"2": {
"options": {
"0": {
"question": "Opened by {search}"
}
}
},
"3": {
"options": {
"0": {
"question": "<b>Not</b> opened by {search}"
}
}
},
"4": {
"options": {
"0": {
"question": "Opened by anonymous user"
}
}
}
},
"name": "OpenStreetMap notes",
"tagRenderings": {
"date_created": {
"render": "Opened on {date_created}"
"Spam": {
"render": "<a href='https://www.openstreetmap.org/reports/new?reportable_id={_first_user_id}&reportable_type=User' target='_blank' class='subtle'>Report {_first_user} as spam</a>"
}
},
"title": {
"mappings": {
"0": {
"then": "Closed note"
}
},
"render": "Note"
}
}
}