25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

* src/mod_muc/mod_muc_room.erl: Allow unmoderated rooms (EJAB-437)

* src/msgs/*: Recover old translations to several languages from
ejabberd 1.1.4

SVN Revision: 1191
This commit is contained in:
Badlop 2008-02-14 11:25:39 +00:00
parent aa22e20e0a
commit def7b0ff90
14 changed files with 24 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2008-02-14 Badlop <badlop@process-one.net>
* src/mod_muc/mod_muc_room.erl: Allow unmoderated rooms (EJAB-437)
* src/msgs/*: Recover old translations to several languages from
ejabberd 1.1.4
2008-02-14 Alexey Shchepin <alexey@process-one.net>
* src/cyrsasl_digest.erl: Unquote backslash in DIGEST-MD5 quoted

View File

@ -65,7 +65,7 @@
public = true,
public_list = true,
persistent = false,
moderated = true, % TODO
moderated = true,
members_by_default = true,
members_only = false,
allow_user_invites = false,
@ -781,7 +781,8 @@ process_groupchat_message(From, {xmlelement, "message", Attrs, _Els} = Packet,
?DICT:find(jlib:jid_tolower(From),
StateData#state.users),
if
(Role == moderator) or (Role == participant) ->
(Role == moderator) or (Role == participant)
or ((StateData#state.config)#config.moderated == false) ->
{NewStateData1, IsAllowed} =
case check_subject(Packet) of
false ->
@ -2639,9 +2640,9 @@ get_config(Lang, StateData, From) ->
?BOOLXFIELD("Make room members-only",
"muc#roomconfig_membersonly",
Config#config.members_only),
%%?BOOLXFIELD("Make room moderated",
%% "muc#roomconfig_moderatedroom",
%% Config#config.moderated),
?BOOLXFIELD("Make room moderated",
"muc#roomconfig_moderatedroom",
Config#config.moderated),
?BOOLXFIELD("Default users as participants",
"members_by_default",
Config#config.members_by_default),

View File

@ -106,6 +106,7 @@
{"Specified nickname is already registered", "Zadaná přezdívka je již zaregistrována"}.
% mod_muc/mod_muc_room.erl
{"Make room moderated", "Nastavit místnost jako moderovanou"}.
{" has set the subject to: ", " změnil(a) téma na: "}.
{"You need an x:data capable client to configure room", "Ke konfiguraci místnosti potřebujete klienta podporujícího x:data"}.
{"Configuration for ", "Konfigurace pro "}.

View File

@ -326,6 +326,7 @@
{"ejabberd MUC module", "ejabberd MUC Modul"}.
% mod_muc/mod_muc_room.erl
{"Make room moderated", "Raum modieriert machen"}.
{"Traffic rate limit is exceeded", "Datenrate ist zu hoch"}.
{"It is not allowed to send private messages to the conference", "Es ist nicht erlaubt private Nachrichten an den Raum zu schicken"}.
{"Improper message type", "Unzulässiger Nachrichtentyp"}.

View File

@ -142,6 +142,7 @@
{"Chatrooms", "Salas de charla"}.
% mod_muc/mod_muc_room.erl
{"Make room moderated", "Sala moderada"}.
{" has set the subject to: ", " ha puesto el asunto: "}.
{"You need an x:data capable client to configure room", "Necesitas un cliente con soporte de x:data para configurar la sala"}.
{"Configuration for ", "Configuración para "}.

View File

@ -205,6 +205,7 @@
{"Chatrooms", "Salons de discussion"}.
% mod_muc/mod_muc_room.erl
{"Make room moderated", "Rendre le salon modéré"}.
{" has set the subject to: ", " a changé le sujet pour: "}.
{"You need an x:data capable client to configure room", "Vous avez besoin d'un client supportant x:data pour configurer le salon"}.
{"Configuration for ", "Configuration pour "}.

View File

@ -153,6 +153,7 @@
{"Chatrooms", "Groepsgesprekken"}.
% mod_muc/mod_muc_room.erl
{"Make room moderated", "Chatruimte gemodereerd maken"}.
{"Only moderators and participants are allowed to change subject in this room", "Alleen moderators en deelnemers mogen het onderwerp van deze chatruimte veranderen"}.
{"Only moderators are allowed to change subject in this room", "Alleen moderators mogen het onderwerp van deze chatruimte veranderen"}.
{"Visitors are not allowed to send messages to all occupants", "Bezoekers mogen geen berichten verzenden naar alle aanwezigen"}.

View File

@ -115,6 +115,7 @@
{"Specified nickname is already registered", "Podany nick jest już zarejestrowany"}.
% mod_muc/mod_muc_room.erl
{"Make room moderated", "Moderuj pokój"}.
{"Traffic rate limit is exceeded", "Limit transferu przekroczony"}.
{"Maximum Number of Occupants", "Maksymalna liczba uczestników"}.
{"No limit", "Bez limitu"}.

View File

@ -116,6 +116,7 @@
{"You need an x:data capable client to register nickname", "Necessitas um cliente com suporte de x:data para poder registrar o nick"}.
% mod_muc/mod_muc_room.erl
{"Make room moderated", "Tornar a sala moderada"}.
{"Administrator privileges required", "Se necessita privilégios de administrador"}.
{"Configuration for ", "Configuração para "}.
{" has set the subject to: ", " a posto o assunto: "}.

View File

@ -105,6 +105,7 @@
{"Specified nickname is already registered", "A alcunha especificada já está registada"}.
% mod_muc/mod_muc_room.erl
{"Make room moderated", "Tornar a sala moderada"}.
{" has set the subject to: ", " colocou o tópico: "}.
{"You need an x:data capable client to configure room", "É necessário um cliente com suporte de x:data para configurar a sala"}.
{"Configuration for ", "Configuração para "}.

View File

@ -206,6 +206,7 @@
{"Room Configuration", "Конфигурация комнаты"}.
% mod_muc/mod_muc_room.erl
{"Make room moderated", "Сделать комнату модерируемой"}.
{"This room is not anonymous", "Эта комната не анонимная"}.
{" has set the subject to: ", " установил(а) тему: "}.
{"You need an x:data capable client to configure room", "Чтобы сконфигурировать комнату, требуется x:data-совместимый клиент"}.

View File

@ -106,6 +106,7 @@
{"ejabberd MUC module", "Ejabberd MUC modul"}.
% mod_muc/mod_muc_room.erl
{"Make room moderated", "Nastaviť miestnosť ako moderovanú"}.
{"This room is not anonymous", "Táto miestnosť nie je anonymná"}.
{"Make room persistent", "Nastaviť miestnosť ako trvalú"}.
{"Make room public searchable", "Nastaviť miestnosť ako verejne prehľadávateľnú"}.

View File

@ -132,6 +132,7 @@
{"Specified nickname is already registered", "Detta smeknamnet är redan registrerat"}.
% mod_muc/mod_muc_room.erl
{"Make room moderated", "Gör rummet modererat"}.
{" has set the subject to: ", " har satt ämnet till: "}.
{"You need an x:data capable client to configure room", "Du behöver en klient som stödjer x:data för att konfiguera detta rum"}.
{"Configuration for ", "Konfiguration för "}.

View File

@ -206,6 +206,7 @@
{"Room Configuration", "Конфігурація кімнати"}.
% mod_muc/mod_muc_room.erl
{"Make room moderated", "Зробити кімнату модерованою"}.
{"Traffic rate limit is exceeded", "Швидкість передачі інформації було перевищено"}.
{"Maximum Number of Occupants", "Максимальна кількість учасників"}.
{"No limit", "Без обмежень"}.
@ -383,4 +384,3 @@
% mode: erlang
% End:
% vim: set filetype=erlang tabstop=8: