From 0ac85f75c73743ff9400536fa6d091fc6c455128 Mon Sep 17 00:00:00 2001 From: Andriy Chaika Date: Tue, 12 Jul 2011 20:42:10 +0300 Subject: [PATCH] =?UTF-8?q?[0.4.1]=20/UA11071221/=20=D0=98=D1=81=D0=BF?= =?UTF-8?q?=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=B8=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/NCL.NameCase.ua.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/NCL.NameCase.ua.php b/Library/NCL.NameCase.ua.php index 13184c9..b0c79e0 100644 --- a/Library/NCL.NameCase.ua.php +++ b/Library/NCL.NameCase.ua.php @@ -27,7 +27,7 @@ class NCLNameCaseUa extends NCLNameCaseCore * Версия языкового файла * @var string */ - protected $languageBuild = '11071220'; + protected $languageBuild = '11071221'; /** * Количество падежей в языке * @var int @@ -288,7 +288,7 @@ class NCLNameCaseUa extends NCLNameCaseCore //називному відмінку, у непрямих - о: Антона, Антонові //Чергування і -» о всередині $osLast = NCLStr::substr($osnova, -1, 1); - if ($osLast != 'й' and NCLStr::substr($osnova, -2, 1) == 'і' and !$this->in(NCLStr::substr(NCLStr::strtolower($osnova), -4, 4), array('світ', 'цвіт')) and !$this->inNames($this->workingWord, 'Гліб') and !$this->in($this->Last(2), array('ік'))) + if ($osLast != 'й' and NCLStr::substr($osnova, -2, 1) == 'і' and !$this->in(NCLStr::substr(NCLStr::strtolower($osnova), -4, 4), array('світ', 'цвіт')) and !$this->inNames($this->workingWord, 'Гліб') and !$this->in($this->Last(2), array('ік', 'іч'))) { $osnova = NCLStr::substr($osnova, 0, NCLStr::strlen($osnova) - 2) . 'о' . NCLStr::substr($osnova, -1, 1); }