WordPress.org

Plugin Directory

Changeset 1553521


Ignore:
Timestamp:
12/13/16 10:16:46 (10 months ago)
Author:
ThemeZee
Message:

Fixed wrong text domain

Location:
custom-archive-titles
Files:
8 added
5 edited

Legend:

Unmodified
Added
Removed
  • custom-archive-titles/trunk/custom-archive-titles.php

    r1553507 r1553521  
    66Author: ThemeZee 
    77Author URI: https://themezee.com/ 
    8 Version: 1.0 
    9 Text Domain: themezee-custom-archive-titles 
     8Version: 1.0.1 
     9Text Domain: custom-archive-titles 
    1010Domain Path: /languages/ 
    1111License: GPL v3 
     
    6262 
    6363        // Define Plugin Name. 
    64         define( 'TZCAT_NAME', 'ThemeZee Custom Archive Titles' ); 
     64        define( 'TZCAT_NAME', 'Custom Archive Titles' ); 
    6565 
    6666        // Define Version Number. 
    67         define( 'TZCAT_VERSION', '1.0' ); 
     67        define( 'TZCAT_VERSION', '1.0.1' ); 
    6868 
    6969        // Plugin Folder Path. 
     
    8585    static function translation() { 
    8686 
    87         load_plugin_textdomain( 'themezee-custom-archive-titles', false, dirname( plugin_basename( TZCAT_PLUGIN_FILE ) ) . '/languages/' ); 
     87        load_plugin_textdomain( 'custom-archive-titles', false, dirname( plugin_basename( TZCAT_PLUGIN_FILE ) ) . '/languages/' ); 
    8888 
    8989    } 
     
    166166    static function plugin_action_links( $actions ) { 
    167167 
    168         $settings_link = array( 'settings' => sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php?page=themezee-custom-archive-titles' ), __( 'Settings', 'themezee-custom-archive-titles' ) ) ); 
     168        $settings_link = array( 'settings' => sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php?page=themezee-custom-archive-titles' ), __( 'Settings', 'custom-archive-titles' ) ) ); 
    169169 
    170170        return array_merge( $settings_link, $actions ); 
  • custom-archive-titles/trunk/includes/class-tzcat-settings-page.php

    r1553507 r1553521  
    3636 
    3737        add_options_page( 
    38             esc_html__( 'Custom Archive Titles', 'themezee-custom-archive-titles' ), 
    39             esc_html__( 'Custom Archive Titles', 'themezee-custom-archive-titles' ), 
     38            esc_html__( 'Custom Archive Titles', 'custom-archive-titles' ), 
     39            esc_html__( 'Custom Archive Titles', 'custom-archive-titles' ), 
    4040            'manage_options', 
    4141            'themezee-custom-archive-titles', 
     
    5757        <div id="tzcat-settings" class="tzcat-settings-wrap wrap"> 
    5858 
    59             <h1><?php esc_html_e( 'Custom Archive Titles', 'themezee-custom-archive-titles' ); ?></h1> 
     59            <h1><?php esc_html_e( 'Custom Archive Titles', 'custom-archive-titles' ); ?></h1> 
    6060 
    6161            <form class="tzcat-settings-form" method="post" action="options.php"> 
  • custom-archive-titles/trunk/includes/class-tzcat-settings.php

    r1553507 r1553521  
    107107 
    108108        // Add Sections. 
    109         add_settings_section( 'tzcat_settings_general', esc_html__( 'Archive Titles', 'themezee-custom-archive-titles' ), '__return_false', 'tzcat_settings' ); 
     109        add_settings_section( 'tzcat_settings_general', esc_html__( 'Archive Titles', 'custom-archive-titles' ), '__return_false', 'tzcat_settings' ); 
    110110 
    111111        // Add Settings. 
     
    222222        $settings = array( 
    223223            'category_title' => array( 
    224                 'name' => esc_html__( 'Category Archives', 'themezee-custom-archive-titles' ), 
    225                 'desc' => esc_html__( 'Enter the title which is displayed on category archives. %s will be replaced with the category name.', 'themezee-custom-archive-titles' ), 
     224                'name' => esc_html__( 'Category Archives', 'custom-archive-titles' ), 
     225                'desc' => esc_html__( 'Enter the title which is displayed on category archives. %s will be replaced with the category name.', 'custom-archive-titles' ), 
    226226                'section' => 'general', 
    227227                'type' => 'text', 
     
    230230            ), 
    231231            'tag_title' => array( 
    232                 'name' => esc_html__( 'Tag Archives', 'themezee-custom-archive-titles' ), 
    233                 'desc' => esc_html__( 'Enter the title which is displayed on tag archives. %s will be replaced with the tag name.', 'themezee-custom-archive-titles' ), 
     232                'name' => esc_html__( 'Tag Archives', 'custom-archive-titles' ), 
     233                'desc' => esc_html__( 'Enter the title which is displayed on tag archives. %s will be replaced with the tag name.', 'custom-archive-titles' ), 
    234234                'section' => 'general', 
    235235                'type' => 'text', 
     
    238238            ), 
    239239            'author_title' => array( 
    240                 'name' => esc_html__( 'Author Archives', 'themezee-custom-archive-titles' ), 
    241                 'desc' => esc_html__( 'Enter the title which is displayed on author archives. %s will be replaced with the author name.', 'themezee-custom-archive-titles' ), 
     240                'name' => esc_html__( 'Author Archives', 'custom-archive-titles' ), 
     241                'desc' => esc_html__( 'Enter the title which is displayed on author archives. %s will be replaced with the author name.', 'custom-archive-titles' ), 
    242242                'section' => 'general', 
    243243                'type' => 'text', 
     
    246246            ), 
    247247            'month_title' => array( 
    248                 'name' => esc_html__( 'Monthly Archives', 'themezee-custom-archive-titles' ), 
    249                 'desc' => esc_html__( 'Enter the title which is displayed on monthly archives. %s will be replaced with the name of the month.', 'themezee-custom-archive-titles' ), 
     248                'name' => esc_html__( 'Monthly Archives', 'custom-archive-titles' ), 
     249                'desc' => esc_html__( 'Enter the title which is displayed on monthly archives. %s will be replaced with the name of the month.', 'custom-archive-titles' ), 
    250250                'section' => 'general', 
    251251                'type' => 'text', 
     
    254254            ), 
    255255            'reset' => array( 
    256                 'name' => esc_html__( 'Reset to default values', 'themezee-custom-archive-titles' ), 
     256                'name' => esc_html__( 'Reset to default values', 'custom-archive-titles' ), 
    257257                'section' => 'general', 
    258258                'type' => 'reset', 
     
    376376    function reset_callback( $args ) { 
    377377 
    378         $html = '<input type="submit" class="button" name="tzcat_reset_defaults" value="' . esc_attr__( 'Reset', 'themezee-custom-archive-titles' ) . '"/>'; 
     378        $html = '<input type="submit" class="button" name="tzcat_reset_defaults" value="' . esc_attr__( 'Reset', 'custom-archive-titles' ) . '"/>'; 
    379379        $html .= '<p class="description">' . $args['desc'] . '</p>'; 
    380380 
     
    391391     */ 
    392392    function missing_callback( $args ) { 
    393         printf( __( 'The callback function used for the <strong>%s</strong> setting is missing.', 'themezee-custom-archive-titles' ), $args['id'] ); 
     393        printf( __( 'The callback function used for the <strong>%s</strong> setting is missing.', 'custom-archive-titles' ), $args['id'] ); 
    394394    } 
    395395} 
  • custom-archive-titles/trunk/languages/custom-archive-titles.pot

    r1553511 r1553521  
    22msgid "" 
    33msgstr "" 
    4 "Project-Id-Version: ThemeZee Custom Archive Titles\n" 
     4"Project-Id-Version: Custom Archive Titles\n" 
    55"Report-Msgid-Bugs-To: https://themezee.com/\n" 
    6 "POT-Creation-Date: 2016-12-13 11:01+0100\n" 
     6"POT-Creation-Date: 2016-12-13 11:15+0100\n" 
    77"PO-Revision-Date: 2015-12-29 14:54+0100\n" 
    88"Last-Translator: \n" 
  • custom-archive-titles/trunk/readme.txt

    r1553507 r1553521  
    66Requires at least: 4.4 
    77Tested up to: 4.7 
    8 Stable tag: 1.0 
     8Stable tag: 1.0.1 
    99License: GPLv2 or later 
    1010 
     
    4343== Changelog == 
    4444 
     45= 1.0.1 = 
     46 
     47* Fixed wrong text domain 
     48 
    4549= 1.0 = 
    4650 
Note: See TracChangeset for help on using the changeset viewer.