Mark dashboard feed links for translation so they can be localized. Props tai. fixes #6222
git-svn-id: http://svn.automattic.com/wordpress/trunk@7292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
370212a0a2
commit
c6ca95213b
|
@ -62,8 +62,8 @@ function wp_dashboard_setup() {
|
||||||
if ( !isset( $widget_options['dashboard_primary'] ) ) {
|
if ( !isset( $widget_options['dashboard_primary'] ) ) {
|
||||||
$update = true;
|
$update = true;
|
||||||
$widget_options['dashboard_primary'] = array(
|
$widget_options['dashboard_primary'] = array(
|
||||||
'link' => apply_filters( 'dashboard_primary_link', 'http://wordpress.org/development/' ),
|
'link' => apply_filters( 'dashboard_primary_link', __( 'http://wordpress.org/development/' ) ),
|
||||||
'url' => apply_filters( 'dashboard_primary_feed', 'http://wordpress.org/development/feed/' ),
|
'url' => apply_filters( 'dashboard_primary_feed', __( 'http://wordpress.org/development/feed/' ) ),
|
||||||
'title' => apply_filters( 'dashboard_primary_title', __( 'WordPress Development Blog' ) ),
|
'title' => apply_filters( 'dashboard_primary_title', __( 'WordPress Development Blog' ) ),
|
||||||
'items' => 2,
|
'items' => 2,
|
||||||
'show_summary' => 1,
|
'show_summary' => 1,
|
||||||
|
@ -84,8 +84,8 @@ function wp_dashboard_setup() {
|
||||||
if ( !isset( $widget_options['dashboard_secondary'] ) ) {
|
if ( !isset( $widget_options['dashboard_secondary'] ) ) {
|
||||||
$update = true;
|
$update = true;
|
||||||
$widget_options['dashboard_secondary'] = array(
|
$widget_options['dashboard_secondary'] = array(
|
||||||
'link' => apply_filters( 'dashboard_secondary_link', 'http://planet.wordpress.org/' ),
|
'link' => apply_filters( 'dashboard_secondary_link', __( 'http://planet.wordpress.org/' ) ),
|
||||||
'url' => apply_filters( 'dashboard_secondary_feed', 'http://planet.wordpress.org/feed/' ),
|
'url' => apply_filters( 'dashboard_secondary_feed', __( 'http://planet.wordpress.org/feed/' ) ),
|
||||||
'title' => apply_filters( 'dashboard_secondary_title', __( 'Other WordPress News' ) ),
|
'title' => apply_filters( 'dashboard_secondary_title', __( 'Other WordPress News' ) ),
|
||||||
'items' => 15
|
'items' => 15
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue