Файл: concrete5.7.5.6/concrete/vendor/gettext/gettext/src/Translation.php
Строк: 624
<?php
namespace Gettext;
/**
* Class to manage a translation string
*/
class Translation
{
protected $context;
protected $original;
protected $translation = '';
protected $plural;
protected $pluralTranslation = array();
protected $references = array();
protected $comments = array();
protected $extractedComments = array();
protected $flags = array();
protected $translationCount;
/**
* Generates the id of a translation (context + glue + original)
*
* @param string $context
* @param string $original
*
* @return string
*/
public static function generateId($context, $original)
{
return "{$context}