Automatically add articles to presets to transition

This commit is contained in:
Pieter Vander Vennet 2022-03-29 21:55:49 +02:00
parent eb71995b97
commit 78b54d2fce
59 changed files with 307 additions and 249 deletions

View file

@ -203,6 +203,11 @@ export interface LayerConfigJson {
presets?: {
/**
* The title - shown on the 'add-new'-button.
*
* This should include the article of the noun, e.g. 'a hydrant', 'a bicycle pump'.
* This text will be inserted into `Add {category} here`, becoming `Add a hydrant here`.
*
* Do _not_ indicate 'new': 'add a new shop here' is incorrect, as the shop might have existed forever, it could just be unmapped!
*/
title: string | any,
/**