Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preset subtitle property #6137

Closed
wants to merge 15 commits into from
Closed

Add preset subtitle property #6137

wants to merge 15 commits into from

Conversation

quincylvania
Copy link
Collaborator

@quincylvania quincylvania commented Apr 3, 2019

Closes #6131.

This adds an optional subtitle property for presets that displays below the name. It also switches name suggestion presets to use it, removing some hacky code.

I didn't merge this directly since it has some special implications for translations that need to be worked out. The usefulness of the subtitle depends on the language, and thus there is not a one-to-one mapping of what presets should get subtitles in English versus any other given language.

Update: I made it so subtitles don't default to English if there's no translation available.

Screen Shot 2019-04-02 at 7 58 22 PM

Screen Shot 2019-04-02 at 8 08 55 PM

Screen Shot 2019-04-02 at 8 09 37 PM

Use subtitle property instead of name hack for suggestion presets
@quincylvania quincylvania added the preset An issue with an OpenStreetMap preset or tag label Apr 3, 2019
@quincylvania quincylvania self-assigned this Apr 3, 2019
@westnordost
Copy link
Contributor

westnordost commented May 4, 2019

The mechanism currently possible to deliberately not translate a terms field as a translator would be to simply enter <>. The import from Transifex removes this field in this case because it removes everything in between < and > while in Transifex itself I think it should turn up as "translated".

This method is not described or communicated anywhere to the translators yet, but it could. The same method could be used for the subtitle descriptions that may be given for some languages, but not for others, depending on how unambiguous the word in the target language is.

@quincylvania
Copy link
Collaborator Author

Putting this feature on hold. See #6412 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preset An issue with an OpenStreetMap preset or tag
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add subtitle property to presets
2 participants