From 6a09e7a39c709e17e9a6680698399c7073839763 Mon Sep 17 00:00:00 2001 From: Andriy Chaika Date: Wed, 27 Jul 2011 15:08:09 +0300 Subject: [PATCH] =?UTF-8?q?[0.4.1]=20/RU11072716/=20=D1=80=D0=B0=D1=81?= =?UTF-8?q?=D0=BF=D0=BE=D0=B7=D0=BD=D0=B0=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=B8=D0=BC=D0=B5=D0=BD=D0=B8,=20=D1=84=D0=B0=D0=BC=D0=B8?= =?UTF-8?q?=D0=BB=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/NCLNameCaseRu.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/NCLNameCaseRu.php b/Library/NCLNameCaseRu.php index e000b8d..abd4522 100644 --- a/Library/NCLNameCaseRu.php +++ b/Library/NCLNameCaseRu.php @@ -27,7 +27,7 @@ class NCLNameCaseRu extends NCLNameCaseCore * Версия языкового файла * @var string */ - protected $languageBuild = '11072715'; + protected $languageBuild = '11072716'; /** * Количество падежей в языке * @var int @@ -280,7 +280,7 @@ class NCLNameCaseRu extends NCLNameCaseCore $this->Rule(604); return true; } - elseif ($this->in($this->Last(1), 'цсршм')) + elseif ($this->in($this->Last(1), 'цсршмх')) { $this->wordForms($this->workingWord, array('а', 'у', 'а', 'ом', 'е')); $this->Rule(602); @@ -746,7 +746,7 @@ class NCLNameCaseRu extends NCLNameCaseCore /** * Слова, которые заканчиваются на тин */ - if($this->Last(3) == 'тин' and $this->Last(4, 1) == 'нст') + if($this->Last(3) == 'тин' and $this->in($this->Last(4, 1), 'нст')) { $first += 0.5; }