Plugin Directory

Changeset 2269158


Ignore:
Timestamp:
03/27/2020 02:29:58 PM (6 years ago)
Author:
sadegh3333
Message:

add languages support

Location:
counter-wpmenir
Files:
1 edited
6 copied

Legend:

Unmodified
Added
Removed
  • counter-wpmenir/tags/3.2.1.3/cw.init.php

    r2269152 r2269158  
    55Description: Need a counter for your stuff. this is what exactly you want.
    66Author: Sadegh Mahdilou
    7 Version: 3.2.1.2
     7Version: 3.2.1.3
    88ChannelVersion: Developmnet
    99copyright: 2015 - 2020
     
    3737  load_plugin_textdomain( 'counter-wpmenir', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    3838}
     39
     40// i18n plugin domain
     41define('COUNTER_WORDPRESS_I18N_DOMAIN', 'Counter-WordPress');
     42
     43/* Initialise the internationalisation domain */
     44load_plugin_textdomain(COUNTER_WORDPRESS_I18N_DOMAIN,'wp-content/plugins/duplicate-post/languages','counter-wpmenir/languages');
     45
     46
    3947// Include the core of plugin
    4048include('class/cw.core.php');
  • counter-wpmenir/trunk/cw.init.php

    r2269152 r2269158  
    55Description: Need a counter for your stuff. this is what exactly you want.
    66Author: Sadegh Mahdilou
    7 Version: 3.2.1.2
     7Version: 3.2.1.3
    88ChannelVersion: Developmnet
    99copyright: 2015 - 2020
     
    3737  load_plugin_textdomain( 'counter-wpmenir', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    3838}
     39
     40// i18n plugin domain
     41define('COUNTER_WORDPRESS_I18N_DOMAIN', 'Counter-WordPress');
     42
     43/* Initialise the internationalisation domain */
     44load_plugin_textdomain(COUNTER_WORDPRESS_I18N_DOMAIN,'wp-content/plugins/duplicate-post/languages','counter-wpmenir/languages');
     45
     46
    3947// Include the core of plugin
    4048include('class/cw.core.php');
Note: See TracChangeset for help on using the changeset viewer.