Make WordPress Core

Changeset 2432


Ignore:
Timestamp:
03/11/2005 03:41:04 AM (21 years ago)
Author:
ryan
Message:

Mark strings for translation. http://mosquito.wordpress.org/view.php?id=1033 Hat tip: slebog

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r2429 r2432  
    975975        $plugin = $name;
    976976        if ('' != $plugin_uri[1] && '' != $name) {
    977                 $plugin = __("<a href='{$plugin_uri[1]}' title='Visit plugin homepage'>{$plugin}</a>");
     977                $plugin = '<a href="' . $plugin_uri[1] . '" title="' . __('Visit plugin homepage') . '">' . $plugin . '</a>';
    978978        }
    979979
     
    981981                $author = $author_name[1];
    982982        } else {
    983                 $author = __("<a href='{$author_uri[1]}' title='Visit author homepage'>{$author_name[1]}</a>");
     983                $author = '<a href="' . $author_uri[1] . '" title="' . __('Visit author homepage') . '">' . $author_name[1] . '</a>';
    984984        }
    985985
  • trunk/wp-admin/link-categories.php

    r2377 r2432  
    339339                <td><?php echo wp_specialchars($row->cat_name)?></td>
    340340                                <td ><?php echo $row->cat_id?></td>
    341                 <td><?php echo $row->auto_toggle == 'Y' ? __('Y') : __('N') ?></td>
    342                 <td><?php echo $row->show_images == 'Y' ? __('Y') : __('N') ?></td>
    343                 <td><?php echo $row->show_description == 'Y' ? __('Y') : __('N') ?></td>
    344                 <td><?php echo $row->show_rating == 'Y' ? __('Y') : __('N') ?></td>
    345                 <td><?php echo $row->show_updated == 'Y' ? __('Y') : __('N') ?></td>
     341                <td><?php echo $row->auto_toggle == 'Y' ? __('Yes') : __('No') ?></td>
     342                <td><?php echo $row->show_images == 'Y' ? __('Yes') : __('No') ?></td>
     343                <td><?php echo $row->show_description == 'Y' ? __('Yes') : __('No') ?></td>
     344                <td><?php echo $row->show_rating == 'Y' ? __('Yes') : __('No') ?></td>
     345                <td><?php echo $row->show_updated == 'Y' ? __('Yes') : __('No') ?></td>
    346346                <td><?php echo $row->sort_order ?></td>
    347                 <td><?php echo $row->sort_desc == 'Y' ? __('Y') : __('N') ?></td>
     347                <td><?php echo $row->sort_desc == 'Y' ? __('Yes') : __('No') ?></td>
    348348                <td nowrap="nowrap"><?php echo htmlentities($row->text_before_link)?>&nbsp;</td>
    349349                <td nowrap="nowrap"><?php echo htmlentities($row->text_after_link)?>&nbsp;</td>
  • trunk/wp-includes/functions.php

    r2430 r2432  
    13981398        $theme = $name;
    13991399        if ('' != $theme_uri[1] && '' != $name) {
    1400                 $theme = __("<a href='{$theme_uri[1]}' title='Visit theme homepage'>{$theme}</a>");
     1400                $theme = '<a href="' . $theme_uri[1] . '" title="' . __('Visit theme homepage') . '">' . $theme . '</a>';
    14011401        }
    14021402
     
    14041404                $author = $author_name[1];
    14051405        } else {
    1406                 $author = __("<a href='{$author_uri[1]}' title='Visit author homepage'>{$author_name[1]}</a>");
     1406                $author = '<a href="' . $author_uri[1] . '" title="' . __('Visit author homepage') . '">' . $author_name[1] . '</a>';
    14071407        }
    14081408
Note: See TracChangeset for help on using the changeset viewer.