Index: openacs-4/packages/acs-templating/catalog/acs-templating.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/catalog/acs-templating.en_US.ISO-8859-1.xml,v diff -u -r1.17.2.2 -r1.17.2.3 --- openacs-4/packages/acs-templating/catalog/acs-templating.en_US.ISO-8859-1.xml 2 Mar 2007 06:05:54 -0000 1.17.2.2 +++ openacs-4/packages/acs-templating/catalog/acs-templating.en_US.ISO-8859-1.xml 22 Mar 2007 11:53:49 -0000 1.17.2.3 @@ -14,10 +14,16 @@ %label% is required %label% is %excess_no_bytes% characters too long. %label% is one character too long. + Enhanced Text + Enter your search text here + Fixed-width Text + Format + Formats hours Hours must be between 0 and 23 + HTML Cancel Alignment Bottom @@ -80,6 +86,7 @@ Only myself Page Page Size + Plain Text << Previous required Reverse the sort order of %label% Index: openacs-4/packages/acs-templating/catalog/acs-templating.es_ES.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/catalog/acs-templating.es_ES.ISO-8859-1.xml,v diff -u -r1.10.2.1 -r1.10.2.2 --- openacs-4/packages/acs-templating/catalog/acs-templating.es_ES.ISO-8859-1.xml 22 Mar 2007 10:13:57 -0000 1.10.2.1 +++ openacs-4/packages/acs-templating/catalog/acs-templating.es_ES.ISO-8859-1.xml 22 Mar 2007 11:53:49 -0000 1.10.2.2 @@ -14,10 +14,17 @@ %label% es obligatorio %label% es %excess_no_bytes% caracteres demasiado largo. %label% es un caracater muy largo. + Texto Enriquecido Introduzca el texto a buscar + Preformateado + + Formato + Formatos horas La hora debe estar comprendida entre 0 y 23 + HTML + Cancelar Alineaci�n Inferior @@ -80,6 +87,7 @@ S�lo yo P�gina Tama�o de P�gina + Texto Plano << Anterior obligatorio Invertir el orden de %label% Index: openacs-4/packages/acs-templating/tcl/richtext-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/richtext-procs.tcl,v diff -u -r1.25.2.3 -r1.25.2.4 --- openacs-4/packages/acs-templating/tcl/richtext-procs.tcl 19 Mar 2007 15:26:36 -0000 1.25.2.3 +++ openacs-4/packages/acs-templating/tcl/richtext-procs.tcl 22 Mar 2007 11:53:50 -0000 1.25.2.4 @@ -51,12 +51,11 @@ ad_proc -public template::util::richtext::format_options {} { Returns a formatting option list } { - return { - {"Enhanced Text" text/enhanced} - {"Plain Text" text/plain} - {"Fixed-width Text" text/fixed-width} - {"HTML" text/html} - } + return [list \ + [list [_ acs-templating.Enhanced_Text] text/enhanced] \ + [list [_ acs-templating.Plain_Text] text/plain] \ + [list [_ acs-templating.Fixed_width_Text] text/fixed-width] \ + [list [_ acs-templating.HTML] text/html]] } ad_proc -public template::data::validate::richtext { @@ -266,13 +265,13 @@ if { $htmlarea_p } { append output "" } else { - append output "
Format: [menu $element(id).format [template::util::richtext::format_options] $format attributes]" + append output "
[_ acs-templating.Format]: [menu $element(id).format [template::util::richtext::format_options] $format attributes]" } # Spell-checker array set spellcheck [template::util::spellcheck::spellcheck_properties -element_ref element] if { $spellcheck(render_p) } { - append output " Spellcheck: [menu "$element(id).spellcheck" [nsv_get spellchecker lang_options] $spellcheck(selected_option) attributes]" + append output " [_ acs-templating.Spellcheck]: [menu "$element(id).spellcheck" [nsv_get spellchecker lang_options] $spellcheck(selected_option) attributes]" } } else { # Display mode @@ -434,12 +433,12 @@ # which the richtext widget won't work but which do have js enabled # should output since we need the format widget (this for Safari among # some others) - set noscript_output "$output
Format: $format_menu\n" + set noscript_output "$output
[_ acs-templating.Format]: $format_menu\n" set output "" } elseif {$richtextEditor eq "xinha"} { append output "\n" - append output "\n" + append output "\n" # we have a xinha richtext widget, specified by "options {editor xinha}" # The following options are supported: @@ -490,14 +489,14 @@ } else { append output "" } - append output "
Format: $format_menu" + append output "
[_ acs-templating.Format]: $format_menu" } # Spell-checker array set spellcheck [template::util::spellcheck::spellcheck_properties \ -element_ref element] if { $spellcheck(render_p) } { - append output " Spellcheck: " \ + append output " [_ acs-templating.Spellcheck]: " \ [menu "$element(id).spellcheck" [nsv_get spellchecker lang_options] \ $spellcheck(selected_option) attributes] }