Make WordPress Core

Ticket #489: i18n-patch-menu-php.diff

File i18n-patch-menu-php.diff, 819 bytes (added by nbachiyski, 21 years ago)
  • wp-admin/menu.php

    old new  
    1515$menu[45] = array(__('Upload'), get_settings('fileupload_minlevel'), 'upload.php');
    1616ksort($menu); // So other files can plugin
    1717
    18 $submenu['post.php'][5] = array('Write Post', 1, 'post.php');
    19 $submenu['post.php'][10] = array('Write Page', 5, 'page-new.php');
     18$submenu['post.php'][5] = array(__('Write Post'), 1, 'post.php');
     19$submenu['post.php'][10] = array(__('Write Page'), 5, 'page-new.php');
    2020
    2121$submenu['edit.php'][5] = array(__('Posts'), 1, 'edit.php');
    2222$submenu['edit.php'][10] = array(__('Pages'), 5, 'edit-pages.php');
     
    5353        die( __('You have do not have sufficient permissions to access this page.') );
    5454}
    5555
    56 ?>
    57  No newline at end of file
     56?>