Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Nordhøy <epost@anotheragency.no>2021-01-14 12:21:07 +0300
committerGitHub <noreply@github.com>2021-01-14 12:21:07 +0300
commit3d1efd14dc64733f91583c74e92db23f6f3bf995 (patch)
tree8da95ac27981220cea517dbcef26de6bee93551b /src/ejabberd_oauth.erl
parent7fc500dae6c7c2c8db95e56607f179aa9f00dd9c (diff)
ejabberd_oauth language reworked
Diffstat (limited to 'src/ejabberd_oauth.erl')
-rw-r--r--src/ejabberd_oauth.erl18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ejabberd_oauth.erl b/src/ejabberd_oauth.erl
index 5b7384256..b7e3acc8c 100644
--- a/src/ejabberd_oauth.erl
+++ b/src/ejabberd_oauth.erl
@@ -80,19 +80,19 @@
get_commands_spec() ->
[
#ejabberd_commands{name = oauth_issue_token, tags = [oauth],
- desc = "Issue an oauth token for the given jid",
+ desc = "Issue an OAuth token for the given JID",
module = ?MODULE, function = oauth_issue_token,
args = [{jid, string},{ttl, integer}, {scopes, string}],
policy = restricted,
args_example = ["user@server.com", 3600, "connected_users_number;muc_online_rooms"],
- args_desc = ["Jid for which issue token",
+ args_desc = ["JID for which issue token",
"Time to live of generated token in seconds",
"List of scopes to allow, separated by ';'"],
result = {result, {tuple, [{token, string}, {scopes, string}, {expires_in, string}]}}
},
#ejabberd_commands{name = oauth_list_tokens, tags = [oauth],
- desc = "List oauth tokens, user, scope, and seconds to expire (only Mnesia)",
- longdesc = "List oauth tokens, their user and scope, and how many seconds remain until expirity",
+ desc = "List OAuth tokens, user, scope, and seconds to expire (only Mnesia)",
+ longdesc = "List OAuth tokens, their user and scope, and how many seconds remain until expirity",
module = ?MODULE, function = oauth_list_tokens,
args = [],
policy = restricted,
@@ -107,7 +107,7 @@ get_commands_spec() ->
result_desc = "List of remaining tokens"
},
#ejabberd_commands{name = oauth_add_client_password, tags = [oauth],
- desc = "Add OAUTH client_id with password grant type",
+ desc = "Add OAuth client_id with password grant type",
module = ?MODULE, function = oauth_add_client_password,
args = [{client_id, binary},
{client_name, binary},
@@ -116,7 +116,7 @@ get_commands_spec() ->
result = {res, restuple}
},
#ejabberd_commands{name = oauth_add_client_implicit, tags = [oauth],
- desc = "Add OAUTH client_id with implicit grant type",
+ desc = "Add OAuth client_id with implicit grant type",
module = ?MODULE, function = oauth_add_client_implicit,
args = [{client_id, binary},
{client_name, binary},
@@ -125,7 +125,7 @@ get_commands_spec() ->
result = {res, restuple}
},
#ejabberd_commands{name = oauth_remove_client, tags = [oauth],
- desc = "Remove OAUTH client_id",
+ desc = "Remove OAuth client_id",
module = ?MODULE, function = oauth_remove_client,
args = [{client_id, binary}],
policy = restricted,
@@ -496,7 +496,7 @@ process(_Handlers,
?XAE(<<"form">>,
[{<<"action">>, <<"authorization_token">>},
{<<"method">>, <<"post">>}],
- [?LABEL(<<"username">>, [?CT(?T("User (jid)")), ?C(<<": ">>)]),
+ [?LABEL(<<"username">>, [?CT(?T("User (JID)")), ?C(<<": ">>)]),
?INPUTID(<<"email">>, <<"username">>, <<"">>),
?BR,
?LABEL(<<"password">>, [?CT(?T("Password")), ?C(<<": ">>)]),
@@ -547,7 +547,7 @@ process(_Handlers,
?C(<<" is maintained by ">>),
?XAC(<<"a">>,
[{<<"href">>, <<"https://www.process-one.net">>},
- {<<"title">>, <<"ProcessOne - Leader in Instant Messaging and Push Solutions">>}],
+ {<<"title">>, <<"ProcessOne—Leader in Instant Messaging and Push Solutions">>}],
<<"ProcessOne">>)
])]),
Body = ?DIV(<<"container">>, [Top, Middle, Bottom]),