mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Change some translatable strings.
SVN Revision: 2332
This commit is contained in:
parent
34a490361f
commit
6140047edf
@ -690,12 +690,12 @@ adhoc_join(From, To, #adhoc_request{lang = Lang,
|
||||
{xmlelement, "field",
|
||||
[{"var", "channel"},
|
||||
{"type", "text-single"},
|
||||
{"label", translate:translate(Lang, "Channel to join (without leading #)")}],
|
||||
{"label", translate:translate(Lang, "IRC channel (don't put the first #)")}],
|
||||
[{xmlelement, "required", [], []}]},
|
||||
{xmlelement, "field",
|
||||
[{"var", "server"},
|
||||
{"type", "text-single"},
|
||||
{"label", translate:translate(Lang, "Server")}],
|
||||
{"label", translate:translate(Lang, "IRC server")}],
|
||||
[{xmlelement, "required", [], []}]}]},
|
||||
adhoc:produce_response(Request,
|
||||
#adhoc_response{status = executing,
|
||||
@ -736,7 +736,7 @@ adhoc_join(From, To, #adhoc_request{lang = Lang,
|
||||
{xmlelement, "body", [],
|
||||
[{xmlcdata, io_lib:format(
|
||||
translate:translate(Lang,
|
||||
"Find the IRC channel at JID ~s"),
|
||||
"Join the IRC channel in this Jabber ID: ~s"),
|
||||
[RoomJID])}]}]},
|
||||
ejabberd_router:route(jlib:string_to_jid(RoomJID), From, Invite),
|
||||
adhoc:produce_response(Request, #adhoc_response{status = completed});
|
||||
|
Loading…
Reference in New Issue
Block a user