Skip to content

Commit

Permalink
add :iso-cen-parallel: : #1259
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Dec 24, 2024
1 parent 9d69edc commit 138a1aa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/isodoc/iso/i18n-en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ classification-UDC: UDC
website: website
formerly_id: "(formerly %)"
was_developed_by: "%1 was developed by %2"
iso-cen-parallel: ISO/CEN PARALLEL PROCESSING
doctype_dict:
international-standard: International Standard
technical-specification: Technical Specification
Expand Down
1 change: 1 addition & 0 deletions lib/isodoc/iso/i18n-fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ fast-track-procedure: Procédure accélérée
classification-UDC: CDU
formerly_id: "(précédemment %)"
was_developed_by: "%1 a été élaboré par %2"
iso-cen-parallel: TRAITEMENT PARALLÈLE ISO/CEN
website: site web
doctype_dict:
international-standard: Norme internationale
Expand Down
1 change: 1 addition & 0 deletions lib/metanorma/iso/front.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def metadata_ext_iso(node, xml)
xml.updates_document_type a
a = node.attr("fast-track") and xml.send "fast-track", a != "false"
a = node.attr("price-code") and xml.price_code a
node.attr("iso-cen-parallel") and xml.iso_cen_parallel true
end

STAGE_ERROR = [Pubid::Core::Errors::HarmonizedStageCodeInvalidError,
Expand Down
2 changes: 2 additions & 0 deletions spec/metanorma/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
:horizontal: true
:fast-track: true
:price-code: XC
:iso-cen-parallel:
INPUT
output = <<~OUTPUT
<bibdata type="standard">
Expand Down Expand Up @@ -274,6 +275,7 @@
<stagename abbreviation="WD">Working Draft International Standard</stagename>
<fast-track>true</fast-track>
<price-code>XC</price-code>
<iso-cen-parallel>true</iso-cen-parallel>
</ext>
</bibdata>
OUTPUT
Expand Down

0 comments on commit 138a1aa

Please sign in to comment.