Index: openacs-4/packages/chat/catalog/chat.de_DE.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/chat/catalog/chat.de_DE.ISO-8859-1.xml,v diff -u -r1.1.2.2 -r1.1.2.3 --- openacs-4/packages/chat/catalog/chat.de_DE.ISO-8859-1.xml 7 Apr 2006 16:59:51 -0000 1.1.2.2 +++ openacs-4/packages/chat/catalog/chat.de_DE.ISO-8859-1.xml 25 Apr 2006 10:43:50 -0000 1.1.2.3 @@ -1,5 +1,5 @@ - + Aktionen Aktiv Index: openacs-4/packages/chat/catalog/chat.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/chat/catalog/chat.en_US.ISO-8859-1.xml,v diff -u -r1.1.2.2 -r1.1.2.3 --- openacs-4/packages/chat/catalog/chat.en_US.ISO-8859-1.xml 7 Apr 2006 16:59:51 -0000 1.1.2.2 +++ openacs-4/packages/chat/catalog/chat.en_US.ISO-8859-1.xml 25 Apr 2006 10:43:50 -0000 1.1.2.3 @@ -1,5 +1,5 @@ - + Actions Active @@ -41,7 +41,7 @@ Creation date Current conversation date - Raum nach Erstellung des Protokolls deaktivieren + Deactive the room after creating transcript Delete all messages in the room Delete messages Delete messages after creating the transcript @@ -67,7 +67,7 @@ HTML HTML html client - JavaScript + Java Java Javascript key @@ -79,6 +79,7 @@ Moderated Message Name + No No information available No active Refresh @@ -100,7 +101,7 @@ to Protocol Transcript name - Protocol of + Transcript of Protocol of the messages in room Transcript preview transcription of all chat messages Index: openacs-4/packages/chat/catalog/chat.es_ES.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/chat/catalog/chat.es_ES.ISO-8859-1.xml,v diff -u -r1.1 -r1.1.2.1 --- openacs-4/packages/chat/catalog/chat.es_ES.ISO-8859-1.xml 14 Mar 2006 12:16:08 -0000 1.1 +++ openacs-4/packages/chat/catalog/chat.es_ES.ISO-8859-1.xml 25 Apr 2006 10:43:50 -0000 1.1.2.1 @@ -1,17 +1,27 @@ - + + Acciones Activo + Usuarios activos A�adir moderador A�adir un usuario a la sala - Archivo + Ajax + Cliente Ajax + Archivar Seguro que quieres borrar Seguro que quieres revocar el permiso de usuario de chat de Seguro que quieres revocar el permiso de moderador de chat de Seguro que quieres no expulsar + �Vaciar autom�ticamente la sala de mensajes a medianoche? + Vacia autom�ticamente la sala a medianoche. S�lo se usar� si ha elegido la opci�n "Archivar". + Transcripci�n creada autom�ticamente + �Crear transcripci�n autom�ticamente antes de vaciar la sala? + Crea, de forma autom�tica, una transcripci�n antes de vaciar la sala. Expulsar Permiso de Expulsar para Expulsar usuario + Usuarios expulsados Chat P�gina principal de chat Confirmar el borrado de la transcripci�n del chat @@ -28,16 +38,23 @@ Error creando una sala nueva Crear sala Crear transcripci�n + Fecha de creaci�n + Conversaci�n en curso + fecha + Desactivar la sala una vez creada la transcripci�n Borrar todos los mensajes de la sala Borrar mensajes + Borrar mensajes despu�s de crear la transcripci�n Error borrando mensajes Borrar sala Error borrando sala Borrar transcripci�n Error borrando transcripci�n Descripci�n Editar + Editar sala Editar transcripci�n + Salir de la sala Acciones extremas de Asignar @@ -47,31 +64,51 @@ Asignar usuario ha entrado en la sala ha abandonado la sala + HTML HTML + Cliente HTML + Java Java + Javascript clave + �ltima actividad Salir + Mensaje + N�mero de mensajes mensajes en Moderada + Mensaje Nombre + No No hay informaci�n disponible + No activa + Refrescar quitar Revocar revocar Revocar moderador Revocar usuario Admin + Desactivar la sala Informaci�n de sala Moderadores de sala Nombre de la sala Sala no activa Sala no encontrada. Id de sala incorrecto Enviar/Actualizar + Enviando mensaje... No hay salas disponibles a + Transcripci�n Nombre de la transcripci�n + Transcripci�n del + Transcripci�n de los mensajes de la sala Previsualizaci�n de la transcripci�n + Transcripci�n de todos los mensajes Transcripciones + Transcripciones de la sala + Transcripci�n + Transcripci�n No autorizado Privilegio no autorizado No expulsar @@ -84,7 +121,8 @@ Ver Ver transcrici�n por nombre o email o usuario limitado a - Si + <b>Atenci�n</b> El par�metro "DefaultClient" contiene "Ajax" pero el paquete xotcl-core no est� instalado. El chat Ajax no podr� funcionar sin xotcl-core. + S� No tienes permiso para entrar en esta sala tu nombre es Index: openacs-4/packages/chat/lib/transcripts.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/chat/lib/transcripts.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/chat/lib/transcripts.tcl 30 Mar 2006 09:15:12 -0000 1.1.2.1 +++ openacs-4/packages/chat/lib/transcripts.tcl 25 Apr 2006 10:43:50 -0000 1.1.2.2 @@ -4,7 +4,7 @@ # List available chat transcript db_multirow -extend { creation_date_pretty viewer } chat_transcripts list_transcripts *SQL* { - set creation_date_pretty [lc_time_fmt $creation_date "%d.%m.%Y %T"] + set creation_date_pretty [lc_time_fmt $creation_date "%q %X"] } list::create \ @@ -15,7 +15,7 @@ -row_pretty_plural [_ chat.Transcripts] \ -elements { pretty_name { - label "Name" + label "#chat.Name#" link_url_eval {chat-transcript?room_id=$room_id&transcript_id=$transcript_id} } creation_date_pretty { Index: openacs-4/packages/chat/tcl/chat-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/chat/tcl/chat-procs.tcl,v diff -u -r1.5.2.5 -r1.5.2.6 --- openacs-4/packages/chat/tcl/chat-procs.tcl 12 Apr 2006 18:16:55 -0000 1.5.2.5 +++ openacs-4/packages/chat/tcl/chat-procs.tcl 25 Apr 2006 10:43:50 -0000 1.5.2.6 @@ -118,9 +118,12 @@ } } - if [catch {chat_post_message_to_db -creation_user $user_id $room_id $msg} errmsg] { - ns_log error "chat_post_message_to_db: error: $errmsg" - } + chat_room_get -room_id $room_id -array room_info + if { $room_info(archive_p) eq "t" } { + if [catch {chat_post_message_to_db -creation_user $user_id $room_id $msg} errmsg] { + ns_log error "chat_post_message_to_db: error: $errmsg" + } + } nsv_lappend chat_room $room_id $line Index: openacs-4/packages/chat/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/chat/www/index.tcl,v diff -u -r1.3.2.4 -r1.3.2.5 --- openacs-4/packages/chat/www/index.tcl 11 Apr 2006 11:29:46 -0000 1.3.2.4 +++ openacs-4/packages/chat/www/index.tcl 25 Apr 2006 10:43:50 -0000 1.3.2.5 @@ -44,7 +44,7 @@ -row_pretty_plural [_ chat.rooms] \ -elements { active { - label "Aktiv" + label "#chat.Active#" html { align "center" } display_template { @@ -60,11 +60,11 @@ } } pretty_name { - label "Name" + label "#chat.Name#" html { width 400px } display_template { - @rooms.pretty_name@ + @rooms.pretty_name@ \[#chat.HTML_chat#\] @rooms.pretty_name@ Index: openacs-4/packages/chat/www/room-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/chat/www/room-edit.tcl,v diff -u -r1.4.2.2 -r1.4.2.3 --- openacs-4/packages/chat/www/room-edit.tcl 7 Apr 2006 16:59:52 -0000 1.4.2.2 +++ openacs-4/packages/chat/www/room-edit.tcl 25 Apr 2006 10:43:50 -0000 1.4.2.3 @@ -30,23 +30,23 @@ } {active_p:boolean(radio) {label "#chat.Active#" } - {options {{Ja t} {Nein f}}} + {options {{"#chat.Yes#" t} {"#chat.No#" f}}} {value "t"} } {archive_p:boolean(radio) {label "#chat.Archive#" } - {options {{Ja t} {Nein f}}} + {options {{"#chat.Yes#" t} {"#chat.No#" f}}} {value "t"} } {auto_flush_p:boolean(radio) {label "#chat.AutoFlush#" } - {options {{Ja t} {Nein f}}} + {options {{"#chat.Yes#" t} {"#chat.No#" f}}} {value "t"} {help_text "[_ chat.AutoFlushHelp]"} } {auto_transcript_p:boolean(radio) {label "#chat.AutoTranscript#" } - {options {{Ja t} {Nein f}}} + {options {{"#chat.Yes#" t} {"#chat.No#" f}}} {value "f"} {help_text "[_ chat.AutoTranscriptHelp]"} }