@@ -77,6 +77,7 @@ def __post_init__(self):
7777 self .mates = []
7878 self ._bom = [] # Internal Cache for generated bom
7979 self .additional_bom_items = []
80+ self .terminology = self .options .terminology .fully_populated ()
8081
8182 def add_connector (self , name : str , * args , ** kwargs ) -> None :
8283 check_old (f"Connector '{ name } '" , OLD_CONNECTOR_ATTR , kwargs )
@@ -200,7 +201,7 @@ def create_graph(self) -> Graph:
200201 html_line_breaks (pn_info_string (HEADER_SPN , connector .supplier , connector .spn ))],
201202 [html_line_breaks (connector .type ),
202203 html_line_breaks (connector .subtype ),
203- f'{ connector .pincount } -pin' if connector .show_pincount else None ,
204+ f'{ connector .pincount } -{ self . terminology . pin } ' if connector .show_pincount else None ,
204205 translate_color (connector .color , self .options .color_mode ) if connector .color else None ,
205206 html_colorbar (connector .color )],
206207 '<!-- connector table -->' if connector .style != 'simple' else None ,
@@ -419,7 +420,7 @@ def create_graph(self) -> Graph:
419420 wirehtml .append (" <tr><td> </td></tr>" ) # spacer
420421 wirehtml .append (" <tr>" )
421422 wirehtml .append (" <td><!-- s_in --></td>" )
422- wirehtml .append (" <td>Shield </td>" )
423+ wirehtml .append (f " <td>{ self . terminology . shield . title () } </td>" )
423424 wirehtml .append (" <td><!-- s_out --></td>" )
424425 wirehtml .append (" </tr>" )
425426 if isinstance (cable .shield , str ):
0 commit comments