Sha256: 0730c7480fea6a02fe2eb7f7ae0e19d3a000eb1eeca032163cea274a11833fee
Contents?: true
Size: 1.4 KB
Versions: 17
Compression:
Stored size: 1.4 KB
Contents
# -*- encoding: utf-8 -*- # Context-based month name and day name switching for Russian # # Названия месяцев и дней недели в зависимости от контекста ("1 декабря", но "Декабрь 1985") { :ru => { :date => { :abbr_day_names => lambda { |key, options| if options[:format] && options[:format] =~ Russian::LOCALIZE_STANDALONE_ABBR_DAY_NAMES_MATCH && !Russian.force_standalone :'date.common_abbr_day_names' else :'date.standalone_abbr_day_names' end }, :day_names => lambda { |key, options| if options[:format] && options[:format] =~ Russian::LOCALIZE_STANDALONE_DAY_NAMES_MATCH && !Russian.force_standalone :'date.standalone_day_names' else :'date.common_day_names' end }, :abbr_month_names => lambda { |key, options| if options[:format] && options[:format] =~ Russian::LOCALIZE_ABBR_MONTH_NAMES_MATCH && !Russian.force_standalone :'date.common_abbr_month_names' else :'date.standalone_abbr_month_names' end }, :month_names => lambda { |key, options| if options[:format] && options[:format] =~ Russian::LOCALIZE_MONTH_NAMES_MATCH && !Russian.force_standalone :'date.common_month_names' else :'date.standalone_month_names' end } } } }
Version data entries
17 entries across 17 versions & 1 rubygems