Make WordPress Core

Ticket #493: i18n-patch-edit-php.diff

File i18n-patch-edit-php.diff, 1.0 KB (added by nbachiyski, 20 years ago)
  • wp-admin/edit.php

    old new  
    145145      <?php comments_number(__('0'), __('1'), __('%')) ?>
    146146      </a></td>
    147147    <td><?php the_author() ?></td>
    148         <td><a href="<?php the_permalink(); ?>" rel="permalink" class="edit">View</a></td>
     148        <td><a href="<?php the_permalink(); ?>" rel="permalink" class="edit"><?php _e('View'); ?></a></td>
    149149    <td><?php if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "<a href='post.php?action=edit&amp;post=$id' class='edit'>" . __('Edit') . "</a>"; } ?></td>
    150150    <td><?php if (($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) { echo "<a href='post.php?action=delete&amp;post=$id' class='delete' onclick=\"return confirm('" . sprintf(__("You are about to delete this post \'%s\'\\n  \'OK\' to delete, \'Cancel\' to stop."), the_title('','',0)) . "')\">" . __('Delete') . "</a>"; } ?></td>
    151151  </tr>