25
1
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:
Badlop 2009-06-23 00:05:08 +00:00
parent 34a490361f
commit 6140047edf

View File

@ -690,12 +690,12 @@ adhoc_join(From, To, #adhoc_request{lang = Lang,
{xmlelement, "field", {xmlelement, "field",
[{"var", "channel"}, [{"var", "channel"},
{"type", "text-single"}, {"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, "required", [], []}]},
{xmlelement, "field", {xmlelement, "field",
[{"var", "server"}, [{"var", "server"},
{"type", "text-single"}, {"type", "text-single"},
{"label", translate:translate(Lang, "Server")}], {"label", translate:translate(Lang, "IRC server")}],
[{xmlelement, "required", [], []}]}]}, [{xmlelement, "required", [], []}]}]},
adhoc:produce_response(Request, adhoc:produce_response(Request,
#adhoc_response{status = executing, #adhoc_response{status = executing,
@ -736,7 +736,7 @@ adhoc_join(From, To, #adhoc_request{lang = Lang,
{xmlelement, "body", [], {xmlelement, "body", [],
[{xmlcdata, io_lib:format( [{xmlcdata, io_lib:format(
translate:translate(Lang, translate:translate(Lang,
"Find the IRC channel at JID ~s"), "Join the IRC channel in this Jabber ID: ~s"),
[RoomJID])}]}]}, [RoomJID])}]}]},
ejabberd_router:route(jlib:string_to_jid(RoomJID), From, Invite), ejabberd_router:route(jlib:string_to_jid(RoomJID), From, Invite),
adhoc:produce_response(Request, #adhoc_response{status = completed}); adhoc:produce_response(Request, #adhoc_response{status = completed});