Index: openacs-4/packages/file-storage/catalog/file-storage.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/catalog/file-storage.en_US.ISO-8859-1.xml,v diff -u -r1.23.2.10 -r1.23.2.11 --- openacs-4/packages/file-storage/catalog/file-storage.en_US.ISO-8859-1.xml 2 Sep 2004 15:49:05 -0000 1.23.2.10 +++ openacs-4/packages/file-storage/catalog/file-storage.en_US.ISO-8859-1.xml 8 Oct 2004 22:21:07 -0000 1.23.2.11 @@ -37,6 +37,7 @@ edit Edit Folder Edit URL + File deleted file Delete %title% Rename %title% @@ -45,6 +46,7 @@ Owner: %owner% Folder folder + Folder deleted This folder is available via WebDAV at %webdav_url% Delete %folder_name% Folder ID @@ -71,15 +73,21 @@ Do you want to delete the listed items? Download an archive of the contents of this folder Either there is already a folder with the name "%folder_name%" or you clicked on the button more than once. You can use the Back button to return and choose a new name, or <a href="%directory_url%">return to the directory listing</a> to see if your folder is there. + File-Storage folder: %folder_name%\n + File Storage Notification Folder %folder_name% is empty. It appears that there is already a file with that name in this folder (although possibly you clicked more than once on the submit button.) Leave title blank when uploading multiple interlinked documents. Live version of "%title%" Modify permissions on this file Modify permissions on this folder Moving %allowed_count% items. + Name of the %action_type%: %filename%\n + New version of file uploaded + New Version Uploaded for file: %filename%\n No valid items to be moved. %not_allowed_count% items can not be moved + Notification for: File-Storage: %action_type%\n Please enter the new name for this file: Select the folder that you would like to copy "%file_name%" to Select the folder that you would like to move "%file_name%" under @@ -98,7 +106,9 @@ This is a ZIP file containing multiple files. Expect a long upload time for large files. You may minimize your browser while waiting. Use the "Browse..." button to locate your file, then click "Open". + Version Notes: %description%\n The specified version is not valid. + View folder contents: %url_version% \n\n We got an error that we couldn't readily identify. Please let the system owner know about this. We received an error from the database. Probably the folder you selected already contains a file with the same name. @@ -115,7 +125,9 @@ Multiple files: Name new + New File Uploaded New Folder + New URL Uploaded No such type no such URL PDF @@ -148,7 +160,9 @@ Upload New File Upload New Version Upload Revision + Uploaded by: %owner%\n URL: + URL deleted Upload New Version of %title% Delete %version_name% Version filename Index: openacs-4/packages/file-storage/tcl/file-storage-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/tcl/file-storage-procs.tcl,v diff -u -r1.42.2.17 -r1.42.2.18 --- openacs-4/packages/file-storage/tcl/file-storage-procs.tcl 9 Sep 2004 16:21:02 -0000 1.42.2.17 +++ openacs-4/packages/file-storage/tcl/file-storage-procs.tcl 8 Oct 2004 22:21:08 -0000 1.42.2.18 @@ -876,17 +876,17 @@ set root_folder [fs_get_root_folder -package_id $package_id] if {[string equal $action "new_file"]} { - set action_type {New File Uploaded} + set action_type "[_ file-storage.New_File_Uploaded]" } elseif {[string equal $action "new_url"]} { - set action_type {New URL Uploaded} + set action_type "[_ file-storage.New_URL_Uploaded]" } elseif {[string equal $action "new_version"]} { - set action_type {New version of file uploaded} + set action_type "[_ file-storage.lt_New_version_of_file_u]" } elseif {[string equal $action "delete_file"]} { - set action_type {File deleted} + set action_type "[_ file-storage.File_deleted]" } elseif {[string equal $action "delete_url"]} { - set action_type {URL deleted} + set action_type "[_ file-storage.URL_deleted]" } elseif {[string equal $action "delete_folder"]} { - set action_type {Folder deleted} + set action_type "[_ file-storage.Folder_deleted]" } else { error "Unknown file-storage notification action: $action" } @@ -913,22 +913,24 @@ # Set email message body - "text only" for now set text_version "" - append text_version "Notification for: File-Storage: $action_type\n" - append text_version "File-Storage folder: [fs_get_folder_name $folder_id]\n" + append text_version "[_ file-storage.lt_Notification_for_File]" + set folder_name [fs_get_folder_name $folder_id] + append text_version "[_ file-storage.lt_File-Storage_folder_f]" if {[string equal $action "new_version"]} { - append text_version "New Version Uploaded for file: $filename\n" + append text_version "[_ file-storage.lt_New_Version_Uploaded_]" } else { - append text_version "Name of the $action_type: $filename\n" + append text_version "[_ file-storage.lt_Name_of_the_action_ty]" } if {[info exists owner]} { - append text_version "Uploaded by: $owner\n" + append text_version "[_ file-storage.Uploaded_by_ownern]" } if {[info exists description]} { - append text_version "Version Notes: $description\n" + append text_version "[_ file-storage.lt_Version_Notes_descrip]" } - append text_version "View folder contents: $url$path1?folder_id=$folder_id \n\n" + set url_version "$url$path1?folder_id=$folder_id" + append text_version "[_ file-storage.lt_View_folder_contents_]" set html_version [ad_html_text_convert -from text/plain -to text/html -- $text_version] append html_version "

" @@ -938,7 +940,7 @@ -type_id [notification::type::get_type_id \ -short_name fs_fs_notif] \ -object_id $folder_id \ - -notif_subject {File Storage Notification} \ + -notif_subject "[_ file-storage.lt_File_Storage_Notifica]" \ -notif_text $text_version \ -notif_html $html_version @@ -950,7 +952,7 @@ -type_id [notification::type::get_type_id \ -short_name fs_fs_notif] \ -object_id $parent_id \ - -notif_subject {File Storage Notification} \ + -notif_subject "[_ file-storage.lt_File_Storage_Notifica]" \ -notif_text $new_content set folder_id $parent_id }