Plugin Directory

Changeset 1009258


Ignore:
Timestamp:
10/17/2014 08:18:31 PM (11 years ago)
Author:
wpbizplugins
Message:

Translation fixes.

Location:
admin-branding/trunk
Files:
3 added
4 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • admin-branding/trunk/inc/redux-config.php

    r1001409 r1009258  
    111111           
    112112            //$sections = array();
    113             $sections[] = array(
    114                 'title' => __('Section via hook', 'wpbizplugins-uac'),
    115                 'desc' => __('<p class="description">This is a section created by adding a filter to the sections array. Can be used by child themes to add/remove sections from the options.</p>', 'wpbizplugins-uac'),
     113            /*$sections[] = array(
     114                'title' => ''//__('Section via hook', 'wpbizplugins-uac'),
     115                'desc' => ''//__('<p class="description">This is a section created by adding a filter to the sections array. Can be used by child themes to add/remove sections from the options.</p>', 'wpbizplugins-uac'),
    116116                'icon' => 'el-icon-paper-clip',
    117117                // Leave this as a blank section, no options just some intro text set above.
    118118                'fields' => array()
    119             );
     119            );*/
    120120
    121121            return $sections;
     
    139139         * */
    140140        function change_defaults($defaults) {
    141             $defaults['str_replace'] = 'Testing filter hook!';
     141            //$defaults['str_replace'] = 'Testing filter hook!';
    142142
    143143            return $defaults;
     
    690690                        'title'    => __('Custom JS for admin section', 'wpbizplugins-uac'),
    691691                        'subtitle' => __('Put your own custom JS/jQuery for the admin section here', 'wpbizplugins-uac'),
    692                         'desc'     => '<strong>Remember:</strong> jQuery in the WordPress admin uses no-conflict, which means you call jQuery through the variable <strong>jQuery()</strong> and <u>not</u> $().',
     692                        'desc'     => __('<strong>Remember:</strong> jQuery in the WordPress admin uses no-conflict, which means you call jQuery through the variable <strong>jQuery()</strong> and <u>not</u> $().', 'wpbizplugins-uac' ),
    693693                        'default'  => '',
    694694                        'mode'     => 'javascript',
     
    707707                        'id'            => 'opt-import-export',
    708708                        'type'          => 'import_export',
    709                         'title'         => 'Import Export',
    710                         'subtitle'      => 'Save and restore your menu options',
     709                        'title'         => __('Import Export', 'wpbizplugins-uac'),
     710                        'subtitle'      => __('Save and restore your menu options', 'wpbizplugins-uac'),
    711711                        'full_width'    => false,
    712712                    ),
     
    758758                // TYPICAL -> Change these values as you need/desire
    759759                'opt_name'          => 'wpbizplugins_uac_options',            // This is where your data is stored in the database and also becomes your global variable name.
    760                 'display_name'      => 'Admin Branding Configuration',            // Name that appears at the top of your panel
     760                'display_name'      => __('Admin Branding Configuration', 'wpbizplugins-uac'),            // Name that appears at the top of your panel
    761761                //'display_version'   => '1.0',  // Version that appears at the top of your panel
    762762                'menu_type'         => 'menu',                  //Specify if the admin menu should appear or not. Options: menu or submenu (Under appearance only)
     
    833833            $this->args['share_icons'][] = array(
    834834                'url'   => 'https://www.facebook.com/wpbizplugins',
    835                 'title' => 'Like us on Facebook',
     835                'title' => __('Like us on Facebook', 'wpbizplugins-uac'),
    836836                'icon'  => 'el-icon-facebook'
    837837            );
    838838            $this->args['share_icons'][] = array(
    839839                'url'   => 'http://twitter.com/wpbizplugins',
    840                 'title' => 'Follow us on Twitter',
     840                'title' => __('Follow us on Twitter', 'wpbizplugins-uac'),
    841841                'icon'  => 'el-icon-twitter'
    842842            );
Note: See TracChangeset for help on using the changeset viewer.