relaton / relaton-iec

IecBib: retrieve IEC/CIE Standards for bibliographic use using the BibliographicItem model
MIT License
1 stars 0 forks source link

Correct error message when document found is a multi-part #32

Closed ronaldtse closed 3 years ago

ronaldtse commented 3 years ago

We get this message today:

[relaton-iec] ("IEC 62075") fetching...
[relaton-iec] WARNING: no match found online for IEC 62075:2012. The code must be exactly like it is on the standards website.
[relaton-iec] If you wanted to cite all document parts for the reference, use "IEC 62075 (all parts)".

However, this document is clearly a multi-part standard as per the last line.

We should update the message of "WARNING: no match found online for IEC 62075:2012. The code must be exactly like it is on the standards website." to something like:

"WARNING: IEC 62075 found as IEC 62075:2012 but also contain parts. If you wanted to cite all document parts for the reference, use "IEC 62075 (all parts)".

andrew2net commented 3 years ago

@ronaldtse