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

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

Nosūtīja Bente Olsen
Atbilžu skaits: 4
Language pack maintainers attēls

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.

Atbildot uz Bente Olsen

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

Nosūtīja David Mudrák
Language pack maintainers attēls

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.

Atbildot uz David Mudrák

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

Nosūtīja Bente Olsen
Language pack maintainers attēls

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?

Atbildot uz Bente Olsen

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

Nosūtīja David Mudrák
Language pack maintainers attēls

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.