PluginProbe
HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce / 2.1.5
HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce v2.1.5
2.15.0 trunk 1.0.0 1.0.1 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.1.2 2.1.3 2.1.5 2.1.6 2.1.7 2.1.8 2.10.0 All 62 releases
hurrytimer / includes / I18n.php

I18n.php in HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce 2.1.5, at includes/I18n.php

47 lines 962 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Hurrytimer;
3 /**
4 * Define the internationalization functionality
5 *
6 * Loads and defines the internationalization files for this plugin
7 * so that it is ready for translation.
8 *
9 * @link http://nabillemsieh.com
10 * @since 1.0.0
11 *
12 * @package Hurrytimer
13 * @subpackage Hurrytimer/includes
14 */
15 define( __NAMESPACE__ . '\DOMAIN', 'hurrytimer' );
16
17 /**
18 * Define the internationalization functionality.
19 *
20 * Loads and defines the internationalization files for this plugin
21 * so that it is ready for translation.
22 *
23 * @since 1.0.0
24 * @package Hurrytimer
25 * @subpackage Hurrytimer/includes
26 * @author Nabil Lemsieh <contact@nabillemsieh.com>
27 */
28 class I18n {
29
30 /**
31 * Load the plugin text domain for translation.
32 *
33 * @since 1.0.0
34 */
35 public function load_plugin_textdomain() {
36
37 load_plugin_textdomain(
38 "hurrytimer",
39 false,
40 dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
41 );
42
43 }
44
45
46 }
47