HEX
Server: Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 mod_fcgid/2.3.9 PHP/5.4.16
System: Linux dvm.vladweb.ru 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: region-gk.ru (1016)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: /home/region-gk.ru/data/www/region-gk.ru/wp-content/plugins/premmerce/freemius/includes/l10n.php
<?php
	/**
	 * @package     Freemius
	 * @copyright   Copyright (c) 2015, Freemius, Inc.
	 * @license     https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
	 * @since       1.2.1.6
	 */

	if ( ! defined( 'ABSPATH' ) ) {
		exit;
	}

	/**
	 * Retrieve the translation of $text.
	 *
	 * @since 1.2.1.6
	 *
	 * @param string $text
	 * 
	 * @return string
	 */
	function _fs_text( $text ) {
		// Avoid misleading Theme Check warning.
		$fn = 'translate';
		return $fn( $text, 'freemius' );
	}

	/**
	 * Retrieve translated string with gettext context.
	 *
	 * Quite a few times, there will be collisions with similar translatable text
	 * found in more than two places, but with different translated context.
	 *
	 * By including the context in the pot file, translators can translate the two
	 * strings differently.
	 *
	 * @since 1.2.1.6
	 *
	 * @param string $text
	 * @param string $context 
	 * 
	 * @return string
	 */
	function _fs_x( $text, $context ) {
		// Avoid misleading Theme Check warning.
		$fn = 'translate_with_gettext_context';
		return $fn( $text, $context, 'freemius' );
	}