25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Restore forgotten translations from previous commit

This commit is contained in:
Evgeniy Khramtsov 2018-06-20 12:50:36 +03:00
parent 446e6e6f3b
commit 9e83c45b3c
6 changed files with 30 additions and 6 deletions

View File

@ -544,6 +544,10 @@ msgstr ""
msgid "Enter the text you see"
msgstr ""
#: mod_vcard:202
msgid "Erlang Jabber Server"
msgstr ""
#: ejabberd_web_admin:1689 ejabberd_web_admin:1860
msgid "Error"
msgstr ""
@ -2531,10 +2535,30 @@ msgstr ""
msgid "ejabberd"
msgstr ""
#: mod_muc:468
msgid "ejabberd MUC module"
msgstr ""
#: mod_multicast:258
msgid "ejabberd Multicast service"
msgstr ""
#: mod_pubsub:1081
msgid "ejabberd Publish-Subscribe module"
msgstr ""
#: mod_proxy65_service:161
msgid "ejabberd SOCKS5 Bytestreams module"
msgstr ""
#: ejabberd_web_admin:298 ejabberd_web_admin:330
msgid "ejabberd Web Admin"
msgstr ""
#: mod_vcard:239
msgid "ejabberd vCard module"
msgstr ""
#: mod_muc_log:379 mod_muc_log:382
msgid "has been banned"
msgstr ""

View File

@ -465,7 +465,7 @@ process_vcard(#iq{type = get, lang = Lang, sub_els = [#vcard_temp{}]} = IQ) ->
xmpp:make_iq_result(
IQ, #vcard_temp{fn = <<"ejabberd/mod_muc">>,
url = ejabberd_config:get_uri(),
desc = misc:get_descr(Lang, <<"ejabberd MUC module">>)});
desc = misc:get_descr(Lang, ?T("ejabberd MUC module"))});
process_vcard(#iq{type = set, lang = Lang} = IQ) ->
Txt = <<"Value 'set' of 'type' attribute is not allowed">>,
xmpp:make_error(IQ, xmpp:err_not_allowed(Txt, Lang));

View File

@ -255,7 +255,7 @@ iq_disco_info(From, Lang, State) ->
iq_vcard(Lang) ->
#vcard_temp{fn = <<"ejabberd/mod_multicast">>,
url = ejabberd_config:get_uri(),
desc = misc:get_descr(Lang, <<"ejabberd Multicast service">>)}.
desc = misc:get_descr(Lang, ?T("ejabberd Multicast service"))}.
%%%-------------------------
%%% Route

View File

@ -158,7 +158,7 @@ process_vcard(#iq{type = get, lang = Lang} = IQ) ->
xmpp:make_iq_result(
IQ, #vcard_temp{fn = <<"ejabberd/mod_proxy65">>,
url = ejabberd_config:get_uri(),
desc = misc:get_descr(Lang, <<"ejabberd SOCKS5 Bytestreams module">>)}).
desc = misc:get_descr(Lang, ?T("ejabberd SOCKS5 Bytestreams module"))}).
-spec process_bytestreams(iq()) -> iq().
process_bytestreams(#iq{type = get, from = JID, to = To, lang = Lang} = IQ) ->

View File

@ -1078,7 +1078,7 @@ iq_sm(#iq{to = To, sub_els = [SubEl]} = IQ) ->
-spec iq_get_vcard(binary()) -> vcard_temp().
iq_get_vcard(Lang) ->
Desc = misc:get_descr(Lang, <<"ejabberd Publish-Subscribe module">>),
Desc = misc:get_descr(Lang, ?T("ejabberd Publish-Subscribe module")),
#vcard_temp{fn = <<"ejabberd/mod_pubsub">>,
url = ejabberd_config:get_uri(),
desc = Desc}.

View File

@ -199,7 +199,7 @@ process_local_iq(#iq{type = get, lang = Lang} = IQ) ->
xmpp:make_iq_result(
IQ, #vcard_temp{fn = <<"ejabberd">>,
url = ejabberd_config:get_uri(),
desc = misc:get_descr(Lang, <<"Erlang Jabber Server">>),
desc = misc:get_descr(Lang, ?T("Erlang Jabber Server")),
bday = <<"2002-11-16">>}).
-spec process_sm_iq(iq()) -> iq().
@ -236,7 +236,7 @@ process_vcard(#iq{type = get, lang = Lang} = IQ) ->
xmpp:make_iq_result(
IQ, #vcard_temp{fn = <<"ejabberd/mod_vcard">>,
url = ejabberd_config:get_uri(),
desc = misc:get_descr(Lang, <<"ejabberd vCard module">>)}).
desc = misc:get_descr(Lang, ?T("ejabberd vCard module"))}).
-spec process_search(iq()) -> iq().
process_search(#iq{type = get, to = To, lang = Lang} = IQ) ->