lib/asciidoctor/nist/front_id.rb in metanorma-nist-1.1.3 vs lib/asciidoctor/nist/front_id.rb in metanorma-nist-1.2.0
- old
+ new
@@ -62,10 +62,10 @@
return nil if isodate.nil?
Date.parse(isodate).strftime("%B %d, %Y")
end
def status_abbr(stage, iter)
- IsoDoc::NIST::Metadata.new(nil, nil, {}).status_abbr(stage, iter)
+ IsoDoc::NIST::Metadata.new(nil, nil, @i18n).status_abbr(stage, iter)
end
def add_id_parts(args, long)
args[:series] and series_name = long ?
SERIES.dig(args[:series].to_sym) :