Index: openacs-4/contrib/packages/project-manager/www/process-add-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/www/Attic/process-add-edit.tcl,v diff -u -r1.4.2.5 -r1.4.2.6 --- openacs-4/contrib/packages/project-manager/www/process-add-edit.tcl 30 Apr 2005 06:53:09 -0000 1.4.2.5 +++ openacs-4/contrib/packages/project-manager/www/process-add-edit.tcl 2 May 2005 18:30:11 -0000 1.4.2.6 @@ -34,14 +34,14 @@ set project_term_lower [parameter::get -parameter "projectname" -default "project"] if {[exists_and_not_null process_id]} { - set title "Edit a Process" - set context_bar [ad_context_bar "Edit Process"] + set title "[_ project-manager.Edit_a_Process]" + set context_bar [ad_context_bar "[_ project-manager.Edit_Process]"] # permissions permission::require_permission -party_id $user_id -object_id $package_id -privilege write } else { - set title "Add a Process" - set context_bar [ad_context_bar "New Process"] + set title "[_ project-manager.Add_a_Process]" + set context_bar [ad_context_bar "[_ project-manager.New_Process]"] # permissions permission::require_permission -party_id $user_id -object_id $package_id -privilege create @@ -52,18 +52,18 @@ process_id:key {one_line:text - {label "Subject"} + {label "[_ project-manager.Subject_1]"} {value $one_line} {html {size 40}} } {description:text(textarea),optional - {label "Description"} + {label "[_ project-manager.Description]"} {value $description} {html { rows 5 cols 40 wrap soft}}} {number_of_tasks:text - {label "Number of new tasks"} + {label "[_ project-manager.Number_of_new_tasks]"} {value "1"} {html {size 5}} } @@ -78,7 +78,7 @@ db_dml new_process { *SQL* } - ad_returnredirect -message "Process added. Now add process tasks." "process-task-add-edit?[export_vars -url {{number $number_of_tasks} process_id}]" + ad_returnredirect -message "[_ project-manager.lt_Process_added_Now_add]" "process-task-add-edit?[export_vars -url {{number $number_of_tasks} process_id}]" ad_script_abort } -edit_data { @@ -87,7 +87,7 @@ } -after_submit { - ad_returnredirect -message "Process changes saved. Now edit process tasks" "process-task-add-edit?[export_vars -url {{number $number_of_tasks} process_id}]" + ad_returnredirect -message "[_ project-manager.lt_Process_changes_saved]" "process-task-add-edit?[export_vars -url {{number $number_of_tasks} process_id}]" ad_script_abort }