mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Rewrite sentences in modules options examples, to not break Docs indentation
This commit is contained in:
parent
b56663ef07
commit
4a7d42647f
@ -481,12 +481,9 @@ mod_doc() ->
|
||||
"the list of supported formats is detected at compile time "
|
||||
"depending on the image libraries installed in the system."),
|
||||
example =>
|
||||
[{?T("In this example avatars in WebP format are "
|
||||
"converted to JPEG, all other formats are "
|
||||
"converted to PNG:"),
|
||||
["convert:",
|
||||
" webp: jpg",
|
||||
" default: png"]}]}},
|
||||
" default: png"]}},
|
||||
{rate_limit,
|
||||
#{value => ?T("Number"),
|
||||
desc =>
|
||||
|
@ -522,12 +522,11 @@ mod_doc() ->
|
||||
?T("Specify mappings of extension to content type. "
|
||||
"There are several content types already defined. "
|
||||
"With this option you can add new definitions "
|
||||
"or modify existing ones."),
|
||||
"or modify existing ones. The default values are:"),
|
||||
example =>
|
||||
[{?T("The default value is shown in the example below:"),
|
||||
["content_types:"|
|
||||
["content_types:"|
|
||||
[" " ++ binary_to_list(E) ++ ": " ++ binary_to_list(T)
|
||||
|| {E, T} <- ?DEFAULT_CONTENT_TYPES]]}]}},
|
||||
|| {E, T} <- ?DEFAULT_CONTENT_TYPES]]}},
|
||||
{default_content_type,
|
||||
#{value => ?T("Type"),
|
||||
desc =>
|
||||
|
Loading…
Reference in New Issue
Block a user