python: fix translation of Spyrograph dropdowns

This commit is contained in:
Anders Jonsson 2024-04-15 18:23:54 +02:00 committed by Alx Sa
parent 8153dffb92
commit bca4679fa3
1 changed files with 1 additions and 1 deletions

View File

@ -1437,7 +1437,7 @@ class SpyroWindow():
def set_combo_in_table(txt_list, table, row, callback):
combo = Gtk.ComboBoxText.new()
for txt in txt_list:
combo.append_text(txt)
combo.append_text(_(txt))
combo.set_halign(Gtk.Align.FILL)
table.attach(combo, 1, row, 1, 1)