Index: openacs-4/packages/forums/catalog/forums.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/catalog/forums.en_US.ISO-8859-1.xml,v diff -u -r1.39 -r1.39.2.1 --- openacs-4/packages/forums/catalog/forums.en_US.ISO-8859-1.xml 14 Mar 2008 21:37:42 -0000 1.39 +++ openacs-4/packages/forums/catalog/forums.en_US.ISO-8859-1.xml 2 Jun 2008 18:05:15 -0000 1.39.2.1 @@ -24,6 +24,7 @@ Charter exceeds maximum length (4000 characters) closed Collapse + Collapse message Confirm? Confirm Delete: Confirm Move to @@ -53,6 +54,7 @@ Enter a list of email addresses, optionally with first and last names. They will be subscribed to this forum. As an example: Entire Thread Expand + Expand message First Post Flat Flat Index: openacs-4/packages/forums/catalog/forums.es_ES.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/catalog/forums.es_ES.ISO-8859-1.xml,v diff -u -r1.18 -r1.18.2.1 --- openacs-4/packages/forums/catalog/forums.es_ES.ISO-8859-1.xml 10 Dec 2007 09:12:34 -0000 1.18 +++ openacs-4/packages/forums/catalog/forums.es_ES.ISO-8859-1.xml 2 Jun 2008 18:05:15 -0000 1.18.2.1 @@ -15,6 +15,7 @@ Archivos adjuntos: Autor Foros disponibles + Mensajes disponibles Regresar a %forum.name% <a href="%thread_url%">Volver</a> a %forum.name% Cuerpo del mensaje @@ -24,6 +25,7 @@ La tem�tica no puede superar el l�mite de 4000 caracteres cerrado Contraer + Colapsar mensaje �Es correcto? Confirmaci�n para eliminar: Confirmar mover mensaje @@ -53,6 +55,7 @@ Ingrese una lista de correos electr�nicos, si desea agregue nombres y apellidos. Ellos ser�n suscritos autom�ticamente a este foro. Por ejemplo: Hilo completo Expandir + Expandir mensaje Primer mensaje Sin hilos Plano @@ -98,6 +101,7 @@ Administrar Administrar Foro de Discusi�n: Administrar/Moderar + Marcar todos como le�dos Mensaje ID T�tulo Moderar @@ -143,6 +147,7 @@ Enviar un mensaje Enviar un nuevo mensaje Enviar una respuesta + Postear de forma an�nima Enviar al foro: Enviados Enviado por Index: openacs-4/packages/forums/lib/message/row.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/message/row.adp,v diff -u -r1.15.2.1 -r1.15.2.2 --- openacs-4/packages/forums/lib/message/row.adp 19 Mar 2008 22:21:45 -0000 1.15.2.1 +++ openacs-4/packages/forums/lib/message/row.adp 2 Jun 2008 18:05:15 -0000 1.15.2.2 @@ -29,7 +29,7 @@
- + + #forums.collapse#
Index: openacs-4/packages/forums/lib/message/thread-chunk.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/lib/message/thread-chunk.tcl,v diff -u -r1.9 -r1.9.2.1 --- openacs-4/packages/forums/lib/message/thread-chunk.tcl 23 Dec 2007 14:50:15 -0000 1.9 +++ openacs-4/packages/forums/lib/message/thread-chunk.tcl 2 Jun 2008 18:05:15 -0000 1.9.2.1 @@ -144,7 +144,7 @@ # this is needed to make the javascript work lappend one_children_list "null" } - append response_arrays_stub " replies\[$one_parent_id\] = new Array([join $one_children_list ","]);\n" + append response_arrays_stub " forums_replies\[$one_parent_id\] = new Array([join $one_children_list ","]);\n" } append response_arrays_stub "--> Index: openacs-4/packages/forums/www/message-view.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/www/message-view.tcl,v diff -u -r1.44.2.4 -r1.44.2.5 --- openacs-4/packages/forums/www/message-view.tcl 21 Mar 2008 18:24:31 -0000 1.44.2.4 +++ openacs-4/packages/forums/www/message-view.tcl 2 Jun 2008 18:05:16 -0000 1.44.2.5 @@ -100,7 +100,14 @@ template::head::add_css -href /resources/forums/forums.css -media all -lang $lang template::head::add_css -href /resources/forums/print.css -media print -lang $lang +# set vars for i18n +template::head::add_script -type "text/javascript" -script [subst { + var collapse_alt_text='[_ forums.collapse]'; + var expand_alt_text='[_ forums.expand]'; + var collapse_link_title='[_ forums.collapse_message]'; + var expand_link_title='[_ forums.expand_message]';}] -order 1 + # js scripts -template::head::add_script -type "text/javascript" -src "/resources/forums/forums.js" +template::head::add_script -type "text/javascript" -src "/resources/forums/forums.js" -order 2 set page_title "#forums.Thread_title#" Index: openacs-4/packages/forums/www/resources/forums.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/www/resources/forums.js,v diff -u -r1.6.2.2 -r1.6.2.3 --- openacs-4/packages/forums/www/resources/forums.js 19 Mar 2008 22:21:46 -0000 1.6.2.2 +++ openacs-4/packages/forums/www/resources/forums.js 2 Jun 2008 18:05:16 -0000 1.6.2.3 @@ -1,5 +1,5 @@ -var forums_collapse_symbol = '-'; -var forums_expand_symbol = '+'; +var forums_collapse_symbol = '' + collapse_alt_text +''; +var forums_expand_symbol = '' + expand_alt_text + ''; var forums_replies = new Array(); // toggle visibility @@ -29,9 +29,11 @@ } if (s) { content.className = "dynexpanded"; + link.title = collapse_link_title; symbol = forums_collapse_symbol; } else { content.className = "dyncollapsed"; + link.title = expand_link_title; symbol = forums_expand_symbol; }