|
1
|
|
|
<?php |
|
2
|
|
|
/** |
|
3
|
|
|
* XCloner - Backup and Restore backup plugin for Wordpress |
|
4
|
|
|
* |
|
5
|
|
|
* class-xcloner-i18n.php |
|
6
|
|
|
* @author Liuta Ovidiu <[email protected]> |
|
7
|
|
|
* |
|
8
|
|
|
* This program is free software; you can redistribute it and/or modify |
|
9
|
|
|
* it under the terms of the GNU General Public License as published by |
|
10
|
|
|
* the Free Software Foundation; either version 2 of the License, or |
|
11
|
|
|
* (at your option) any later version. |
|
12
|
|
|
* |
|
13
|
|
|
* This program is distributed in the hope that it will be useful, |
|
14
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16
|
|
|
* GNU General Public License for more details. |
|
17
|
|
|
* |
|
18
|
|
|
* You should have received a copy of the GNU General Public License |
|
19
|
|
|
* along with this program; if not, write to the Free Software |
|
20
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
21
|
|
|
* MA 02110-1301, USA. |
|
22
|
|
|
* |
|
23
|
|
|
* @link https://github.com/ovidiul/XCloner-Wordpress |
|
24
|
|
|
* |
|
25
|
|
|
* @modified 7/25/18 1:46 PM |
|
26
|
|
|
* |
|
27
|
|
|
*/ |
|
28
|
|
|
|
|
29
|
|
|
|
|
30
|
|
|
/** |
|
31
|
|
|
* Define the internationalization functionality. |
|
32
|
|
|
* |
|
33
|
|
|
* Loads and defines the internationalization files for this plugin |
|
34
|
|
|
* so that it is ready for translation. |
|
35
|
|
|
* |
|
36
|
|
|
* @since 1.0.0 |
|
37
|
|
|
* @package Xcloner |
|
38
|
|
|
* @subpackage Xcloner/includes |
|
39
|
|
|
* @author Liuta Ovidiu <[email protected]> |
|
40
|
|
|
*/ |
|
41
|
|
|
class Xcloner_i18n |
|
42
|
|
|
{ |
|
43
|
|
|
|
|
44
|
|
|
/** |
|
45
|
|
|
* Load the plugin text domain for translation. |
|
46
|
|
|
* |
|
47
|
|
|
* @since 1.0.0 |
|
48
|
|
|
*/ |
|
49
|
|
|
public function load_plugin_textdomain() |
|
50
|
|
|
{ |
|
51
|
|
|
|
|
52
|
|
|
load_plugin_textdomain( |
|
53
|
|
|
'xcloner-backup-and-restore', |
|
54
|
|
|
false, |
|
|
|
|
|
|
55
|
|
|
dirname(dirname(plugin_basename(__FILE__))).'/languages/' |
|
56
|
|
|
); |
|
57
|
|
|
|
|
58
|
|
|
} |
|
59
|
|
|
|
|
60
|
|
|
|
|
61
|
|
|
} |
|
62
|
|
|
|