- Timestamp:
- Jan 30, 2008, 11:16:01 PM (17 years ago)
- Location:
- branches/branch-1_7
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_7/admin/cat_list.php
r1900 r2202 72 72 $base_url = PHPWG_ROOT_PATH.'admin.php?page=cat_list'; 73 73 $navigation = '<a class="" href="'.$base_url.'">'; 74 $navigation.= $lang['home'];74 $navigation.= l10n('home'); 75 75 $navigation.= '</a>'; 76 76 … … 82 82 { 83 83 delete_categories(array($_GET['delete'])); 84 array_push($page['infos'], $lang['cat_virtual_deleted']);84 array_push($page['infos'], l10n('cat_virtual_deleted')); 85 85 ordering(); 86 86 update_global_rank(); … … 167 167 'F_ACTION'=>$form_action, 168 168 169 'L_ADD_VIRTUAL'=> $lang['cat_add'],170 'L_SUBMIT'=> $lang['submit'],171 'L_STORAGE'=> $lang['storage'],172 'L_NB_IMG'=> $lang['pictures'],173 'L_MOVE_UP'=> $lang['up'],174 'L_EDIT'=> $lang['edit'],175 'L_DELETE'=> $lang['delete'],169 'L_ADD_VIRTUAL'=>l10n('cat_add'), 170 'L_SUBMIT'=>l10n('submit'), 171 'L_STORAGE'=>l10n('storage'), 172 'L_NB_IMG'=>l10n('pictures'), 173 'L_MOVE_UP'=>l10n('up'), 174 'L_EDIT'=>l10n('edit'), 175 'L_DELETE'=>l10n('delete'), 176 176 )); 177 177 -
branches/branch-1_7/admin/cat_modify.php
r2139 r2202 114 114 pwg_query($query); 115 115 116 array_push($page['infos'], $lang['editcat_confirm']);116 array_push($page['infos'], l10n('editcat_confirm')); 117 117 } 118 118 else if (isset($_POST['set_random_representant'])) … … 263 263 'checked="checked"' : '', 264 264 265 'L_EDIT_NAME' => $lang['name'],266 'L_STORAGE' => $lang['storage'],267 'L_REMOTE_SITE' => $lang['remote_site'],268 'L_EDIT_COMMENT' => $lang['description'],269 'L_EDIT_STATUS' => $lang['conf_access'],270 'L_STATUS_PUBLIC' => $lang['public'],271 'L_STATUS_PRIVATE' => $lang['private'],272 'L_EDIT_LOCK' => $lang['lock'],273 'L_EDIT_UPLOADABLE' => $lang['editcat_uploadable'],274 'L_EDIT_COMMENTABLE' => $lang['comments'],275 'L_YES' => $lang['yes'],276 'L_NO' => $lang['no'],277 'L_SUBMIT' => $lang['submit'],278 'L_SET_RANDOM_REPRESENTANT'=> $lang['cat_representant'],265 'L_EDIT_NAME' => l10n('name'), 266 'L_STORAGE' => l10n('storage'), 267 'L_REMOTE_SITE' => l10n('remote_site'), 268 'L_EDIT_COMMENT' => l10n('description'), 269 'L_EDIT_STATUS' => l10n('conf_access'), 270 'L_STATUS_PUBLIC' => l10n('public'), 271 'L_STATUS_PRIVATE' => l10n('private'), 272 'L_EDIT_LOCK' => l10n('lock'), 273 'L_EDIT_UPLOADABLE' => l10n('editcat_uploadable'), 274 'L_EDIT_COMMENTABLE' => l10n('comments'), 275 'L_YES' => l10n('yes'), 276 'L_NO' => l10n('no'), 277 'L_SUBMIT' => l10n('submit'), 278 'L_SET_RANDOM_REPRESENTANT'=>l10n('cat_representant'), 279 279 280 280 'U_JUMPTO' => make_index_url( -
branches/branch-1_7/admin/cat_options.php
r1962 r2202 155 155 $template->assign_vars( 156 156 array( 157 'L_SUBMIT'=> $lang['submit'],158 'L_RESET'=> $lang['reset'],157 'L_SUBMIT'=>l10n('submit'), 158 'L_RESET'=>l10n('reset'), 159 159 160 160 'U_HELP' => PHPWG_ROOT_PATH.'/popuphelp.php?page=cat_options', … … 239 239 $template->assign_vars( 240 240 array( 241 'L_SECTION' => $lang['cat_upload_title'],242 'L_CAT_OPTIONS_TRUE' => $lang['authorized'],243 'L_CAT_OPTIONS_FALSE' => $lang['forbidden'],241 'L_SECTION' => l10n('cat_upload_title'), 242 'L_CAT_OPTIONS_TRUE' => l10n('authorized'), 243 'L_CAT_OPTIONS_FALSE' => l10n('forbidden'), 244 244 ) 245 245 ); … … 260 260 $template->assign_vars( 261 261 array( 262 'L_SECTION' => $lang['cat_comments_title'],263 'L_CAT_OPTIONS_TRUE' => $lang['authorized'],264 'L_CAT_OPTIONS_FALSE' => $lang['forbidden'],262 'L_SECTION' => l10n('cat_comments_title'), 263 'L_CAT_OPTIONS_TRUE' => l10n('authorized'), 264 'L_CAT_OPTIONS_FALSE' => l10n('forbidden'), 265 265 ) 266 266 ); … … 281 281 $template->assign_vars( 282 282 array( 283 'L_SECTION' => $lang['cat_lock_title'],284 'L_CAT_OPTIONS_TRUE' => $lang['unlocked'],285 'L_CAT_OPTIONS_FALSE' => $lang['locked'],283 'L_SECTION' => l10n('cat_lock_title'), 284 'L_CAT_OPTIONS_TRUE' => l10n('unlocked'), 285 'L_CAT_OPTIONS_FALSE' => l10n('locked'), 286 286 ) 287 287 ); … … 302 302 $template->assign_vars( 303 303 array( 304 'L_SECTION' => $lang['cat_status_title'],305 'L_CAT_OPTIONS_TRUE' => $lang['cat_public'],306 'L_CAT_OPTIONS_FALSE' => $lang['cat_private'],304 'L_SECTION' => l10n('cat_status_title'), 305 'L_CAT_OPTIONS_TRUE' => l10n('cat_public'), 306 'L_CAT_OPTIONS_FALSE' => l10n('cat_private'), 307 307 ) 308 308 ); -
branches/branch-1_7/admin/configuration.php
r2020 r2202 81 81 if ( !url_is_remote($_POST['gallery_url']) ) 82 82 { 83 array_push($page['errors'], $lang['conf_gallery_url_error']);83 array_push($page['errors'], l10n('conf_gallery_url_error')); 84 84 } 85 85 foreach( $main_checkboxes as $checkbox) … … 105 105 or $_POST['nb_comment_page'] > 50) 106 106 { 107 array_push($page['errors'], $lang['conf_nb_comment_page_error']);107 array_push($page['errors'], l10n('conf_nb_comment_page_error')); 108 108 } 109 109 foreach( $comments_checkboxes as $checkbox) … … 147 147 } 148 148 } 149 array_push($page['infos'], $lang['conf_confirmation']);149 array_push($page['infos'], l10n('conf_confirmation')); 150 150 } 151 151 … … 192 192 $template->assign_vars( 193 193 array( 194 'L_YES'=> $lang['yes'],195 'L_NO'=> $lang['no'],196 'L_SUBMIT'=> $lang['submit'],197 'L_RESET'=> $lang['reset'],194 'L_YES'=>l10n('yes'), 195 'L_NO'=>l10n('no'), 196 'L_SUBMIT'=>l10n('submit'), 197 'L_RESET'=>l10n('reset'), 198 198 199 199 'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=configuration', … … 281 281 // Reload user 282 282 $edit_user = build_user($conf['default_user_id'], false); 283 array_push($page['infos'], $lang['conf_confirmation']);283 array_push($page['infos'], l10n('conf_confirmation')); 284 284 } 285 285 } -
branches/branch-1_7/admin/element_set.php
r1900 r2202 125 125 else if ('caddie' == $_GET['cat']) 126 126 { 127 $page['title'] = $lang['caddie'];127 $page['title'] = l10n('caddie'); 128 128 129 129 $query = ' -
branches/branch-1_7/admin/element_set_global.php
r1959 r2202 206 206 'CATEGORIES_NAV'=>$page['title'], 207 207 208 'L_SUBMIT'=> $lang['submit'],208 'L_SUBMIT'=>l10n('submit'), 209 209 210 210 'U_DISPLAY'=>$base_url.get_query_string_diff(array('display')), -
branches/branch-1_7/admin/element_set_unit.php
r1900 r2202 141 141 'CATEGORIES_NAV'=>$page['title'], 142 142 143 'L_SUBMIT'=> $lang['submit'],143 'L_SUBMIT'=>l10n('submit'), 144 144 145 145 'U_ELEMENTS_PAGE' -
branches/branch-1_7/admin/group_list.php
r1962 r2202 88 88 if (empty($_POST['groupname'])) 89 89 { 90 array_push($page['errors'], $lang['group_add_error1']);90 array_push($page['errors'], l10n('group_add_error1')); 91 91 } 92 92 if (count($page['errors']) == 0) … … 101 101 if ($count != 0) 102 102 { 103 array_push($page['errors'], $lang['group_add_error2']);103 array_push($page['errors'], l10n('group_add_error2')); 104 104 } 105 105 } -
branches/branch-1_7/admin/group_perm.php
r1900 r2202 142 142 ) 143 143 ), 144 'L_CAT_OPTIONS_TRUE'=> $lang['authorized'],145 'L_CAT_OPTIONS_FALSE'=> $lang['forbidden'],146 'L_CAT_OPTIONS_INFO'=> $lang['permuser_info'],144 'L_CAT_OPTIONS_TRUE'=>l10n('authorized'), 145 'L_CAT_OPTIONS_FALSE'=>l10n('forbidden'), 146 'L_CAT_OPTIONS_INFO'=>l10n('permuser_info'), 147 147 148 148 'F_ACTION' => -
branches/branch-1_7/admin/history.php
r2179 r2202 142 142 else 143 143 { 144 array_push($page['errors'], $lang['search_one_clause_at_least']);144 array_push($page['errors'], l10n('search_one_clause_at_least')); 145 145 } 146 146 } -
branches/branch-1_7/admin/picture_modify.php
r1900 r2202 66 66 ) 67 67 { 68 array_push($page['errors'], $lang['err_date']);68 array_push($page['errors'], l10n('err_date')); 69 69 } 70 70 } -
branches/branch-1_7/admin/thumbnail.php
r1900 r2202 120 120 if (!is_writable($tndir)) 121 121 { 122 array_push($page['errors'], '['.$tndir.'] : '. $lang['no_write_access']);122 array_push($page['errors'], '['.$tndir.'] : '.l10n('no_write_access')); 123 123 return false; 124 124 } … … 141 141 else 142 142 { 143 echo $lang['tn_no_support']." ";143 echo l10n('tn_no_support')." "; 144 144 if ( isset( $extenstion ) ) 145 145 { 146 echo $lang['tn_format'].' '.$extension;146 echo l10n('tn_format').' '.$extension; 147 147 } 148 148 else 149 149 { 150 echo $lang['tn_thisformat'];150 echo l10n('tn_thisformat'); 151 151 } 152 152 exit(); … … 162 162 163 163 $template->assign_vars(array( 164 'L_THUMBNAIL_TITLE'=> $lang['tn_dirs_title'],165 'L_UNLINK'=> $lang['tn_no_missing'],166 'L_MISSING_THUMBNAILS'=> $lang['tn_dirs_alone'],167 'L_RESULTS'=> $lang['tn_results_title'],168 'L_PATH'=> $lang['path'],169 'L_FILESIZE'=> $lang['filesize'],170 'L_GENERATED'=> $lang['tn_results_gen_time'],171 'L_THUMBNAIL'=> $lang['thumbnail'],172 'L_PARAMS'=> $lang['tn_params_title'],173 'L_GD'=> $lang['tn_params_GD'],174 'L_CREATE'=> $lang['tn_params_create'],175 'L_SUBMIT'=> $lang['submit'],176 'L_REMAINING'=> $lang['tn_alone_title'],177 'L_TN_STATS'=> $lang['tn_stats'],178 'L_TN_NB_STATS'=> $lang['tn_stats_nb'],179 'L_TN_TOTAL'=> $lang['tn_stats_total'],180 'L_TN_MAX'=> $lang['tn_stats_max'],181 'L_TN_MIN'=> $lang['tn_stats_min'],182 'L_TN_AVERAGE'=> $lang['tn_stats_mean'],183 'L_ALL'=> $lang['tn_all'],164 'L_THUMBNAIL_TITLE'=>l10n('tn_dirs_title'), 165 'L_UNLINK'=>l10n('tn_no_missing'), 166 'L_MISSING_THUMBNAILS'=>l10n('tn_dirs_alone'), 167 'L_RESULTS'=>l10n('tn_results_title'), 168 'L_PATH'=>l10n('path'), 169 'L_FILESIZE'=>l10n('filesize'), 170 'L_GENERATED'=>l10n('tn_results_gen_time'), 171 'L_THUMBNAIL'=>l10n('thumbnail'), 172 'L_PARAMS'=>l10n('tn_params_title'), 173 'L_GD'=>l10n('tn_params_GD'), 174 'L_CREATE'=>l10n('tn_params_create'), 175 'L_SUBMIT'=>l10n('submit'), 176 'L_REMAINING'=>l10n('tn_alone_title'), 177 'L_TN_STATS'=>l10n('tn_stats'), 178 'L_TN_NB_STATS'=>l10n('tn_stats_nb'), 179 'L_TN_TOTAL'=>l10n('tn_stats_total'), 180 'L_TN_MAX'=>l10n('tn_stats_max'), 181 'L_TN_MIN'=>l10n('tn_stats_min'), 182 'L_TN_AVERAGE'=>l10n('tn_stats_mean'), 183 'L_ALL'=>l10n('tn_all'), 184 184 185 185 'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=thumbnail', … … 255 255 if (!ereg('^[0-9]{2,3}$', $_POST['width']) or $_POST['width'] < 10) 256 256 { 257 array_push($page['errors'], $lang['tn_err_width'].' 10');257 array_push($page['errors'], l10n('tn_err_width').' 10'); 258 258 } 259 259 if (!ereg('^[0-9]{2,3}$', $_POST['height']) or $_POST['height'] < 10) 260 260 { 261 array_push($page['errors'], $lang['tn_err_height'].' 10');261 array_push($page['errors'], l10n('tn_err_height').' 10'); 262 262 } 263 263 -
branches/branch-1_7/admin/user_list.php
r2177 r2202 178 178 179 179 $page['order_by_items'] = array( 180 'id' => $lang['registration_date'],181 'username' => $lang['Username']180 'id' => l10n('registration_date'), 181 'username' => l10n('Username') 182 182 ); 183 183 184 184 $page['direction_items'] = array( 185 'asc' => $lang['ascending'],186 'desc' => $lang['descending']185 'asc' => l10n('ascending'), 186 'desc' => l10n('descending') 187 187 ); 188 188 … … 835 835 'PROPERTIES' => 836 836 (isset($local_user['enabled_high']) and ($local_user['enabled_high'] == 'true')) 837 ? $lang['is_high_enabled'] : $lang['is_high_disabled']837 ? l10n('is_high_enabled') : l10n('is_high_disabled') 838 838 ) 839 839 ); -
branches/branch-1_7/admin/user_perm.php
r1900 r2202 135 135 ) 136 136 ), 137 'L_CAT_OPTIONS_TRUE'=> $lang['authorized'],138 'L_CAT_OPTIONS_FALSE'=> $lang['forbidden'],137 'L_CAT_OPTIONS_TRUE'=>l10n('authorized'), 138 'L_CAT_OPTIONS_FALSE'=>l10n('forbidden'), 139 139 140 140 'F_ACTION' => -
branches/branch-1_7/admin/ws_checker.php
r1900 r2202 158 158 'update_result', 159 159 array( 160 'UPD_ELEMENT'=> $lang['ws_adding_legend'].$lang['ws_success_upd'],160 'UPD_ELEMENT'=> l10n('ws_adding_legend').l10n('ws_success_upd'), 161 161 ) 162 162 ); … … 180 180 'update_result', 181 181 array( 182 'UPD_ELEMENT'=> $lang['ws_update_legend'].$lang['ws_success_upd'],182 'UPD_ELEMENT'=> l10n('ws_update_legend').l10n('ws_success_upd'), 183 183 ) 184 184 ); … … 187 187 'update_result', 188 188 array( 189 'UPD_ELEMENT'=> $lang['ws_update_legend'].$lang['ws_failed_upd'],189 'UPD_ELEMENT'=> l10n('ws_update_legend').l10n('ws_failed_upd'), 190 190 ) 191 191 ); … … 206 206 'update_result', 207 207 array( 208 'UPD_ELEMENT'=> $lang['ws_delete_legend'].$lang['ws_success_upd'],208 'UPD_ELEMENT'=> l10n('ws_delete_legend').l10n('ws_success_upd'), 209 209 ) 210 210 ); … … 213 213 'update_result', 214 214 array( 215 'UPD_ELEMENT'=> $lang['Not selected / Not confirmed']216 . $lang['ws_failed_upd'],215 'UPD_ELEMENT'=> l10n('Not selected / Not confirmed') 216 .l10n('ws_failed_upd'), 217 217 ) 218 218 ); -
branches/branch-1_7/include/category_cats.inc.php
r2174 r2202 202 202 'SRC' => $thumbnail_src_of[$category['representative_picture_id']], 203 203 'ALT' => $category['name'], 204 'TITLE' => $lang['hint_category'],204 'TITLE' => l10n('hint_category'), 205 205 'ICON' => $icon_ts, 206 206 -
branches/branch-1_7/include/common.inc.php
r2118 r2202 169 169 if ($user['is_the_guest']) 170 170 { 171 $user['username'] = $lang['guest'];171 $user['username'] = l10n('guest'); 172 172 } 173 173 … … 198 198 if ($conf['gallery_locked']) 199 199 { 200 $header_msgs[] = $lang['gallery_locked_message'];200 $header_msgs[] = l10n('gallery_locked_message'); 201 201 202 202 if ( script_basename() != 'identification' and !is_admin() ) 203 203 { 204 echo $lang['gallery_locked_message']204 echo l10n('gallery_locked_message') 205 205 .'<a href="'.get_absolute_root_url(false).'identification.php">.</a>'; 206 206 exit(); … … 233 233 if (is_adviser()) 234 234 { 235 $header_msgs[] = $lang['adviser_mode_enabled'];235 $header_msgs[] = l10n('adviser_mode_enabled'); 236 236 } 237 237 -
branches/branch-1_7/include/functions_html.inc.php
r2181 r2202 55 55 { 56 56 $icons = array(false => 'recent', true => 'recent_by_child' ); 57 $title = $lang['recent_image'].' '.$user['recent_period']58 .' '. $lang['days'];57 $title = l10n('recent_image').' '.$user['recent_period'] 58 .' '.l10n('days'); 59 59 foreach ($icons as $key => $icon) 60 60 { … … 107 107 $navbar.= 108 108 '<a href="'.$url.'" rel="start">' 109 . $lang['first_page']109 .l10n('first_page') 110 110 .'</a>'; 111 111 } 112 112 else 113 113 { 114 $navbar.= $lang['first_page'];114 $navbar.= l10n('first_page'); 115 115 } 116 116 $navbar.= ' | '; … … 124 124 .$url.($previous > 0 ? $start_str.$previous : '') 125 125 .'" rel="prev">' 126 . $lang['previous_page']126 .l10n('previous_page') 127 127 .'</a>'; 128 128 } 129 129 else 130 130 { 131 $navbar.= $lang['previous_page'];131 $navbar.= l10n('previous_page'); 132 132 } 133 133 $navbar.= ' |'; … … 195 195 $navbar.= 196 196 '<a href="'.$url.$start_str.$next.'" rel="next">' 197 . $lang['next_page']197 .l10n('next_page') 198 198 .'</a>'; 199 199 } 200 200 else 201 201 { 202 $navbar.= $lang['next_page'];202 $navbar.= l10n('next_page'); 203 203 } 204 204 … … 211 211 $navbar.= 212 212 '<a href="'.$url.$start_str.$temp_start.'" rel="last">' 213 . $lang['last_page']213 .l10n('last_page') 214 214 .'</a>'; 215 215 } 216 216 else 217 217 { 218 $navbar.= $lang['last_page'];218 $navbar.= l10n('last_page'); 219 219 } 220 220 } … … 567 567 if ( isset($user['is_the_guest']) and !$user['is_the_guest'] ) 568 568 { 569 echo '<div style="text-align:center;">'. $lang['access_forbiden'].'<br />';570 echo '<a href="'.get_root_url().'identification.php">'. $lang['identification'].'</a> ';571 echo '<a href="'.make_index_url().'">'. $lang['home'].'</a></div>';569 echo '<div style="text-align:center;">'.l10n('access_forbiden').'<br />'; 570 echo '<a href="'.get_root_url().'identification.php">'.l10n('identification').'</a> '; 571 echo '<a href="'.make_index_url().'">'.l10n('home').'</a></div>'; 572 572 exit(); 573 573 } -
branches/branch-1_7/include/menubar.inc.php
r1932 r2202 172 172 array( 173 173 'URL' => make_index_url(array('section' => 'favorites')), 174 'TITLE' => $lang['favorite_cat_hint'],175 'NAME' => $lang['favorite_cat']174 'TITLE' => l10n('favorite_cat_hint'), 175 'NAME' => l10n('favorite_cat') 176 176 )); 177 177 } … … 181 181 array( 182 182 'URL' => make_index_url(array('section' => 'most_visited')), 183 'TITLE' => $lang['most_visited_cat_hint'],184 'NAME' => $lang['most_visited_cat']183 'TITLE' => l10n('most_visited_cat_hint'), 184 'NAME' => l10n('most_visited_cat') 185 185 )); 186 186 // best rated … … 191 191 array( 192 192 'URL' => make_index_url(array('section' => 'best_rated')), 193 'TITLE' => $lang['best_rated_cat_hint'],194 'NAME' => $lang['best_rated_cat']193 'TITLE' => l10n('best_rated_cat_hint'), 194 'NAME' => l10n('best_rated_cat') 195 195 ) 196 196 ); … … 201 201 array( 202 202 'URL' => get_root_url().'random.php', 203 'TITLE' => $lang['random_cat_hint'],204 'NAME' => $lang['random_cat'],203 'TITLE' => l10n('random_cat_hint'), 204 'NAME' => l10n('random_cat'), 205 205 'REL'=> 'rel="nofollow"' 206 206 )); … … 211 211 array( 212 212 'URL' => make_index_url(array('section' => 'recent_pics')), 213 'TITLE' => $lang['recent_pics_cat_hint'],214 'NAME' => $lang['recent_pics_cat'],213 'TITLE' => l10n('recent_pics_cat_hint'), 214 'NAME' => l10n('recent_pics_cat'), 215 215 )); 216 216 // recent cats … … 219 219 array( 220 220 'URL' => make_index_url(array('section' => 'recent_cats')), 221 'TITLE' => $lang['recent_cats_cat_hint'],222 'NAME' => $lang['recent_cats_cat'],221 'TITLE' => l10n('recent_cats_cat_hint'), 222 'NAME' => l10n('recent_cats_cat'), 223 223 )); 224 224 … … 236 236 ) 237 237 ), 238 'TITLE' => $lang['calendar_hint'],239 'NAME' => $lang['calendar'],238 'TITLE' => l10n('calendar_hint'), 239 'NAME' => l10n('calendar'), 240 240 'REL'=> 'rel="nofollow"' 241 241 ) … … 294 294 'summary', 295 295 array( 296 'TITLE'=> $lang['hint_search'],297 'NAME'=> $lang['search'],296 'TITLE'=>l10n('hint_search'), 297 'NAME'=>l10n('search'), 298 298 'U_SUMMARY'=> get_root_url().'search.php', 299 299 'REL'=> 'rel="search"' … … 306 306 'summary', 307 307 array( 308 'TITLE'=> $lang['hint_comments'],309 'NAME'=> $lang['comments'],308 'TITLE'=>l10n('hint_comments'), 309 'NAME'=>l10n('comments'), 310 310 'U_SUMMARY'=> get_root_url().'comments.php', 311 311 ) … … 316 316 'summary', 317 317 array( 318 'TITLE' => $lang['about_page_title'],319 'NAME' => $lang['About'],318 'TITLE' => l10n('about_page_title'), 319 'NAME' => l10n('About'), 320 320 'U_SUMMARY' => get_root_url().'about.php', 321 321 ) -
branches/branch-1_7/include/page_tail.php
r1900 r2202 34 34 'PHPWG_URL' => PHPWG_URL, 35 35 36 'L_TITLE_MAIL' => urlencode( $lang['title_send_mail']),36 'L_TITLE_MAIL' => urlencode(l10n('title_send_mail')), 37 37 )); 38 38 -
branches/branch-1_7/include/picture_rate.inc.php
r1900 r2202 43 43 if ($row['count'] == 0) 44 44 { 45 $value = $lang['no_rate'];45 $value = l10n('no_rate'); 46 46 } 47 47 else -
branches/branch-1_7/include/section_init.inc.php
r2174 r2202 218 218 else 219 219 { 220 $page['title'] = $lang['no_category'];220 $page['title'] = l10n('no_category'); 221 221 } 222 222 … … 338 338 array( 339 339 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 340 . $lang['search_result'].'</a>',340 .l10n('search_result').'</a>', 341 341 ) 342 342 ); … … 368 368 $page, 369 369 array( 370 'title' => $lang['favorites'],370 'title' => l10n('favorites'), 371 371 'items' => array_from_query($query, 'image_id'), 372 372 ) … … 393 393 array( 394 394 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 395 . $lang['recent_pics_cat'].'</a>',395 .l10n('recent_pics_cat').'</a>', 396 396 'items' => array_from_query($query, 'id'), 397 397 ) … … 406 406 $page, 407 407 array( 408 'title' => $lang['recent_cats_cat'],408 'title' => l10n('recent_cats_cat'), 409 409 ) 410 410 ); … … 431 431 array( 432 432 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 433 .$conf['top_number'].' '. $lang['most_visited_cat'].'</a>',433 .$conf['top_number'].' '.l10n('most_visited_cat').'</a>', 434 434 'items' => array_from_query($query, 'id'), 435 435 ) … … 457 457 array( 458 458 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 459 .$conf['top_number'].' '. $lang['best_rated_cat'].'</a>',459 .$conf['top_number'].' '.l10n('best_rated_cat').'</a>', 460 460 'items' => array_from_query($query, 'id'), 461 461 ) … … 480 480 array( 481 481 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 482 . $lang['random_cat'].'</a>',482 .l10n('random_cat').'</a>', 483 483 'items' => array_from_query($query, 'id'), 484 484 ) -
branches/branch-1_7/install.php
r2188 r2202 243 243 if ( @mysql_select_db($_POST['dbname'] ) ) 244 244 { 245 array_push( $infos, $lang['step1_confirmation']);245 array_push( $infos, l10n('step1_confirmation') ); 246 246 } 247 247 else 248 248 { 249 array_push( $errors, $lang['step1_err_db']);249 array_push( $errors, l10n('step1_err_db') ); 250 250 } 251 251 } 252 252 else 253 253 { 254 array_push( $errors, $lang['step1_err_server']);254 array_push( $errors, l10n('step1_err_server') ); 255 255 } 256 256 257 257 $webmaster = trim(preg_replace( '/\s{2,}/', ' ', $admin_name )); 258 258 if ( empty($webmaster)) 259 array_push( $errors, $lang['step2_err_login1']);259 array_push( $errors, l10n('step2_err_login1') ); 260 260 else if ( preg_match( '/[\'"]/', $webmaster ) ) 261 array_push( $errors, $lang['step2_err_login3']);261 array_push( $errors, l10n('step2_err_login3') ); 262 262 if ( $admin_pass1 != $admin_pass2 || empty($admin_pass1) ) 263 array_push( $errors, $lang['step2_err_pass']);263 array_push( $errors, l10n('step2_err_pass') ); 264 264 if ( empty($admin_mail)) 265 array_push( $errors, $lang['reg_err_mail_address']);265 array_push( $errors, l10n('reg_err_mail_address') ); 266 266 else 267 267 { … … 372 372 'RELEASE'=>PHPWG_VERSION, 373 373 374 'L_BASE_TITLE'=> $lang['Initial_config'],375 'L_LANG_TITLE'=> $lang['Default_lang'],376 'L_DB_TITLE'=> $lang['step1_title'],377 'L_DB_HOST'=> $lang['step1_host'],378 'L_DB_HOST_INFO'=> $lang['step1_host_info'],379 'L_DB_USER'=> $lang['step1_user'],380 'L_DB_USER_INFO'=> $lang['step1_user_info'],381 'L_DB_PASS'=> $lang['step1_pass'],382 'L_DB_PASS_INFO'=> $lang['step1_pass_info'],383 'L_DB_NAME'=> $lang['step1_database'],384 'L_DB_NAME_INFO'=> $lang['step1_database_info'],385 'L_DB_PREFIX'=> $lang['step1_prefix'],386 'L_DB_PREFIX_INFO'=> $lang['step1_prefix_info'],387 'L_ADMIN_TITLE'=> $lang['step2_title'],388 'L_ADMIN'=> $lang['install_webmaster'],389 'L_ADMIN_INFO'=> $lang['install_webmaster_info'],390 'L_ADMIN_PASSWORD'=> $lang['step2_pwd'],391 'L_ADMIN_PASSWORD_INFO'=> $lang['step2_pwd_info'],392 'L_ADMIN_CONFIRM_PASSWORD'=> $lang['step2_pwd_conf'],393 'L_ADMIN_CONFIRM_PASSWORD_INFO'=> $lang['step2_pwd_conf_info'],394 'L_ADMIN_EMAIL'=> $lang['conf_mail_webmaster'],395 'L_ADMIN_EMAIL_INFO'=> $lang['conf_mail_webmaster_info'],396 'L_SUBMIT'=> $lang['Start_Install'],397 'L_INSTALL_HELP'=>sprintf( $lang['install_help'], 'http://forum.'.PHPWG_DOMAIN.'/'),398 'L_ERR_COPY'=> $lang['step1_err_copy'],399 'L_END_TITLE'=> $lang['install_end_title'],400 'L_END_MESSAGE'=> $lang['install_end_message'],374 'L_BASE_TITLE'=>l10n('Initial_config'), 375 'L_LANG_TITLE'=>l10n('Default_lang'), 376 'L_DB_TITLE'=>l10n('step1_title'), 377 'L_DB_HOST'=>l10n('step1_host'), 378 'L_DB_HOST_INFO'=>l10n('step1_host_info'), 379 'L_DB_USER'=>l10n('step1_user'), 380 'L_DB_USER_INFO'=>l10n('step1_user_info'), 381 'L_DB_PASS'=>l10n('step1_pass'), 382 'L_DB_PASS_INFO'=>l10n('step1_pass_info'), 383 'L_DB_NAME'=>l10n('step1_database'), 384 'L_DB_NAME_INFO'=>l10n('step1_database_info'), 385 'L_DB_PREFIX'=>l10n('step1_prefix'), 386 'L_DB_PREFIX_INFO'=>l10n('step1_prefix_info'), 387 'L_ADMIN_TITLE'=>l10n('step2_title'), 388 'L_ADMIN'=>l10n('install_webmaster'), 389 'L_ADMIN_INFO'=>l10n('install_webmaster_info'), 390 'L_ADMIN_PASSWORD'=>l10n('step2_pwd'), 391 'L_ADMIN_PASSWORD_INFO'=>l10n('step2_pwd_info'), 392 'L_ADMIN_CONFIRM_PASSWORD'=>l10n('step2_pwd_conf'), 393 'L_ADMIN_CONFIRM_PASSWORD_INFO'=>l10n('step2_pwd_conf_info'), 394 'L_ADMIN_EMAIL'=>l10n('conf_mail_webmaster'), 395 'L_ADMIN_EMAIL_INFO'=>l10n('conf_mail_webmaster_info'), 396 'L_SUBMIT'=>l10n('Start_Install'), 397 'L_INSTALL_HELP'=>sprintf(l10n('install_help'), 'http://forum.'.PHPWG_DOMAIN.'/'), 398 'L_ERR_COPY'=>l10n('step1_err_copy'), 399 'L_END_TITLE'=>l10n('install_end_title'), 400 'L_END_MESSAGE'=>l10n('install_end_message'), 401 401 402 402 'F_ACTION'=>'install.php',
Note: See TracChangeset
for help on using the changeset viewer.