Make WordPress Core


Ignore:
Timestamp:
05/27/2010 11:52:15 AM (14 years ago)
Author:
nbachiyski
Message:

Menu translatable strings cleanup.

  • Take out <strong> of the translatable part of For more information:
  • Include support forums and Codex links inside translations, because most translators would want to change them to their local documentation sites or Codex prefixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugin-editor.php

    r14965 r14989  
    108108    }
    109109
    110     add_contextual_help($current_screen, '<p>' . __('You can use the editor to make changes to any of your plugins&#8217; individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations. ') . '</p>' .
     110    add_contextual_help($current_screen,
     111        '<p>' . __('You can use the editor to make changes to any of your plugins&#8217; individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations. ') . '</p>' .
    111112        '<p>' . __('Choose a plugin to edit from the menu in the upper right and click the Select button. Click once on any file name to load it in the editor, and make your changes. Don&#8217;t forget to save your changes (Update File) when you&#8217;re finished.') . '</p>' .
    112113        '<p>' . __('The Documentation menu below the editor lists the PHP functions recognized in the plugin file. Clicking Lookup takes you to a web page about that particular function. ') . '</p>' .
    113114        '<p>' . __('If you want to make changes but don&#8217;t want them to be overwritten when the plugin is updated, you may be ready to think about writing your own plugin. For information on how to edit a plugin or start from scratch, check out the links below.') . '</p>' .
    114         '<p>' . __('<strong>For more information:</strong>') . '</p>' .
    115         '<p>' . sprintf(__('<a href="%s">Documentation on Editing Plugins</a>'), 'http://codex.wordpress.org/Plugins_Editor_SubPanel') . '</p>' .
    116         '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'
     115        '<p><strong>' . __('For more information:') . '</strong></p>' .
     116        '<p>' . __('<a href="http://codex.wordpress.org/Plugins_Editor_SubPanel">Documentation on Editing Plugins</a>') . '</p>' .
     117        '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>'
    117118    );
    118119
     
    128129        if ( !empty($functions) ) {
    129130            $docs_select = '<select name="docs-list" id="docs-list">';
    130             $docs_select .= '<option value="">' . __( 'Function Name...' ) . '</option>';
     131            $docs_select .= '<option value="">' . __( 'Function Name&hellip;' ) . '</option>';
    131132            foreach ( $functions as $function) {
    132                 $docs_select .= '<option value="' . esc_attr( $function ) . '">' . htmlspecialchars( $function ) . '()</option>';
     133                $docs_select .= '<option value="' . esc_attr( $function ) . '">' . esc_html( $function ) . '()</option>';
    133134            }
    134135            $docs_select .= '</select>';
Note: See TracChangeset for help on using the changeset viewer.