Changeset 1065
- Timestamp:
- 04/13/2004 06:56:38 AM (21 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r1062 r1065 42 42 <div class="post"> 43 43 <h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h3> 44 <div class="meta"> Filed under:<?php the_category() ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>44 <div class="meta"><?php $lang->str('filed_under'); ?> <?php the_category() ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div> 45 45 46 46 <div class="storycontent"> … … 61 61 62 62 <?php } } else { // end foreach, end if any posts ?> 63 <p> Sorry, no posts matched your criteria.</p>63 <p><?php $lang->str('no_posts_matched'); ?></p> 64 64 <?php } ?> 65 65 </div> … … 71 71 <ul> 72 72 <?php get_links_list(); ?> 73 <li id="categories"> Categories:73 <li id="categories"><?php $lang->str('categories'); ?> 74 74 <ul> 75 75 <?php wp_list_cats(); ?> … … 77 77 </li> 78 78 <li id="search"> 79 <label for="s"> Search:</label>79 <label for="s"><?php $lang->str('search'); ?></label> 80 80 <form id="searchform" method="get" action="<?php echo $PHP_SELF; ?>"> 81 81 <div> 82 82 <input type="text" name="s" id="s" size="15" /><br /> 83 <input type="submit" name="submit" value=" search" />83 <input type="submit" name="submit" value="<?php $lang->str('search_button'); ?>" /> 84 84 </div> 85 85 </form> 86 86 </li> 87 <li id="archives"> Archives:87 <li id="archives"><?php $lang->str('archives'); ?> 88 88 <ul> 89 89 <?php get_archives('monthly'); ?> … … 93 93 <?php get_calendar(); ?> 94 94 </li> 95 <li id="other"> Other:95 <li id="other"><?php $lang->str('other'); ?> 96 96 <ul> 97 <li><a href="<?php echo get_settings('siteurl'); ?>/wp-login.php"> Login</a></li>98 <li><a href="<?php echo get_settings('siteurl'); ?>/wp-register.php"> Register</a></li>97 <li><a href="<?php echo get_settings('siteurl'); ?>/wp-login.php"><?php $lang->str('login'); ?></a></li> 98 <li><a href="<?php echo get_settings('siteurl'); ?>/wp-register.php"><?php $lang->str('register'); ?></a></li> 99 99 </ul> 100 100 </li> 101 <li id="meta"> Meta:101 <li id="meta"><?php $lang->str('meta'); ?> 102 102 <ul> 103 <li><a href="<?php bloginfo('rss2_url'); ?>" title=" Syndicate this site using RSS"><abbr title="Really Simple Syndication">RSS</abbr> 2.0</a></li>104 <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title=" The latest comments to all posts in RSS">Comments <abbr title="Really Simple Syndication">RSS</abbr> 2.0</a></li>105 <li><a href="http://validator.w3.org/check/referer" title=" This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>106 <li><a href="http://wordpress.org" title=" Powered by WordPress, state-of-the-art semantic personal publishing platform">WP</a></li>103 <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php $lang->str('rss_2_title'); ?>"><?php $lang->str('rss_2'); ?></a></li> 104 <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php $lang->str('comments_rss_2_title'); ?>"><?php $lang->str('comments_rss_2'); ?></a></li> 105 <li><a href="http://validator.w3.org/check/referer" title="<?php $lang->str('valid_xhtml_title'); ?>"><?php $lang->str('valid_xhtml'); ?></a></li> 106 <li><a href="http://wordpress.org" title="<?php $lang->str('powered_by_title'); ?>">WP</a></li> 107 107 </ul> 108 108 </li> … … 114 114 </div> 115 115 116 <p class="credit"><!--<?php echo $wpdb->querycount; ?> queries.--> <?php timer_stop(1); ?> || <cite> Powered by <a href="http://wordpress.org" title="Powered by WordPress, state-of-the-art semantic personal publishing platform"><strong>WordPress</strong></a></cite></p>116 <p class="credit"><!--<?php echo $wpdb->querycount; ?> queries.--> <?php timer_stop(1); ?> || <cite><?php $lang->str('powered_by'); ?> <a href="http://wordpress.org" title="<?php $lang->str('powered_by_title'); ?>"><strong><?php $lang->str('wordpress'); ?></strong></a></cite></p> 117 117 </body> 118 118 </html> -
trunk/wp-config-extra.php
r628 r1065 1 1 <?php 2 // this file contains customizable arrays for smilies, weekdays and month names.3 2 4 5 // the weekdays and the months.. translate them if necessary 6 $weekday[0]='Sunday'; 7 $weekday[1]='Monday'; 8 $weekday[2]='Tuesday'; 9 $weekday[3]='Wednesday'; 10 $weekday[4]='Thursday'; 11 $weekday[5]='Friday'; 12 $weekday[6]='Saturday'; 3 // this file contains customizable arrays for smilies. 4 // here's the conversion table, you can modify it if you know what you're doing 13 5 14 // the months, translate them if necessary - note: this isn't active everywhere yet15 $month['01']='January';16 $month['02']='February';17 $month['03']='March';18 $month['04']='April';19 $month['05']='May';20 $month['06']='June';21 $month['07']='July';22 $month['08']='August';23 $month['09']='September';24 $month['10']='October';25 $month['11']='November';26 $month['12']='December';27 28 // here's the conversion table, you can modify it if you know what you're doing29 6 $wpsmiliestrans = array( 30 7 ' :)' => 'icon_smile.gif', -
trunk/wp-includes/languages/english.php
r1064 r1065 1 <?php 2 3 // english language file 4 5 $lang = new language('WordPress' 6 ,'http://wordpress.org/' 7 ,'ISO-8859-I' 8 ,'English' 9 ); 10 11 $lang->strings = array( 12 13 "wordpress" => "WordPress" 14 15 // Blog template strings 16 17 ,"archives" => "Archives:" 18 ,"categories" => "Categories:" 19 ,"comments_rss_2" => 'Comments <abbr title="Really Simple Syndication">RSS</abbr> 2.0' 20 ,"comments_rss_2_title" => "The latest comments to all posts in RSS" 21 ,"filed_under" => "Filed under:" 22 ,"login" => "Login" 23 ,"meta" => "Meta:" 24 ,"no_posts_matched" => "Sorry, no posts matched your criteria." 25 ,"other" => "Other:" 26 ,"powered_by" => "Powered by " 27 ,"powered_by_title" => "Powered by WordPress, state-of-the-art semantic personal publishing platform" 28 ,"register" => "Register" 29 ,"rss_2" => '<abbr title="Really Simple Syndication">RSS</abbr> 2.0' 30 ,"rss_2_title" => "Syndicate this site using RSS" 31 ,"search" => "Search:" 32 ,"search_buttom" => "search" 33 ,"valid_xhtml" => 'Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>' 34 ,"valid_xhtml_title" => "This page validates as XHTML 1.0 Transitional" 35 36 // Admin strings 37 38 ); 39 40 // the weekdays and the months.. translate them if necessary 41 $weekday[0]='Sunday'; 42 $weekday[1]='Monday'; 43 $weekday[2]='Tuesday'; 44 $weekday[3]='Wednesday'; 45 $weekday[4]='Thursday'; 46 $weekday[5]='Friday'; 47 $weekday[6]='Saturday'; 48 49 // the months, translate them if necessary - note: this isn't active everywhere yet 50 $month['01']='January'; 51 $month['02']='February'; 52 $month['03']='March'; 53 $month['04']='April'; 54 $month['05']='May'; 55 $month['06']='June'; 56 $month['07']='July'; 57 $month['08']='August'; 58 $month['09']='September'; 59 $month['10']='October'; 60 $month['11']='November'; 61 $month['12']='December'; 62 63 ?> -
trunk/wp-settings.php
r1010 r1065 43 43 require_once (ABSPATH . WPINC . '/links.php'); 44 44 require_once (ABSPATH . WPINC . '/kses.php'); 45 require_once (ABSPATH . WPINC . '/class-language.php'); 45 46 46 47 //setup the old globals from b2config.php … … 77 78 } 78 79 80 // temporarily hardcoded, AK 81 82 require_once (ABSPATH . WPINC . '/languages/english.php'); 83 79 84 ?>
Note: See TracChangeset
for help on using the changeset viewer.