Use the same wording in all the identical options db_type and ram_db_type

This commit is contained in:
Badlop 2022-01-26 23:13:32 +01:00
parent 3b30d5b0ed
commit c92478f7c2
4 changed files with 10 additions and 13 deletions

View File

@ -244,7 +244,8 @@ mod_doc() ->
{ram_db_type,
#{value => "mnesia | sql | redis",
desc =>
?T("Same as _`default_ram_db`_ but applied to this module only.")}},
?T("Same as top-level _`default_ram_db`_ option, "
"but applied to this module only.")}},
{use_cache,
#{value => "true | false",
desc =>

View File

@ -1424,14 +1424,13 @@ mod_doc() ->
{db_type,
#{value => "mnesia | sql",
desc =>
?T("Define the type of persistent storage where the module will "
"store room information. The default is the storage defined "
"by the global option 'default_db', or 'mnesia' if omitted.")}},
?T("Same as top-level _`default_db`_ option, "
"but applied to this module only.")}},
{ram_db_type,
#{value => "mnesia | sql",
desc =>
?T("Define the type of volatile (in-memory) storage where the module "
"will store room information ('muc_online_room' and 'muc_online_users').")}},
?T("Same as top-level _`default_ram_db`_ option, "
"but applied to this module only.")}},
{hibernation_timeout,
#{value => "infinity | Seconds",
desc =>

View File

@ -173,8 +173,8 @@ mod_doc() ->
{ram_db_type,
#{value => "mnesia | redis | sql",
desc =>
?T("Define the type of volatile (in-memory) storage where the module "
"will store room information.")}},
?T("Same as top-level _`default_ram_db`_ option, "
"but applied to this module only.")}},
{ip,
#{value => ?T("IPAddress"),
desc =>

View File

@ -1276,11 +1276,8 @@ mod_doc() ->
[{db_type,
#{value => "mnesia | sql",
desc =>
?T("Define the type of storage where the module will create "
"the tables and store user information. The default is "
"the storage defined by the top-level _`default_db`_ option, "
"or 'mnesia' if omitted. If 'sql' value is defined, "
"make sure you have defined the database.")}},
?T("Same as top-level _`default_db`_ option, "
"but applied to this module only.")}},
{use_cache,
#{value => "true | false",
desc =>