X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FI18N%2Fru.pm;h=8c8b3ccbdae71679dbf6afd64195ea67d15450f7;hp=5b34d777a57d52ab031c402dd5c200e2461724e4;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hpb=45d35d5739d05e602bc317739485693e0e9ff0b5 diff --git a/rt/lib/RT/I18N/ru.pm b/rt/lib/RT/I18N/ru.pm index 5b34d777a..8c8b3ccbd 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-2019 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();