Changeset 11506
- Timestamp:
- 06/02/2009 07:21:42 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-upgrader.php
r11499 r11506 919 919 920 920 function before() { 921 if ( !empty($this->api) ) 922 $this->upgrader->strings['process_success'] = sprintf( __('Successfully installed the theme <strong>%s %s</strong>.'), $this->api->name, $this->api->version); 921 if ( !empty($this->api) ) { 922 /* translators: 1: theme name, 2: version */ 923 $this->upgrader->strings['process_success'] = sprintf( __('Successfully installed the theme <strong>%1$s %2$s</strong>.'), $this->api->name, $this->api->version); 924 } 923 925 } 924 926 … … 943 945 944 946 if ( $this->type == 'web' ) 945 $install_actions['themes_page'] = '<a href="' . admin_url('theme-install.php') . '" title="' . esc_attr__('Return to Theme Installer') . '" target="_parent">' . __('Return to Theme Installer .') . '</a>';947 $install_actions['themes_page'] = '<a href="' . admin_url('theme-install.php') . '" title="' . esc_attr__('Return to Theme Installer') . '" target="_parent">' . __('Return to Theme Installer') . '</a>'; 946 948 else 947 949 $install_actions['themes_page'] = '<a href="' . admin_url('themes.php') . '" title="' . esc_attr__('Themes page') . '" target="_parent">' . __('Return to Themes page') . '</a>'; -
trunk/wp-includes/general-template.php
r11450 r11506 497 497 //If it's a search 498 498 if ( is_search() ) { 499 $title = sprintf(__('Search Results %s %s'), $t_sep, strip_tags($search)); 499 /* translators: 1: separator, 2: search phrase */ 500 $title = sprintf(__('Search Results %1$s %2$s'), $t_sep, strip_tags($search)); 500 501 } 501 502 … … 1454 1455 $defaults = array( 1455 1456 /* translators: Separator between blog name and feed type in feed links */ 1456 'separator' => _x('»', 'feed link'), 1457 'feedtitle' => __('%s Feed'), 1458 'comstitle' => __('%s Comments Feed'), 1457 'separator' => _x('»', 'feed link'), 1458 /* translators: 1: blog title, 2: separator (raquo) */ 1459 'feedtitle' => __('%1$s %2$s Feed'), 1460 /* translators: %s: blog title, 2: separator (raquo) */ 1461 'comstitle' => __('%1$s %2$s Comments Feed'), 1459 1462 ); 1460 1463 1461 1464 $args = wp_parse_args( $args, $defaults ); 1462 1465 1463 echo '<link rel="alternate" type="' . feed_content_type() . '" title="' . esc_attr(sprintf( $args['feedtitle'], get_bloginfo('name') )) . '" href="' . get_feed_link() . "\" />\n";1464 echo '<link rel="alternate" type="' . feed_content_type() . '" title="' . esc_attr(sprintf( $args['comstitle'], get_bloginfo('name') )) . '" href="' . get_feed_link( 'comments_' . get_default_feed() ) . "\" />\n";1466 echo '<link rel="alternate" type="' . feed_content_type() . '" title="' . esc_attr(sprintf( $args['feedtitle'], get_bloginfo('name'), $args['separator'] )) . '" href="' . get_feed_link() . "\" />\n"; 1467 echo '<link rel="alternate" type="' . feed_content_type() . '" title="' . esc_attr(sprintf( $args['comstitle'], get_bloginfo('name'), $args['separator'] )) . '" href="' . get_feed_link( 'comments_' . get_default_feed() ) . "\" />\n"; 1465 1468 } 1466 1469 -
trunk/wp-includes/pluggable.php
r11489 r11506 965 965 966 966 if ('comment' == $comment_type) { 967 /* translators: 1: post id, 2: post title */ 967 968 $notify_message = sprintf( __('New comment on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 969 /* translators: 1: comment author, 2: author IP, 3: author domain */ 968 970 $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 969 971 $notify_message .= sprintf( __('E-mail : %s'), $comment->comment_author_email ) . "\r\n"; … … 972 974 $notify_message .= __('Comment: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 973 975 $notify_message .= __('You can see all comments on this post here: ') . "\r\n"; 976 /* translators: 1: blog name, 2: post title */ 974 977 $subject = sprintf( __('[%1$s] Comment: "%2$s"'), $blogname, $post->post_title ); 975 978 } elseif ('trackback' == $comment_type) { 979 /* translators: 1: post id, 2: post title */ 976 980 $notify_message = sprintf( __('New trackback on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 981 /* translators: 1: website name, 2: author IP, 3: author domain */ 977 982 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 978 983 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 979 984 $notify_message .= __('Excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 980 985 $notify_message .= __('You can see all trackbacks on this post here: ') . "\r\n"; 986 /* translators: 1: blog name, 2: post title */ 981 987 $subject = sprintf( __('[%1$s] Trackback: "%2$s"'), $blogname, $post->post_title ); 982 988 } elseif ('pingback' == $comment_type) { 989 /* translators: 1: post id, 2: post title */ 983 990 $notify_message = sprintf( __('New pingback on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 991 /* translators: 1: comment author, 2: author IP, 3: author domain */ 984 992 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 985 993 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 986 994 $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[...] %s [...]', $comment->comment_content ) . "\r\n\r\n"; 987 995 $notify_message .= __('You can see all pingbacks on this post here: ') . "\r\n"; 996 /* translators: 1: blog name, 2: post title */ 988 997 $subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title ); 989 998 }
Note: See TracChangeset
for help on using the changeset viewer.