changed text domain
This commit is contained in:
parent
e5a6fb449e
commit
e651709bf2
|
@ -1,25 +1,17 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* Load translation, if it exists
|
|
||||||
*
|
|
||||||
* @link https://hangar.org
|
|
||||||
* @since 1.0.0
|
|
||||||
* @package hangar-wp-plugin
|
|
||||||
* @subpackage hangar-wp-plugin/includes
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load translation, if it exists
|
* Load translation, if it exists
|
||||||
*
|
*
|
||||||
* This class defines all code necessary to run during the plugin's activation.
|
* This class defines all code necessary to run during the plugin's activation.
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @link https://hangar.org
|
||||||
* @package hangar-wp-plugin
|
* @since 1.0.0
|
||||||
* @subpackage hangar-wp-plugin/includes
|
* @package hangar-wp-plugin
|
||||||
* @author Jorge - vitrubio.net <jorge@vitrubio.net>
|
* @subpackage hangar-wp-plugin/includes
|
||||||
|
* @author Jorge - vitrubio.net <jorge@vitrubio.net>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function hangar_init_textdomain() {
|
function hangar_wpplugin_init_textdomain() {
|
||||||
load_plugin_textdomain( 'hangar-wpplugin', null, plugin_dir_path( __FILE__ ).'/assets/languages/' );
|
load_plugin_textdomain( 'hangar-wpplugin-textdomain', null, plugin_dir_path( __FILE__ ).'/assets/languages/' );
|
||||||
}
|
}
|
||||||
add_action('plugins_loaded', 'hangar_init_textdomain');
|
add_action('plugins_loaded', 'hangar_wpplugin_init_textdomain');
|
||||||
|
|
Loading…
Reference in New Issue