Changeset 5021
- Timestamp:
- Mar 2, 2010, 3:54:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 27 added
- 117 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/about.php
r5014 r5021 35 35 // Start output of page 36 36 // 37 $title= l10n(' about_page_title');37 $title= l10n('About Piwigo'); 38 38 $page['body_id'] = 'theAboutPage'; 39 39 include(PHPWG_ROOT_PATH.'include/page_header.php'); -
trunk/admin/advanced_feature.php
r3282 r5021 67 67 array 68 68 ( 69 'CAPTION' => l10n(' Elements_not_linked'),69 'CAPTION' => l10n('Not linked elements'), 70 70 'URL' => get_root_url().'admin.php?page=element_set&cat=not_linked' 71 71 )); … … 74 74 array 75 75 ( 76 'CAPTION' => l10n(' Duplicates'),76 'CAPTION' => l10n('Files with same name in more than one physical category'), 77 77 'URL' => get_root_url().'admin.php?page=element_set&cat=duplicates' 78 78 )); -
trunk/admin/cat_list.php
r4325 r5021 69 69 $base_url = get_root_url().'admin.php?page=cat_list'; 70 70 $navigation = '<a href="'.$base_url.'">'; 71 $navigation.= l10n(' home');71 $navigation.= l10n('Home'); 72 72 $navigation.= '</a>'; 73 73 … … 79 79 { 80 80 delete_categories(array($_GET['delete'])); 81 array_push($page['infos'], l10n(' cat_virtual_deleted'));81 array_push($page['infos'], l10n('Virtual category deleted')); 82 82 update_global_rank(); 83 83 } -
trunk/admin/cat_modify.php
r4385 r5021 111 111 } 112 112 113 array_push($page['infos'], l10n(' editcat_confirm'));113 array_push($page['infos'], l10n('Category informations updated successfully.')); 114 114 } 115 115 elseif (isset($_POST['set_random_representant'])) … … 317 317 'date_available' => l10n('Post date'), 318 318 'average_rate' => l10n('Average rate'), 319 'hit' => l10n(' most_visited_cat'),319 'hit' => l10n('Most visited'), 320 320 'file' => l10n('File name'), 321 321 'id' => 'Id', … … 517 517 $page['infos'], 518 518 sprintf( 519 l10n('An information email was sent to group "%s"'),519 l10n('An information email was sent to group \"%s\"'), 520 520 $group_name 521 521 ) -
trunk/admin/cat_options.php
r3282 r5021 161 161 // TabSheet initialization 162 162 $opt_link = $link_start.'cat_options&section='; 163 $tabsheet->add('status', l10n(' cat_security'), $opt_link.'status');164 $tabsheet->add('visible', l10n(' lock'), $opt_link.'visible');165 $tabsheet->add(' upload', l10n('upload'), $opt_link.'upload');166 $tabsheet->add(' comments', l10n('comments'), $opt_link.'comments');163 $tabsheet->add('status', l10n('Public / Private'), $opt_link.'status'); 164 $tabsheet->add('visible', l10n('Lock'), $opt_link.'visible'); 165 $tabsheet->add('Upload', l10n('Upload'), $opt_link.'Upload'); 166 $tabsheet->add('Comments', l10n('Comments'), $opt_link.'Comments'); 167 167 if ($conf['allow_random_representative']) 168 168 { … … 209 209 $template->assign( 210 210 array( 211 'L_SECTION' => l10n(' cat_upload_title'),212 'L_CAT_OPTIONS_TRUE' => l10n(' authorized'),213 'L_CAT_OPTIONS_FALSE' => l10n(' forbidden'),211 'L_SECTION' => l10n('Select uploadable categories'), 212 'L_CAT_OPTIONS_TRUE' => l10n('Authorized'), 213 'L_CAT_OPTIONS_FALSE' => l10n('Forbidden'), 214 214 ) 215 215 ); … … 230 230 $template->assign( 231 231 array( 232 'L_SECTION' => l10n(' cat_comments_title'),233 'L_CAT_OPTIONS_TRUE' => l10n(' authorized'),234 'L_CAT_OPTIONS_FALSE' => l10n(' forbidden'),232 'L_SECTION' => l10n('Authorize users to add comments on selected categories'), 233 'L_CAT_OPTIONS_TRUE' => l10n('Authorized'), 234 'L_CAT_OPTIONS_FALSE' => l10n('Forbidden'), 235 235 ) 236 236 ); … … 251 251 $template->assign( 252 252 array( 253 'L_SECTION' => l10n(' cat_lock_title'),254 'L_CAT_OPTIONS_TRUE' => l10n(' unlocked'),255 'L_CAT_OPTIONS_FALSE' => l10n(' locked'),253 'L_SECTION' => l10n('Lock categories'), 254 'L_CAT_OPTIONS_TRUE' => l10n('Unlocked'), 255 'L_CAT_OPTIONS_FALSE' => l10n('Locked'), 256 256 ) 257 257 ); … … 272 272 $template->assign( 273 273 array( 274 'L_SECTION' => l10n(' cat_status_title'),275 'L_CAT_OPTIONS_TRUE' => l10n(' cat_public'),276 'L_CAT_OPTIONS_FALSE' => l10n(' cat_private'),274 'L_SECTION' => l10n('Manage authorizations for selected categories'), 275 'L_CAT_OPTIONS_TRUE' => l10n('Public category'), 276 'L_CAT_OPTIONS_FALSE' => l10n('Private category'), 277 277 ) 278 278 ); -
trunk/admin/configuration.php
r4325 r5021 87 87 if ( !url_is_remote($_POST['gallery_url']) ) 88 88 { 89 array_push($page['errors'], l10n(' conf_gallery_url_error'));89 array_push($page['errors'], l10n('The gallery URL is not valid.')); 90 90 } 91 91 foreach( $main_checkboxes as $checkbox) … … 111 111 or $_POST['nb_comment_page'] > 50) 112 112 { 113 array_push($page['errors'], l10n(' conf_nb_comment_page_error'));113 array_push($page['errors'], l10n('The number of comments a page must be between 5 and 50 included.')); 114 114 } 115 115 foreach( $comments_checkboxes as $checkbox) … … 161 161 } 162 162 } 163 array_push($page['infos'], l10n(' conf_confirmation'));163 array_push($page['infos'], l10n('Information data registered in database')); 164 164 } 165 165 … … 174 174 $tabsheet = new tabsheet(); 175 175 // TabSheet initialization 176 $tabsheet->add('main', l10n(' conf_main_title'), $conf_link.'main');177 $tabsheet->add('history', l10n(' conf_history_title'), $conf_link.'history');178 $tabsheet->add('comments', l10n(' conf_comments_title'), $conf_link.'comments');179 $tabsheet->add('upload', l10n(' conf_upload_title'), $conf_link.'upload');180 $tabsheet->add('default', l10n(' conf_display'), $conf_link.'default');176 $tabsheet->add('main', l10n('Main'), $conf_link.'main'); 177 $tabsheet->add('history', l10n('History'), $conf_link.'history'); 178 $tabsheet->add('comments', l10n('Comments'), $conf_link.'comments'); 179 $tabsheet->add('upload', l10n('Upload'), $conf_link.'upload'); 180 $tabsheet->add('default', l10n('Default display'), $conf_link.'default'); 181 181 // TabSheet selection 182 182 $tabsheet->select($page['section']); … … 286 286 // Reload user 287 287 $edit_user = build_user($conf['default_user_id'], false); 288 array_push($page['infos'], l10n(' conf_confirmation'));288 array_push($page['infos'], l10n('Information data registered in database')); 289 289 } 290 290 } -
trunk/admin/element_set.php
r4367 r5021 133 133 else if ('not_linked' == $_GET['cat']) 134 134 { 135 $page['title'] = l10n(' Elements_not_linked');135 $page['title'] = l10n('Not linked elements'); 136 136 $template->assign(array('U_ACTIVE_MENU' => 5 )); 137 137 … … 164 164 else if ('duplicates' == $_GET['cat']) 165 165 { 166 $page['title'] = l10n(' Duplicates');166 $page['title'] = l10n('Files with same name in more than one physical category'); 167 167 $template->assign(array('U_ACTIVE_MENU' => 5 )); 168 168 … … 190 190 elseif ('recent'== $_GET['cat']) 191 191 { 192 $page['title'] = l10n(' recent_pics_cat');192 $page['title'] = l10n('Recent pictures'); 193 193 $query = 'SELECT MAX(date_available) AS date 194 194 FROM '.IMAGES_TABLE; -
trunk/admin/extend_for_templates.php
r3665 r5021 147 147 { 148 148 array_push($page['infos'], 149 l10n('Templates recorded.'));149 l10n('Templates configuration has been recorded.')); 150 150 } 151 151 } -
trunk/admin/group_list.php
r4325 r5021 73 73 array_push( 74 74 $page['infos'], 75 sprintf(l10n('group "%s" deleted'), $groupname)75 sprintf(l10n('group \"%s\" deleted'), $groupname) 76 76 ); 77 77 } … … 85 85 if (empty($_POST['groupname'])) 86 86 { 87 array_push($page['errors'], l10n(' group_add_error1'));87 array_push($page['errors'], l10n('The name of a group must not contain \" or \' or be empty.')); 88 88 } 89 89 if (count($page['errors']) == 0) … … 98 98 if ($count != 0) 99 99 { 100 array_push($page['errors'], l10n(' group_add_error2'));100 array_push($page['errors'], l10n('This name is already used by another group.')); 101 101 } 102 102 } … … 114 114 array_push( 115 115 $page['infos'], 116 sprintf(l10n('group "%s" added'), $_POST['groupname'])116 sprintf(l10n('group \"%s\" added'), $_POST['groupname']) 117 117 ); 118 118 } … … 142 142 array_push( 143 143 $page['infos'], 144 sprintf(l10n('group "%s" updated'), $groupname)144 sprintf(l10n('group \"%s\" updated'), $groupname) 145 145 ); 146 146 } … … 189 189 array( 190 190 'NAME' => $row['name'], 191 'IS_DEFAULT' => (get_boolean($row['is_default']) ? ' ['.l10n(' is_default_group').']' : ''),191 'IS_DEFAULT' => (get_boolean($row['is_default']) ? ' ['.l10n('default').']' : ''), 192 192 'MEMBERS' => l10n_dec('%d member', '%d members', $counter), 193 193 'U_MEMBERS' => $members_url.$row['id'], -
trunk/admin/group_perm.php
r4325 r5021 133 133 'TITLE' => 134 134 sprintf( 135 l10n('Manage permissions for group "%s"'),135 l10n('Manage permissions for group \"%s\"'), 136 136 get_groupname($page['group'] 137 137 ) 138 138 ), 139 'L_CAT_OPTIONS_TRUE'=>l10n(' authorized'),140 'L_CAT_OPTIONS_FALSE'=>l10n(' forbidden'),139 'L_CAT_OPTIONS_TRUE'=>l10n('Authorized'), 140 'L_CAT_OPTIONS_FALSE'=>l10n('Forbidden'), 141 141 142 142 'F_ACTION' => -
trunk/admin/history.php
r4892 r5021 145 145 else 146 146 { 147 array_push($page['errors'], l10n(' search_one_clause_at_least'));147 array_push($page['errors'], l10n('Empty query. No criteria has been entered.')); 148 148 } 149 149 } -
trunk/admin/include/c13y_internal.class.php
r4385 r5021 56 56 { 57 57 $c13y->add_anomaly( 58 sprintf(l10n(' c13y_version_anomaly'), $elem['type'], $elem['current'], $elem['required']),59 null, 60 null, 61 l10n(' c13y_version_correction')58 sprintf(l10n('The version of %s [%s] installed is not compatible with the version required [%s]'), $elem['type'], $elem['current'], $elem['required']), 59 null, 60 null, 61 l10n('You need to upgrade your system to take full advantage of the application else the application will not work correctly, or not at all') 62 62 .'<br>'. 63 63 $c13y->get_htlm_links_more_info()); … … 81 81 { 82 82 $c13y->add_anomaly( 83 sprintf(l10n(' c13y_exif_anomaly'), '$conf[\''.$value.'\']'),84 null, 85 null, 86 sprintf(l10n(' c13y_exif_correction'), '$conf[\''.$value.'\']')83 sprintf(l10n('%s value is not correct file because exif are not supported'), '$conf[\''.$value.'\']'), 84 null, 85 null, 86 sprintf(l10n('%s must be to set to false in your config_local.inc.php file'), '$conf[\''.$value.'\']') 87 87 .'<br>'. 88 88 $c13y->get_htlm_links_more_info()); … … 209 209 create_user_infos($id); 210 210 211 $page['infos'][] = sprintf(l10n(' c13y_user_created'), $name, $password);211 $page['infos'][] = sprintf(l10n('User \"%s\" created with \"%s\" like password'), $name, $password); 212 212 213 213 $result = true; … … 240 240 $updates); 241 241 242 $page['infos'][] = sprintf(l10n(' c13y_user_status_updated'), get_username($id));242 $page['infos'][] = sprintf(l10n('Status of user \"%s\" updated'), get_username($id)); 243 243 244 244 $result = true; -
trunk/admin/include/check_integrity.class.php
r3282 r5021 335 335 sprintf 336 336 ( 337 l10n(' c13y_more_info'),338 sprintf($link_fmt, $pwg_links['FORUM'], l10n(' c13y_more_info_forum')),339 sprintf($link_fmt, $pwg_links['WIKI'], l10n(' c13y_more_info_wiki'))337 l10n('Go to %s or %s for more informations'), 338 sprintf($link_fmt, $pwg_links['FORUM'], l10n('the forum')), 339 sprintf($link_fmt, $pwg_links['WIKI'], l10n('the wiki')) 340 340 ); 341 341 } -
trunk/admin/include/functions.php
r4892 r5021 1183 1183 if (preg_match('/^\s*$/', $category_name)) 1184 1184 { 1185 return array('error' => l10n(' cat_error_name'));1185 return array('error' => l10n('The name of a category should not be empty')); 1186 1186 } 1187 1187 … … 1269 1269 1270 1270 return array( 1271 'info' => l10n(' cat_virtual_added'),1271 'info' => l10n('Virtual category added'), 1272 1272 'id' => $inserted_id, 1273 1273 ); … … 1667 1667 return array( 1668 1668 'info' => sprintf( 1669 l10n('Tag "%s" was added'),1669 l10n('Tag \"%s\" was added'), 1670 1670 stripslashes($tag_name) 1671 1671 ), … … 1677 1677 return array( 1678 1678 'error' => sprintf( 1679 l10n('Tag "%s" already exists'),1679 l10n('Tag \"%s\" already exists'), 1680 1680 stripslashes($tag_name) 1681 1681 ) -
trunk/admin/include/functions_notification_by_mail.inc.php
r4325 r5021 205 205 $env_nbm['sent_mail_count'] = 0; 206 206 // Save sendmail message info and error in the original language 207 $env_nbm['msg_info'] = l10n(' nbm_msg_mail_sent_to');208 $env_nbm['msg_error'] = l10n(' nbm_msg_error_sending_email_to');207 $env_nbm['msg_info'] = l10n('Mail sent to %s [%s].'); 208 $env_nbm['msg_error'] = l10n('Error when sending email to %s [%s].'); 209 209 } 210 210 } … … 323 323 { 324 324 if ($env_nbm['sent_mail_count'] == 0) 325 array_push($page['infos'], l10n(' nbm_no_mail_to_send'));325 array_push($page['infos'], l10n('No mail to send.')); 326 326 else 327 327 array_push($page['infos'], l10n_dec('nbm_msg_n_mail_sent', 'nbm_msg_n_mails_sent', $env_nbm['sent_mail_count'])); … … 370 370 if ($is_subscribe) 371 371 { 372 $msg_info = l10n(' nbm_user_change_enabled_true');373 $msg_error = l10n(' nbm_user_not_change_enabled_true');372 $msg_info = l10n('User %s [%s] was added to the subscription list.'); 373 $msg_error = l10n('User %s [%s] was not added to the subscription list.'); 374 374 } 375 375 else 376 376 { 377 $msg_info = l10n(' nbm_user_change_enabled_false');378 $msg_error = l10n(' nbm_user_not_change_enabled_false');377 $msg_info = l10n('User %s [%s] was removed from the subscription list.'); 378 $msg_error = l10n('User %s [%s] was not removed from the subscription list.'); 379 379 } 380 380 … … 386 386 387 387 // Prepare message after change language 388 $msg_break_timeout = l10n(' nbm_break_timeout_send_mail');388 $msg_break_timeout = l10n('Time to send mail is limited. Others mails are skipped.'); 389 389 390 390 // Begin nbm users environment … … 409 409 set_user_on_env_nbm($nbm_user, true); 410 410 411 $subject = '['.$conf['gallery_title'].']: '.($is_subscribe ? l10n(' nbm_object_subscribe'): l10n('nbm_object_unsubscribe'));411 $subject = '['.$conf['gallery_title'].']: '.($is_subscribe ? l10n('Unsubscribe from notification by mail'): l10n('Unsubscribe from notification by mail')); 412 412 413 413 // Assign current var for nbm mail -
trunk/admin/include/functions_permalinks.php
r4833 r5021 88 88 $page['errors'][] = 89 89 sprintf( 90 l10n('Permalink _%s_histo_used_by_%s'),90 l10n('Permalink %s has been previously used by category %s. Delete from the permalink history first'), 91 91 $permalink, $old_cat_id 92 92 ); … … 141 141 or preg_match( '#^(\d)+(-.*)?$#', $permalink) ) 142 142 { 143 $page['errors'][] = l10n(' Permalink_name_rule');143 $page['errors'][] = l10n('The permalink name must be composed of a-z, A-Z, 0-9, \"-\", \"_\" or \"/\". It must not be numeric or start with number followed by \"-\"'); 144 144 return false; 145 145 } … … 170 170 $page['errors'][] = 171 171 sprintf( 172 l10n('Permalink _%s_histo_used_by_%s'),172 l10n('Permalink %s has been previously used by category %s. Delete from the permalink history first'), 173 173 $permalink, $old_cat_id 174 174 ); -
trunk/admin/include/functions_plugins.inc.php
r3282 r5021 56 56 57 57 $tabsheet = new tabsheet(); 58 $tabsheet->add('plugins_list', l10n(' plugins_tab_list'), $link.'plugins_list');59 $tabsheet->add('plugins_update', l10n(' plugins_tab_update'), $link.'plugins_update');60 $tabsheet->add('plugins_new', l10n(' plugins_tab_new'), $link.'plugins_new');58 $tabsheet->add('plugins_list', l10n('Plugin list'), $link.'plugins_list'); 59 $tabsheet->add('plugins_update', l10n('Check for updates'), $link.'plugins_update'); 60 $tabsheet->add('plugins_new', l10n('Other plugins'), $link.'plugins_new'); 61 61 $tabsheet->select($selected); 62 62 $tabsheet->assign(); -
trunk/admin/include/functions_upgrade.php
r4325 r5021 128 128 129 129 array_push($page['infos'], 130 l10n(' deactivated plugins').'<p><i>'.implode(', ', $plugins).'</i></p>');130 l10n('As a precaution, following plugins have been deactivated. You must check for plugins upgrade before reactiving them:').'<p><i>'.implode(', ', $plugins).'</i></p>'); 131 131 } 132 132 } … … 175 175 if ($row['password'] != $conf['pass_convert']($password)) 176 176 { 177 array_push($page['errors'], l10n(' invalid_pwd'));177 array_push($page['errors'], l10n('Invalid password!')); 178 178 } 179 179 elseif ($row['status'] != 'admin' and $row['status'] != 'webmaster') -
trunk/admin/include/functions_waiting.inc.php
r3282 r5021 31 31 $tabsheet = new tabsheet(); 32 32 // TabSheet initialization 33 $tabsheet->add(' comments', l10n('comments'), $link_start.'comments');33 $tabsheet->add('Comments', l10n('Comments'), $link_start.'Comments'); 34 34 $tabsheet->add('upload', l10n('Pictures'), $link_start.'upload'); 35 35 // TabSheet selection -
trunk/admin/notification_by_mail.php
r4325 r5021 175 175 $page['infos'], 176 176 sprintf( 177 l10n(' nbm_user_x_added'),177 l10n('User %s [%s] added.'), 178 178 stripslashes($nbm_user['username']), 179 179 get_email_address_as_display_text($nbm_user['mail_address']) … … 201 201 $result = pwg_query($query); 202 202 203 redirect($base_url.get_query_string_diff(array(), false), l10n('nbm_redirect_msg')); 203 redirect($base_url.get_query_string_diff(array(), false), l10n('Processing treatment. 204 205 Please wait...')); 204 206 } 205 207 } … … 268 270 if ($is_action_send) 269 271 { 270 $msg_break_timeout = l10n(' nbm_break_timeout_send_mail');272 $msg_break_timeout = l10n('Time to send mail is limited. Others mails are skipped.'); 271 273 } 272 274 else 273 275 { 274 $msg_break_timeout = l10n(' nbm_break_timeout_list_user');276 $msg_break_timeout = l10n('Prepared time for list of users to send mail is limited. Others users are not listed.'); 275 277 } 276 278 … … 314 316 if ($exist_data) 315 317 { 316 $subject = '['.$conf['gallery_title'].']: '.l10n(' nbm_object_news');318 $subject = '['.$conf['gallery_title'].']: '.l10n('New elements added'); 317 319 318 320 // Assign current var for nbm mail … … 450 452 if ($is_action_send) 451 453 { 452 array_push($page['errors'], l10n(' nbm_no_user_to send_notifications_by_mail'));454 array_push($page['errors'], l10n('No user to send notifications by mail.')); 453 455 } 454 456 } … … 594 596 $tabsheet = new tabsheet(); 595 597 // TabSheet initialization 596 $tabsheet->add('param', l10n(' nbm_param_mode'),598 $tabsheet->add('param', l10n('Parameter'), 597 599 add_url_params($base_url.get_query_string_diff(array('mode', 'select')), 598 600 array('mode' => 'param'))); 599 $tabsheet->add('subscribe', l10n(' nbm_subscribe_mode'),601 $tabsheet->add('subscribe', l10n('Subscribe'), 600 602 add_url_params($base_url.get_query_string_diff(array('mode', 'select')), 601 603 array('mode' => 'subscribe'))); 602 $tabsheet->add('send', l10n(' nbm_send_mode'),604 $tabsheet->add('send', l10n('Send'), 603 605 add_url_params($base_url.get_query_string_diff(array('mode', 'select')), 604 606 array('mode' => 'send'))); … … 651 653 $template->assign( 652 654 array( 653 'L_CAT_OPTIONS_TRUE' => l10n(' nbm_subscribe_col'),654 'L_CAT_OPTIONS_FALSE' => l10n(' nbm_unsubscribe_col')655 'L_CAT_OPTIONS_TRUE' => l10n('Subscribed'), 656 'L_CAT_OPTIONS_FALSE' => l10n('Unsubscribed') 655 657 ) 656 658 ); -
trunk/admin/picture_modify.php
r4325 r5021 63 63 ) 64 64 { 65 array_push($page['errors'], l10n(' err_date'));65 array_push($page['errors'], l10n('wrong date')); 66 66 } 67 67 } -
trunk/admin/plugins_new.php
r3282 r5021 51 51 case 'ok': 52 52 array_push($page['infos'], 53 l10n(' plugins_install_ok'),54 l10n(' plugins_install_need_activate'));53 l10n('Plugin has been successfully copied'), 54 l10n('You might go to plugin list to install and activate it.')); 55 55 break; 56 56 57 57 case 'temp_path_error': 58 array_push($page['errors'], l10n(' plugins_temp_path_error'));58 array_push($page['errors'], l10n('Can\'t create temporary file.')); 59 59 break; 60 60 61 61 case 'dl_archive_error': 62 array_push($page['errors'], l10n(' plugins_dl_archive_error'));62 array_push($page['errors'], l10n('Can\'t download archive.')); 63 63 break; 64 64 65 65 case 'archive_error': 66 array_push($page['errors'], l10n(' plugins_archive_error'));66 array_push($page['errors'], l10n('Can\'t read or extract archive.')); 67 67 break; 68 68 69 69 default: 70 70 array_push($page['errors'], 71 sprintf(l10n(' plugins_extract_error'), $_GET['installstatus']),72 l10n(' plugins_check_chmod'));71 sprintf(l10n('An error occured during extraction (%s).'), $_GET['installstatus']), 72 l10n('Please check \"plugins\" folder and sub-folders permissions (CHMOD).')); 73 73 } 74 74 } … … 82 82 array( 83 83 $link.'date' => l10n('Post date'), 84 $link.'revision' => l10n(' plugins_revisions'),84 $link.'revision' => l10n('Last revisions'), 85 85 $link.'name' => l10n('Name'), 86 86 $link.'author' => l10n('Author'), … … 127 127 else 128 128 { 129 array_push($page['errors'], l10n(' plugins_server_error'));129 array_push($page['errors'], l10n('Can\'t connect to server.')); 130 130 } 131 131 -
trunk/admin/plugins_update.php
r3282 r5021 69 69 array_push($page['infos'], 70 70 sprintf( 71 l10n(' plugins_upgrade_ok'),71 l10n('%s has been successfully upgraded.'), 72 72 $plugins->fs_plugins[$_GET['plugin']]['name'])); 73 73 break; 74 74 75 75 case 'temp_path_error': 76 array_push($page['errors'], l10n(' plugins_temp_path_error'));76 array_push($page['errors'], l10n('Can\'t create temporary file.')); 77 77 break; 78 78 79 79 case 'dl_archive_error': 80 array_push($page['errors'], l10n(' plugins_dl_archive_error'));80 array_push($page['errors'], l10n('Can\'t download archive.')); 81 81 break; 82 82 83 83 case 'archive_error': 84 array_push($page['errors'], l10n(' plugins_archive_error'));84 array_push($page['errors'], l10n('Can\'t read or extract archive.')); 85 85 break; 86 86 87 87 default: 88 88 array_push($page['errors'], 89 sprintf(l10n(' plugins_extract_error'), $_GET['upgradestatus']),90 l10n(' plugins_check_chmod'));89 sprintf(l10n('An error occured during extraction (%s).'), $_GET['upgradestatus']), 90 l10n('Please check \"plugins\" folder and sub-folders permissions (CHMOD).')); 91 91 } 92 92 } … … 158 158 else 159 159 { 160 array_push($page['errors'], l10n(' plugins_server_error'));160 array_push($page['errors'], l10n('Can\'t connect to server.')); 161 161 } 162 162 -
trunk/admin/site_manager.php
r4325 r5021 66 66 else 67 67 { 68 array_push($page['errors'], l10n(' site_err_remote_file_not_found'));68 array_push($page['errors'], l10n('file create_listing_file.php on remote site was not found')); 69 69 } 70 70 } … … 103 103 { 104 104 array_push($page['errors'], 105 l10n(' site_already_exists').' ['.$url.']');105 l10n('This site already exists').' ['.$url.']'); 106 106 } 107 107 if (count($page['errors']) == 0) … … 121 121 { 122 122 array_push($page['errors'], 123 l10n(' site_err').' : '.$first_line);123 l10n('an error happened').' : '.$first_line); 124 124 } 125 125 } 126 126 else 127 127 { 128 array_push($page['errors'], l10n(' site_err_remote_file_not_found') );128 array_push($page['errors'], l10n('file create_listing_file.php on remote site was not found') ); 129 129 } 130 130 } … … 150 150 pwg_query($query); 151 151 array_push($page['infos'], 152 $url.' '.l10n(' site_created'));152 $url.' '.l10n('created')); 153 153 } 154 154 } … … 173 173 case 'generate' : 174 174 { 175 $title = $galleries_url.' : '.l10n(' remote_site_generate');175 $title = $galleries_url.' : '.l10n('generate listing'); 176 176 remote_output($galleries_url.'create_listing_file.php?action=generate'); 177 177 break; … … 179 179 case 'test' : 180 180 { 181 $title = $galleries_url.' : '.l10n(' remote_site_test');181 $title = $galleries_url.' : '.l10n('test'); 182 182 remote_output($galleries_url.'create_listing_file.php?action=test&version='.PHPWG_VERSION); 183 183 break; … … 185 185 case 'clean' : 186 186 { 187 $title = $galleries_url.' : '.l10n(' remote_site_clean');187 $title = $galleries_url.' : '.l10n('clean'); 188 188 remote_output($galleries_url.'create_listing_file.php?action=clean'); 189 189 break; … … 193 193 delete_site($page['site']); 194 194 array_push($page['infos'], 195 $galleries_url.' '.l10n(' site_deleted'));195 $galleries_url.' '.l10n('deleted')); 196 196 break; 197 197 } -
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', -
trunk/admin/tags.php
r4325 r5021 68 68 $page['errors'], 69 69 sprintf( 70 l10n('Tag "%s" already exists'),70 l10n('Tag \"%s\" already exists'), 71 71 $tag_name 72 72 ) … … 165 165 $page['infos'], 166 166 sprintf( 167 l10n('Tag "%s" was added'),167 l10n('Tag \"%s\" was added'), 168 168 stripslashes($tag_name) 169 169 ) … … 175 175 $page['errors'], 176 176 sprintf( 177 l10n('Tag "%s" already exists'),177 l10n('Tag \"%s\" already exists'), 178 178 stripslashes($tag_name) 179 179 ) -
trunk/admin/template/goto/admin.tpl
r3522 r5021 17 17 <dd> 18 18 <ul> 19 <li><a href="{$U_RETURN}">{' home'|@translate}</a></li>20 <li><a href="{$U_FAQ}">{' instructions'|@translate}</a></li>21 <li><a href="{$U_ADMIN}" title="{' hint_admin'|@translate}">{'admin'|@translate}</a></li>22 <li><a href="{$U_LOGOUT}">{' logout'|@translate}</a></li>19 <li><a href="{$U_RETURN}">{'Home'|@translate}</a></li> 20 <li><a href="{$U_FAQ}">{'Instructions'|@translate}</a></li> 21 <li><a href="{$U_ADMIN}" title="{'Administration'|@translate}">{'Administration'|@translate}</a></li> 22 <li><a href="{$U_LOGOUT}">{'Logout'|@translate}</a></li> 23 23 {if isset($pwgmenu)} 24 24 <li class="external"><a class="external" href="{$pwgmenu.WIKI}" onclick="window.open(this.href, ''); 25 return false;">{' WIKI / DOC'|@translate}</a></li>25 return false;">{'Documentation'|@translate}</a></li> 26 26 <li class="external"><a class="external" href="{$pwgmenu.FORUM}" onclick="window.open(this.href, ''); 27 return false;">{' FORUM'|@translate}</a></li>27 return false;">{'Support'|@translate}</a></li> 28 28 {/if} 29 29 … … 32 32 </dl> 33 33 <dl> 34 <dt class="rdion"><span>{' config'|@translate} </span></dt>34 <dt class="rdion"><span>{'Configuration'|@translate} </span></dt> 35 35 <dd> 36 36 <ul> 37 <li><a href="{$U_CONFIG_GENERAL}">{' conf_general'|@translate}</a></li>38 <li><a href="{$U_CONFIG_DISPLAY}">{' conf_display'|@translate}</a></li>39 <li><a href="{$U_CONFIG_MENUBAR}">{' title_menu'|@translate}</a></li>40 <li><a href="{$U_CONFIG_EXTENTS}">{' conf_extents'|@translate}</a></li>37 <li><a href="{$U_CONFIG_GENERAL}">{'General'|@translate}</a></li> 38 <li><a href="{$U_CONFIG_DISPLAY}">{'Default display'|@translate}</a></li> 39 <li><a href="{$U_CONFIG_MENUBAR}">{'Menu'|@translate}</a></li> 40 <li><a href="{$U_CONFIG_EXTENTS}">{'Templates'|@translate}</a></li> 41 41 </ul> 42 42 </dd> … … 47 47 <ul> 48 48 <li><a href="{$U_SITE_MANAGER}">{'Site manager'|@translate}</a></li> 49 <li><a href="{$U_CAT_UPDATE}">{' update'|@translate}</a></li>50 <li><a href="{$U_CATEGORIES}">{' manage'|@translate}</a></li>49 <li><a href="{$U_CAT_UPDATE}">{'Synchronize'|@translate}</a></li> 50 <li><a href="{$U_CATEGORIES}">{'Manage'|@translate}</a></li> 51 51 <li><a href="{$U_MOVE}">{'Move'|@translate}</a></li> 52 <li><a href="{$U_CAT_OPTIONS}">{' cat_options_title'|@translate}</a></li>52 <li><a href="{$U_CAT_OPTIONS}">{'Properties'|@translate}</a></li> 53 53 <li><a href="{$U_PERMALINKS}">{'Permalinks'|@translate}</a></li> 54 54 </ul> … … 59 59 <dd> 60 60 <ul> 61 <li><a href="{$U_WAITING}">{' waiting'|@translate}</a></li>62 <li><a href="{$U_THUMBNAILS}">{' thumbnails'|@translate}</a></li>61 <li><a href="{$U_WAITING}">{'Waiting'|@translate}</a></li> 62 <li><a href="{$U_THUMBNAILS}">{'Thumbnails'|@translate}</a></li> 63 63 <li><a href="{$U_RATING}">{'Rating'|@translate}</a></li> 64 64 <li><a href="{$U_TAGS}">{'Tags'|@translate}</a></li> 65 65 <li><a href="{$U_CADDIE}">{'Caddie'|@translate}</a></li> 66 <li><a href="{$U_RECENT_SET}">{' recent_pics_cat'|@translate}</a></li>66 <li><a href="{$U_RECENT_SET}">{'Recent pictures'|@translate}</a></li> 67 67 </ul> 68 68 </dd> 69 69 </dl> 70 70 <dl> 71 <dt class="rdion"><span>{' identification'|@translate} </span></dt>71 <dt class="rdion"><span>{'Identification'|@translate} </span></dt> 72 72 <dd> 73 73 <ul> 74 <li><a href="{$U_USERS}">{' users'|@translate}</a></li>75 <li><a href="{$U_GROUPS}">{' groups'|@translate}</a></li>76 <li><a href="{$U_NOTIFICATION_BY_MAIL}">{' nbm_item_notification'|@translate}</a></li>74 <li><a href="{$U_USERS}">{'Users'|@translate}</a></li> 75 <li><a href="{$U_GROUPS}">{'Groups'|@translate}</a></li> 76 <li><a href="{$U_NOTIFICATION_BY_MAIL}">{'Notification'|@translate}</a></li> 77 77 </ul> 78 78 </dd> 79 79 </dl> 80 80 <dl> 81 <dt class="rdion"><span>{' special_admin_menu'|@translate} </span></dt>81 <dt class="rdion"><span>{'Specials'|@translate} </span></dt> 82 82 <dd> 83 83 <ul> 84 84 <li><a href="{$U_HISTORY_STAT}">{'History'|@translate}</a></li> 85 85 <li><a href="{$U_MAINTENANCE}">{'Maintenance'|@translate}</a></li> 86 <li><a href="{$U_ADVANCED_FEATURE}">{'Advanced _features'|@translate}</a></li>86 <li><a href="{$U_ADVANCED_FEATURE}">{'Advanced features'|@translate}</a></li> 87 87 <li><a href="{$U_PLUGINS}">{'Plugins'|@translate}</a> 88 88 {if !empty($plugin_menu_items)} -
trunk/admin/template/goto/advanced_feature.tpl
r3283 r5021 1 1 <div class="titrePage"> 2 <h2>{'Advanced _features'|@translate}</h2>2 <h2>{'Advanced features'|@translate}</h2> 3 3 </div> 4 4 -
trunk/admin/template/goto/cat_list.tpl
r3283 r5021 22 22 </script> 23 23 24 <h2>{' title_categories'|@translate}</h2>24 <h2>{'Categories management'|@translate}</h2> 25 25 26 26 <h3>{$CATEGORIES_NAV}</h3> … … 28 28 <form id="addVirtual" action="{$F_ACTION}" method="post"> 29 29 <p> 30 {' cat_add'|@translate} : <input type="text" name="virtual_name">30 {'Add a virtual category'|@translate} : <input type="text" name="virtual_name"> 31 31 <input class="submit" type="submit" value="{'Submit'|@translate}" name="submitAdd" {$TAG_INPUT_ENABLED}> 32 32 {if count($categories)>9 } … … 52 52 <li><a href="{$category.U_JUMPTO}" title="{'jump to category'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_jump-to.png" class="button" alt="{'jump to category'|@translate}"></a></li> 53 53 {/if} 54 <li><a href="{$category.U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"></a></li>54 <li><a href="{$category.U_EDIT}" title="{'edit'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"></a></li> 55 55 {if isset($category.U_MANAGE_ELEMENTS) } 56 <li><a href="{$category.U_MANAGE_ELEMENTS}" title="{' manage categoryelements'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_elements.png" class="button" alt="{'elements'|@translate}"></a></li>56 <li><a href="{$category.U_MANAGE_ELEMENTS}" title="{'elements'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_elements.png" class="button" alt="{'elements'|@translate}"></a></li> 57 57 {/if} 58 <li><a href="{$category.U_CHILDREN}" title="{' managesub-categories'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_children.png" class="button" alt="{'sub-categories'|@translate}"></a></li>58 <li><a href="{$category.U_CHILDREN}" title="{'sub-categories'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_children.png" class="button" alt="{'sub-categories'|@translate}"></a></li> 59 59 {if isset($category.U_MANAGE_PERMISSIONS) } 60 <li><a href="{$category.U_MANAGE_PERMISSIONS}" title="{' edit category permissions'|@translate}" ><img src="{$themeconf.admin_icon_dir}/category_permissions.png" class="button" alt="{'permissions'|@translate}"></a></li>60 <li><a href="{$category.U_MANAGE_PERMISSIONS}" title="{'Permissions'|@translate}" ><img src="{$themeconf.admin_icon_dir}/category_Permissions.png" class="button" alt="{'Permissions'|@translate}"></a></li> 61 61 {/if} 62 62 {if isset($category.U_DELETE) } 63 <li><a href="{$category.U_DELETE}" title="{' delete category'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete'|@translate}"></a></li>63 <li><a href="{$category.U_DELETE}" title="{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete'|@translate}"></a></li> 64 64 {/if} 65 65 </ul> … … 69 69 <strong><a href="{$category.U_CHILDREN}" title="{'manage sub-categories'|@translate}">{$category.NAME}</a></strong> 70 70 {if $category.IS_VIRTUAL} 71 <img src="{$themeconf.admin_icon_dir}/virt_category.png" class="button" alt="{' virtual_category'|@translate}">71 <img src="{$themeconf.admin_icon_dir}/virt_category.png" class="button" alt="{'Virtual category'|@translate}"> 72 72 {/if} 73 73 </p> -
trunk/admin/template/goto/cat_modify.tpl
r3283 r5021 4 4 5 5 <div class="titrePage"> 6 <h2>{' title_edit_cat'|@translate}</h2>6 <h2>{'Edit a category'|@translate}</h2> 7 7 </div> 8 8 … … 14 14 {/if} 15 15 {if isset($U_MANAGE_ELEMENTS) } 16 <li><a href="{$U_MANAGE_ELEMENTS}" title="{' manage categoryelements'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_elements.png" class="button" alt="{'elements'|@translate}"></a></li>17 <li><a href="{$U_MANAGE_RANKS}" title="{' manage imageranks'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/ranks.png" class="button" alt="{'ranks'|@translate}"></a></li>18 {/if} 19 <li><a href="{$U_CHILDREN}" title="{' managesub-categories'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_children.png" class="button" alt="{'sub-categories'|@translate}"></a></li>16 <li><a href="{$U_MANAGE_ELEMENTS}" title="{'elements'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_elements.png" class="button" alt="{'elements'|@translate}"></a></li> 17 <li><a href="{$U_MANAGE_RANKS}" title="{'ranks'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/ranks.png" class="button" alt="{'ranks'|@translate}"></a></li> 18 {/if} 19 <li><a href="{$U_CHILDREN}" title="{'sub-categories'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_children.png" class="button" alt="{'sub-categories'|@translate}"></a></li> 20 20 {if isset($U_MANAGE_PERMISSIONS) } 21 <li><a href="{$U_MANAGE_PERMISSIONS}" title="{' edit category permissions'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_permissions.png" class="button" alt="{'permissions'|@translate}"></a></li>21 <li><a href="{$U_MANAGE_PERMISSIONS}" title="{'Permissions'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_Permissions.png" class="button" alt="{'Permissions'|@translate}"></a></li> 22 22 {/if} 23 23 {if isset($U_DELETE) } 24 <li><a href="{$U_DELETE}" title="{' delete category'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete'|@translate}"></a></li>24 <li><a href="{$U_DELETE}" title="{'Are you sure?'|@translate|@escape:'javascript'}');"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete'|@translate}"></a></li> 25 25 {/if} 26 26 </ul> … … 34 34 {if isset($CAT_FULL_DIR) } 35 35 <tr> 36 <td><strong>{' storage'|@translate}</strong></td>36 <td><strong>{'Directory'|@translate}</strong></td> 37 37 <td class="row1">{$CAT_FULL_DIR}</td> 38 38 </tr> … … 69 69 <table> 70 70 <tr> 71 <td><strong>{' conf_access'|@translate}</strong>71 <td><strong>{'Access type'|@translate}</strong> 72 72 <td> 73 73 {html_radios name='status' values=$status_values output=$status_values|translate selected=$CAT_STATUS} … … 75 75 </tr> 76 76 <tr> 77 <td><strong>{' lock'|@translate}</strong>77 <td><strong>{'Lock'|@translate}</strong> 78 78 <td> 79 79 {html_radios name='visible' values='true,false'|@explode output='No,Yes'|@explode|translate selected=$CAT_VISIBLE} … … 81 81 </tr> 82 82 <tr> 83 <td><strong>{' comments'|@translate}</strong>83 <td><strong>{'Comments'|@translate}</strong> 84 84 <td> 85 85 {html_radios name='commentable' values='false,true'|@explode output='No,Yes'|@explode|translate selected=$CAT_COMMENTABLE} … … 88 88 {if isset($SHOW_UPLOADABLE) } 89 89 <tr> 90 <td><strong>{' editcat_uploadable'|@translate}</strong>90 <td><strong>{'Authorize upload'|@translate}</strong> 91 91 <td> 92 92 {html_radios name='uploadable' values='false,true'|@explode output='No,Yes'|@explode|translate selected=$CAT_UPLOADABLE} … … 100 100 <legend>{'Sort order'|@translate}</legend> 101 101 <input type="checkbox" name="image_order_default" id="image_order_default" {$IMG_ORDER_DEFAULT}> 102 <label for="image_order_default">{'Use default sort order'|@translate}</label>102 <label for="image_order_default">{'Use the default image sort order (defined in the configuration file)'|@translate}</label> 103 103 <br> 104 104 <input type="checkbox" name="image_order_subcats" id="image_order_subcats"> … … 136 136 <td> 137 137 {if $representant.ALLOW_SET_RANDOM } 138 <p><input class="submit" type="submit" name="set_random_representant" value="{' cat_representant'|@translate}" {$TAG_INPUT_ENABLED}></p>138 <p><input class="submit" type="submit" name="set_random_representant" value="{'Find a new representant by random'|@translate}" {$TAG_INPUT_ENABLED}></p> 139 139 {/if} 140 140 … … 214 214 </tr> 215 215 <tr> 216 <td><strong>{' mail_content'|@translate}</strong></td>216 <td><strong>{'Mail content'|@translate}</strong></td> 217 217 <td> 218 218 <textarea cols="50" rows="5" name="mail_content" id="mail_content" class="description">{$MAIL_CONTENT}</textarea> -
trunk/admin/template/goto/cat_options.tpl
r3283 r5021 1 1 <div class="titrePage"> 2 <h2>{' cat_options_title'|@translate} {$TABSHEET_TITLE}</h2>2 <h2>{'Properties'|@translate} {$TABSHEET_TITLE}</h2> 3 3 </div> 4 4 -
trunk/admin/template/goto/check_integrity.tpl
r3283 r5021 1 1 <dl> 2 <dt>{' c13y_title'|@translate}</dt>2 <dt>{'Check integrity'|@translate}</dt> 3 3 <dd> 4 4 <ul> … … 8 8 <tr class="throw"> 9 9 <th></th> 10 <th>{' c13y_Anomaly'|@translate}</th>11 <th>{' c13y_Correction'|@translate}</th>10 <th>{'Anomaly'|@translate}</th> 11 <th>{'Correction'|@translate}</th> 12 12 </tr> 13 13 {if isset($c13y_list)} … … 23 23 <label for="c13y_selection-{$c13y.id}"> 24 24 {if $c13y.show_ignore_msg} 25 {' c13y_ignore_msg1'|@translate}25 {'The anomaly will be ignored until next application version'|@translate} 26 26 <br> 27 {' c13y_ignore_msg2'|@translate}27 {'Correction the anomaly will cancel the fact that it\'s ignored'|@translate} 28 28 {/if} 29 29 {if $c13y.show_correction_fct} 30 {' c13y_Automatic_correction'|@translate}30 {'Automatic correction'|@translate} 31 31 {/if} 32 32 {if $c13y.show_correction_bad_fct} 33 {' c13y_Impossible_automatic_correction'|@translate}33 {'Impossible automatic correction'|@translate} 34 34 {/if} 35 35 {if $c13y.show_correction_success_fct} 36 {' c13y_Correction_applied_success'|@translate}36 {'Correction applied with success'|@translate} 37 37 {/if} 38 38 {if !empty($c13y.correction_error_fct)} 39 {' c13y_Correction_applied_error'|@translate}39 {'Correction applied with error'|@translate} 40 40 <br> 41 41 {$c13y.c13y.correction_error_fct} … … 64 64 document.getElementById('c13y_selection-{$ID}').checked = true; 65 65 {/foreach} 66 return false;">{' c13y_check_auto'|@translate}</a>66 return false;">{'Check automatic corrections'|@translate}</a> 67 67 {/if} 68 68 </p> … … 70 70 <p> 71 71 {if $c13y_show_submit_automatic_correction} 72 <input class="submit" type="submit" value="{' c13y_submit_correction'|@translate}" name="c13y_submit_correction" {$TAG_INPUT_ENABLED}>72 <input class="submit" type="submit" value="{'Apply selected corrections'|@translate}" name="Apply selected corrections" {$TAG_INPUT_ENABLED}> 73 73 {/if} 74 74 {if $c13y_show_submit_ignore} 75 <input class="submit" type="submit" value="{' c13y_submit_ignore'|@translate}" name="c13y_submit_ignore" {$TAG_INPUT_ENABLED}>75 <input class="submit" type="submit" value="{'Ignore selected anomalies'|@translate}" name="Ignore selected anomalies" {$TAG_INPUT_ENABLED}> 76 76 {/if} 77 <input class="submit" type="submit" value="{' c13y_submit_refresh'|@translate}" name="c13y_submit_refresh">77 <input class="submit" type="submit" value="{'Refresh'|@translate}" name="Refresh"> 78 78 </p> 79 79 -
trunk/admin/template/goto/comments.tpl
r3283 r5021 1 1 <div class="titrePage"> 2 <h2>{' waiting'|@translate} {$TABSHEET_TITLE}</h2>2 <h2>{'Waiting'|@translate} {$TABSHEET_TITLE}</h2> 3 3 </div> 4 4 -
trunk/admin/template/goto/configuration.tpl
r3445 r5021 3 3 4 4 <div class="titrePage"> 5 <h2>{' title_configuration'|@translate} {$TABSHEET_TITLE}</h2>5 <h2>{'Piwigo configuration'|@translate} {$TABSHEET_TITLE}</h2> 6 6 </div> 7 7 … … 70 70 <li> 71 71 <label> 72 <span class="property">{' obligatory_user_mail_address'|@translate}</span>72 <span class="property">{'Mail address is obligatory for all users'|@translate}</span> 73 73 <input type="checkbox" name="obligatory_user_mail_address" {if ($main.obligatory_user_mail_address)}checked="checked"{/if}> 74 74 </label> … … 77 77 <li> 78 78 <label> 79 <span class="property">{'Email admin istrators when a new user registers'|@translate}</span>79 <span class="property">{'Email admins when a new user registers'|@translate}</span> 80 80 <input type="checkbox" name="email_admin_on_new_user" {if ($main.email_admin_on_new_user)}checked="checked"{/if}> 81 81 </label> … … 90 90 <ul> 91 91 <li> 92 <label><span class="property">{' conf_history_guest'|@translate}</span><input type="checkbox" name="history_guest" {if ($history.history_guest)}checked="checked"{/if}></label>92 <label><span class="property">{'Save page visits by guests'|@translate}</span><input type="checkbox" name="history_guest" {if ($history.history_guest)}checked="checked"{/if}></label> 93 93 </li> 94 94 95 95 <li> 96 <label><span class="property">{' conf_history_user'|@translate}</span><input type="checkbox" name="log" {if ($history.log)}checked="checked"{/if}></label>96 <label><span class="property">{'Save page visits by users'|@translate}</span><input type="checkbox" name="log" {if ($history.log)}checked="checked"{/if}></label> 97 97 </li> 98 98 99 99 <li> 100 <label><span class="property">{' conf_history_admin'|@translate}</span><input type="checkbox" name="history_admin" {if ($history.history_admin)}checked="checked"{/if}></label>100 <label><span class="property">{'Save page visits by administrators'|@translate}</span><input type="checkbox" name="history_admin" {if ($history.history_admin)}checked="checked"{/if}></label> 101 101 </li> 102 102 </ul> … … 133 133 <li> 134 134 <label> 135 <span class="property">{'Email admin istrators when a valid comment is entered'|@translate}</span>135 <span class="property">{'Email admins when a valid comment is entered'|@translate}</span> 136 136 <input type="checkbox" name="email_admin_on_comment" {if ($comments.email_admin_on_comment)}checked="checked"{/if}> 137 137 </label> … … 140 140 <li> 141 141 <label> 142 <span class="property">{'Email admin istrators when a comment requires validation'|@translate}</span>142 <span class="property">{'Email admins when a comment requires validation'|@translate}</span> 143 143 <input type="checkbox" name="email_admin_on_comment_validation" {if ($comments.email_admin_on_comment_validation)}checked="checked"{/if}> 144 144 </label> … … 189 189 <li> 190 190 <label> 191 <span class="property">{'Email admin istrators when a picture is uploaded'|@translate}</span>191 <span class="property">{'Email admins when a picture is uploaded'|@translate}</span> 192 192 <input type="checkbox" name="email_admin_on_picture_uploaded" {if ($upload.email_admin_on_picture_uploaded)}checked="checked"{/if}> 193 193 </label> -
trunk/admin/template/goto/extend_for_templates.tpl
r3283 r5021 1 <div class="titrePage"><h2>{' extend_for_templates'|@translate}</h2>1 <div class="titrePage"><h2>{'Extend for templates'|@translate}</h2> 2 2 </div> 3 3 {if isset($extents)} 4 <h4>{'Replacement of original templates '|@translate}</h4>4 <h4>{'Replacement of original templates by customized templates from template-extension subfolder'|@translate}</h4> 5 5 <form method="post" name="extend_for_templates" id="extend_for_templates" action=""> 6 6 <table class="table2"> 7 7 <tr class="throw"> 8 <th>{'Replacers '|@translate}</th>8 <th>{'Replacers (customized templates)'|@translate}</th> 9 9 <th>{'Original templates'|@translate}</th> 10 10 <th>{'Optional URL keyword'|@translate}</th> -
trunk/admin/template/goto/footer.tpl
r3283 r5021 6 6 <a name="EoP"></a> <!-- End of ADMIN Page --> 7 7 {if isset($debug.TIME) } 8 {' generation_time'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'sql_queries_in'|@translate} {$debug.SQL_TIME}) -8 {'SQL queries in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME}) - 9 9 {/if} 10 10 … … 14 14 *} 15 15 16 {' powered_by'|@translate}16 {'Powered by'|@translate} 17 17 <a href="{$PHPWG_URL}" class="Piwigo"> 18 18 <span class="Piwigo">Piwigo</span></a> 19 19 {$VERSION} 20 20 {if isset($CONTACT_MAIL)} 21 - {' send_mail'|@translate}21 - {'Contact'|@translate} 22 22 <a href="mailto:{$CONTACT_MAIL}?subject={'title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a> 23 23 {/if} -
trunk/admin/template/goto/group_list.tpl
r3283 r5021 1 1 <div class="titrePage"> 2 <h2>{' title_groups'|@translate}</h2>2 <h2>{'Group management'|@translate}</h2> 3 3 </div> 4 4 … … 31 31 <td style="text-align:center;"> 32 32 <a href="{$group.U_PERM}"> 33 <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/ permissions.png" class="button" style="border:none" alt="{'permissions'|@translate}" title="{'permissions'|@translate}"></a>33 <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/Permissions.png" class="button" style="border:none" alt="{'Permissions'|@translate}" title="{'Permissions'|@translate}"></a> 34 34 <a href="{$group.U_DELETE}" onclick="return confirm('{'delete'|@translate|@escape:'javascript'}' + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');"> 35 <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/ delete.png" class="button" style="border:none" alt="{'delete'|@translate}" title="{'delete'|@translate}" {$TAG_INPUT_ENABLED}></a>35 <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/Delete.png" class="button" style="border:none" alt="{'Delete'|@translate}" title="{'Delete'|@translate}" {$TAG_INPUT_ENABLED}></a> 36 36 <a href="{$group.U_ISDEFAULT}" onclick="return confirm('{'toggle_is_default_group'|@translate|@escape:'javascript'}' +'\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');"> 37 <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/ toggle_is_default_group.png" class="button" style="border:none" alt="{'toggle_is_default_group'|@translate}" title="{'toggle_is_default_group'|@translate}" {$TAG_INPUT_ENABLED}></a>37 <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/Toggle \'default group\' property.png" class="button" style="border:none" alt="{'Toggle \'default group\' property'|@translate}" title="{'Toggle \'default group\' property'|@translate}" {$TAG_INPUT_ENABLED}></a> 38 38 </td> 39 39 </tr> -
trunk/admin/template/goto/history.tpl
r3283 r5021 17 17 <legend>{'Filter'|@translate}</legend> 18 18 <ul> 19 <li><label>{' search_date_from'|@translate}</label></li>19 <li><label>{'Date'|@translate}</label></li> 20 20 <li> 21 21 <select id="start_day" name="start_day"> … … 33 33 </ul> 34 34 <ul> 35 <li><label>{' search_date_to'|@translate}</label></li>35 <li><label>{'End-Date'|@translate}</label></li> 36 36 <li> 37 37 <select id="end_day" name="end_day"> … … 107 107 <tr class="throw"> 108 108 <th>{'Date'|@translate}</th> 109 <th>{' time'|@translate}</th>110 <th>{' user'|@translate}</th>109 <th>{'Time'|@translate}</th> 110 <th>{'User'|@translate}</th> 111 111 <th>{'IP'|@translate}</th> 112 <th>{' image'|@translate}</th>112 <th>{'Element'|@translate}</th> 113 113 <th>{'Element type'|@translate}</th> 114 <th>{' section'|@translate}</th>115 <th>{' category'|@translate}</th>116 <th>{' tags'|@translate}</th>114 <th>{'Section'|@translate}</th> 115 <th>{'Category'|@translate}</th> 116 <th>{'Tags'|@translate}</th> 117 117 </tr> 118 118 {if !empty($search_results) } -
trunk/admin/template/goto/install.tpl
r4985 r5021 71 71 <table class="table2"> 72 72 <tr class="throw"> 73 <th colspan="2">{' Initial_config'|@translate}</th>73 <th colspan="2">{'Basic configuration'|@translate}</th> 74 74 </tr> 75 75 <tr> 76 <td style="width: 30%">{'Default _lang'|@translate}</td>76 <td style="width: 30%">{'Default gallery language'|@translate}</td> 77 77 <td> 78 78 <select name="language" onchange="document.location = 'install.php?language='+this.options[this.selectedIndex].value;"> … … 84 84 <table class="table2"> 85 85 <tr class="throw"> 86 <th colspan="3">{' step1_title'|@translate}</th>86 <th colspan="3">{'Database configuration'|@translate}</th> 87 87 </tr> 88 88 {if count($F_DB_ENGINES)>1} 89 89 <tr> 90 <td style="width: 30%;">{' step1_dbengine'|@translate}</td>90 <td style="width: 30%;">{'Database type'|@translate}</td> 91 91 <td> 92 92 <select name="dblayer" id="dblayer"> … … 99 99 </select> 100 100 </td> 101 <td>{' step1_dbengine_info'|@translate}</td>101 <td>{'The type of database your piwigo data will be store in'|@translate}</td> 102 102 {else} 103 103 <td colspan="3"> … … 107 107 </tr> 108 108 <tr> 109 <td style="width: 30%;">{' step1_host'|@translate}</td>109 <td style="width: 30%;">{'Host'|@translate}</td> 110 110 <td align=center><input type="text" name="dbhost" value="{$F_DB_HOST}"></td> 111 <td>{' step1_host_info'|@translate}</td>111 <td>{'localhost, sql.multimania.com, toto.freesurf.fr'|@translate}</td> 112 112 </tr> 113 113 <tr> 114 <td>{' step1_user'|@translate}</td>114 <td>{'User'|@translate}</td> 115 115 <td align=center><input type="text" name="dbuser" value="{$F_DB_USER}"></td> 116 <td>{' step1_user_info'|@translate}</td>116 <td>{'user login given by your host provider'|@translate}</td> 117 117 </tr> 118 118 <tr> 119 <td>{' step1_pass'|@translate}</td>119 <td>{'Password'|@translate}</td> 120 120 <td align=center><input type="password" name="dbpasswd" value=""></td> 121 <td>{' step1_pass_info'|@translate}</td>121 <td>{'user password given by your host provider'|@translate}</td> 122 122 </tr> 123 123 <tr> 124 <td>{' step1_database'|@translate}</td>124 <td>{'Database name'|@translate}</td> 125 125 <td align=center><input type="text" name="dbname" value="{$F_DB_NAME}"></td> 126 <td>{' step1_database_info'|@translate}</td>126 <td>{'also given by your host provider'|@translate}</td> 127 127 </tr> 128 128 <tr> 129 <td>{' step1_prefix'|@translate}</td>129 <td>{'Database table prefix'|@translate}</td> 130 130 <td align=center><input type="text" name="prefix" value="{$F_DB_PREFIX}"></td> 131 <td>{' step1_prefix_info'|@translate}</td>131 <td>{'database tables names will be prefixed with it (enables you to manage better your tables)'|@translate}</td> 132 132 </tr> 133 133 </table> … … 135 135 <table class="table2"> 136 136 <tr class="throw"> 137 <th colspan="3">{' step2_title'|@translate}</th>137 <th colspan="3">{'Admin configuration'|@translate}</th> 138 138 </tr> 139 139 <tr> 140 <td style="width: 30%;">{' install_webmaster'|@translate}</td>140 <td style="width: 30%;">{'Webmaster login'|@translate}</td> 141 141 <td align="center"><input type="text" name="admin_name" value="{$F_ADMIN}"></td> 142 <td>{' install_webmaster_info'|@translate}</td>142 <td>{'It will be shown to the visitors. It is necessary for website administration'|@translate}</td> 143 143 </tr> 144 144 <tr> 145 <td>{' step2_pwd'|@translate}</td>145 <td>{'Webmaster password'|@translate}</td> 146 146 <td align="center"><input type="password" name="admin_pass1" value=""></td> 147 <td>{' step2_pwd_info'|@translate}</td>147 <td>{'Keep it confidential, it enables you to access administration panel'|@translate}</td> 148 148 </tr> 149 149 <tr> 150 <td>{' step2_pwd_conf'|@translate}</td>150 <td>{'Password [confirm]'|@translate}</td> 151 151 <td align="center"><input type="password" name="admin_pass2" value=""></td> 152 <td>{' step2_pwd_conf_info'|@translate}</td>152 <td>{'verification'|@translate}</td> 153 153 </tr> 154 154 <tr> 155 <td>{' conf_mail_webmaster'|@translate}</td>155 <td>{'Webmaster mail address'|@translate}</td> 156 156 <td align="center"><input type="text" name="admin_mail" value="{$F_ADMIN_EMAIL}"></td> 157 <td>{' conf_mail_webmaster_info'|@translate}</td>157 <td>{'Visitors will be able to contact site administrator with this mail'|@translate}</td> 158 158 </tr> 159 159 </table> … … 162 162 <tr> 163 163 <td style="text-align: center;"> 164 <input class="submit" type="submit" name="install" value="{'Start _Install'|@translate}">164 <input class="submit" type="submit" name="install" value="{'Start Install'|@translate}"> 165 165 </td> 166 166 </tr> … … 169 169 {else} 170 170 <p> 171 <input type="button" name=" home" value="{'home'|@translate}" onClick="window.open('index.php');">172 <input type="button" name=" admin" value="{'admin'|@translate}" onClick="window.open('admin.php');">171 <input type="button" name="Home" value="{'Home'|@translate}" onClick="window.open('index.php');"> 172 <input type="button" name="Administration" value="{'Administration'|@translate}" onClick="window.open('Administration.php');"> 173 173 </p> 174 174 … … 176 176 <div class="infos"> 177 177 <ul> 178 <li>{' Subscribe to Piwigo Announcements Newsletter'|@translate}</li>178 <li>{'Keep in touch with Piwigo project, subscribe to Piwigo Announcement Newsletter. You will receive emails when a new release is available (sometimes including a security bug fix, it\'s important to know and upgrade) and when major events happen to the project. Only a few emails a year.'|@translate}</li> 179 179 </ul> 180 180 </div> -
trunk/admin/template/goto/intro.tpl
r4325 r5021 11 11 </script> 12 12 13 <h2>{' title_default'|@translate}</h2>13 <h2>{'Piwigo administration'|@translate}</h2> 14 14 <dl style="padding-top: 30px;"> 15 15 <dt>{'Piwigo version'|@translate}</dt> -
trunk/admin/template/goto/maintenance.tpl
r3517 r5021 4 4 5 5 <ul> 6 <li><a href="{$U_MAINT_CATEGORIES}" {$TAG_INPUT_ENABLED}>{' update categories informations'|@translate}</a></li>7 <li><a href="{$U_MAINT_IMAGES}" {$TAG_INPUT_ENABLED}>{' update images informations'|@translate}</a></li>8 <li><a href="{$U_MAINT_DATABASE}" {$TAG_INPUT_ENABLED}>{' repair and optimize database'|@translate}</a></li>6 <li><a href="{$U_MAINT_CATEGORIES}" {$TAG_INPUT_ENABLED}>{'Update categories informations'|@translate}</a></li> 7 <li><a href="{$U_MAINT_IMAGES}" {$TAG_INPUT_ENABLED}>{'Update images informations'|@translate}</a></li> 8 <li><a href="{$U_MAINT_DATABASE}" {$TAG_INPUT_ENABLED}>{'Repair and optimize database'|@translate}</a></li> 9 9 </ul> 10 10 11 11 <ul> 12 <li><a href="{$U_MAINT_HISTORY_DETAIL}" onclick="return confirm('{' Are you sure?'|@translate}');" {$TAG_INPUT_ENABLED}>{'purge history detail'|@translate}</a></li>13 <li><a href="{$U_MAINT_HISTORY_SUMMARY}" onclick="return confirm('{' Are you sure?'|@translate}');" {$TAG_INPUT_ENABLED}>{'purge history summary'|@translate}</a></li>14 <li><a href="{$U_MAINT_SESSIONS}" {$TAG_INPUT_ENABLED}>{' purge sessions'|@translate}</a></li>15 <li><a href="{$U_MAINT_FEEDS}" {$TAG_INPUT_ENABLED}>{' purge never used notification feeds'|@translate}</a></li>16 <li><a href="{$U_MAINT_SEARCH}"onclick="return confirm('{' Are you sure?'|@translate}');" {$TAG_INPUT_ENABLED}>{'Purge search history'|@translate}</a></li>12 <li><a href="{$U_MAINT_HISTORY_DETAIL}" onclick="return confirm('{'Purge history detail'|@translate}');" {$TAG_INPUT_ENABLED}>{'Purge history detail'|@translate}</a></li> 13 <li><a href="{$U_MAINT_HISTORY_SUMMARY}" onclick="return confirm('{'Purge history summary'|@translate}');" {$TAG_INPUT_ENABLED}>{'Purge history summary'|@translate}</a></li> 14 <li><a href="{$U_MAINT_SESSIONS}" {$TAG_INPUT_ENABLED}>{'Purge sessions'|@translate}</a></li> 15 <li><a href="{$U_MAINT_FEEDS}" {$TAG_INPUT_ENABLED}>{'Purge never used notification feeds'|@translate}</a></li> 16 <li><a href="{$U_MAINT_SEARCH}"onclick="return confirm('{'Purge search history'|@translate}');" {$TAG_INPUT_ENABLED}>{'Purge search history'|@translate}</a></li> 17 17 <li><a href="{$U_MAINT_COMPILED_TEMPLATES}" {$TAG_INPUT_ENABLED}>{'Purge compiled templates'|@translate}</a></li> 18 18 </ul> 19 19 20 20 <ul> 21 <li><a href="{$U_MAINT_C13Y}" {$TAG_INPUT_ENABLED}>{' c13y_maintenance'|@translate}</a></li>21 <li><a href="{$U_MAINT_C13Y}" {$TAG_INPUT_ENABLED}>{'Reinitialize check integrity'|@translate}</a></li> 22 22 </ul> -
trunk/admin/template/goto/navigation_bar.tpl
r3283 r5021 1 1 <div class="navigationBar"> 2 2 {if isset($navbar.URL_FIRST)} 3 <a href="{$navbar.URL_FIRST}" rel="first">{' first_page'|@translate}</a> |4 <a href="{$navbar.URL_PREV}" rel="prev">{' previous_page'|@translate}</a> |3 <a href="{$navbar.URL_FIRST}" rel="first">{'First'|@translate}</a> | 4 <a href="{$navbar.URL_PREV}" rel="prev">{'Previous'|@translate}</a> | 5 5 {else} 6 {' first_page'|@translate} |7 {' previous_page'|@translate} |6 {'First'|@translate} | 7 {'Previous'|@translate} | 8 8 {/if} 9 9 … … 20 20 21 21 {if isset($navbar.URL_NEXT)} 22 | <a href="{$navbar.URL_NEXT}" rel="next">{' next_page'|@translate}</a>23 | <a href="{$navbar.URL_LAST}" rel="last">{' last_page'|@translate}</a>22 | <a href="{$navbar.URL_NEXT}" rel="next">{'Next'|@translate}</a> 23 | <a href="{$navbar.URL_LAST}" rel="last">{'Last'|@translate}</a> 24 24 {else} 25 | {' next_page'|@translate}26 | {' last_page'|@translate}25 | {'Next'|@translate} 26 | {'Last'|@translate} 27 27 {/if} 28 28 </div> -
trunk/admin/template/goto/notification_by_mail.tpl
r3283 r5021 3 3 4 4 <div class="titrePage"> 5 <h2>{' nbm_send_mail_to_users'|@translate} {$TABSHEET_TITLE}</h2>5 <h2>{'Send mail to users'|@translate} {$TABSHEET_TITLE}</h2> 6 6 </div> 7 7 … … 10 10 <fieldset> 11 11 <div class="infos"> 12 <input class="submit" type="submit" value="{' nbm_repost_submit'|@translate}" name="{$REPOST_SUBMIT_NAME}" {$TAG_INPUT_ENABLED}>12 <input class="submit" type="submit" value="{'Continue processing treatment'|@translate}" name="{$REPOST_SUBMIT_NAME}" {$TAG_INPUT_ENABLED}> 13 13 </div> 14 14 </fieldset> … … 17 17 {if isset($param)} 18 18 <fieldset> 19 <legend>{' nbm_title_param'|@translate}</legend>19 <legend>{'Parameters'|@translate}</legend> 20 20 <table> 21 21 <tr> 22 <td><label>{' nbm_send_html_mail'|@translate}</label></td>22 <td><label>{'Send mail on HTML format'|@translate}</label></td> 23 23 <td> 24 24 <label><input type="radio" name="nbm_send_html_mail" value="true" {if $param.SEND_HTML_MAIL}checked="checked"{/if}>{'Yes'|@translate}</label> … … 28 28 <tr> 29 29 <td> 30 <label for="send_mail_as">{' nbm_send_mail_as'|@translate}</label>31 <br><i><small>{' nbm_info_send_mail_as'|@translate}</small></i>30 <label for="send_mail_as">{'Send mail as'|@translate}</label> 31 <br><i><small>{'With blank value, gallery title will be used'|@translate}</small></i> 32 32 </td> 33 33 <td><input type="text" maxlength="35" size="35" name="nbm_send_mail_as" id="send_mail_as" value="{$param.SEND_MAIL_AS}"></td> 34 34 </tr> 35 35 <tr> 36 <td><label>{' nbm_send_detailed_content'|@translate}</label></td>36 <td><label>{'Add detailed content'|@translate}</label></td> 37 37 <td> 38 38 <label><input type="radio" name="nbm_send_detailed_content" value="true" {if $param.SEND_DETAILED_CONTENT}checked="checked"{/if}>{'Yes'|@translate}</label> … … 41 41 </tr> 42 42 <tr> 43 <td><label for="complementary_mail_content">{' nbm_complementary_mail_content'|@translate}</label></td>43 <td><label for="complementary_mail_content">{'Complementary mail content'|@translate}</label></td> 44 44 <td><textarea cols="50" rows="5" name="nbm_complementary_mail_content" id="complementary_mail_content">{$param.COMPLEMENTARY_MAIL_CONTENT}</textarea></td> 45 45 </tr> 46 46 <tr> 47 47 <td> 48 <label>{' nbm_send_recent_post_dates'|@translate}</label>49 <br><i><small>{' nbm_info_send_recent_post_dates'|@translate}</small></i>48 <label>{'Include display of recent pictures group by dates'|@translate}</label> 49 <br><i><small>{'Available only with HTML format'|@translate}</small></i> 50 50 </td> 51 51 <td> … … 65 65 {if isset($subscribe)} 66 66 <fieldset> 67 <legend>{' nbm_title_subscribe'|@translate}</legend>68 <p><i>{' nbm_warning_subscribe_unsubscribe'|@translate}</i></p>67 <legend>{'Subscribe/unsubscribe users'|@translate}</legend> 68 <p><i>{'Warning: subscribing or unsubscribing will send mails to users'|@translate}</i></p> 69 69 {$DOUBLE_SELECT} 70 70 </fieldset> … … 73 73 {if isset($send)} 74 74 {if empty($send.users)} 75 <p>{' nbm_no_user_available_to_send_L1'|@translate}</p>75 <p>{'There is no available subscribers to mail.'|@translate}</p> 76 76 <p> 77 {' nbm_no_user_available_to_send_L2'|@translate}<br>78 {' nbm_no_user_available_to_send_L3'|@translate}77 {'Subscribers could be listed (available) only if there is new elements to notify.'|@translate}<br> 78 {'Anyway only webmasters can see this tab and never administrators.'|@translate} 79 79 </p> 80 80 {else} 81 81 <fieldset> 82 <legend>{' nbm_title_send'|@translate}</legend>82 <legend>{'Select recipients'|@translate}</legend> 83 83 <table class="table2"> 84 84 <tr class="throw"> 85 <th>{' nbm_col_user'|@translate}</th>86 <th>{' nbm_col_mail'|@translate}</th>87 <th>{' nbm_col_last_send'|@translate}</th>88 <th>{' nbm_col_check_user_send_mail'|@translate}</th>85 <th>{'User'|@translate}</th> 86 <th>{'email'|@translate}</th> 87 <th>{'Last send'|@translate}</th> 88 <th>{'To send ?'|@translate}</th> 89 89 </tr> 90 90 {foreach from=$send.users item=u name=user_loop} … … 104 104 105 105 <fieldset> 106 <legend>{' nbm_send_options'|@translate}</legend>106 <legend>{'Options'|@translate}</legend> 107 107 <table> 108 108 <tr> 109 <td><label for="send_customize_mail_content">{' nbm_send_complementary_mail_content'|@translate}</label></td>109 <td><label for="send_customize_mail_content">{'Complementary mail content'|@translate}</label></td> 110 110 <td><textarea cols="50" rows="5" name="send_customize_mail_content" id="send_customize_mail_content">{$send.CUSTOMIZE_MAIL_CONTENT}</textarea></td> 111 111 </tr> … … 114 114 115 115 <p> 116 <input class="submit" type="submit" value="{' nbm_send_submit'|@translate}" name="send_submit" {$TAG_INPUT_ENABLED}>116 <input class="submit" type="submit" value="{'Send'|@translate}" name="send_submit" {$TAG_INPUT_ENABLED}> 117 117 </p> 118 118 {/if} -
trunk/admin/template/goto/permalinks.tpl
r3283 r5021 61 61 <td>{$permalink.last_hit}</td> 62 62 <td>{$permalink.hit}</td> 63 <td><a href="{$permalink.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/ delete.png" alt="[{'delete'|@translate}]" class="button"></a></td>63 <td><a href="{$permalink.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/Delete.png" alt="[{'Delete'|@translate}]" class="button"></a></td> 64 64 </tr> 65 65 {/foreach} -
trunk/admin/template/goto/picture_modify.tpl
r3283 r5021 10 10 {/literal} 11 11 12 <h2>{' title_picmod'|@translate}</h2>13 14 <img src="{$TN_SRC}" alt="{' thumbnail'|@translate}" class="thumbnail">12 <h2>{'Modify informations about a picture'|@translate}</h2> 13 14 <img src="{$TN_SRC}" alt="{'Thumbnail'|@translate}" class="Thumbnail"> 15 15 16 16 <ul class="categoryActions"> … … 19 19 {/if} 20 20 {if !url_is_remote($path)} 21 <li><a href="{$U_SYNC}" title="{'synchronize metadata'|@translate}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.admin_icon_dir}/sync_metadata.png" class="button" alt="{'synchronize'|@translate}"></a></li>21 <li><a href="{$U_SYNC}" title="{'synchronize'|@translate}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.admin_icon_dir}/sync_metadata.png" class="button" alt="{'synchronize'|@translate}"></a></li> 22 22 {/if} 23 23 </ul> -
trunk/admin/template/goto/plugins_list.tpl
r3282 r5021 71 71 <li> 72 72 <a href="{$plugin.U_ACTION}&action=delete" onclick="return confirm('{'plugins_confirm_delete'|@translate|@escape:'javascript'}');"> 73 <img src="{$themeconf.admin_icon_dir}/plug_delete.png" alt="{' plugins_delete'|@translate}" title="{'plugins_delete'|@translate}">73 <img src="{$themeconf.admin_icon_dir}/plug_delete.png" alt="{'Delete'|@translate}" title="{'Delete'|@translate}"> 74 74 </a> 75 75 </li> 76 76 {else} 77 77 <li> 78 <img src="{$themeconf.admin_icon_dir}/plug_delete_grey.png" alt="{' plugins_delete'|@translate}" title="{'plugins_delete'|@translate}">78 <img src="{$themeconf.admin_icon_dir}/plug_delete_grey.png" alt="{'Delete'|@translate}" title="{'Delete'|@translate}"> 79 79 </li> 80 80 {/if} -
trunk/admin/template/goto/plugins_new.tpl
r3722 r5021 40 40 <td>{$plugin.AUTHOR}</td> 41 41 <td style="text-align:center;"><a href="{$plugin.URL_INSTALL}" onclick="return confirm('{'plugins_confirm_install'|@translate|@escape:javascript}');">{'plugins_auto_install'|@translate}</a> 42 / <a href="{$plugin.URL_DOWNLOAD}">{' plugins_download'|@translate}</a>42 / <a href="{$plugin.URL_DOWNLOAD}">{'Download file'|@translate}</a> 43 43 </td> 44 44 </tr> -
trunk/admin/template/goto/plugins_update.tpl
r3722 r5021 17 17 {if isset($plugins_not_uptodate)} 18 18 <br> 19 <b>{' plugins_need_update'|@translate}</b>19 <b>{'Plugins which need upgrade'|@translate}</b> 20 20 <table class="table2 plugins"> 21 21 <thead> 22 22 <tr class="throw"> 23 23 <td>{'Name'|@translate}</td> 24 <td>{' plugins_actual_version'|@translate}</td>25 <td>{' plugins_new_version'|@translate}</td>24 <td>{'Current<br>version'|@translate}</td> 25 <td>{'Available<br>version'|@translate}</td> 26 26 <td>{'Actions'|@translate}</td> 27 27 </tr> … … 33 33 <td style="text-align:center;"><a href="{$plugin.EXT_URL}" onclick="window.open(this.href); return false;" class="cluetip" title="{$plugin.EXT_NAME}|{$plugin.NEW_VER_DESC|htmlspecialchars|nl2br}">{$plugin.NEW_VERSION}</a></td> 34 34 <td style="text-align:center;"><a href="{$plugin.URL_UPDATE}" onclick="return confirm('{'plugins_confirm_upgrade'|@translate|@escape:javascript}');">{'plugins_auto_update'|@translate}</a> 35 / <a href="{$plugin.URL_DOWNLOAD}">{' plugins_download'|@translate}</a></td>35 / <a href="{$plugin.URL_DOWNLOAD}">{'Download file'|@translate}</a></td> 36 36 </tr> 37 37 {/foreach} … … 42 42 {if isset($plugins_uptodate)} 43 43 <br> 44 <b>{' plugins_dontneed_update'|@translate}</b>44 <b>{'Plugins up to date'|@translate}</b> 45 45 <table class="table2 plugins"> 46 46 <thead> … … 62 62 {if isset($plugins_cant_check)} 63 63 <br> 64 <b>{' plugins_cant_check'|@translate}</b>64 <b>{'Plugin versions can\'t be checked'|@translate}</b> 65 65 <table class="table2 plugins"> 66 66 <thead> -
trunk/admin/template/goto/profile_content.tpl
r3283 r5021 26 26 <li> 27 27 <span class="property"> 28 <label for="use_new_pwd">{' new_password'|@translate}</label>28 <label for="use_new_pwd">{'New password'|@translate}</label> 29 29 </span> 30 30 <input type="password" name="use_new_pwd" id="use_new_pwd" value=""> … … 41 41 42 42 <fieldset> 43 <legend>{' preferences'|@translate}</legend>43 <legend>{'Preferences'|@translate}</legend> 44 44 45 45 <ul> 46 46 <li> 47 47 <span class="property"> 48 <label for="nb_image_line">{' nb_image_per_row'|@translate}</label>48 <label for="nb_image_line">{'Number of images per row'|@translate}</label> 49 49 </span> 50 50 <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{$NB_IMAGE_LINE}"> … … 52 52 <li> 53 53 <span class="property"> 54 <label for="nb_line_page">{' nb_row_per_page'|@translate}</label>54 <label for="nb_line_page">{'Number of rows per page'|@translate}</label> 55 55 </span> 56 56 <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" > … … 58 58 <li> 59 59 <span class="property"> 60 <label for="template">{' theme'|@translate}</label>60 <label for="template">{'Interface theme'|@translate}</label> 61 61 </span> 62 62 {html_options id=template name=template options=$template_options selected=$template_selection} … … 64 64 <li> 65 65 <span class="property"> 66 <label for=" language">{'language'|@translate}</label>66 <label for="Language">{'Language'|@translate}</label> 67 67 </span> 68 68 {html_options id=language name=language options=$language_options selected=$language_selection} … … 70 70 <li> 71 71 <span class="property"> 72 <label for=" recent_period">{'recent_period'|@translate}</label>72 <label for="Recent period">{'Recent period'|@translate}</label> 73 73 </span> 74 74 <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}"> 75 75 </li> 76 76 <li> 77 <span class="property">{' auto_expand'|@translate}</span>77 <span class="property">{'Expand all categories'|@translate}</span> 78 78 {html_radios name='expand' options=$radio_options selected=$EXPAND} 79 79 </li> 80 80 <li> 81 <span class="property">{' show_nb_comments'|@translate}</span>81 <span class="property">{'Show number of comments'|@translate}</span> 82 82 {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS} 83 83 </li> 84 84 <li> 85 <span class="property">{' show_nb_hits'|@translate}</span>85 <span class="property">{'Show number of hits'|@translate}</span> 86 86 {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS} 87 87 </li> 88 88 <li> 89 89 <span class="property"> 90 <label for=" maxwidth">{'maxwidth'|@translate}</label>90 <label for="Maximum width of the pictures">{'Maximum width of the pictures'|@translate}</label> 91 91 </span> 92 92 <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}"> … … 94 94 <li> 95 95 <span class="property"> 96 <label for=" maxheight">{'maxheight'|@translate}</label>96 <label for="Maximum height of the pictures">{'Maximum height of the pictures'|@translate}</label> 97 97 </span> 98 98 <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{$MAXHEIGHT}"> -
trunk/admin/template/goto/rating.tpl
r3283 r5021 1 <h2>{' Rating'|@translate} [{$NB_ELEMENTS} {'elements'|@translate}]</h2>1 <h2>{'elements'|@translate} [{$NB_ELEMENTS} {'elements'|@translate}]</h2> 2 2 3 3 <form action="{$F_ACTION}" method="GET" id="update" class="filter"> … … 59 59 <td><b>{$rate.USER}</b></td> 60 60 <td><span class="date">{$rate.DATE}</span></td> 61 <td><a href="{$rate.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.admin_icon_dir}/ delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{'delete'|@translate}]"></a></td>61 <td><a href="{$rate.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.admin_icon_dir}/Delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{'Delete'|@translate}]"></a></td> 62 62 </tr> 63 63 {/foreach} {*rates*} -
trunk/admin/template/goto/site_manager.tpl
r3283 r5021 14 14 15 15 {if isset($local_listing)} 16 {' remote_site_local_found'|@translate} {$local_listing.URL}16 {'A local listing.xml file has been found for '|@translate} {$local_listing.URL} 17 17 {if isset($local_listing.CREATE)} 18 18 <form action="{$F_ACTION}" method="post"> 19 19 <p> 20 {' remote_site_local_create'|@translate}:20 {'Create this site'|@translate}: 21 21 <input type="hidden" name="no_check" value="1"> 22 22 <input type="hidden" name="galleries_url" value="{$local_listing.URL}"> … … 26 26 {/if} 27 27 {if isset($local_listing.U_SYNCHRONIZE)} 28 <a href="{$local_listing.U_SYNCHRONIZE}" title="{' remote_site_local_update'|@translate}">{'site_synchronize'|@translate}</a>28 <a href="{$local_listing.U_SYNCHRONIZE}" title="{'synchronize'|@translate}">{'synchronize'|@translate}</a> 29 29 <br><br> 30 30 {/if} … … 34 34 <table class="table2"> 35 35 <tr class="throw"> 36 <td>{' site_local'|@translate} / {'site_remote'|@translate}</td>36 <td>{'Remote'|@translate} / {'Remote'|@translate}</td> 37 37 <td>{'Actions'|@translate}</td> 38 38 </tr> … … 41 41 <a href="{$site.NAME}">{$site.NAME}</a><br>({$site.TYPE}, {$site.CATEGORIES} {'Categories'|@translate}, {$pwg->l10n_dec('%d element','%d elements',$site.IMAGES)}) 42 42 </td><td> 43 [<a href="{$site.U_SYNCHRONIZE}" title="{'s ite_synchronize_hint'|@translate}">{'site_synchronize'|@translate}</a>]43 [<a href="{$site.U_SYNCHRONIZE}" title="{'synchronize'|@translate}">{'synchronize'|@translate}</a>] 44 44 {if isset($site.U_DELETE)} 45 45 [<a href="{$site.U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|escape:'javascript'}');" 46 title="{' site_delete_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'site_delete'|@translate}</a>]46 title="{'delete'|@translate}" {$TAG_INPUT_ENABLED}>{'delete'|@translate}</a>] 47 47 {/if} 48 48 {if isset($site.remote)} 49 49 <br> 50 [<a href="{$site.remote.U_TEST}" title="{' remote_site_test_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'remote_site_test'|@translate}</a>]51 [<a href="{$site.remote.U_GENERATE}" title="{' remote_site_generate_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'remote_site_generate'|@translate}</a>]52 [<a href="{$site.remote.U_CLEAN}" title="{' remote_site_clean_hint'|@translate}" {$TAG_INPUT_ENABLED}>{'remote_site_clean'|@translate}</a>]50 [<a href="{$site.remote.U_TEST}" title="{'test'|@translate}" {$TAG_INPUT_ENABLED}>{'test'|@translate}</a>] 51 [<a href="{$site.remote.U_GENERATE}" title="{'generate listing'|@translate}" {$TAG_INPUT_ENABLED}>{'generate listing'|@translate}</a>] 52 [<a href="{$site.remote.U_CLEAN}" title="{'clean'|@translate}" {$TAG_INPUT_ENABLED}>{'clean'|@translate}</a>] 53 53 {/if} 54 54 {if not empty($site.plugin_links)} … … 65 65 <form action="{$F_ACTION}" method="post"> 66 66 <p> 67 <label for="galleries_url" >{' site_create'|@translate}</label>67 <label for="galleries_url" >{'Create a new site : (give its URL to create_listing_file.php)'|@translate}</label> 68 68 <input type="text" name="galleries_url" id="galleries_url"> 69 69 </p> -
trunk/admin/template/goto/site_update.tpl
r3283 r5021 3 3 4 4 <div class="titrePage"> 5 <h2>{' title_update'|@translate}: <a href="{$SITE_URL}">{$SITE_URL}</a></h2>5 <h2>{'Database synchronization with files'|@translate}: <a href="{$SITE_URL}">{$SITE_URL}</a></h2> 6 6 </div> 7 7 … … 9 9 <h3>{$L_RESULT_UPDATE}</h3> 10 10 <ul> 11 <li class="update_summary_new">{$update_result.NB_NEW_CATEGORIES} {' update_nb_new_categories'|@translate}</li>12 <li class="update_summary_new">{$update_result.NB_NEW_ELEMENTS} {' update_nb_new_elements'|@translate}</li>13 <li class="update_summary_del">{$update_result.NB_DEL_CATEGORIES} {' update_nb_del_categories'|@translate}</li>14 <li class="update_summary_del">{$update_result.NB_DEL_ELEMENTS} {' update_nb_del_elements'|@translate}</li>15 <li>{$update_result.NB_UPD_ELEMENTS} {' update_nb_upd_elements'|@translate}</li>16 <li class="update_summary_err">{$update_result.NB_ERRORS} {' update_nb_errors'|@translate}</li>11 <li class="update_summary_new">{$update_result.NB_NEW_CATEGORIES} {'categories added in the database'|@translate}</li> 12 <li class="update_summary_new">{$update_result.NB_NEW_ELEMENTS} {'elements added in the database'|@translate}</li> 13 <li class="update_summary_del">{$update_result.NB_DEL_CATEGORIES} {'categories deleted in the database'|@translate}</li> 14 <li class="update_summary_del">{$update_result.NB_DEL_ELEMENTS} {'elements deleted in the database'|@translate}</li> 15 <li>{$update_result.NB_UPD_ELEMENTS} {'elements updated in the database'|@translate}</li> 16 <li class="update_summary_err">{$update_result.NB_ERRORS} {'errors during synchronization'|@translate}</li> 17 17 </ul> 18 18 {/if} … … 21 21 <h3>{$L_RESULT_METADATA}</h3> 22 22 <ul> 23 <li>{$metadata_result.NB_ELEMENTS_DONE} {' update_nb_elements_metadata_sync'|@translate}</li>24 <li>{$metadata_result.NB_ELEMENTS_CANDIDATES} {' update_nb_elements_metadata_available'|@translate}</li>25 <li>{' update_used_metadata'|@translate} : {$METADATA_LIST}</li>23 <li>{$metadata_result.NB_ELEMENTS_DONE} {'elements informations synchronized with files metadata'|@translate}</li> 24 <li>{$metadata_result.NB_ELEMENTS_CANDIDATES} {'images candidates for metadata synchronization'|@translate}</li> 25 <li>{'Used metadata'|@translate} : {$METADATA_LIST}</li> 26 26 </ul> 27 27 {/if} … … 29 29 30 30 {if not empty($sync_errors)} 31 <h3>{' update_error_list_title'|@translate}</h3>31 <h3>{'Error list'|@translate}</h3> 32 32 <div class="errors"> 33 33 <ul> … … 37 37 </ul> 38 38 </div> 39 <h3>{' update_errors_caption'|@translate}</h3>39 <h3>{'Errors caption'|@translate}</h3> 40 40 <ul> 41 41 {foreach from=$sync_error_captions item=caption} … … 46 46 47 47 {if not empty($sync_infos)} 48 <h3>{' update_infos_title'|@translate}</h3>48 <h3>{'Detailed informations'|@translate}</h3> 49 49 <div class="infos"> 50 50 <ul> … … 57 57 58 58 {if isset($introduction)} 59 <h4>{' update_default_title'|@translate}</h4>59 <h4>{'Choose an option'|@translate}</h4> 60 60 <form action="" method="post" id="update"> 61 61 62 62 <fieldset id="syncFiles"> 63 <legend>{' update_sync_files'|@translate}</legend>63 <legend>{'synchronize files structure with database'|@translate}</legend> 64 64 <ul> 65 65 <li><label><input type="radio" name="sync" value="" {if empty($introduction.sync)}checked="checked"{/if}> {'nothing'|@translate}</label></li> 66 <li><label><input type="radio" name="sync" value="dirs" {if 'dirs'==$introduction.sync}checked="checked"{/if}> {' update_sync_dirs'|@translate}</label></li>66 <li><label><input type="radio" name="sync" value="dirs" {if 'dirs'==$introduction.sync}checked="checked"{/if}> {'only directories'|@translate}</label></li> 67 67 68 <li><label><input type="radio" name="sync" value="files" {if 'files'==$introduction.sync}checked="checked"{/if}> {' update_sync_all'|@translate}</label>68 <li><label><input type="radio" name="sync" value="files" {if 'files'==$introduction.sync}checked="checked"{/if}> {'directories + files'|@translate}</label> 69 69 <ul style="padding-left:3em"> 70 <li><label><input type="checkbox" name="display_info" value="1" {if $introduction.display_info}checked="checked"{/if}> {' update_display_info'|@translate}</label></li>70 <li><label><input type="checkbox" name="display_info" value="1" {if $introduction.display_info}checked="checked"{/if}> {'display maximum informations (added categories and elements, deleted categories and elements)'|@translate}</label></li> 71 71 <li><label><input type="checkbox" name="add_to_caddie" value="1" {if $introduction.add_to_caddie}checked="checked"{/if}> {'add new elements to caddie'|@translate}</label></li> 72 72 <li><label>{'Minimum privacy level'|@translate} <select name="privacy_level">{html_options options=$introduction.privacy_level_options selected=$introduction.privacy_level_selected}</select></label></li> … … 77 77 78 78 <fieldset id="syncMetadata"> 79 <legend>{' update_sync_metadata'|@translate}</legend>79 <legend>{'synchronize files metadata with database elements informations'|@translate}</legend> 80 80 <label><input type="checkbox" name="sync_meta" {if $introduction.sync_meta}checked="checked"{/if}> {'synchronize metadata'|@translate} ({$METADATA_LIST})</label> 81 81 <ul style="padding-left:3em"> 82 82 <li> 83 <label><input type="checkbox" name="meta_all" {if $introduction.meta_all}checked="checked"{/if}> {' update_sync_metadata_all'|@translate}</label>83 <label><input type="checkbox" name="meta_all" {if $introduction.meta_all}checked="checked"{/if}> {'even already synchronized elements'|@translate}</label> 84 84 </li> 85 85 <li> … … 91 91 <fieldset id="syncSimulate"> 92 92 <legend></legend> 93 <ul><li><label><input type="checkbox" name="simulate" value="1" checked="checked" {$TAG_INPUT_ENABLED}> {' update_simulate'|@translate}</label></li></ul>93 <ul><li><label><input type="checkbox" name="simulate" value="1" checked="checked" {$TAG_INPUT_ENABLED}> {'only perform a simulation (no change in database will be made)'|@translate}</label></li></ul> 94 94 </fieldset> 95 95 96 96 <fieldset id="catSubset"> 97 <legend>{' update_cats_subset'|@translate}</legend>97 <legend>{'reduce to single existing categories'|@translate}</legend> 98 98 <ul> 99 99 <li> … … 103 103 </li> 104 104 105 <li><label><input type="checkbox" name="subcats-included" value="1" {if $introduction.subcats_included}checked="checked"{/if}> {' search_subcats_included'|@translate}</label></li>105 <li><label><input type="checkbox" name="subcats-included" value="1" {if $introduction.subcats_included}checked="checked"{/if}> {'Search in subcategories'|@translate}</label></li> 106 106 </ul> 107 107 </fieldset> -
trunk/admin/template/goto/tags.tpl
r3283 r5021 47 47 <p> 48 48 <input class="submit" type="submit" name="edit" value="{'Edit selected tags'|@translate}"> 49 <input class="submit" type="submit" name="delete" value="{' Delete selected tags'|@translate}" onclick="return confirm('{'Are you sure?'|@translate}');" {$TAG_INPUT_ENABLED}>49 <input class="submit" type="submit" name="delete" value="{'Are you sure?'|@translate}" onclick="return confirm('{'Are you sure?'|@translate}');" {$TAG_INPUT_ENABLED}> 50 50 </p> 51 51 </fieldset> -
trunk/admin/template/goto/thumbnail.tpl
r3283 r5021 1 1 <div class="titrePage"> 2 <h2>{' title_thumbnails'|@translate}</h2>2 <h2>{'Thumbnail creation'|@translate}</h2> 3 3 </div> 4 4 5 5 {if isset($results) } 6 <div class="admin">{' tn_results_title'|@translate}</div>6 <div class="admin">{'Results of miniaturization'|@translate}</div> 7 7 <table style="width:100%;"> 8 8 <tr class="throw"> 9 9 <td>{'Path'|@translate}</td> 10 <td>{' thumbnail'|@translate}</td>11 <td>{' tn_results_gen_time'|@translate}</td>12 <td>{' filesize'|@translate}</td>10 <td>{'Thumbnail'|@translate}</td> 11 <td>{'generated in'|@translate}</td> 12 <td>{'Filesize'|@translate}</td> 13 13 <td>{'Dimensions'|@translate}</td> 14 14 </tr> … … 26 26 <table class="table2"> 27 27 <tr class="throw"> 28 <td colspan="2">{' tn_stats'|@translate}</td>28 <td colspan="2">{'General statistics'|@translate}</td> 29 29 </tr> 30 30 <tr> 31 <td>{' tn_stats_nb'|@translate}</td>31 <td>{'number of miniaturized pictures'|@translate}</td> 32 32 <td style="text-align:center;">{$results.TN_NB}</td> 33 33 </tr> 34 34 <tr> 35 <td>{'t n_stats_total'|@translate}</td>35 <td>{'total time'|@translate}</td> 36 36 <td style="text-align:right;">{$results.TN_TOTAL}</td> 37 37 </tr> 38 38 <tr> 39 <td>{' tn_stats_max'|@translate}</td>39 <td>{'max time'|@translate}</td> 40 40 <td style="text-align:right;">{$results.TN_MAX}</td> 41 41 </tr> 42 42 <tr> 43 <td>{' tn_stats_min'|@translate}</td>43 <td>{'min time'|@translate}</td> 44 44 <td style="text-align:right;">{$results.TN_MIN}</td> 45 45 </tr> 46 46 <tr> 47 <td>{' tn_stats_mean'|@translate}</td>47 <td>{'average time'|@translate}</td> 48 48 <td style="text-align:right;">{$results.TN_AVERAGE}</td> 49 49 </tr> … … 56 56 57 57 <fieldset> 58 <legend>{' tn_params_title'|@translate}</legend>58 <legend>{'Miniaturization parameters'|@translate}</legend> 59 59 60 60 <ul> 61 61 <li> 62 <span class="property">{' tn_params_GD'|@translate}</span>62 <span class="property">{'GD version'|@translate}</span> 63 63 <label> 64 64 <input type="radio" name="gd" value="2" {if $params.GD_SELECTED==2}checked="checked"{/if}>2.x … … 88 88 <label><input type="radio" name="n" value="10" {if $params.N_SELECTED==10}checked="checked"{/if}> 10</label> 89 89 <label><input type="radio" name="n" value="20" {if $params.N_SELECTED==20}checked="checked"{/if}> 20</label> 90 <label><input type="radio" name="n" value="all" {if $params.N_SELECTED=='all'}checked="checked"{/if}> {' tn_all'|@translate}</label>90 <label><input type="radio" name="n" value="all" {if $params.N_SELECTED=='all'}checked="checked"{/if}> {'all'|@translate}</label> 91 91 </li> 92 92 </ul> … … 98 98 99 99 {if !empty($remainings) } 100 <div class="admin">{$TOTAL_NB_REMAINING} {' tn_alone_title'|@translate}</div>100 <div class="admin">{$TOTAL_NB_REMAINING} {'pictures without thumbnail (jpeg and png only)'|@translate}</div> 101 101 <table style="width:100%;"> 102 102 <tr class="throw"> 103 103 <td> </td> 104 104 <td style="width:60%;">{'Path'|@translate}</td> 105 <td>{' filesize'|@translate}</td>105 <td>{'Filesize'|@translate}</td> 106 106 <td>{'Dimensions'|@translate}</td> 107 107 </tr> … … 116 116 </table> 117 117 {else} 118 <div style="text-align:center;font-weight:bold;margin:10px;"> [ {' tn_no_missing'|@translate} ]</div>118 <div style="text-align:center;font-weight:bold;margin:10px;"> [ {'No missing thumbnail'|@translate} ]</div> 119 119 {/if} -
trunk/admin/template/goto/upgrade.tpl
r3283 r5021 49 49 <table> 50 50 <tr> 51 <td>{' language'|@translate}</td>51 <td>{'Language'|@translate}</td> 52 52 <td> 53 53 <select name="language" onchange="document.location = 'upgrade.php?language='+this.options[this.selectedIndex].value;"> … … 60 60 <p>{'introduction message'|@translate|@sprintf:$introduction.CURRENT_RELEASE}</p> 61 61 {if isset($login)} 62 <p>{' upgrade login message'|@translate}</p>62 <p>{'Only administrator can run upgrade: please sign in below.'|@translate}</p> 63 63 {/if} 64 64 … … 107 107 108 108 <form action="index.php" method="post"> 109 <p><input type="submit" name="submit" value="{' home'|@translate}"></p>109 <p><input type="submit" name="submit" value="{'Home'|@translate}"></p> 110 110 </form> 111 111 {/if} -
trunk/admin/template/goto/upload.tpl
r3283 r5021 1 1 <div class="titrePage"> 2 <h2>{' waiting'|@translate} {$TABSHEET_TITLE}</h2>2 <h2>{'Waiting'|@translate} {$TABSHEET_TITLE}</h2> 3 3 </div> 4 4 5 <h3>{' title_upload'|@translate}</h3>5 <h3>{'Pictures waiting for validation'|@translate}</h3> 6 6 7 7 <form action="{$F_ACTION}" method="post" id="waiting"> 8 8 <table style="width:99%;" > 9 9 <tr class="throw"> 10 <td style="width:20%;">{' category'|@translate}</td>10 <td style="width:20%;">{'Category'|@translate}</td> 11 11 <td style="width:20%;">{'Date'|@translate}</td> 12 <td style="width:20%;">{' file'|@translate}</td>13 <td style="width:20%;">{' thumbnail'|@translate}</td>12 <td style="width:20%;">{'File'|@translate}</td> 13 <td style="width:20%;">{'Thumbnail'|@translate}</td> 14 14 <td style="width:20%;">{'Author'|@translate}</td> 15 15 <td style="width:1px;"> </td> -
trunk/admin/template/goto/user_list.tpl
r4455 r5021 1 1 <div class="titrePage"> 2 <h2>{' title_liste_users'|@translate}</h2>2 <h2>{'User list'|@translate}</h2> 3 3 </div> 4 4 … … 63 63 <td> </td> 64 64 <td>{'Username'|@translate}</td> 65 <td>{' user_status'|@translate}</td>65 <td>{'User status'|@translate}</td> 66 66 <td>{'Email address'|@translate}</td> 67 67 <td>{'Groups'|@translate}</td> 68 <td>{' properties'|@translate}</td>68 <td>{'Properties'|@translate}</td> 69 69 {if not empty($plugin_user_list_column_titles)} 70 70 {foreach from=$plugin_user_list_column_titles item=title} … … 88 88 {/foreach} 89 89 <td style="text-align:center;"> 90 <a href="{$user.U_PERM}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/ permissions.png" class="button" style="border:none" alt="{'permissions'|@translate}" title="{'permissions'|@translate}"></a>90 <a href="{$user.U_PERM}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/Permissions.png" class="button" style="border:none" alt="{'Permissions'|@translate}" title="{'Permissions'|@translate}"></a> 91 91 <a href="{$user.U_PROFILE}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/edit_s.png" class="button" style="border:none" alt="{'Profile'|@translate}" title="{'Profile'|@translate}"></a> 92 92 {foreach from=$user.plugin_actions item=data} … … 124 124 {if isset($adviser)} 125 125 <tr> 126 <td>{' adviser'|@translate}</td>126 <td>{'Adviser'|@translate}</td> 127 127 <td> 128 128 <label><input type="radio" name="adviser" value="leave" checked="checked"> {'leave'|@translate}</label> … … 163 163 {* Properties *} 164 164 <fieldset> 165 <legend>{' properties'|@translate}</legend>165 <legend>{'Properties'|@translate}</legend> 166 166 167 167 <table> 168 168 169 169 <tr> 170 <td>{' enabled_high'|@translate}</td>170 <td>{'High definition enabled'|@translate}</td> 171 171 <td> 172 172 <label><input type="radio" name="enabled_high" value="leave" checked="checked"> {'leave'|@translate}</label> … … 197 197 <table> 198 198 <tr> 199 <td>{' nb_image_per_row'|@translate}</td>199 <td>{'Number of images per row'|@translate}</td> 200 200 <td> 201 201 <label><input type="radio" name="nb_image_line_action" value="leave" checked="checked"> {'leave'|@translate}</label> … … 207 207 208 208 <tr> 209 <td>{' nb_row_per_page'|@translate}</td>209 <td>{'Number of rows per page'|@translate}</td> 210 210 <td> 211 211 <label><input type="radio" name="nb_line_page_action" value="leave" checked="checked"> {'leave'|@translate}</label> … … 217 217 218 218 <tr> 219 <td>{' theme'|@translate}</td>219 <td>{'Interface theme'|@translate}</td> 220 220 <td> 221 221 <label><input type="radio" name="template_action" value="leave" checked="checked"> {'leave'|@translate}</label> … … 228 228 229 229 <tr> 230 <td>{' language'|@translate}</td>230 <td>{'Language'|@translate}</td> 231 231 <td> 232 232 <label><input type="radio" name="language_action" value="leave" checked="checked"> {'leave'|@translate}</label> … … 239 239 240 240 <tr> 241 <td>{' recent_period'|@translate}</td>241 <td>{'Recent period'|@translate}</td> 242 242 <td> 243 243 <label><input type="radio" name="recent_period_action" value="leave" checked="checked"> {'leave'|@translate}</label> … … 249 249 250 250 <tr> 251 <td>{' auto_expand'|@translate}</td>251 <td>{'Expand all categories'|@translate}</td> 252 252 <td> 253 253 <label><input type="radio" name="expand" value="leave" checked="checked"> {'leave'|@translate}</label> … … 259 259 260 260 <tr> 261 <td>{' show_nb_comments'|@translate}</td>261 <td>{'Show number of comments'|@translate}</td> 262 262 <td> 263 263 <label><input type="radio" name="show_nb_comments" value="leave" checked="checked"> {'leave'|@translate}</label> … … 269 269 270 270 <tr> 271 <td>{' show_nb_hits'|@translate}</td>271 <td>{'Show number of hits'|@translate}</td> 272 272 <td> 273 273 <label><input type="radio" name="show_nb_hits" value="leave" checked="checked"> {'leave'|@translate}</label> … … 279 279 280 280 <tr> 281 <td>{' maxwidth'|@translate}</td>281 <td>{'Maximum width of the pictures'|@translate}</td> 282 282 <td> 283 283 <label><input type="radio" name="maxwidth_action" value="leave" checked="checked"> {'leave'|@translate}</label> … … 291 291 292 292 <tr> 293 <td>{' maxheight'|@translate}</td>293 <td>{'Maximum height of the pictures'|@translate}</td> 294 294 <td> 295 295 <label><input type="radio" name="maxheight_action" value="leave" checked="checked"> {'leave'|@translate}</label> -
trunk/admin/thumbnail.php
r4325 r5021 116 116 if (!is_writable($tndir)) 117 117 { 118 array_push($page['errors'], '['.$tndir.'] : '.l10n('no _write_access'));118 array_push($page['errors'], '['.$tndir.'] : '.l10n('no write access')); 119 119 return false; 120 120 } … … 137 137 else 138 138 { 139 echo l10n(' tn_no_support')." ";139 echo l10n('Picture unreachable or no support')." "; 140 140 if ( isset( $extenstion ) ) 141 141 { 142 echo l10n(' tn_format').' '.$extension;142 echo l10n('for the file format').' '.$extension; 143 143 } 144 144 else 145 145 { 146 echo l10n(' tn_thisformat');146 echo l10n('for this file format'); 147 147 } 148 148 exit(); … … 234 234 if (!preg_match('/^[0-9]{2,3}$/', $_POST['width']) or $_POST['width'] < 10) 235 235 { 236 array_push($page['errors'], l10n(' tn_err_width').' 10');236 array_push($page['errors'], l10n('width must be a number superior to').' 10'); 237 237 } 238 238 if (!preg_match('/^[0-9]{2,3}$/', $_POST['height']) or $_POST['height'] < 10) 239 239 { 240 array_push($page['errors'], l10n(' tn_err_height').' 10');240 array_push($page['errors'], l10n('height must be a number superior to').' 10'); 241 241 } 242 242 -
trunk/admin/user_list.php
r4455 r5021 169 169 170 170 $page['order_by_items'] = array( 171 'id' => l10n('registration _date'),171 'id' => l10n('registration date'), 172 172 'username' => l10n('Username'), 173 173 'level' => l10n('Privacy level'), 174 ' language' => l10n('language'),174 'Language' => l10n('Language'), 175 175 ); 176 176 … … 192 192 if(empty($_POST['password'])) 193 193 { 194 array_push($page['errors'], l10n('Password is missing '));194 array_push($page['errors'], l10n('Password is missing. Please enter the password.')); 195 195 } 196 196 else if(empty($_POST['password_conf'])) 197 197 { 198 array_push($page['errors'], l10n('Password confirmation is missing '));198 array_push($page['errors'], l10n('Password confirmation is missing. Please confirm the chosen password.')); 199 199 } 200 200 else if(empty($_POST['email'])) 201 201 { 202 array_push($page['errors'], l10n('Email address is missing '));202 array_push($page['errors'], l10n('Email address is missing. Please specify an email address.')); 203 203 } 204 204 else if ($_POST['password'] != $_POST['password_conf']) 205 205 { 206 array_push($page['errors'], l10n('Password confirmation error '));206 array_push($page['errors'], l10n('Password confirmation error.')); 207 207 } 208 208 else … … 216 216 $page['infos'], 217 217 sprintf( 218 l10n('user "%s" added'),218 l10n('user \"%s\" added'), 219 219 $_POST['login'] 220 220 ) … … 236 236 $page['infos'], 237 237 sprintf( 238 l10n('user "%s" added'),238 l10n('user \"%s\" added'), 239 239 $_POST['login'] 240 240 ) … … 694 694 $properties[] = 695 695 (isset($local_user['enabled_high']) and ($local_user['enabled_high'] == 'true')) 696 ? l10n(' is_high_enabled') : l10n('is_high_disabled');696 ? l10n('') : l10n(''); 697 697 698 698 $template->append( … … 705 705 'USERNAME' => stripslashes($local_user['username']) 706 706 .($local_user['id'] == $conf['guest_id'] 707 ? '<br>['.l10n(' is_the_guest').']' : '')707 ? '<br>['.l10n('guest').']' : '') 708 708 .($local_user['id'] == $conf['default_user_id'] 709 ? '<br>['.l10n(' is_the_default').']' : ''),709 ? '<br>['.l10n('default values').']' : ''), 710 710 'STATUS' => l10n('user_status_'. 711 711 $local_user['status']).(($local_user['adviser'] == 'true') 712 ? '<br>['.l10n(' adviser').']' : ''),712 ? '<br>['.l10n('Adviser').']' : ''), 713 713 'EMAIL' => get_email_address_as_display_text($local_user['email']), 714 714 'GROUPS' => $groups_string, -
trunk/admin/user_perm.php
r4325 r5021 127 127 'TITLE' => 128 128 sprintf( 129 l10n('Manage permissions for user "%s"'),129 l10n('Manage permissions for user \"%s\"'), 130 130 get_username($page['user'] 131 131 ) 132 132 ), 133 'L_CAT_OPTIONS_TRUE'=>l10n(' authorized'),134 'L_CAT_OPTIONS_FALSE'=>l10n(' forbidden'),133 'L_CAT_OPTIONS_TRUE'=>l10n('Authorized'), 134 'L_CAT_OPTIONS_FALSE'=>l10n('Forbidden'), 135 135 136 136 'F_ACTION' => -
trunk/identification.php
r5014 r5021 40 40 if ( is_a_guest() ) 41 41 { 42 array_push($errors, l10n(' access_forbiden'));42 array_push($errors, l10n('You are not authorized to access the requested page')); 43 43 } 44 44 } … … 63 63 else 64 64 { 65 array_push( $errors, l10n(' invalid_pwd') );65 array_push( $errors, l10n('Invalid password!') ); 66 66 } 67 67 } … … 72 72 // Start output of page 73 73 // 74 $title = l10n(' identification');74 $title = l10n('Identification'); 75 75 $page['body_id'] = 'theIdentificationPage'; 76 76 include(PHPWG_ROOT_PATH.'include/page_header.php'); -
trunk/include/calendar_base.class.php
r5014 r5021 96 96 elseif ('any' === $date_component ) 97 97 { 98 $label = l10n(' calendar_any');98 $label = l10n('All'); 99 99 } 100 100 return $label; … … 193 193 ); 194 194 $nav_bar_datas[]=array( 195 'LABEL' => l10n(' calendar_any'),195 'LABEL' => l10n('All'), 196 196 'URL' => $url 197 197 ); -
trunk/include/common.inc.php
r5014 r5021 174 174 $user['internal_status']['guest_must_be_guest'] === true) 175 175 { 176 $header_msgs[] = l10n(' guest_must_be_guest');176 $header_msgs[] = l10n('Bad status for user "guest", using default status. Please notify the webmaster.'); 177 177 } 178 178 179 179 if ($conf['gallery_locked']) 180 180 { 181 $header_msgs[] = l10n(' gallery_locked_message');181 $header_msgs[] = l10n('The gallery is locked for maintenance. Please, come back later.'); 182 182 183 183 if ( script_basename() != 'identification' and !is_admin() ) … … 186 186 @header('Retry-After: 900'); 187 187 header('Content-Type: text/html; charset='.get_pwg_charset()); 188 echo '<a href="'.get_absolute_root_url(false).'identification.php">'.l10n(' gallery_locked_message').'</a>';188 echo '<a href="'.get_absolute_root_url(false).'identification.php">'.l10n('The gallery is locked for maintenance. Please, come back later.').'</a>'; 189 189 echo str_repeat( ' ', 512); //IE6 doesn't error output if below a size 190 190 exit(); … … 204 204 if (is_adviser()) 205 205 { 206 $header_msgs[] = l10n(' adviser_mode_enabled');206 $header_msgs[] = l10n('Adviser mode enabled'); 207 207 } 208 208 -
trunk/include/functions.inc.php
r5014 r5021 31 31 include_once( PHPWG_ROOT_PATH .'include/functions_url.inc.php' ); 32 32 include_once( PHPWG_ROOT_PATH .'include/functions_plugins.inc.php' ); 33 include_once( PHPWG_ROOT_PATH .'include/php-gettext/gettext.inc.php' ); 33 34 34 35 //----------------------------------------------------------- generic functions … … 40 41 ); 41 42 if (!empty($fields)) 42 { 43 { 43 44 $fields = ','.$fields; 44 45 } … … 174 175 if ($mkd==false) 175 176 { 176 !($flags&MKGETDIR_DIE_ON_ERROR) or fatal_error( "$dir ".l10n('no _write_access'));177 !($flags&MKGETDIR_DIE_ON_ERROR) or fatal_error( "$dir ".l10n('no write access')); 177 178 return false; 178 179 } … … 190 191 if ( !is_writable($dir) ) 191 192 { 192 !($flags&MKGETDIR_DIE_ON_ERROR) or fatal_error( "$dir ".l10n('no _write_access'));193 !($flags&MKGETDIR_DIE_ON_ERROR) or fatal_error( "$dir ".l10n('no write access')); 193 194 return false; 194 195 } … … 214 215 { 215 216 array_push($errors, 216 '['.$dirname.'] : '.l10n('no _write_access'));217 '['.$dirname.'] : '.l10n('no write access')); 217 218 return false; 218 219 } … … 621 622 if (empty($msg)) 622 623 { 623 $msg = nl2br(l10n(' redirect_msg'));624 $msg = nl2br(l10n('Redirection...')); 624 625 } 625 626 … … 867 868 * @return string 868 869 */ 869 function l10n($key) 870 { 871 global $lang, $conf; 872 873 if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key)) 874 { 875 trigger_error('[l10n] language key "'.$key.'" is not defined', E_USER_WARNING); 876 } 877 878 return isset($lang[$key]) ? $lang[$key] : $key; 870 function l10n($key, $textdomain='messages') 871 { 872 global $user; 873 874 if (empty($user['language'])) 875 { 876 $locale = $GLOBALS['language']; 877 } 878 else 879 { 880 $locale = $user['language']; 881 } 882 883 T_setlocale(LC_ALL, $locale.'.UTF-8'); 884 885 // Specify location of translation tables 886 T_bindtextdomain($textdomain, "./language"); 887 888 // Choose domain 889 T_textdomain($textdomain); 890 891 return T_gettext($key); 879 892 } 880 893 … … 888 901 * @return string 889 902 */ 890 function l10n_dec($singular_fmt_key, $plural_fmt_key, $decimal) 891 { 892 global $lang_info; 893 894 return 895 sprintf( 896 l10n(( 897 (($decimal > 1) or ($decimal == 0 and $lang_info['zero_plural'])) 898 ? $plural_fmt_key 899 : $singular_fmt_key 900 )), $decimal); 901 } 903 function l10n_dec($singular_fmt_key, $plural_fmt_key, 904 $decimal, $textdomain='messages') 905 { 906 global $user; 907 908 if (empty($user['language'])) 909 { 910 $locale = $GLOBALS['language']; 911 } 912 else 913 { 914 $locale = $user['language']; 915 } 916 917 T_setlocale(LC_ALL, $locale.'.UTF-8'); 918 919 // Specify location of translation tables 920 T_bindtextdomain($textdomain, "./language"); 921 922 // Choose domain 923 T_textdomain($textdomain); 924 925 return sprintf(T_ngettext($singular_fmt_key, 926 $plural_fmt_key, 927 $decimal), 928 $decimal 929 ); 930 } 931 902 932 /* 903 933 * returns a single element to use with l10n_args … … 1436 1466 { 1437 1467 $cache['get_icon']['title'] = sprintf( 1438 l10n(' elements posted during the last %d days'),1468 l10n('images posted during the last %d days'), 1439 1469 $user['recent_period'] 1440 1470 ); -
trunk/include/functions_category.inc.php
r5014 r5021 287 287 return trigger_event('get_category_preferred_image_orders', 288 288 array( 289 array(l10n(' default_sort'), '', true),289 array(l10n('Default'), '', true), 290 290 array(l10n('Average rate'), 'average_rate DESC', $conf['rate']), 291 array(l10n(' most_visited_cat'), 'hit DESC', true),291 array(l10n('Most visited'), 'hit DESC', true), 292 292 array(l10n('Creation date'), 'date_creation DESC', true), 293 293 array(l10n('Post date'), 'date_available DESC', true), … … 298 298 ('categories' == @$page['section'] and !isset($page['flat']) and !isset($page['chronology_field']) ) 299 299 ), 300 array( l10n(' permissions'), 'level DESC', is_admin() )300 array( l10n('Permissions'), 'level DESC', is_admin() ) 301 301 )); 302 302 } … … 480 480 if (! $short_message) 481 481 { 482 $display_text.= ' '.l10n('i mages_available_cpl');482 $display_text.= ' '.l10n('in this category'); 483 483 } 484 484 } -
trunk/include/functions_comment.inc.php
r5014 r5021 104 104 if ( $row['user_exists'] == 1 ) 105 105 { 106 array_push($infos, l10n(' comment_user_exists') );106 array_push($infos, l10n('This login is already used by another user') ); 107 107 $comment_action='reject'; 108 108 } … … 141 141 if ( pwg_db_num_rows( pwg_query( $query ) ) > 0 ) 142 142 { 143 array_push( $infos, l10n(' comment_anti-flood') );143 array_push( $infos, l10n('Anti-flood system : please wait for a moment before trying to post another comment') ); 144 144 $comment_action='reject'; 145 145 } … … 269 269 if ( pwg_db_num_rows( pwg_query( $query ) ) > 0 ) 270 270 { 271 //?? array_push( $infos, l10n(' comment_anti-flood') );271 //?? array_push( $infos, l10n('Anti-flood system : please wait for a moment before trying to post another comment') ); 272 272 $comment_action='reject'; 273 273 } -
trunk/include/functions_html.inc.php
r5014 r5021 293 293 { 294 294 echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">'; 295 echo '<div style="text-align:center;">'.l10n(' access_forbiden').'<br>';296 echo '<a href="'.get_root_url().' identification.php">'.l10n('identification').'</a> ';297 echo '<a href="'.make_index_url().'">'.l10n(' home').'</a></div>';295 echo '<div style="text-align:center;">'.l10n('You are not authorized to access the requested page').'<br>'; 296 echo '<a href="'.get_root_url().'Identification.php">'.l10n('Identification').'</a> '; 297 echo '<a href="'.make_index_url().'">'.l10n('Home').'</a></div>'; 298 298 echo str_repeat( ' ', 512); //IE6 doesn't error output if below a size 299 299 exit(); … … 400 400 { 401 401 global $page; 402 $title = count($page['tags']) > 1 ? l10n('Tag s') : l10n('Tag');402 $title = count($page['tags']) > 1 ? l10n('Tag') : l10n('Tag'); 403 403 $title.= ' '; 404 404 … … 415 415 ) 416 416 .'" title="' 417 .l10n('See elements linked to this tag only')417 .l10n('See images linked to this tag only') 418 418 .'">' 419 419 .$page['tags'][$i]['name'] … … 432 432 ) 433 433 .'" style="border:none;" title="' 434 .l10n('remove this tag ')434 .l10n('remove this tag from the list') 435 435 .'"><img src="' 436 436 .get_root_url().get_themeconf('icon_dir').'/remove_s.png' -
trunk/include/functions_mail.inc.php
r5014 r5021 647 647 'PHPWG_URL' => PHPWG_URL, 648 648 649 'TITLE_MAIL' => urlencode(l10n(' title_send_mail')),649 'TITLE_MAIL' => urlencode(l10n('A comment on your site')), 650 650 'MAIL' => get_webmaster_mail_address() 651 651 )); -
trunk/include/functions_notification.inc.php
r5014 r5021 530 530 .' (' 531 531 .'<a href="'.make_index_url(array('section'=>'recent_pics')).'">' 532 .l10n(' recent_pics_cat').'</a>'532 .l10n('Recent pictures').'</a>' 533 533 .')' 534 534 .'</li><br>'; -
trunk/include/functions_user.inc.php
r5014 r5021 48 48 if ( !preg_match( $regex, $mail_address ) ) 49 49 { 50 return l10n(' reg_err_mail_address');50 return l10n('mail address must be like xxx@yyy.eee (example : jack@altern.org)'); 51 51 } 52 52 … … 62 62 if ($count != 0) 63 63 { 64 return l10n(' reg_err_mail_address_dbl');64 return l10n('a user use already this mail address'); 65 65 } 66 66 } … … 87 87 if ($count > 0) 88 88 { 89 return l10n(' reg_err_login5');89 return l10n('this login is already used'); 90 90 } 91 91 } … … 99 99 if ($login == '') 100 100 { 101 array_push($errors, l10n(' reg_err_login1'));101 array_push($errors, l10n('Please, enter a login')); 102 102 } 103 103 if (preg_match('/^.* $/', $login)) 104 104 { 105 array_push($errors, l10n(' reg_err_login2'));105 array_push($errors, l10n('login mustn\'t end with a space character')); 106 106 } 107 107 if (preg_match('/^ .*$/', $login)) 108 108 { 109 array_push($errors, l10n(' reg_err_login3'));109 array_push($errors, l10n('login mustn\'t start with a space character')); 110 110 } 111 111 if (get_userid($login)) 112 112 { 113 array_push($errors, l10n(' reg_err_login5'));113 array_push($errors, l10n('this login is already used')); 114 114 } 115 115 $mail_error = validate_mail_address(null, $mail_address); -
trunk/include/menubar.inc.php
r5014 r5021 149 149 array( 150 150 'URL' => make_index_url(array('section' => 'favorites')), 151 'TITLE' => l10n(' favorite_cat_hint'),152 'NAME' => l10n(' favorite_cat')151 'TITLE' => l10n('display my favorites pictures'), 152 'NAME' => l10n('My favorites') 153 153 ); 154 154 } … … 157 157 array( 158 158 'URL' => make_index_url(array('section' => 'most_visited')), 159 'TITLE' => l10n(' most_visited_cat_hint'),160 'NAME' => l10n(' most_visited_cat')159 'TITLE' => l10n('display most visited pictures'), 160 'NAME' => l10n('Most visited') 161 161 ); 162 162 … … 166 166 array( 167 167 'URL' => make_index_url(array('section' => 'best_rated')), 168 'TITLE' => l10n(' best_rated_cat_hint'),169 'NAME' => l10n(' best_rated_cat')168 'TITLE' => l10n('display best rated items'), 169 'NAME' => l10n('Best rated') 170 170 ); 171 171 } … … 174 174 array( 175 175 'URL' => get_root_url().'random.php', 176 'TITLE' => l10n(' random_cat_hint'),177 'NAME' => l10n(' random_cat'),176 'TITLE' => l10n('display a set of random pictures'), 177 'NAME' => l10n('Random pictures'), 178 178 'REL'=> 'rel="nofollow"' 179 179 ); … … 182 182 array( 183 183 'URL' => make_index_url(array('section' => 'recent_pics')), 184 'TITLE' => l10n(' recent_pics_cat_hint'),185 'NAME' => l10n(' recent_pics_cat'),184 'TITLE' => l10n('display most recent pictures'), 185 'NAME' => l10n('Recent pictures'), 186 186 ); 187 187 … … 189 189 array( 190 190 'URL' => make_index_url(array('section' => 'recent_cats')), 191 'TITLE' => l10n(' recent_cats_cat_hint'),192 'NAME' => l10n(' recent_cats_cat'),191 'TITLE' => l10n('display recently updated categories'), 192 'NAME' => l10n('Recent categories'), 193 193 ); 194 194 … … 205 205 ) 206 206 ), 207 'TITLE' => l10n(' calendar_hint'),208 'NAME' => l10n(' calendar'),207 'TITLE' => l10n('display each day with pictures, month per month'), 208 'NAME' => l10n('Calendar'), 209 209 'REL'=> 'rel="nofollow"' 210 210 ); … … 231 231 $block->data['search'] = 232 232 array( 233 'TITLE'=>l10n(' hint_search'),233 'TITLE'=>l10n('search'), 234 234 'NAME'=>l10n('Search'), 235 235 'URL'=> get_root_url().'search.php', … … 240 240 $block->data['comments'] = 241 241 array( 242 'TITLE'=>l10n(' hint_comments'),243 'NAME'=>l10n(' comments'),242 'TITLE'=>l10n('See last users comments'), 243 'NAME'=>l10n('Comments'), 244 244 'URL'=> get_root_url().'comments.php', 245 245 ); … … 248 248 $block->data['about'] = 249 249 array( 250 'TITLE' => l10n(' about_page_title'),250 'TITLE' => l10n('About Piwigo'), 251 251 'NAME' => l10n('About'), 252 252 'URL' => get_root_url().'about.php', -
trunk/include/picture_comment.inc.php
r5014 r5021 59 59 { 60 60 case 'moderate': 61 array_push( $infos, l10n(' comment_to_validate') );61 array_push( $infos, l10n('An administrator must authorize your comment before it is visible.') ); 62 62 case 'validate': 63 array_push( $infos, l10n(' comment_added'));63 array_push( $infos, l10n('Your comment has been registered')); 64 64 break; 65 65 case 'reject': 66 66 set_status_header(403); 67 array_push($infos, l10n(' comment_not_added') );67 array_push($infos, l10n('Your comment has NOT been registered because it did not pass the validation rules') ); 68 68 break; 69 69 default: -
trunk/include/section_init.inc.php
r5014 r5021 238 238 else 239 239 { 240 $page['title'] = l10n(' no_category');240 $page['title'] = l10n('Home'); 241 241 } 242 242 … … 362 362 'items' => $search_result['items'], 363 363 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 364 .l10n(' search_result').'</a>',364 .l10n('Search results').'</a>', 365 365 ) 366 366 ); … … 376 376 $page, 377 377 array( 378 'title' => l10n(' favorites')378 'title' => l10n('Favorites') 379 379 ) 380 380 ); … … 457 457 array( 458 458 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 459 .l10n(' recent_pics_cat').'</a>',459 .l10n('Recent pictures').'</a>', 460 460 'items' => array_from_query($query, 'id'), 461 461 ) … … 470 470 $page, 471 471 array( 472 'title' => l10n(' recent_cats_cat'),472 'title' => l10n('Recent categories'), 473 473 ) 474 474 ); … … 495 495 array( 496 496 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 497 .$conf['top_number'].' '.l10n(' most_visited_cat').'</a>',497 .$conf['top_number'].' '.l10n('Most visited').'</a>', 498 498 'items' => array_from_query($query, 'id'), 499 499 ) … … 521 521 array( 522 522 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 523 .$conf['top_number'].' '.l10n(' best_rated_cat').'</a>',523 .$conf['top_number'].' '.l10n('Best rated').'</a>', 524 524 'items' => array_from_query($query, 'id'), 525 525 ) … … 544 544 array( 545 545 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 546 .l10n(' random_cat').'</a>',546 .l10n('Random pictures').'</a>', 547 547 'items' => array_from_query($query, 'id'), 548 548 ) -
trunk/include/ws_functions.inc.php
r5014 r5021 563 563 { 564 564 case 'reject': 565 array_push($infos, l10n(' comment_not_added') );565 array_push($infos, l10n('Your comment has NOT been registered because it did not pass the validation rules') ); 566 566 return new PwgError(403, implode("\n", $infos) ); 567 567 case 'validate': -
trunk/install.php
r5014 r5021 232 232 { 233 233 234 array_push( $infos, l10n(' step1_confirmation') );234 array_push( $infos, l10n('Parameters are correct') ); 235 235 236 236 $required_version = constant('REQUIRED_'.strtoupper($dblayer).'_VERSION'); … … 261 261 else 262 262 { 263 array_push( $errors, l10n(' step1_err_server') );263 array_push( $errors, l10n('Can\'t connect to server') ); 264 264 } 265 265 266 266 $webmaster = trim(preg_replace( '/\s{2,}/', ' ', $admin_name )); 267 267 if ( empty($webmaster)) 268 array_push( $errors, l10n(' step2_err_login1') );268 array_push( $errors, l10n('enter a login for webmaster') ); 269 269 else if ( preg_match( '/[\'"]/', $webmaster ) ) 270 array_push( $errors, l10n(' step2_err_login3') );270 array_push( $errors, l10n('webmaster login can\'t contain characters \' or \"') ); 271 271 if ( $admin_pass1 != $admin_pass2 || empty($admin_pass1) ) 272 array_push( $errors, l10n(' step2_err_pass') );272 array_push( $errors, l10n('please enter your password again') ); 273 273 if ( empty($admin_mail)) 274 array_push( $errors, l10n(' reg_err_mail_address') );274 array_push( $errors, l10n('mail address must be like xxx@yyy.eee (example : jack@altern.org)') ); 275 275 else 276 276 { … … 305 305 $html_content = htmlentities( $file_content, ENT_QUOTES ); 306 306 $html_content = nl2br( $html_content ); 307 $error_copy = l10n(' step1_err_copy');307 $error_copy = l10n('Copy the text in pink between hyphens and paste it into the file \"include/config_database.inc.php\"(Warning : config_database.inc.php must only contain what is in pink, no line return or space character)'); 308 308 $error_copy .= '<br>--------------------------------------------------------------------<br>'; 309 309 $error_copy .= '<span class="sql_content">' . $html_content . '</span>'; … … 443 443 'F_ADMIN' => $admin_name, 444 444 'F_ADMIN_EMAIL' => $admin_mail, 445 'L_INSTALL_HELP' => sprintf(l10n(' install_help'), PHPWG_URL.'/forum'),445 'L_INSTALL_HELP' => sprintf(l10n('Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'), PHPWG_URL.'/forum'), 446 446 )); 447 447 } … … 461 461 else 462 462 { 463 array_push($infos, l10n('install_end_message')); 463 array_push($infos, l10n('The configuration of Piwigo is finished, here is the next step<br><br> 464 * go to the identification page and use the login/password given for webmaster<br> 465 * this login will enable you to access to the administration panel and to the instructions in order to place pictures in your directories')); 464 466 465 467 if (isset($error_copy)) -
trunk/install/php5_apache_configuration.php
r3203 r5021 109 109 echo ' 110 110 </div> 111 <div style="text-align: center">'.sprintf(l10n(' install_help'), PHPWG_URL.'/forum').'</div>111 <div style="text-align: center">'.sprintf(l10n('Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'), PHPWG_URL.'/forum').'</div> 112 112 </div> 113 113 </body> … … 141 141 <table> 142 142 <tr> 143 <td>'.l10n(' language').'</td>143 <td>'.l10n('Language').'</td> 144 144 <td> 145 145 <select name="language" onchange="document.location = \''.$script.'.php?language=\'+this.options[this.selectedIndex].value;">'; -
trunk/install/upgrade_1.3.1.php
r4325 r5021 603 603 $page['infos'], 604 604 array( 605 l10n(' all sub-categories of private categories become private'),606 l10n(' user permissions and group permissions have been erased'),607 l10n(' only thumbnails prefix and webmaster mail saved')605 l10n('All sub-categories of private categories become private'), 606 l10n('User permissions and group permissions have been erased'), 607 l10n('Only thumbnails prefix and webmaster mail address have been saved from previous configuration') 608 608 ) 609 609 ); -
trunk/nbm.php
r5014 r5021 58 58 else 59 59 { 60 array_push($page['errors'], l10n(' nbm_unknown_identifier'));60 array_push($page['errors'], l10n('Unknown identifier')); 61 61 } 62 62 … … 64 64 // | template initialization | 65 65 // +-----------------------------------------------------------------------+ 66 $title = l10n(' nbm_item_notification');66 $title = l10n('Notification'); 67 67 $page['body_id'] = 'theNBMPage'; 68 68 include(PHPWG_ROOT_PATH.'include/page_header.php'); -
trunk/password.php
r5014 r5021 52 52 if (isset($_POST['no_mail_address']) and $_POST['no_mail_address'] == 1) 53 53 { 54 array_push($page['infos'], l10n('Email address is missing '));54 array_push($page['infos'], l10n('Email address is missing. Please specify an email address.')); 55 55 array_push($page['infos'], $mailto); 56 56 } … … 131 131 else 132 132 { 133 array_push($page['errors'], l10n('No user matches this email address'));133 array_push($page['errors'], l10n('No classic user matches this email address')); 134 134 array_push($page['errors'], l10n('Administrator, webmaster and special user cannot use this method')); 135 135 array_push($page['errors'], $mailto); -
trunk/picture.php
r5014 r5021 777 777 'FAVORITE_IMG' => 778 778 get_root_url().get_themeconf('icon_dir').'/favorite.png', 779 'FAVORITE_HINT' => l10n('add _favorites_hint'),779 'FAVORITE_HINT' => l10n('add this image to your favorites'), 780 780 'U_FAVORITE' => add_url_params( 781 781 $url_self, … … 792 792 'FAVORITE_IMG' => 793 793 get_root_url().get_themeconf('icon_dir').'/del_favorite.png', 794 'FAVORITE_HINT' => l10n('del _favorites_hint'),794 'FAVORITE_HINT' => l10n('delete this image from your favorites'), 795 795 'U_FAVORITE' => add_url_params( 796 796 $url_self, -
trunk/profile.php
r5014 r5021 62 62 save_profile_from_post($userdata, $errors); 63 63 64 $title= l10n(' customize_page_title');64 $title= l10n('Your Gallery Customization '); 65 65 $page['body_id'] = 'theProfilePage'; 66 66 include(PHPWG_ROOT_PATH.'include/page_header.php'); … … 109 109 or (!preg_match($int_pattern, $_POST['nb_image_line']))) 110 110 { 111 $errors[] = l10n(' nb_image_line_error');111 $errors[] = l10n('The number of images per row must be a not null scalar'); 112 112 } 113 113 … … 115 115 or (!preg_match($int_pattern, $_POST['nb_line_page']))) 116 116 { 117 $errors[] = l10n(' nb_line_page_error');117 $errors[] = l10n('The number of rows per page must be a not null scalar'); 118 118 } 119 119 … … 122 122 or $_POST['maxwidth'] < 50)) 123 123 { 124 $errors[] = l10n(' maxwidth_error');124 $errors[] = l10n('Maximum width must be a number superior to 50'); 125 125 } 126 126 if ($_POST['maxheight'] … … 128 128 or $_POST['maxheight'] < 50)) 129 129 { 130 $errors[] = l10n(' maxheight_error');130 $errors[] = l10n('Maximum height must be a number superior to 50'); 131 131 } 132 132 // periods must be integer values, they represents number of days … … 134 134 or $_POST['recent_period'] <= 0) 135 135 { 136 $errors[] = l10n(' periods_error') ;136 $errors[] = l10n('Recent period must be a positive integer value') ; 137 137 } 138 138 -
trunk/register.php
r5014 r5021 43 43 if ($_POST['password'] != $_POST['password_conf']) 44 44 { 45 array_push($errors, l10n(' reg_err_pass'));45 array_push($errors, l10n('please enter your password again')); 46 46 } 47 47 -
trunk/search.php
r5014 r5021 153 153 else 154 154 { 155 array_push($errors, l10n(' search_one_clause_at_least'));155 array_push($errors, l10n('Empty query. No criteria has been entered.')); 156 156 } 157 157 } … … 173 173 // Start output of page 174 174 // 175 $title= l10n(' search_title');175 $title= l10n('Search'); 176 176 $page['body_id'] = 'theSearchPage'; 177 177 -
trunk/search_rules.php
r5014 r5021 31 31 function inc_exc_str($is_included) 32 32 { 33 return $is_ included ? l10n('included') : l10n('excluded');33 return $is_excluded ? l10n('excluded') : l10n('excluded'); 34 34 } 35 35 -
trunk/template-extension/distributed/samples/my-picture.tpl
r3283 r5021 22 22 <div id="imageHeaderBar"> 23 23 <div class="browsePath"> 24 <a href="{$U_HOME}" rel=" home">{'home'|@translate}</a>24 <a href="{$U_HOME}" rel="Home">{'Home'|@translate}</a> 25 25 {if !$IS_HOME}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if} 26 26 {$LEVEL_SEPARATOR}{$current.TITLE} … … 39 39 {/if} 40 40 {if isset($U_SLIDESHOW_STOP) } 41 <a href="{$U_SLIDESHOW_STOP}" title="{'s lideshow_stop'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_slideshow.png" class="button" alt="{'slideshow_stop'|@translate}"></a>41 <a href="{$U_SLIDESHOW_STOP}" title="{'stop the slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_slideshow.png" class="button" alt="{'stop the slideshow'|@translate}"></a> 42 42 {/if} 43 <a href="{$U_METADATA}" title="{' picture_show_metadata'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/metadata.png" class="button" alt="metadata"></a>43 <a href="{$U_METADATA}" title="{'Show file metadata'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/metadata.png" class="button" alt="metadata"></a> 44 44 {if isset($current.U_DOWNLOAD) } 45 <a href="{$current.U_DOWNLOAD}" title="{'download _hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/save.png" class="button" alt="{'download'|@translate}"></a>45 <a href="{$current.U_DOWNLOAD}" title="{'download'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/save.png" class="button" alt="{'download'|@translate}"></a> 46 46 {/if} 47 47 {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if} … … 50 50 {/if} 51 51 {if !empty($U_SET_AS_REPRESENTATIVE) } 52 <a href="{$U_SET_AS_REPRESENTATIVE}" title="{' set as categoryrepresentative'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/representative.png" class="button" alt="{'representative'|@translate}"></a>52 <a href="{$U_SET_AS_REPRESENTATIVE}" title="{'representative'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/representative.png" class="button" alt="{'representative'|@translate}"></a> 53 53 {/if} 54 54 {if isset($U_ADMIN) } 55 <a href="{$U_ADMIN}" title="{' link_info_image'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/preferences.png" class="button" alt="{'edit'|@translate}"></a>55 <a href="{$U_ADMIN}" title="{'edit'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/preferences.png" class="button" alt="{'edit'|@translate}"></a> 56 56 {/if} 57 57 {if isset($U_CADDIE) }{*caddie management BEGIN*} … … 72 72 }{/literal} 73 73 </script> 74 <a href="{$U_CADDIE}" onclick="addToCadie(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}); return false;" title="{' add tocaddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"></a>74 <a href="{$U_CADDIE}" onclick="addToCadie(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}); return false;" title="{'caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"></a> 75 75 {/if}{*caddie management END*} 76 76 </div> … … 87 87 {if isset($U_SLIDESHOW_STOP) } 88 88 <p> 89 [ <a href="{$U_SLIDESHOW_STOP}">{'s lideshow_stop'|@translate}</a> ]89 [ <a href="{$U_SLIDESHOW_STOP}">{'stop the slideshow'|@translate}</a> ] 90 90 </p> 91 91 {/if} … … 94 94 95 95 {if isset($previous) } 96 <a class="navThumb" id="linkPrev" href="{$previous.U_IMG}" title="{' previous_page'|@translate} : {$previous.TITLE}" rel="prev">96 <a class="navThumb" id="linkPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev"> 97 97 <img src="{$previous.THUMB_SRC}" alt="{$previous.TITLE}"> 98 98 </a> 99 99 {/if} 100 100 {if isset($next) } 101 <a class="navThumb" id="linkNext" href="{$next.U_IMG}" title="{' next_page'|@translate} : {$next.TITLE}" rel="next">101 <a class="navThumb" id="linkNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next"> 102 102 <img src="{$next.THUMB_SRC}" alt="{$next.TITLE}"> 103 103 </a> -
trunk/template-extension/distributed/samples/titling_categories.tpl
r3282 r5021 29 29 <a href="{$cat.URL}"> 30 30 <img src="{$cat.TN_SRC}" alt="{$cat.ALT}" 31 title="{' hint_category'|@translate}">31 title="{'shows images at the root of this category'|@translate}"> 32 32 </a> 33 33 </div> -
trunk/template/yoga/about.tpl
r3283 r5021 4 4 <li> 5 5 <a href="{$U_HOME}" title="{'return to homepage'|@translate}"> 6 <img src="{$themeconf.icon_dir}/ home.png" class="button" alt="{'home'|@translate}">6 <img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"> 7 7 </a> 8 8 </li> -
trunk/template/yoga/comment_list.tpl
r4881 r5021 43 43 <fieldset> 44 44 <legend>{'Edit a comment'|@translate}</legend> 45 <label>{' comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label>45 <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$Comment.CONTENT|@escape}</textarea></label> 46 46 <input type="hidden" name="key" value="{$comment.KEY}"> 47 47 <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}"> -
trunk/template/yoga/comments.tpl
r3283 r5021 3 3 <div class="titrePage"> 4 4 <ul class="categoryActions"> 5 <li><a href="{$U_HOME}" title="{' return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li>5 <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> 6 6 </ul> 7 7 <h2>{'User comments'|@translate}</h2> -
trunk/template/yoga/footer.tpl
r3283 r5021 2 2 <a name="EoP"></a> <!-- End of Page --> 3 3 {if isset($debug.TIME) } 4 {' generation_time'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'sql_queries_in'|@translate} {$debug.SQL_TIME}) -4 {'SQL queries in'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|@translate} {$debug.SQL_TIME}) - 5 5 {/if} 6 6 … … 10 10 *} 11 11 12 {' powered_by'|@translate}12 {'Powered by'|@translate} 13 13 <a href="{$PHPWG_URL}" class="Piwigo"> 14 14 <span class="Piwigo">Piwigo</span></a> 15 15 {$VERSION} 16 16 {if isset($CONTACT_MAIL)} 17 - {' send_mail'|@translate}17 - {'Contact'|@translate} 18 18 <a href="mailto:{$CONTACT_MAIL}?subject={'title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a> 19 19 {/if} -
trunk/template/yoga/header.tpl
r3283 r5021 23 23 <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}template-common/favicon.ico"> 24 24 25 <link rel="start" title="{' home'|@translate}" href="{$U_HOME}" >25 <link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" > 26 26 <link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" > 27 {if isset($first.U_IMG) }<link rel="first" title="{' first_page'|@translate}" href="{$first.U_IMG}" >{/if}28 {if isset($previous.U_IMG)}<link rel="prev" title="{' previous_page'|@translate}" href="{$previous.U_IMG}" >{/if}29 {if isset($next.U_IMG) }<link rel="next" title="{' next_page'|@translate}" href="{$next.U_IMG}" >{/if}30 {if isset($last.U_IMG) }<link rel="last" title="{' last_page'|@translate}" href="{$last.U_IMG}" >{/if}31 {if isset($U_UP) }<link rel="up" title="{' thumbnails'|@translate}" href="{$U_UP}" >{/if}27 {if isset($first.U_IMG) }<link rel="first" title="{'First'|@translate}" href="{$first.U_IMG}" >{/if} 28 {if isset($previous.U_IMG)}<link rel="prev" title="{'Previous'|@translate}" href="{$previous.U_IMG}" >{/if} 29 {if isset($next.U_IMG) }<link rel="next" title="{'Next'|@translate}" href="{$next.U_IMG}" >{/if} 30 {if isset($last.U_IMG) }<link rel="last" title="{'Last'|@translate}" href="{$last.U_IMG}" >{/if} 31 {if isset($U_UP) }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if} 32 32 33 33 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/layout.css"> -
trunk/template/yoga/identification.tpl
r3283 r5021 5 5 <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li> 6 6 {if isset($U_REGISTER) } 7 <li><a href="{$U_REGISTER}" title="{' Create a new account'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"></a></li>7 <li><a href="{$U_REGISTER}" title="{'Register'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"></a></li> 8 8 {/if} 9 <li><a href="{$U_HOME}" title="{' Go through the gallery as a visitor'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li>9 <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> 10 10 </ul> 11 11 <h2>{'Identification'|@translate}</h2> … … 46 46 <li> 47 47 <span class="property"> 48 <label for=" remember_me">{'remember_me'|@translate}</label>48 <label for="Auto login">{'Auto login'|@translate}</label> 49 49 </span> 50 50 <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1"> … … 58 58 <p> 59 59 {if isset($U_REGISTER) } 60 <a href="{$U_REGISTER}" title="{' Create a new account'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"> {'Register'|@translate}</a>60 <a href="{$U_REGISTER}" title="{'Register'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"> {'Register'|@translate}</a> 61 61 {/if} 62 62 <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"> {'Forgot your password?'|@translate}</a> -
trunk/template/yoga/index.tpl
r3283 r5021 16 16 17 17 {if isset($favorite) } 18 <li><a href="{$favorite.U_FAVORITE}" title="{'del _all_favorites_hint'|@translate}"><img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{'del_all_favorites_hint'|@translate}"></a></li>18 <li><a href="{$favorite.U_FAVORITE}" title="{'delete all images from your favorites'|@translate}"><img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{'delete all images from your favorites'|@translate}"></a></li> 19 19 {/if} 20 20 21 21 {if isset($U_CADDIE) } 22 <li><a href="{$U_CADDIE}" title="{' add tocaddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"></a></li>22 <li><a href="{$U_CADDIE}" title="{'caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"></a></li> 23 23 {/if} 24 24 25 25 {if isset($U_EDIT) } 26 <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"></a></li>26 <li><a href="{$U_EDIT}" title="{'edit'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"></a></li> 27 27 {/if} 28 28 … … 36 36 37 37 {if isset($U_MODE_FLAT) } 38 <li><a href="{$U_MODE_FLAT}" title="{' mode_flat_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'mode_flat_hint'|@translate}"></a></li>38 <li><a href="{$U_MODE_FLAT}" title="{'display all elements in all sub-categories'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'display all elements in all sub-categories'|@translate}"></a></li> 39 39 {/if} 40 40 41 41 {if isset($U_MODE_NORMAL) } 42 <li><a href="{$U_MODE_NORMAL}" title="{' mode_normal_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'mode_normal_hint'|@translate}"></a></li>42 <li><a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'return to normal view mode'|@translate}"></a></li> 43 43 {/if} 44 44 45 45 {if isset($U_MODE_POSTED) } 46 <li><a href="{$U_MODE_POSTED}" title="{' mode_posted_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'mode_posted_hint'|@translate}"></a></li>46 <li><a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'display a calendar by posted date'|@translate}"></a></li> 47 47 {/if} 48 48 49 49 {if isset($U_MODE_CREATED) } 50 <li><a href="{$U_MODE_CREATED}" title="{' mode_created_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'mode_created_hint'|@translate}"></a></li>50 <li><a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'display a calendar by creation date'|@translate}"></a></li> 51 51 {/if} 52 52 … … 57 57 58 58 {if isset($chronology_views) } 59 <div class="calendarViews">{' calendar_view'|@translate}:59 <div class="calendarViews">{'View'|@translate}: 60 60 <select onchange="document.location = this.options[this.selectedIndex].value;"> 61 61 {foreach from=$chronology_views item=view} -
trunk/template/yoga/mainpage_categories.tpl
r3283 r5021 6 6 <div class="illustration"> 7 7 <a href="{$cat.URL}"> 8 <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {' hint_category'|@translate}">8 <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'shows images at the root of this category'|@translate}"> 9 9 </a> 10 10 </div> -
trunk/template/yoga/menubar_categories.tpl
r3282 r5021 1 1 <dt> 2 2 {if isset($U_START_FILTER)} 3 <a href="{$U_START_FILTER}" title="{' start_filter_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a>3 <a href="{$U_START_FILTER}" title="{'display only recently posted images'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a> 4 4 {/if} 5 5 {if isset($U_STOP_FILTER)} 6 <a href="{$U_STOP_FILTER}" title="{' stop_filter_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a>6 <a href="{$U_STOP_FILTER}" title="{'return to the display of all images'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a> 7 7 {/if} 8 8 <a href="{$block->data.U_CATEGORIES}">{'Categories'|@translate}</a> … … 32 32 <ul> 33 33 <li> 34 <a href="{$block->data.U_UPLOAD}">{' upload_picture'|@translate}</a>34 <a href="{$block->data.U_UPLOAD}">{'Upload a picture'|@translate}</a> 35 35 </li> 36 36 </ul> -
trunk/template/yoga/menubar_identification.tpl
r3282 r5021 1 <dt>{' identification'|@translate}</dt>1 <dt>{'Identification'|@translate}</dt> 2 2 <dd> 3 3 {if isset($USERNAME)} 4 <p>{' hello'|@translate} {$USERNAME} !</p>4 <p>{'Hello'|@translate} {$USERNAME} !</p> 5 5 {/if} 6 6 7 7 <ul> 8 8 {if isset($U_REGISTER)} 9 <li><a href="{$U_REGISTER}" title="{' Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li>9 <li><a href="{$U_REGISTER}" title="{'Register'|@translate}" rel="nofollow">{'Register'|@translate}</a></li> 10 10 {/if} 11 11 12 12 {if isset($U_LOGIN)} 13 <li><a href="{$U_LOGIN}" rel="nofollow">{' Connection'|@translate}</a></li>13 <li><a href="{$U_LOGIN}" rel="nofollow">{'Login'|@translate}</a></li> 14 14 {/if} 15 15 16 16 {if isset($U_LOGOUT)} 17 <li><a href="{$U_LOGOUT}">{' logout'|@translate}</a></li>17 <li><a href="{$U_LOGOUT}">{'Logout'|@translate}</a></li> 18 18 {/if} 19 19 20 20 {if isset($U_PROFILE)} 21 <li><a href="{$U_PROFILE}" title="{' hint_customize'|@translate}">{'customize'|@translate}</a></li>21 <li><a href="{$U_PROFILE}" title="{'Customize'|@translate}">{'Customize'|@translate}</a></li> 22 22 {/if} 23 23 24 24 {if isset($U_ADMIN)} 25 <li><a href="{$U_ADMIN}" title="{' hint_admin'|@translate}">{'admin'|@translate}</a></li>25 <li><a href="{$U_ADMIN}" title="{'Administration'|@translate}">{'Administration'|@translate}</a></li> 26 26 {/if} 27 27 </ul> … … 43 43 {if $AUTHORIZE_REMEMBERING} 44 44 <div><label for="remember_me"> 45 {' remember_me'|@translate}45 {'Auto login'|@translate} 46 46 <input type="checkbox" name="remember_me" id="remember_me" value="1"> 47 47 </label></div> … … 53 53 <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li> 54 54 {if isset($U_REGISTER)} 55 <li><a href="{$U_REGISTER}" title="{' Create a new account'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"></a></li>55 <li><a href="{$U_REGISTER}" title="{'Register'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"></a></li> 56 56 {/if} 57 57 </ul> -
trunk/template/yoga/menubar_menu.tpl
r3282 r5021 1 <dt>{' title_menu'|@translate}</dt>1 <dt>{'Menu'|@translate}</dt> 2 2 <dd> 3 3 {if isset($block->data.qsearch) and $block->data.qsearch==true} -
trunk/template/yoga/menubar_specials.tpl
r3282 r5021 1 <dt>{' special_categories'|@translate}</dt>1 <dt>{'Specials'|@translate}</dt> 2 2 <dd> 3 3 <ul> -
trunk/template/yoga/menubar_tags.tpl
r3546 r5021 11 11 </a> 12 12 {/if} 13 <a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{'See elements linked to this tag only'|@translate}">{$tag.name}</a>{* there should be no space between end of a and span elements to avoid IE8 bug https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=366567 *}</span>13 <a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{'See images linked to this tag only'|@translate}">{$tag.name}</a>{* there should be no space between end of a and span elements to avoid IE8 bug https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=366567 *}</span> 14 14 {/foreach} 15 15 </div> -
trunk/template/yoga/navigation_bar.tpl
r3283 r5021 1 1 <div class="navigationBar"> 2 2 {if isset($navbar.URL_FIRST)} 3 <a href="{$navbar.URL_FIRST}" rel="first">{' first_page'|@translate}</a> |4 <a href="{$navbar.URL_PREV}" rel="prev">{' previous_page'|@translate}</a> |3 <a href="{$navbar.URL_FIRST}" rel="first">{'First'|@translate}</a> | 4 <a href="{$navbar.URL_PREV}" rel="prev">{'Previous'|@translate}</a> | 5 5 {else} 6 {' first_page'|@translate} |7 {' previous_page'|@translate} |6 {'First'|@translate} | 7 {'Previous'|@translate} | 8 8 {/if} 9 9 … … 20 20 21 21 {if isset($navbar.URL_NEXT)} 22 | <a href="{$navbar.URL_NEXT}" rel="next">{' next_page'|@translate}</a>23 | <a href="{$navbar.URL_LAST}" rel="last">{' last_page'|@translate}</a>22 | <a href="{$navbar.URL_NEXT}" rel="next">{'Next'|@translate}</a> 23 | <a href="{$navbar.URL_LAST}" rel="last">{'Last'|@translate}</a> 24 24 {else} 25 | {' next_page'|@translate}26 | {' last_page'|@translate}25 | {'Next'|@translate} 26 | {'Last'|@translate} 27 27 {/if} 28 28 </div> -
trunk/template/yoga/nbm.tpl
r3283 r5021 3 3 <div class="titrePage"> 4 4 <ul class="categoryActions"> 5 <li><a href="{$U_HOME}" title="{' Go through the gallery as a visitor'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li>5 <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> 6 6 </ul> 7 <h2>{' nbm_item_notification'|@translate}</h2>7 <h2>{'Notification'|@translate}</h2> 8 8 </div> 9 9 -
trunk/template/yoga/notification.tpl
r3283 r5021 1 1 {html_head} 2 2 <link rel="alternate" type="application/rss+xml" title="{'Image only RSS feed'|@translate}" href="{$U_FEED_IMAGE_ONLY}"> 3 <link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed '|@translate}" href="{$U_FEED}">3 <link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed (images, comments)'|@translate}" href="{$U_FEED}"> 4 4 {/html_head} 5 5 <div id="content" class="content"> … … 7 7 <div class="titrePage"> 8 8 <ul class="categoryActions"> 9 <li><a href="{$U_HOME}" title="{' return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li>9 <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> 10 10 </ul> 11 11 <h2>{'Notification'|@translate}</h2> … … 19 19 </dt> 20 20 <dt> 21 <a href="{$U_FEED}">{'Complete RSS feed '|@translate}</a>21 <a href="{$U_FEED}">{'Complete RSS feed (images, comments)'|@translate}</a> 22 22 </dt> 23 23 </dl> -
trunk/template/yoga/password.tpl
r3283 r5021 3 3 <div class="titrePage"> 4 4 <ul class="categoryActions"> 5 <li><a href="{$U_HOME}" title="{' Go through the gallery as a visitor'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li>5 <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> 6 6 </ul> 7 7 <h2>{'Password forgotten'|@translate}</h2> -
trunk/template/yoga/picture.tpl
r4513 r5021 29 29 <div id="imageHeaderBar"> 30 30 <div class="browsePath"> 31 <a href="{$U_HOME}" rel=" home">{'home'|@translate}</a>31 <a href="{$U_HOME}" rel="Home">{'Home'|@translate}</a> 32 32 {if !$IS_HOME}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if} 33 33 {$LEVEL_SEPARATOR}{$current.TITLE} … … 45 45 {/if} 46 46 {if isset($U_SLIDESHOW_STOP) } 47 <a href="{$U_SLIDESHOW_STOP}" title="{'s lideshow_stop'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_slideshow.png" class="button" alt="{'slideshow_stop'|@translate}"></a>48 {/if} 49 <a href="{$U_METADATA}" title="{' picture_show_metadata'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/metadata.png" class="button" alt="metadata"></a>47 <a href="{$U_SLIDESHOW_STOP}" title="{'stop the slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_slideshow.png" class="button" alt="{'stop the slideshow'|@translate}"></a> 48 {/if} 49 <a href="{$U_METADATA}" title="{'Show file metadata'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/metadata.png" class="button" alt="metadata"></a> 50 50 {if isset($current.U_DOWNLOAD) } 51 <a href="{$current.U_DOWNLOAD}" title="{'download _hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/save.png" class="button" alt="{'download'|@translate}"></a>51 <a href="{$current.U_DOWNLOAD}" title="{'download'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/save.png" class="button" alt="{'download'|@translate}"></a> 52 52 {/if} 53 53 {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if} … … 56 56 {/if} 57 57 {if !empty($U_SET_AS_REPRESENTATIVE) } 58 <a href="{$U_SET_AS_REPRESENTATIVE}" title="{' set as categoryrepresentative'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/representative.png" class="button" alt="{'representative'|@translate}"></a>58 <a href="{$U_SET_AS_REPRESENTATIVE}" title="{'representative'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/representative.png" class="button" alt="{'representative'|@translate}"></a> 59 59 {/if} 60 60 {if isset($U_ADMIN) } 61 <a href="{$U_ADMIN}" title="{' link_info_image'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/preferences.png" class="button" alt="{'edit'|@translate}"></a>61 <a href="{$U_ADMIN}" title="{'edit'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/preferences.png" class="button" alt="{'edit'|@translate}"></a> 62 62 {/if} 63 63 {if isset($U_CADDIE) }{*caddie management BEGIN*} … … 78 78 }{/literal} 79 79 </script> 80 <a href="{$U_CADDIE}" onclick="addToCadie(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}); return false;" title="{' add tocaddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"></a>80 <a href="{$U_CADDIE}" onclick="addToCadie(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}); return false;" title="{'caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"></a> 81 81 {/if}{*caddie management END*} 82 82 </div> … … 93 93 {if isset($U_SLIDESHOW_STOP) } 94 94 <p> 95 [ <a href="{$U_SLIDESHOW_STOP}">{'s lideshow_stop'|@translate}</a> ]95 [ <a href="{$U_SLIDESHOW_STOP}">{'stop the slideshow'|@translate}</a> ] 96 96 </p> 97 97 {/if} … … 100 100 101 101 {if isset($previous) } 102 <a class="navThumb" id="linkPrev" href="{$previous.U_IMG}" title="{' previous_page'|@translate} : {$previous.TITLE}" rel="prev">102 <a class="navThumb" id="linkPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev"> 103 103 <img src="{$previous.THUMB_SRC}" alt="{$previous.TITLE}"> 104 104 </a> 105 105 {/if} 106 106 {if isset($next) } 107 <a class="navThumb" id="linkNext" href="{$next.U_IMG}" title="{' next_page'|@translate} : {$next.TITLE}" rel="next">107 <a class="navThumb" id="linkNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next"> 108 108 <img src="{$next.THUMB_SRC}" alt="{$next.TITLE}"> 109 109 </a> … … 169 169 {$pwg->sprintf($rate_text, $rate_summary.average, $rate_summary.count, $rate_summary.std) } 170 170 {else} 171 {'no _rate'|@translate}171 {'no rate'|@translate} 172 172 {/if} 173 173 </td> … … 178 178 <tr> 179 179 <td class="label"> 180 <span id="updateRate">{if isset($rating.USER_RATE)}{' update_rate'|@translate}{else}{'new_rate'|@translate}{/if}</span>180 <span id="updateRate">{if isset($rating.USER_RATE)}{'Rate this picture'|@translate}{else}{'Rate this picture'|@translate}{/if}</span> 181 181 </td> 182 182 <td class="value"> … … 265 265 <form method="post" action="{$comment_add.F_ACTION}" class="filter" id="addComment"> 266 266 <fieldset> 267 <legend>{' comments_add'|@translate}</legend>267 <legend>{'Add a comment'|@translate}</legend> 268 268 {if $comment_add.SHOW_AUTHOR} 269 <label>{' upload_author'|@translate}<input type="text" name="author"></label>269 <label>{'Author'|@translate}<input type="text" name="author"></label> 270 270 {/if} 271 <label>{' comment'|@translate}<textarea name="content" id="contentid" rows="5" cols="80">{$comment_add.CONTENT}</textarea></label>271 <label>{'Comment'|@translate}<textarea name="content" id="contentid" rows="5" cols="80">{$Comment_add.CONTENT}</textarea></label> 272 272 <input type="hidden" name="key" value="{$comment_add.KEY}"> 273 273 <input class="submit" type="submit" value="{'Submit'|@translate}"> -
trunk/template/yoga/picture_content.tpl
r3283 r5021 8 8 {if isset($high) } 9 9 </a> 10 <p>{' picture_high'|@translate}</p>10 <p>{'Click on the picture to see it in high definition'|@translate}</p> 11 11 {/if} -
trunk/template/yoga/picture_nav_buttons.tpl
r3283 r5021 2 2 3 3 {if isset($last)} 4 <a class="navButton" href="{$last.U_IMG}" title="{' last_page'|@translate} : {$last.TITLE}" rel="last"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last.png" class="button" alt="{'last_page'|@translate}"></a>4 <a class="navButton" href="{$last.U_IMG}" title="{'Last'|@translate} : {$last.TITLE}" rel="last"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last.png" class="button" alt="{'Last'|@translate}"></a> 5 5 {else} 6 6 <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last_unactive.png" class="button" alt=""></a> … … 8 8 9 9 {if isset($next)} 10 <a class="navButton" href="{$next.U_IMG}" title="{' next_page'|@translate} : {$next.TITLE}" rel="next"><img src="{$ROOT_URL}{$themeconf.icon_dir}/right.png" class="button" alt="{'next_page'|@translate}"></a>10 <a class="navButton" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next"><img src="{$ROOT_URL}{$themeconf.icon_dir}/right.png" class="button" alt="{'Next'|@translate}"></a> 11 11 {else} 12 12 <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/right_unactive.png" class="button" alt=""></a> … … 14 14 15 15 {if isset($slideshow.U_START_PLAY)} 16 <a class="navButton" href="{$slideshow.U_START_PLAY}" title="{' start_play'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/play.png" class="button" alt="{'start_play'|@translate}"></a>16 <a class="navButton" href="{$slideshow.U_START_PLAY}" title="{'Play of slideshow'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/play.png" class="button" alt="{'Play of slideshow'|@translate}"></a> 17 17 {/if} 18 18 19 19 {if isset($slideshow.U_STOP_PLAY)} 20 <a class="navButton" href="{$slideshow.U_STOP_PLAY}" title="{' stop_play'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/pause.png" class="button" alt="{'stop_play'|@translate}"></a>20 <a class="navButton" href="{$slideshow.U_STOP_PLAY}" title="{'Pause of slideshow'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/pause.png" class="button" alt="{'Pause of slideshow'|@translate}"></a> 21 21 {/if} 22 22 23 23 {if isset($U_UP) and !isset($slideshow)} 24 <a class="navButton" href="{$U_UP}" title="{' thumbnails'|@translate}" rel="up"><img src="{$ROOT_URL}{$themeconf.icon_dir}/up.png" class="button" alt="{'thumbnails'|@translate}"></a>24 <a class="navButton" href="{$U_UP}" title="{'Thumbnails'|@translate}" rel="up"><img src="{$ROOT_URL}{$themeconf.icon_dir}/up.png" class="button" alt="{'Thumbnails'|@translate}"></a> 25 25 {/if} 26 26 27 27 {if isset($previous)} 28 <a class="navButton" href="{$previous.U_IMG}" title="{' previous_page'|@translate} : {$previous.TITLE}" rel="prev"><img src="{$ROOT_URL}{$themeconf.icon_dir}/left.png" class="button" alt="{'previous_page'|@translate}"></a>28 <a class="navButton" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev"><img src="{$ROOT_URL}{$themeconf.icon_dir}/left.png" class="button" alt="{'Previous'|@translate}"></a> 29 29 {else} 30 30 <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/left_unactive.png" class="button" alt=""></a> … … 32 32 33 33 {if isset($first)} 34 <a class="navButton" href="{$first.U_IMG}" title="{' first_page'|@translate} : {$first.TITLE}" rel="first"><img src="{$ROOT_URL}{$themeconf.icon_dir}/first.png" class="button" alt="{'first_page'|@translate}"></a>34 <a class="navButton" href="{$first.U_IMG}" title="{'First'|@translate} : {$first.TITLE}" rel="first"><img src="{$ROOT_URL}{$themeconf.icon_dir}/first.png" class="button" alt="{'First'|@translate}"></a> 35 35 {else} 36 36 <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/first_unactive.png" class="button" alt=""></a> … … 39 39 40 40 {if isset($slideshow.U_START_REPEAT)} 41 <a class="navButton" href="{$slideshow.U_START_REPEAT}" title="{' start_repeat'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_repeat.png" class="button" alt="{'start_repeat'|@translate}"></a>41 <a class="navButton" href="{$slideshow.U_START_REPEAT}" title="{'Repeat the slideshow'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/Repeat the slideshow.png" class="button" alt="{'Repeat the slideshow'|@translate}"></a> 42 42 {/if} 43 43 44 44 {if isset($slideshow.U_STOP_REPEAT)} 45 <a class="navButton" href="{$slideshow.U_STOP_REPEAT}" title="{' stop_repeat'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_repeat.png" class="button" alt="{'stop_repeat'|@translate}"></a>45 <a class="navButton" href="{$slideshow.U_STOP_REPEAT}" title="{'Not repeat the slideshow'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/Not repeat the slideshow.png" class="button" alt="{'Not repeat the slideshow'|@translate}"></a> 46 46 {/if} 47 47 48 48 {if isset($slideshow)} 49 49 {if isset($slideshow.U_DEC_PERIOD)} 50 <a class="navButton" href="{$slideshow.U_DEC_PERIOD}" title="{' dec_period'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/dec_period.png" class="button" alt="{'dec_period'|@translate}"></a>50 <a class="navButton" href="{$slideshow.U_DEC_PERIOD}" title="{'Accelerate diaporama speed'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/Accelerate diaporama speed.png" class="button" alt="{'Accelerate diaporama speed'|@translate}"></a> 51 51 {else} 52 52 <a class="navButton"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/dec_period_unactive.png" class="button" alt=""></a> … … 54 54 55 55 {if isset($slideshow.U_INC_PERIOD)} 56 <a class="navButton" href="{$slideshow.U_INC_PERIOD}" title="{' inc_period'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/inc_period.png" class="button" alt="{'inc_period'|@translate}"></a>56 <a class="navButton" href="{$slideshow.U_INC_PERIOD}" title="{'Reduce diaporama speed'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/Reduce diaporama speed.png" class="button" alt="{'Reduce diaporama speed'|@translate}"></a> 57 57 {else} 58 58 <a class="navButton"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/inc_period_unactive.png" class="button" alt=""></a> -
trunk/template/yoga/profile.tpl
r3283 r5021 13 13 <div class="titrePage"> 14 14 <ul class="categoryActions"> 15 <li><a href="{$U_HOME}" title="{' return to homepage'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li>15 <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> 16 16 </ul> 17 17 <h2>{'Profile'|@translate}</h2> -
trunk/template/yoga/profile_content.tpl
r3995 r5021 26 26 <li> 27 27 <span class="property"> 28 <label for="use_new_pwd">{' new_password'|@translate}</label>28 <label for="use_new_pwd">{'New password'|@translate}</label> 29 29 </span> 30 30 <input type="password" name="use_new_pwd" id="use_new_pwd" value=""> … … 41 41 42 42 <fieldset> 43 <legend>{' preferences'|@translate}</legend>43 <legend>{'Preferences'|@translate}</legend> 44 44 45 45 <ul> 46 46 <li> 47 47 <span class="property"> 48 <label for="nb_image_line">{' nb_image_per_row'|@translate}</label>48 <label for="nb_image_line">{'Number of images per row'|@translate}</label> 49 49 </span> 50 50 <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{$NB_IMAGE_LINE}"> … … 52 52 <li> 53 53 <span class="property"> 54 <label for="nb_line_page">{' nb_row_per_page'|@translate}</label>54 <label for="nb_line_page">{'Number of rows per page'|@translate}</label> 55 55 </span> 56 56 <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" > … … 58 58 <li> 59 59 <span class="property"> 60 <label for="template">{' theme'|@translate}</label>60 <label for="template">{'Interface theme'|@translate}</label> 61 61 </span> 62 62 {html_options name=template options=$template_options selected=$template_selection} … … 64 64 <li> 65 65 <span class="property"> 66 <label for=" language">{'language'|@translate}</label>66 <label for="Language">{'Language'|@translate}</label> 67 67 </span> 68 68 {html_options name=language options=$language_options selected=$language_selection} … … 70 70 <li> 71 71 <span class="property"> 72 <label for=" recent_period">{'recent_period'|@translate}</label>72 <label for="Recent period">{'Recent period'|@translate}</label> 73 73 </span> 74 74 <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}"> 75 75 </li> 76 76 <li> 77 <span class="property">{' auto_expand'|@translate}</span>77 <span class="property">{'Expand all categories'|@translate}</span> 78 78 {html_radios name='expand' options=$radio_options selected=$EXPAND} 79 79 </li> 80 80 <li> 81 <span class="property">{' show_nb_comments'|@translate}</span>81 <span class="property">{'Show number of comments'|@translate}</span> 82 82 {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS} 83 83 </li> 84 84 <li> 85 <span class="property">{' show_nb_hits'|@translate}</span>85 <span class="property">{'Show number of hits'|@translate}</span> 86 86 {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS} 87 87 </li> 88 88 <li> 89 89 <span class="property"> 90 <label for=" maxwidth">{'maxwidth'|@translate}</label>90 <label for="Maximum width of the pictures">{'Maximum width of the pictures'|@translate}</label> 91 91 </span> 92 92 <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}"> … … 94 94 <li> 95 95 <span class="property"> 96 <label for=" maxheight">{'maxheight'|@translate}</label>96 <label for="Maximum height of the pictures">{'Maximum height of the pictures'|@translate}</label> 97 97 </span> 98 98 <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{$MAXHEIGHT}"> … … 104 104 <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}"> 105 105 <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> 106 <input class="submit" type="submit" name="reset_to_default" value="{'Reset _To_Default'|@translate}">106 <input class="submit" type="submit" name="reset_to_default" value="{'Reset to default values'|@translate}"> 107 107 </p> 108 108 -
trunk/template/yoga/redirect.tpl
r3283 r5021 9 9 <p style="margin: 2em"> 10 10 <a href="{$page_refresh.U_REFRESH}"> 11 {' click_to_redirect'|@translate}11 {'Click here if your browser does not automatically forward you'|@translate} 12 12 </a> 13 13 </p> -
trunk/template/yoga/register.tpl
r3283 r5021 5 5 <div class="titrePage"> 6 6 <ul class="categoryActions"> 7 <li><a href="{$U_HOME}" title="{' return to homepage'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li>7 <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> 8 8 </ul> 9 9 <h2>{'Registration'|@translate}</h2> -
trunk/template/yoga/search.tpl
r3283 r5021 23 23 <ul class="categoryActions"> 24 24 <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li> 25 <li><a href="{$U_HOME}" title="{' return to homepage'|@translate}" rel="home"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li>25 <li><a href="{$U_HOME}" title="{'Home'|@translate}" rel="Home"><img src="{$ROOT_URL}{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> 26 26 </ul> 27 27 <h2>{'Search'|@translate}</h2> … … 41 41 <fieldset> 42 42 <legend>{'Filter'|@translate}</legend> 43 <label>{' search_keywords'|@translate}43 <label>{'Search for words'|@translate} 44 44 <input type="text" style="width: 300px" name="search_allwords" size="30"> 45 45 </label> 46 46 <ul> 47 47 <li><label> 48 <input type="radio" name="mode" value="AND" checked="checked">{' search_mode_and'|@translate}48 <input type="radio" name="mode" value="AND" checked="checked">{'Search for all terms '|@translate} 49 49 </label></li> 50 50 <li><label> 51 <input type="radio" name="mode" value="OR">{' search_mode_or'|@translate}51 <input type="radio" name="mode" value="OR">{'Search for any terms'|@translate} 52 52 </label></li> 53 53 </ul> 54 <label>{' search_author'|@translate}54 <label>{'Search for Author'|@translate} 55 55 <input type="text" style="width: 300px" name="search_author" size="30"> 56 56 </label> … … 67 67 68 68 <fieldset> 69 <legend>{' search_date'|@translate}</legend>69 <legend>{'Search by Date'|@translate}</legend> 70 70 <ul> 71 <li><label>{' search_date_type'|@translate}</label></li>71 <li><label>{'Kind of date'|@translate}</label></li> 72 72 <li><label> 73 73 <input type="radio" name="date_type" value="date_creation" checked="checked">{'Creation date'|@translate} … … 78 78 </ul> 79 79 <ul> 80 <li><label>{' search_date_from'|@translate}</label></li>80 <li><label>{'Date'|@translate}</label></li> 81 81 <li> 82 82 <select id="start_day" name="start_day"> … … 97 97 </ul> 98 98 <ul> 99 <li><label>{' search_date_to'|@translate}</label></li>99 <li><label>{'End-Date'|@translate}</label></li> 100 100 <li> 101 101 <select id="end_day" name="end_day"> … … 118 118 119 119 <fieldset> 120 <legend>{' search_options'|@translate}</legend>121 <label>{' search_categories'|@translate}120 <legend>{'Search Options'|@translate}</legend> 121 <label>{'Search in Categories'|@translate} 122 122 <select class="categoryList" name="cat[]" multiple="multiple" > 123 123 {html_options options=$category_options selected=$category_options_selected} … … 125 125 </label> 126 126 <ul> 127 <li><label>{' search_subcats_included'|@translate}</label></li>127 <li><label>{'Search in subcategories'|@translate}</label></li> 128 128 <li><label> 129 129 <input type="radio" name="subcats-included" value="1" checked="checked">{'Yes'|@translate} -
trunk/template/yoga/search_rules.tpl
r3283 r5021 16 16 {if isset($SEARCH_TAGS_MODE) } 17 17 <li> 18 <p>{if 'AND'==$SEARCH_TAGS_MODE}{'A ll tagsmust match'|@translate}{else}{'At least one tag must match'|@translate}{/if}</p>18 <p>{if 'AND'==$SEARCH_TAGS_MODE}{'At least one tag must match'|@translate}{else}{'At least one tag must match'|@translate}{/if}</p> 19 19 <ul> 20 20 {foreach from=$search_tags item=v} -
trunk/template/yoga/slideshow.tpl
r3283 r5021 2 2 <div class="browsePath"> 3 3 {if isset($U_SLIDESHOW_STOP) } 4 [ <a href="{$U_SLIDESHOW_STOP}">{'s lideshow_stop'|@translate}</a> ]4 [ <a href="{$U_SLIDESHOW_STOP}">{'stop the slideshow'|@translate}</a> ] 5 5 {/if} 6 6 </div> -
trunk/template/yoga/tags.tpl
r3283 r5021 4 4 <ul class="categoryActions"> 5 5 {if $display_mode == 'letters'} 6 <li><a href="{$U_CLOUD}" title="{' show tagcloud'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"></a></li>6 <li><a href="{$U_CLOUD}" title="{'cloud'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"></a></li> 7 7 {/if} 8 8 9 9 {if $display_mode == 'cloud'} 10 <li><a href="{$U_LETTERS}" title="{' group byletters'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"></a></li>10 <li><a href="{$U_LETTERS}" title="{'letters'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"></a></li> 11 11 {/if} 12 12 13 <li><a href="{$U_HOME}" title="{' return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li>13 <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> 14 14 </ul> 15 15 <h2>{'Tags'|@translate}</h2> -
trunk/template/yoga/upload.tpl
r3283 r5021 9 9 <div class="titrePage"> 10 10 <ul class="categoryActions"> 11 <li><a href="{$U_HOME}" title="{' return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li>11 <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li> 12 12 </ul> 13 <h2>{' upload_title'|@translate}</h2>13 <h2>{'Upload a picture'|@translate}</h2> 14 14 </div> 15 15 … … 61 61 <!-- mail address --> 62 62 <tr> 63 <td>{' mail_address'|@translate} <span style="color:red;">*</span></td>63 <td>{'E-mail address'|@translate} <span style="color:red;">*</span></td> 64 64 <td> 65 65 <input name="mail_address" type="text" value="{$EMAIL}"> … … 68 68 <!-- name of the picture --> 69 69 <tr> 70 <td>{' upload_name'|@translate}</td>70 <td>{'Name of the picture'|@translate}</td> 71 71 <td> 72 72 <input name="name" type="text" value="{$NAME_IMG}"> … … 75 75 <!-- author --> 76 76 <tr> 77 <td>{' upload_author'|@translate}</td>77 <td>{'Author'|@translate}</td> 78 78 <td> 79 79 <input name="author" type="text" value="{$AUTHOR_IMG}"> … … 89 89 <!-- comment --> 90 90 <tr> 91 <td>{' comment'|@translate}</td>91 <td>{'Comment'|@translate}</td> 92 92 <td> 93 93 <textarea name="comment" id="comment" rows="3" cols="40" style="overflow:auto">{$COMMENT_IMG}</textarea> … … 103 103 </form> 104 104 {else} 105 {' upload_successful'|@translate}<br>105 {'Picture uploaded with success, an administrator will validate it as soon as possible'|@translate}<br> 106 106 <div style="text-align:center;"> 107 <a href="{$U_RETURN}">[ {' home'|@translate} ]</a>107 <a href="{$U_RETURN}">[ {'Home'|@translate} ]</a> 108 108 </div> 109 109 {/if} 110 110 111 111 {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS} 112 <div style="text-align:left; margin-left:20px;"><span style="color:red;">*</span> : {' mandatory'|@translate}</div>112 <div style="text-align:left; margin-left:20px;"><span style="color:red;">*</span> : {'obligatory'|@translate}</div> 113 113 {/if} 114 114 </div> <!-- content --> -
trunk/upgrade.php
r5014 r5021 195 195 $template->assign(array( 196 196 'RELEASE' => PHPWG_VERSION, 197 'L_UPGRADE_HELP' => sprintf(l10n(' install_help'), PHPWG_URL.'/forum'),197 'L_UPGRADE_HELP' => sprintf(l10n('Need help ? Ask your question on <a href=\"%s\">Piwigo message board</a>.'), PHPWG_URL.'/forum'), 198 198 ) 199 199 ); … … 279 279 { 280 280 array_push($page['infos'], 281 l10n('in include/config_database.inc.php, before ?>, insert:') . ' 282 <p><textarea rows="4" cols="40">'.implode("\r\n" , $mysql_changes).'</textarea></p>' 283 ); 281 l10n_args('in <i>%s</i>, before <b>?></b>, insert:', 282 'include/config_database.inc.php') . 283 '<p><textarea rows="4" cols="40">' . 284 implode("\r\n" , $mysql_changes).'</textarea></p>' 285 ); 284 286 } 285 287 } … … 315 317 316 318 array_push($page['infos'], 317 l10n(' perform a maintenance check')319 l10n('Perform a maintenance check in [Administration>Specials>Maintenance] if you encounter any problem.') 318 320 ); 319 321 -
trunk/upload.php
r5014 r5021 62 62 if (!in_array($extension, $conf['picture_ext'])) 63 63 { 64 array_push( $result['error'], l10n(' upload_advise_filetype') );64 array_push( $result['error'], l10n('the picture must be to the fileformat jpg, gif or png') ); 65 65 return $result; 66 66 } … … 73 73 { 74 74 array_push( $result['error'], 75 l10n(' upload_advise_filesize').$my_max_file_size.' KB' );75 l10n('the filesize of the picture must not exceed : ').$my_max_file_size.' KB' ); 76 76 } 77 77 else … … 81 81 if ( !move_uploaded_file( $_FILES['picture']['tmp_name'], $temp_name ) ) 82 82 { 83 array_push( $result['error'], l10n(' upload_cannot_upload') );83 array_push( $result['error'], l10n('can\'t upload the picture on the server') ); 84 84 } 85 85 else … … 91 91 { 92 92 array_push( $result['error'], 93 l10n(' upload_advise_width').$image_max_width.' px' );93 l10n('the width of the picture must not exceed : ').$image_max_width.' px' ); 94 94 } 95 95 if ( isset( $image_max_height ) … … 98 98 { 99 99 array_push( $result['error'], 100 l10n(' upload_advise_height').$image_max_height.' px' );100 l10n('the height of the picture must not exceed : ').$image_max_height.' px' ); 101 101 } 102 102 // $size[2] == 1 means GIF … … 109 109 case 3 : $result['type'] = 'png'; break; 110 110 default : 111 array_push( $result['error'], l10n(' upload_advise_filetype') );111 array_push( $result['error'], l10n('the picture must be to the fileformat jpg, gif or png') ); 112 112 } 113 113 } … … 182 182 if ( @is_file( $path ) ) 183 183 { 184 array_push( $error, l10n(' upload_file_exists') );184 array_push( $error, l10n('A picture\'s name already used') ); 185 185 } 186 186 // test de la présence des champs obligatoires 187 187 if ( empty($_FILES['picture']['name'])) 188 188 { 189 array_push( $error, l10n(' upload_filenotfound') );189 array_push( $error, l10n('You must choose a picture fileformat for the image') ); 190 190 } 191 191 if ( !preg_match( '/([_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+)/', 192 192 $_POST['mail_address'] ) ) 193 193 { 194 array_push( $error, l10n(' reg_err_mail_address') );194 array_push( $error, l10n('mail address must be like xxx@yyy.eee (example : jack@altern.org)') ); 195 195 } 196 196 if ( empty($_POST['username']) ) 197 197 { 198 array_push( $error, l10n(' upload_err_username') );198 array_push( $error, l10n('the username must be given') ); 199 199 } 200 200 … … 210 210 else 211 211 { 212 array_push( $error, l10n(' err_date') );212 array_push( $error, l10n('wrong date') ); 213 213 } 214 214 } … … 225 225 if ( !preg_match( '/^[a-zA-Z0-9-_.]+$/', $_FILES['picture']['name'] ) ) 226 226 { 227 array_push( $error, l10n(' update_wrong_dirname') );227 array_push( $error, l10n('wrong filename') ); 228 228 } 229 229 … … 319 319 // Start output of page 320 320 // 321 $title= l10n(' upload_title');321 $title= l10n('Upload a picture'); 322 322 $page['body_id'] = 'theUploadPage'; 323 323 include(PHPWG_ROOT_PATH.'include/page_header.php'); … … 351 351 if ( isset( $page['waiting_id'] ) ) 352 352 { 353 $advise_title = l10n(' upload_advise_thumbnail').$_FILES['picture']['name'];353 $advise_title = l10n('Optional, but recommended : choose a thumbnail to associate to ').$_FILES['picture']['name']; 354 354 } 355 355 else … … 382 382 if ( !empty($conf['upload_maxfilesize']) ) 383 383 { 384 $content = l10n(' upload_advise_filesize');384 $content = l10n('the filesize of the picture must not exceed : '); 385 385 $content.= $conf['upload_maxfilesize'].' KB'; 386 386 $template->append('advises', $content); … … 391 391 if ( $conf['upload_maxwidth_thumbnail'] != '' ) 392 392 { 393 $content = l10n(' upload_advise_width');393 $content = l10n('the width of the picture must not exceed : '); 394 394 $content.= $conf['upload_maxwidth_thumbnail'].' px'; 395 395 $template->append('advises', $content); … … 397 397 if ( $conf['upload_maxheight_thumbnail'] != '' ) 398 398 { 399 $content = l10n(' upload_advise_height');399 $content = l10n('the height of the picture must not exceed : '); 400 400 $content.= $conf['upload_maxheight_thumbnail'].' px'; 401 401 $template->append('advises', $content); … … 406 406 if ( $conf['upload_maxwidth'] != '' ) 407 407 { 408 $content = l10n(' upload_advise_width');408 $content = l10n('the width of the picture must not exceed : '); 409 409 $content.= $conf['upload_maxwidth'].' px'; 410 410 $template->append('advises', $content); … … 412 412 if ( $conf['upload_maxheight'] != '' ) 413 413 { 414 $content = l10n(' upload_advise_height');414 $content = l10n('the height of the picture must not exceed : '); 415 415 $content.= $conf['upload_maxheight'].' px'; 416 416 $template->append('advises', $content); 417 417 } 418 418 } 419 $template->append('advises', l10n(' upload_advise_filetype'));419 $template->append('advises', l10n('the picture must be to the fileformat jpg, gif or png')); 420 420 421 421 //----------------------------------------- optionnal username and mail address
Note: See TracChangeset
for help on using the changeset viewer.