X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FI18N%2Fru.pm;h=4fd49b020c8aa07e2f79c79ad1c1847335d9e155;hp=5b34d777a57d52ab031c402dd5c200e2461724e4;hb=187086c479a09629b7d180eec513fb7657f4e291;hpb=e9e0cf0989259b94d9758eceff448666a2e5a5cc diff --git a/rt/lib/RT/I18N/ru.pm b/rt/lib/RT/I18N/ru.pm index 5b34d777a..4fd49b020 100755 --- a/rt/lib/RT/I18N/ru.pm +++ b/rt/lib/RT/I18N/ru.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2018 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -61,7 +61,7 @@ sub quant { return $num unless @forms; return $forms[3] if !$num && $forms[3]; - return $num .' '. $handle->numerate($num, @forms); + return $handle->numf($num) .' '. $handle->numerate($num, @forms); } sub numerate { @@ -75,7 +75,7 @@ sub numerate { } else { $form = 2; } - return $forms[$form]; + return $forms[$form] || (grep defined, @forms)[0]; } RT::Base->_ImportOverlays();