Index: openacs-4/contrib/packages/survey/www/admin/section-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/survey/www/admin/Attic/section-edit.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/contrib/packages/survey/www/admin/section-edit.tcl 26 Jan 2004 15:39:41 -0000 1.2 +++ openacs-4/contrib/packages/survey/www/admin/section-edit.tcl 14 Feb 2004 19:57:59 -0000 1.3 @@ -30,19 +30,19 @@ } ad_form -extend -name modify_section -form { - {name:text(text) {label "Section Name"} {html {size 30}} {value $name}} - {description:text(textarea) {label "Description"} {html {rows 5 cols 70}} {value $description}} - {description_html_p:text(radio) {label "The above description is"} {options {{HTML t} {"Plain text" f}}} {value $description_html_p}} - {branch_p:text(radio) {label "Branch"} {options {{Yes t} {No f}}} {value $branch_p}} - {after:integer(Select) {label "Position"} {options $poslist} {value $after}} - {page_break_p:text(radio) {label "New Page after this section"} {options {{Yes t} {No f}}} {value $page_break_p}} + {name:text(text) {label "[_ survey.Section_Name]"} {html {size 30}} {value $name}} + {description:text(textarea) {label "[_ survey.Description_1]"} {html {rows 5 cols 70}} {value $description}} + {description_html_p:text(radio) {label "[_ survey.lt_The_above_description]"} {options {{HTML t} {"[_ survey.Plain_text]" f}}} {value $description_html_p}} + {branch_p:text(radio) {label "[_ survey.Branch]"} {options {{Yes t} {No f}}} {value $branch_p}} + {after:integer(Select) {label "[_ survey.Position]"} {options $poslist} {value $after}} + {page_break_p:text(radio) {label "[_ survey.lt_New_Page_after_this_s]"} {options {{Yes t} {No f}}} {value $page_break_p}} } if {$block_section_p=="t" || [survey_block_section_candidate_p $section_id]} { set answer_descriptions [join [db_list answer_descriptions ""] "\n"] ad_form -extend -name modify_section -form { - {block_section_p:text(radio) {label "Measurement Section"} {options {{Yes t} {No f}}} {value $block_section_p}} - {answer_descriptions:text(textarea),optional {label "Answer descriptions (one per line)"} {value $answer_descriptions}} + {block_section_p:text(radio) {label "[_ survey.Measurement_Section]"} {options {{Yes t} {No f}}} {value $block_section_p}} + {answer_descriptions:text(textarea),optional {label "[_ survey.lt_Answer_descriptions_o]"} {value $answer_descriptions}} } } else { ad_form -extend -name modify_section -form { @@ -56,6 +56,6 @@ set template_exists "f" } -set context_bar [ad_context_bar "Edit Section"] +set context_bar [ad_context_bar "[_ survey.Edit_Section]"] ad_return_template