PATH:
home
/
vcomplcotr
/
www
/
wp-content
/
plugins
/
fancy-gallery
/
classes
<?php Namespace WordPress\Plugin\GalleryManager; abstract class I18n { const textdomain = 'gallery-manager'; private static $loaded = False; static function loadTextDomain(){ $locale = apply_Filters('plugin_locale', get_Locale(), static::textdomain); $language_folder = Core::$plugin_folder.'/languages'; load_TextDomain(static::textdomain, "{$language_folder}/{$locale}.mo"); load_Plugin_TextDomain(static::textdomain); static::$loaded = True; } static function getTextDomain(){ return static::textdomain; } static function t($text, $context = Null){ # Load text domain if (!static::$loaded) static::loadTextDomain(); # Translate the string $text with context $context if (empty($context)) return translate($text, static::textdomain); else return translate_With_GetText_Context($text, $context, static::textdomain); } }
[+]
..
[-] template.php
[edit]
[-] content-filter.php
[edit]
[-] thumbnails.php
[edit]
[-] scripts.php
[edit]
[-] mocking-bird.php
[edit]
[-] ajax-requests.php
[edit]
[-] wpml.php
[edit]
[-] gallery.php
[edit]
[-] post.php
[edit]
[-] lightbox.php
[edit]
[-] i18n.php
[edit]
[-] post-type.php
[edit]
[-] wp-query-extensions.php
[edit]
[-] taxonomies.php
[edit]
[-] core.php
[edit]
[-] index.html
[edit]
[-] query.php
[edit]
[-] template-tags-fallbacks.php
[edit]
[-] styles.php
[edit]
[-] shortcode-filter.php
[edit]
[-] tiny-mce-editor.php
[edit]
[-] options.php
[edit]