[questions]
subtemplate_warning.question = Please commit your changes, before using a sub-template! Continue anyway? [n/y]
subtemplate_warning.required = True
subtemplate_warning.default = n
subtemplate_warning.pre_ask_question = bobtemplates.plone.base:git_clean_state_check
subtemplate_warning.post_ask_question = mrbob.hooks:validate_choices bobtemplates.plone.base:subtemplate_warning_post_question
subtemplate_warning.choices = y|n
subtemplate_warning.choices_delimiter = |

svelte_app_name.question = Name of your Svelte app
svelte_app_name.help = The name of the Svelte app.
svelte_app_name.default = my-svelte-app
svelte_app_name.required = True
svelte_app_name.pre_ask_question = bobtemplates.plone.base:check_root_folder
svelte_app_name.post_ask_question = bobtemplates.plone.svelte_app:check_name

svelte_app_custom_element.question = Should Svelte compile to a "custom element" aka "web component"?
svelte_app_custom_element.help = Svelte can be used to create custom elements, be aware that this does not support all Svelte features! https://svelte.dev/docs#Custom_element_API
svelte_app_custom_element.required = True
svelte_app_custom_element.default = n
svelte_app_custom_element.post_ask_question = mrbob.hooks:validate_choices mrbob.hooks:to_boolean
svelte_app_custom_element.choices = y|n
svelte_app_custom_element.choices_delimiter = |

[template]
post_ask = bobtemplates.plone.base:set_global_vars
pre_render = bobtemplates.plone.svelte_app:pre_renderer
post_render = bobtemplates.plone.svelte_app:post_renderer
