Вход Регистрация
Файл: system/vendor/gettext/translator/src/TranslatorInterface.php
Строк: 124
<?php
declare(strict_types 1);

namespace 
Gettext;

/**
 * Interface used by all translators.
 */
interface TranslatorInterface
{
    
/**
     * Noop, marks the string for translation but returns it unchanged.
     */
    
public function noop(string $original): string;

    
/**
     * Gets a translation using the original string.
     */
    
public function gettext(string $original): string;

    
/**
     * Gets a translation checking the plural form.
     */
    
public function ngettext(string $originalstring $pluralint $value): string;

    
/**
     * Gets a translation checking the domain and the plural form.
     */
    
public function dngettext(string $domainstring $originalstring $pluralint $value): string;

    
/**
     * Gets a translation checking the context and the plural form.
     */
    
public function npgettext(string $contextstring $originalstring $pluralint $value): string;

    
/**
     * Gets a translation checking the context.
     */
    
public function pgettext(string $contextstring $original): string;

    
/**
     * Gets a translation checking the domain.
     */
    
public function dgettext(string $domainstring $original): string;

    
/**
     * Gets a translation checking the domain and context.
     */
    
public function dpgettext(string $domainstring $contextstring $original): string;

    
/**
     * Gets a translation checking the domain, the context and the plural form.
     */
    
public function dnpgettext(string $domainstring $contextstring $originalstring $pluralint $value);
}
Онлайн: 0
Реклама