triggerbox: use translatable marker name function in GUI

This commit is contained in:
Paul Davis 2022-02-11 11:33:43 -07:00
parent 98f1b4364d
commit 17e5667216
11 changed files with 16 additions and 17 deletions

View file

@ -235,7 +235,7 @@ TriggerEntry::draw_follow_icon (Cairo::RefPtr<Cairo::Context> context, FollowAct
}
Glib::RefPtr<Pango::Layout> layout = Pango::Layout::create (context);
layout->set_font_description (UIConfiguration::instance ().get_SmallMonospaceFont ());
layout->set_text (string_compose ("%1", (char)('A' + cue_idx))); //XXX translate?
layout->set_text (cue_marker_name (cue_idx));
int tw, th;
layout->get_pixel_size (tw, th);
context->move_to (size / 2, size / 2);