WordPress.org

Make WordPress Core

Changeset 14322


Ignore:
Timestamp:
04/30/2010 10:34:41 PM (8 years ago)
Author:
nacin
Message:

Translate name of sidebars in twentyten. props zeo, fixes #13189.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/functions.php

    r14227 r14322  
    366366    // Area 1
    367367    register_sidebar( array (
    368         'name' => 'Primary Widget Area',
     368        'name' => __( 'Primary Widget Area' , 'twentyten' ),
    369369        'id' => 'primary-widget-area',
    370370        'description' => __( 'The primary widget area' , 'twentyten' ),
     
    377377    // Area 2
    378378    register_sidebar( array (
    379         'name' => 'Secondary Widget Area',
     379        'name' => __( 'Secondary Widget Area' , 'twentyten' ),
    380380        'id' => 'secondary-widget-area',
    381381        'description' => __( 'The secondary widget area' , 'twentyten' ),
     
    388388    // Area 3
    389389    register_sidebar( array (
    390         'name' => 'First Footer Widget Area',
     390        'name' => __( 'First Footer Widget Area' , 'twentyten' ),
    391391        'id' => 'first-footer-widget-area',
    392392        'description' => __( 'The first footer widget area' , 'twentyten' ),
     
    399399    // Area 4
    400400    register_sidebar( array (
    401         'name' => 'Second Footer Widget Area',
     401        'name' => __( 'Second Footer Widget Area' , 'twentyten' ),
    402402        'id' => 'second-footer-widget-area',
    403403        'description' => __( 'The second footer widget area' , 'twentyten' ),
     
    410410    // Area 5
    411411    register_sidebar( array (
    412         'name' => 'Third Footer Widget Area',
     412        'name' => __( 'Third Footer Widget Area' , 'twentyten' ),
    413413        'id' => 'third-footer-widget-area',
    414414        'description' => __( 'The third footer widget area' , 'twentyten' ),
     
    421421    // Area 6
    422422    register_sidebar( array (
    423         'name' => 'Fourth Footer Widget Area',
     423        'name' => __( 'Fourth Footer Widget Area' , 'twentyten' ),
    424424        'id' => 'fourth-footer-widget-area',
    425425        'description' => __( 'The fourth footer widget area' , 'twentyten' ),
Note: See TracChangeset for help on using the changeset viewer.