Plugin Directory

Changeset 1256598


Ignore:
Timestamp:
09/30/2015 01:22:16 PM (10 years ago)
Author:
tinkerpriest
Message:

Add Logo to Admin: Updated language file

  • Change text domain to add-logo-to-admin
  • Updated all language files
Location:
add-logo-to-admin/trunk
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • add-logo-to-admin/trunk/add-logo-to-admin.php

    r1223802 r1256598  
    77Version: 1.6.1
    88Author URI: http://bavotasan.com
    9 Text Domain: add-logo
     9Text Domain: add-logo-to-admin
    1010Domain Path: /languages
    1111License: GPL2
     
    5656            register_setting( 'wp_add_logo_to_admin', 'wp_add_logo_to_admin', array( $this, 'wp_add_logo_to_admin_validation' ) );
    5757
    58             load_plugin_textdomain( 'add-logo', null, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
     58            load_plugin_textdomain( 'add-logo-to-admin', null, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    5959        }
    6060
     
    7373
    7474        public function admin_menu() {
    75             add_options_page( __( 'Add Logo to Admin', 'add-logo' ), __( 'Add Logo to Admin', 'add-logo' ), 'manage_options', __FILE__, array( $this, 'add_logo_options_page' ) );
     75            add_options_page( __( 'Add Logo to Admin', 'add-logo-to-admin' ), __( 'Add Logo to Admin', 'add-logo-to-admin' ), 'manage_options', __FILE__, array( $this, 'add_logo_options_page' ) );
    7676        }
    7777
     
    128128        public function add_logo_options_page() {
    129129            if ( ! current_user_can( 'manage_options' ) )
    130                 wp_die( __( 'You do not have sufficient permissions to access this page.', 'add-logo' ) );
     130                wp_die( __( 'You do not have sufficient permissions to access this page.', 'add-logo-to-admin' ) );
    131131
    132132            $plugin_options = get_option( 'wp_add_logo_to_admin' );
     
    135135            ?>
    136136            <div class="wrap">
    137                 <h2><?php _e( 'Add Logo to Admin', 'add-logo' ); ?></h2>
     137                <h2><?php _e( 'Add Logo to Admin', 'add-logo-to-admin' ); ?></h2>
    138138                <!-- Add Logo to Admin box begin-->
    139139                <form method="post" action="options.php">
     
    142142                    <table id="add-logo-table" class="form-table">
    143143                        <tr valign="top">
    144                             <th scope="row"><?php _e( 'Logo Options', 'add-logo' ); ?></th>
     144                            <th scope="row"><?php _e( 'Logo Options', 'add-logo-to-admin' ); ?></th>
    145145                            <td>
    146146                                <fieldset>
    147147                                    <label for="add-logo-on-login">
    148148                                    <input name="wp_add_logo_to_admin[login]" id="add-logo-on-login" type="checkbox" <?php checked( esc_attr( $plugin_options['login'] ), 'on' ); ?>>
    149                                     <?php _e( 'Display logo on the login page', 'add-logo' ); ?></label>
     149                                    <?php _e( 'Display logo on the login page', 'add-logo-to-admin' ); ?></label>
    150150                                    <br />
    151151                                    <label for="add-logo-on-admin">
    152152                                    <input name="wp_add_logo_to_admin[admin]" id="add-logo-on-admin" type="checkbox" <?php checked( esc_attr( $plugin_options['admin'] ), 'on' ); ?>>
    153                                     <?php _e( 'Display logo on all admin pages', 'add-logo' ); ?></label>
     153                                    <?php _e( 'Display logo on all admin pages', 'add-logo-to-admin' ); ?></label>
    154154                                </fieldset>
    155155                            </td>
    156156                        </tr>
    157157                        <tr valign="top">
    158                             <th scope="row"><?php _e( 'Upload Logo', 'add-logo' ); ?></th>
     158                            <th scope="row"><?php _e( 'Upload Logo', 'add-logo-to-admin' ); ?></th>
    159159                            <td>
    160160                                <input type="hidden" id="add-logo-image" name="wp_add_logo_to_admin[image]" value="<?php echo esc_url( $plugin_options['image'] ); ?>" />
    161161                                <div id="add-logo-image-container"><?php echo $image; ?></div>
    162                                 <a href="#" class="select-image"><?php _e( 'Select image', 'add-logo' ); ?></a>&nbsp;&nbsp;&nbsp;<a href="#" class="delete-image" <?php echo $display; ?>><?php _e( 'Delete image', 'add-logo' ); ?></a>
     162                                <a href="#" class="select-image"><?php _e( 'Select image', 'add-logo-to-admin' ); ?></a>&nbsp;&nbsp;&nbsp;<a href="#" class="delete-image" <?php echo $display; ?>><?php _e( 'Delete image', 'add-logo-to-admin' ); ?></a>
    163163                                <br />
    164                                 <p class="description"><?php _e( 'Your logo should be no larger than 320px by 80px or else it will be resized on the login screen.', 'add-logo' ); ?></p>
     164                                <p class="description"><?php _e( 'Your logo should be no larger than 320px by 80px or else it will be resized on the login screen.', 'add-logo-to-admin' ); ?></p>
    165165                            </td>
    166166                        </tr>
     
    246246    if ( isset( $wp_add_logo_to_admin ) ) {
    247247        function add_logo_plugin_settings_link( $links ) {
    248             $settings_link = '<a href="options-general.php?page=add-logo-to-admin/add-logo-to-admin.php">' . __( 'Settings', 'add-logo' ) . '</a>';
     248            $settings_link = '<a href="options-general.php?page=add-logo-to-admin/add-logo-to-admin.php">' . __( 'Settings', 'add-logo-to-admin' ) . '</a>';
    249249            array_unshift( $links, $settings_link );
    250250            return $links;
Note: See TracChangeset for help on using the changeset viewer.