mirror of
https://gh.llkk.cc/https://github.com/CaptainCore/captaincore-manager.git
synced 2025-10-03 14:04:44 +08:00
47 lines
881 B
PHP
Executable file
47 lines
881 B
PHP
Executable file
<?php
|
|
|
|
/**
|
|
* Define the internationalization functionality
|
|
*
|
|
* Loads and defines the internationalization files for this plugin
|
|
* so that it is ready for translation.
|
|
*
|
|
* @link https://captaincore.io
|
|
* @since 0.1.0
|
|
*
|
|
* @package Captaincore
|
|
* @subpackage Captaincore/includes
|
|
*/
|
|
|
|
/**
|
|
* Define the internationalization functionality.
|
|
*
|
|
* Loads and defines the internationalization files for this plugin
|
|
* so that it is ready for translation.
|
|
*
|
|
* @since 0.1.0
|
|
* @package Captaincore
|
|
* @subpackage Captaincore/includes
|
|
* @author Austin Ginder
|
|
*/
|
|
class Captaincore_i18n {
|
|
|
|
|
|
/**
|
|
* Load the plugin text domain for translation.
|
|
*
|
|
* @since 0.1.0
|
|
*/
|
|
public function load_plugin_textdomain() {
|
|
|
|
load_plugin_textdomain(
|
|
'captaincore',
|
|
false,
|
|
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|