The use of * to make ul's in lang strings

The use of * to make ul's in lang strings

بذریعہ Bente Olsen -
جوابات کی تعداد: 4
Language pack maintainers کی تصویر

How come * can make unordered lists in the English lang pack but only now and then in the Danish pack - and never in locally translated strings?

Eg. if you try to add an activity or an resource only the string modulename_help for wiki and book will show a bulleted list in Danish. I have just checked the Norwegian pack, which have problems with lists too.

Bente Olsen کے جواب میں

Re: The use of * to make ul's in lang strings

بذریعہ David Mudrák -
Language pack maintainers کی تصویر

See https://daringfireball.net/projects/markdown/syntax for the Markdown syntax used for the help strings. Common mistake may be that an empty line is needed before and after the list block.

This does NOT work. No blank like after this paragraph.
* First list item.
* Second list item.
This DOES work. Note the empty line after this paragraph.

* First list item.
* Second list item.

It would be a bug if it did not work in locally customised strings.

David Mudrák کے جواب میں

Ang: Re: The use of * to make ul's in lang strings

بذریعہ Bente Olsen -
Language pack maintainers کی تصویر

Thank you clarifying this.

Does it mean that lang strings can use a modified version of the creole format or does this apply to the use of creole in wikis too?

Bente Olsen کے جواب میں

Re: Ang: Re: The use of * to make ul's in lang strings

بذریعہ David Mudrák -
Language pack maintainers کی تصویر

I don't know much about Creole format and I do not think this is anyhow related to it.

The Markdown formatting is supported for help strings only (those with _help suffix in their name).

See https://docs.moodle.org/en/Markdown and https://docs.moodle.org/dev/Help_strings for details.