Changeset 5021 for trunk/admin/site_update.php
- Timestamp:
- Mar 2, 2010, 3:54:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/site_update.php
r4367 r5021 56 56 $error_labels = array( 57 57 'PWG-UPDATE-1' => array( 58 l10n(' update_wrong_dirname_short'),59 l10n(' update_wrong_dirname_info')58 l10n('wrong filename'), 59 l10n('The name of directories and files must be composed of letters, numbers, \"-\", \"_\" or \".\"') 60 60 ), 61 61 'PWG-UPDATE-2' => array( 62 l10n(' update_missing_tn_short'),63 l10n(' update_missing_tn_info').implode(',', $conf['picture_ext'])62 l10n('missing thumbnail'), 63 l10n('a picture filetype requires a thumbnail. The thumbnail must be present in the sub-directory \"thumbnail\" of the category directory. The thumbnail filename must start with the configured thumbnail prefix and the extension must be among the following list :').implode(',', $conf['picture_ext']) 64 64 ), 65 65 'PWG-ERROR-NO-FS' => array( 66 l10n(' update_missing_file_or_dir'),67 l10n(' update_missing_file_or_dir_info')66 l10n('File/directory read error'), 67 l10n('The file or directory cannot be accessed (either it does not exist or the access is denied)') 68 68 ), 69 69 'PWG-ERROR-VERSION' => array( 70 l10n(' update_err_pwg_version_differs'),71 l10n(' update_err_pwg_version_differs_info')70 l10n('Piwigo version differs on the remote site'), 71 l10n('Version of create_listing_file.php on the remote site and Piwigo must be the same') 72 72 ), 73 73 'PWG-ERROR-NOLISTING' => array( 74 l10n(' update_err_remote_listing_not_found'),75 l10n(' update_err_remote_listing_not_found_info')74 l10n('listing.xml file was not found'), 75 l10n('listing.xml file was not found on the remote site. This file is generated by choosing the \"generate listing\" command in the Site manager') 76 76 ) 77 77 ); … … 279 279 array( 280 280 'path' => $fulldir, 281 'info' => l10n(' update_research_added')281 'info' => l10n('added') 282 282 ) 283 283 ); … … 328 328 unset($db_fulldirs[$fulldir]); 329 329 array_push($infos, array('path' => $fulldir, 330 'info' => l10n(' update_research_deleted')));330 'info' => l10n('deleted'))); 331 331 } 332 332 if (count($to_delete) > 0) … … 474 474 array( 475 475 'path' => $insert['path'], 476 'info' => l10n(' update_research_added')476 'info' => l10n('added') 477 477 ) 478 478 ); … … 515 515 array_push($to_delete_elements, array_search($path, $db_elements)); 516 516 array_push($infos, array('path' => $path, 517 'info' => l10n(' update_research_deleted')));517 'info' => l10n('deleted'))); 518 518 } 519 519 if (count($to_delete_elements) > 0) … … 829 829 if (isset($simulate) and $simulate) 830 830 { 831 $result_title.= l10n(' update_simulation_title').' ';831 $result_title.= l10n('[Simulation]').' '; 832 832 } 833 833 … … 844 844 'SITE_URL'=>$site_url, 845 845 'U_SITE_MANAGER'=> get_root_url().'admin.php?page=site_manager', 846 'L_RESULT_UPDATE'=>$result_title.l10n(' update_part_research'),847 'L_RESULT_METADATA'=>$result_title.l10n(' update_result_metadata'),846 'L_RESULT_UPDATE'=>$result_title.l10n('Search for new images in the directories'), 847 'L_RESULT_METADATA'=>$result_title.l10n('Metadata synchronization results'), 848 848 'METADATA_LIST' => $used_metadata, 849 849 'U_HELP' => get_root_url().'popuphelp.php?page=synchronize',
Note: See TracChangeset
for help on using the changeset viewer.