@@ -298,7 +298,7 @@ def show_correspondence_table(self, show=True):
298298 # Create a new window for the correspondence table
299299 table_window = tk .Toplevel (self .parent )
300300 table_window .withdraw ()
301- table_window .title ("Correspondence Table" )
301+ table_window .title ("Table de correspondance " )
302302 table_window .geometry ("500x350" )
303303
304304 # if show:
@@ -310,9 +310,9 @@ def show_correspondence_table(self, show=True):
310310 tree .column ("ID" , anchor = "center" , width = 120 )
311311 tree .column ("Type" , anchor = "center" , width = 120 )
312312 tree .column ("MCU Pin" , anchor = "center" , width = 120 )
313- tree .heading ("ID" , text = "Pin IO ID " )
313+ tree .heading ("ID" , text = "Id de l'entrée/sortie " )
314314 tree .heading ("Type" , text = "Type" )
315- tree .heading ("MCU Pin" , text = "MCU Pin" )
315+ tree .heading ("MCU Pin" , text = "Pin du microcontrôleur " )
316316
317317 #self.map_mcu_pin(tree, input_pin_ios, output_pin_ios, input_pins, output_pins)
318318 # Populate the table with input and output pin mappings
@@ -321,14 +321,14 @@ def show_correspondence_table(self, show=True):
321321 mcu_pin = input_pins [idx ]
322322 pin_number = pin_io ["id" ].split ("_" )[- 1 ]
323323 # if show:
324- tree .insert ("" , "end" , values = (pin_number , "Input " , mcu_pin ))
324+ tree .insert ("" , "end" , values = (pin_number , "Entrée " , mcu_pin ))
325325 self .mcu_pin .update ({f"I{ pin_number } " :f"I{ mcu_pin } " })
326326
327327
328328 for idx , pin_io in enumerate (output_pin_ios ):
329329 mcu_pin = output_pins [idx ]
330330 pin_number = pin_io ["id" ].split ("_" )[- 1 ]
331- tree .insert ("" , "end" , values = (pin_number , "Output " , mcu_pin ))
331+ tree .insert ("" , "end" , values = (pin_number , "Sortie " , mcu_pin ))
332332 self .mcu_pin .update ({f"O{ pin_number } " :f"O{ mcu_pin } " })
333333
334334 if show :
0 commit comments