Index: openacs-4/packages/acs-admin/catalog/acs-admin.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/catalog/acs-admin.en_US.ISO-8859-1.xml,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-admin/catalog/acs-admin.en_US.ISO-8859-1.xml 4 Mar 2007 19:56:08 -0000 1.1.2.1 @@ -0,0 +1,88 @@ + + + Service + Pages + Visit service pages + Administration + Service administration + Site-Wide Admin + Parameters + Service parameters + Edit callback + Type + Tcl Proc + Invoke + Invoke this callback proc now. Be careful! + Delete callback + Package Manager + Add callback + Tcl Callbacks + Name + General + Short Name + This is used when referring to the authority in parameters etc. Even if you need to change the display name above, this should stay unchanged. + Enabled + Help contact text + Contact information (phone, email, etc.) to be displayed as a last resort when people are having problems with an authority. + Authentication + Password Management + Recover password URL + Instead of a password management driver, you may provide a URL to which users are sent when they need help recovering their password. Any username in this url must be on the syntax foo={username} and {username} will be replaced with the real username. + Change password URL + Instead of a password management driver, you may provide a URL to which users are sent when they want to change their password. Any username in this url must be on the syntax foo={username} and {username} will be replaced with the real username. + Account registration + Account registration URL + URL where users register for a new account. + On-Demand Sync + User Info + The implementation for getting user information from the authority in real-time + Batch sync enabled + Yes + No + GetDocument implementation + ProcessDocument implementation + Start time + End time + Run time + Actions + Problems + Actions/Minute + Message + Interactive + Batch Synchronization + Disable this authority + Enable this authority + Order* + Registration + Make this the authority for registering new users + You are changing all user registrations to be in authority %authorities.pretty_name% + Move this authority up + Move this authority down + Authentication + Password + Registration + Are you sure you want to delete authority %authorities.pretty_name%? + Delete + One batch job + Authority name + Start time + End time + Running time + Snapshot + Message + Creation user + Document start time + Document end time + Document status + Document message + Document + Number of actions + Number of problems + download + seconds + Timestamp + View log entry + Operation + Username + Success + Index: openacs-4/packages/acs-admin/lib/service-parameters.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/lib/service-parameters.tcl,v diff -u -N -r1.5 -r1.5.10.1 --- openacs-4/packages/acs-admin/lib/service-parameters.tcl 23 Jan 2004 14:29:25 -0000 1.5 +++ openacs-4/packages/acs-admin/lib/service-parameters.tcl 4 Mar 2007 19:46:47 -0000 1.5.10.1 @@ -40,32 +40,32 @@ -multirow packages \ -elements { instance_name { - label {Service} + label {#acs-admin.Service#} } www { - label "Pages" + label "\#acs-admin.Pages\#" link_url_col url - link_html { title "Visit service pages" } - display_template {Pages} + link_html { title "\#acs-admin.Visit_service_pages\#" } + display_template {\#acs-admin.Pages\#} } admin { - label "Administration" + label "\#acs-admin.Administration\#" link_url_col admin_url - link_html { title "Service administration" } - display_template {Administration} + link_html { title "\#acs-admin.Service_administration\#" } + display_template {\#acs-admin.Administration\#} } sitewide_admin { - label "Site-Wide Admin" + label "\#acs-admin.Site-Wide_Admin\#" link_url_col sitewide_admin_url - link_html { title "Service administration" } - display_template {Administration} + link_html { title "\#acs-admin.Service_administration\#" } + display_template {\#acs-admin.Administration\#} hide_p {[ad_decode $swadmin_p 1 0 1]} } parameters { - label "Parameters" + label "\#acs-admin.Parameters\#" link_url_col param_url - link_html { title "Service parameters" } - display_template {Parameters} + link_html { title "\#acs-admin.Service_parameters\#" } + display_template {\#acs-admin.Parameters\#} } } Index: openacs-4/packages/acs-admin/www/apm/version-callbacks.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-callbacks.tcl,v diff -u -N -r1.6 -r1.6.12.1 --- openacs-4/packages/acs-admin/www/apm/version-callbacks.tcl 24 Sep 2003 00:01:42 -0000 1.6 +++ openacs-4/packages/acs-admin/www/apm/version-callbacks.tcl 4 Mar 2007 19:46:47 -0000 1.6.12.1 @@ -9,13 +9,13 @@ db_1row package_version_info "select pretty_name, version_name from apm_package_version_info where version_id = :version_id" -set page_title "Tcl Callbacks" -set context [list [list "." "Package Manager"] [list [export_vars -base version-view { version_id }] "$pretty_name $version_name"] $page_title] +set page_title "\#acs-admin.Tcl_Callbacks\#" +set context [list [list "." "\#acs-admin.Package_Manager\#"] [list [export_vars -base version-view { version_id }] "$pretty_name $version_name"] $page_title] set unused_callback_types [apm_unused_callback_types -version_id $version_id] if { [llength $unused_callback_types] > 0 } { - set actions [list "Add callback" [export_vars -base "version-callback-add-edit" { version_id }]] + set actions [list "\#acs-admin.Add_callback\#" [export_vars -base "version-callback-add-edit" { version_id }]] } else { set actions [list] } @@ -33,19 +33,19 @@ } link_url_eval {[export_vars -base "version-callback-add-edit" { version_id type }]} - link_html { title "Edit callback" } + link_html { title "\#acs-admin.Edit_callback\#" } } type { - label "Type" + label "\#acs-admin.Type\#" } proc { - label "Tcl Proc" + label "\#acs-admin.Tcl_Proc\#" } invoke { - label "Invoke" - display_template {InvokeN/A} + label "\#acs-admin.Invoke\#" + display_template {\#acs-admin.Invoke\#N/A} link_url_eval {[ad_decode [lsearch { before-install after-install before-uninstall after-uninstall } $type] -1 {} [export_vars -base "version-callback-invoke" { version_id type }]]} - link_html { title "Invoke this callback proc now. Be careful!" } + link_html { title "\#acs-admin.Invoke_this_callback_proc_now_Be_careful\#" } html { align center } } delete { @@ -55,7 +55,7 @@ } link_url_eval {[export_vars -base "version-callback-delete" { version_id type }]} - link_html { title "Delete callback" } + link_html { title "\#acs-admin.Delete_callback\#" } } } Index: openacs-4/packages/acs-admin/www/apm/version-i18n.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-i18n.tcl,v diff -u -N -r1.9 -r1.9.6.1 --- openacs-4/packages/acs-admin/www/apm/version-i18n.tcl 20 Apr 2004 21:12:28 -0000 1.9 +++ openacs-4/packages/acs-admin/www/apm/version-i18n.tcl 4 Mar 2007 19:46:47 -0000 1.9.6.1 @@ -102,7 +102,6 @@ -label $action_label \ -options {{{Find human language text and replace with <# ... #> tags} replace_text} {{Replace <# ... #> tags with #...# keys and insert message into catalog} replace_tags}} \ -values {replace_text} \ - -section action_section } else { # TCL files or SQL files element create file_list_form tcl_action_inform \ Index: openacs-4/packages/acs-admin/www/auth/authority.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/auth/authority.tcl,v diff -u -N -r1.19 -r1.19.10.1 --- openacs-4/packages/acs-admin/www/auth/authority.tcl 11 Dec 2003 21:39:45 -0000 1.19 +++ openacs-4/packages/acs-admin/www/auth/authority.tcl 4 Mar 2007 19:46:47 -0000 1.19.10.1 @@ -27,84 +27,90 @@ authority_id:key(acs_object_id_seq) + {-section "gen" {legendtext \#acs-admin.General\#}} {pretty_name:text {html {size 50}} - {label "Name"} - {section "General"} + {label "\#acs-admin.Name\#"} } {short_name:text,optional {html {size 50}} - {label "Short Name"} + {label "\#acs-admin.Short_Name\#"} {mode {[ad_decode $local_authority_p 1 "display" ""]}} - {help_text "This is used when referring to the authority in parameters etc. Even if you need to change the display name above, this should stay unchanged."} + {help_text "[_ acs-admin.Authority_short_name_help_text]"} } {enabled_p:text(radio) - {label "Enabled"} - {options {{Yes t} {No f}}} + {label "\#acs-admin.Enabled\#"} + {options {{[_ acs-admin.Yes] t} {[_ acs-admin.No] f}}} } {help_contact_text:richtext,optional {html {cols 60 rows 13}} - {label "Help contact text"} - {help_text "Contact information (phone, email, etc.) to be displayed as a last resort when people are having problems with an authority."} + {label "\#acs-admin.Help_contact_text\#"} + {help_text "[_ acs-admin.Help_contact_help_text]"} } + + {-section "auth" {legendtext \#acs-admin.Authentication\#}} + {auth_impl_id:integer(select),optional - {label "Authentication"} - {section "Authentication"} + {label "\#acs-admin.Authentication\#"} {options {[acs_sc::impl::get_options -empty_label "--Disabled--" -contract_name auth_authentication]}} } + {-section "pwmngt" {legendtext \#acs-admin.Password_Management\#}} + {pwd_impl_id:integer(select),optional - {label "Password management"} - {section "Password Management"} + {label "\#acs-admin.Password_Management\#"} {options {[acs_sc::impl::get_options -empty_label "--Disabled--" -contract_name auth_password]}} } {forgotten_pwd_url:text,optional {html {size 50}} - {label "Recover password URL"} - {help_text "Instead of a password management driver, you may provide a URL to which users are sent when they need help recovering their password. Any username in this url must be on the syntax foo={username} and {username} will be replaced with the real username."} + {label "\#acs-admin.Recover_password_URL\#"} + {help_text "[_ acs-admin.Recover_password_URL_help_text]"} } {change_pwd_url:text,optional {html {size 50}} - {label "Change password URL"} - {help_text "Instead of a password management driver, you may provide a URL to which users are sent when they want to change their password. Any username in this url must be on the syntax foo={username} and {username} will be replaced with the real username."} + {label "\#acs-admin.Change_password_URL\#"} + {help_text "[_ acs-admin.Change_password_URL_help_text]"} } + {-section "accreg" {legendtext \#acs-admin.Account_Registration\#}} + {register_impl_id:integer(select),optional - {label "Account registration"} - {section "Account Registration"} + {label "\#acs-admin.Account_Registration\#"} {options {[acs_sc::impl::get_options -empty_label "--Disabled--" -contract_name auth_registration]}} } {register_url:text,optional {html {size 50}} - {label "Account registration URL"} - {help_text "URL where users register for a new account."} + {label "\#acs-admin.Account_registration_URL\#"} + {help_text "[_ acs-admin.Account_reg_URL_help_text]"} } + {-section "ondemsyn" {legendtext \#acs-admin.On-Demand_Sync\#}} + {user_info_impl_id:integer(select),optional - {label "User Info"} - {section "On-Demand Sync"} + {label "\#acs-admin.User_Info\#"} {options {[acs_sc::impl::get_options -empty_label "--Disabled--" -contract_name auth_user_info]}} - {help_text "The implementation for getting user information from the authority in real-time"} + {help_text "[_ acs-admin.User_Info_help_text]"} } + {-section "batchsyn" {legendtext \#acs-admin.Batch_Synchronization\#}} + {batch_sync_enabled_p:text(radio) - {label "Batch sync enabled"} - {options {{Yes t} {No f}}} - {section {Batch Synchronization}} + {label "\#acs-admin.Batch_sync_enabled\#"} + {options {{[_ acs-admin.Yes] t} {[_ acs-admin.No] f}}} } {get_doc_impl_id:integer(select),optional - {label "GetDocument implementation"} + {label "\#acs-admin.GetDocument_implementation\#"} {options {[acs_sc::impl::get_options -empty_label "--Disabled--" -contract_name auth_sync_retrieve]}} } {process_doc_impl_id:integer(select),optional - {label "ProcessDocument implementation"} + {label "\#acs-admin.ProcessDocument_implementation\#"} {options {[acs_sc::impl::get_options -empty_label "--Disabled--" -contract_name auth_sync_process]}} } } @@ -218,33 +224,33 @@ -key job_id \ -elements { start_time_pretty { - label "Start time" + label "\#acs-admin.Start_time\#" link_url_eval {$job_url} } end_time_pretty { - label "End time" + label "\#acs-admin.End_time\#" } run_time { - label "Run time" + label "\#acs-admin.Run_time\#" html { align right } } num_actions { - label "Actions" + label "\#acs-admin.Actions\#" html { align right } } num_problems { - label "Problems" + label "\#acs-admin.Problems\#" html { align right } } actions_per_minute { - label "Actions/Minute" + label "\#acs-admin.Actions_Minute\#" html { align right } } short_message { - label "Message" + label "\#acs-admin.Message\#" } interactive_pretty { - label "Interactive" + label "\#acs-admin.Interactive\#" html { align center } } } Index: openacs-4/packages/acs-admin/www/auth/batch-job.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/auth/batch-job.tcl,v diff -u -N -r1.10 -r1.10.12.1 --- openacs-4/packages/acs-admin/www/auth/batch-job.tcl 29 Oct 2003 13:29:22 -0000 1.10 +++ openacs-4/packages/acs-admin/www/auth/batch-job.tcl 4 Mar 2007 19:46:47 -0000 1.10.12.1 @@ -11,9 +11,9 @@ auth::sync::job::get -job_id $job_id -array batch_job -set page_title "One batch job" +set page_title "\#acs-admin.One_batch_job\#" set context [list \ - [list "." "Authentication"] \ + [list "." "[_ acs-admin.Authentication]"] \ [list [export_vars -base authority { {authority_id $batch_job(authority_id)} }] "$batch_job(authority_pretty_name)"] $page_title] ad_form \ @@ -22,50 +22,50 @@ -display_buttons {} \ -form { {authority_pretty_name:text(inform) - {label "Authority name"} + {label "\#acs-admin.Authority_name\#"} } {job_start_time:text(inform) - {label "Start time"} + {label "\#acs-admin.Start_time\#"} } {job_end_time:text(inform) - {label "End time"} + {label "\#acs-admin.End_time\#"} } {run_time_seconds:text(inform) - {label "Running time"} - {after_html " seconds"} + {label "\#acs-admin.Running_time\#"} + {after_html " [_ acs-admin.seconds]"} } {interactive_p:text(inform) - {label "Interactive"} + {label "\#acs-admin.Interactive\#"} } {snapshot_p:text(inform) - {label "Snapshot"} + {label "\#acs-admin.Snapshot\#"} } {message:text(inform) - {label "Message"} + {label "\#acs-admin.Message"} } {creation_user:text(inform) - {label "Creation user"} + {label "\#acs-admin.Creation_user\#"} } {doc_start_time:text(inform) - {label "Document start time"} + {label "\#acs-admin.Document_start_time\#"} } {doc_end_time:text(inform) - {label "Document end time"} + {label "\#acs-admin.Document_end_time\#"} } {doc_status:text(inform) - {label "Document status"} + {label "\#acs-admin.Document_status\#"} } {doc_message:text(inform) - {label "Document message"} + {label "\#acs-admin.Document_message\#"} } {document_download:text(inform) - {label "Document"} + {label "\#acs-admin.Document\#"} } {num_actions:text(inform) - {label "Number of actions"} + {label "\#acs-admin.Number_of_actions\#"} } {num_problems:text(inform) - {label "Number of problems"} + {label "\#acs-admin.Number_of_problems\#"} } } -on_request { foreach element_name [array names batch_job] { @@ -82,7 +82,7 @@ set job_start_time [lc_time_fmt $batch_job(job_start_time) "%x %X"] set job_end_time [lc_time_fmt $batch_job(job_end_time) "%x %X"] - set document_download "download" + set document_download "[_ acs-admin.download]" } list::create \ @@ -93,37 +93,37 @@ -page_query_name pagination \ -elements { entry_time_pretty { - label "Timestamp" + label "\#acs-admin.Timestamp\#" link_url_eval {$entry_url} - link_html { title "View log entry" } + link_html { title "\#acs-admin.View_log_entry\#" } } operation { - label "Operation" + label "\#acs-admin.Operation\#" } username { - label "Username" + label "\#acs-admin.Username\#" link_url_col user_url } success_p { - label "Success" + label "\#acs-admin.Success\#" display_template { - Yes + \#acs-admin.Yes\# - No + \#acs-admin.No\# } } short_message { - label "Message" + label "\#acs-admin.Message\#" } } -filters { job_id { hide_p 1 } success_p { - label "Success" + label "\#acs-admin.Success\#" values { { Success t } { Failure f } Index: openacs-4/packages/acs-admin/www/auth/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/auth/index.tcl,v diff -u -N -r1.6 -r1.6.12.1 --- openacs-4/packages/acs-admin/www/auth/index.tcl 23 Oct 2003 10:40:29 -0000 1.6 +++ openacs-4/packages/acs-admin/www/auth/index.tcl 4 Mar 2007 19:46:47 -0000 1.6.12.1 @@ -24,37 +24,37 @@ sub_class narrow } pretty_name { - label "Name" + label "\#acs-admin.Name\#" link_url_eval {[export_vars -base authority { authority_id }]} } enabled { - label "Enabled" + label "\#acs-admin.Enabled\#" html { align center } display_template { - + - + } } move { - label "Order*" + label "\#acs-admin.Order\#" html { align center } display_template { - + - + } } registration { - label "Registration" + label "\#acs-admin.Registration\#" html { align center } display_template { @@ -63,8 +63,8 @@ + title="\#acs-admin.Make_this_the_authority_for_registering_new_users\#" + onclick="return confirm('\#acs-admin.You_are_changing_all_user_registrations_to_be_in_authority_authorities_pretty_name\#');"> @@ -75,22 +75,22 @@ } } auth_impl { - label "Authentication" + label "\#acs-admin.Authentication\#" } pwd_impl { - label "Password" + label "\#acs-admin.Password\#" } reg_impl { - label "Registration" + label "\#acs-admin.Registration\#" } delete { label "" display_template { - Delete + onclick="return confirm('\#acs-admin.Are_you_sure_you_want_to_delete_authority_authorities_pretty_name\#');"> + \#acs-admin.Delete\# }