diff options
author | Badlop <badlop@process-one.net> | 2020-04-08 18:48:09 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2021-03-26 11:01:45 +0100 |
commit | 3e4ebfae7e2531820ceb738bbad18f06db353f33 (patch) | |
tree | cc8a2999b8895a25ec8d6bc44fcee99bc65be46b /src/ejabberd_doc.erl | |
parent | Run "make translations", and *.msg get a warning to not edit them manually (diff) |
Revert "Add ejabberd version number to man pages"
That versioning just added noise to the git log in each release.
This reverts commit aa0ed370348c37e3f3186f4b36d0a19db02cf888.
Diffstat (limited to 'src/ejabberd_doc.erl')
-rw-r--r-- | src/ejabberd_doc.erl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ejabberd_doc.erl b/src/ejabberd_doc.erl index fb13e417..89f1be11 100644 --- a/src/ejabberd_doc.erl +++ b/src/ejabberd_doc.erl @@ -69,11 +69,10 @@ man(Lang) -> catch _:undef -> [] end end, ejabberd_config:callback_modules(all)), - Version = binary_to_list(ejabberd_option:version()), Options = ["TOP LEVEL OPTIONS", "-----------------", - "This section describes top level options of ejabberd "++Version, + tr(Lang, ?T("This section describes top level options of ejabberd.")), io_lib:nl()] ++ lists:flatmap( fun(Opt) -> @@ -93,7 +92,7 @@ man(Lang) -> "MODULES", "-------", "[[modules]]", - "This section describes options of all modules in ejabberd "++Version, + tr(Lang, ?T("This section describes options of all ejabberd modules.")), io_lib:nl()] ++ lists:flatmap( fun({M, Descr, DocOpts, Backends, Example}) -> @@ -112,7 +111,7 @@ man(Lang) -> "LISTENERS", "-------", "[[listeners]]", - "This section describes options of all listeners in ejabberd "++Version, + tr(Lang, ?T("This section describes options of all ejabberd listeners.")), io_lib:nl(), "TODO"], AsciiData = |