trunk/includes/class-wordpress-security-txt-i18n.php
<?php
/**
* Define the internationalization functionality
*
* Loads and defines the internationalization files for this plugin
* so that it is ready for translation.
*
* @link https://github.com/austinheap/wordpress-security-txt
* @since 1.0.0
*
* @package WordPress_Security_Txt
* @subpackage WordPress_Security_Txt/includes
*/
/**
* Define the internationalization functionality.
*
* Loads and defines the internationalization files for this plugin
* so that it is ready for translation.
*
* @since 1.0.0
* @package WordPress_Security_Txt
* @subpackage WordPress_Security_Txt/includes
* @author Austin Heap <me@austinheap.com>
*/
class WordPress_Security_Txt_i18n
{
/**
* Load the plugin text domain for translation.
*
* @since 1.0.0
*/
public function load_plugin_textdomain()
{
load_plugin_textdomain(
'wordpress-security-txt',
false,
dirname(dirname(plugin_basename(__FILE__))) . '/languages/'
);
}
}