Leave a note about trigger-slot IDs using western alphabet

Ideally these would be translatable into Cyrillic, Greek,
Chinese or any other alphabet (and not be limited to 26 either).
This commit is contained in:
Robin Gareus 2021-12-24 00:28:48 +01:00
parent 00b2b21878
commit b2b9c38bc3
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
3 changed files with 5 additions and 4 deletions

View File

@ -76,7 +76,8 @@ CueEntry::CueEntry (Item* item, uint64_t cue_index)
name_button->show ();
name_text = new Text (name_button);
name_text->set (string_compose ("%1", (char)('A' + _cue_idx)));
name_text->set (string_compose ("%1", (char)('A' + _cue_idx))); // XXX not translatable
name_text->set_ignore_events (false);
name_text->show ();

View File

@ -4185,7 +4185,7 @@ Editor::bounce_range_selection (BounceTarget target, bool enable_processing)
tslot = manage (new ArdourDropdown ());
for (int c = 0; c < 8; ++c) {
tslot->append_text_item (string_compose ("%1", (char)('A' + c)));
tslot->append_text_item (string_compose ("%1", (char)('A' + c))); // XXX not translatable
}
tslot->set_active ("A");
@ -4209,7 +4209,7 @@ Editor::bounce_range_selection (BounceTarget target, bool enable_processing)
dialog.get_result (bounce_name);
if (tslot) {
trigger_slot = tslot->get_text ()[0] - 'A';
trigger_slot = tslot->get_text ()[0] - 'A'; // XXX
}
}

View File

@ -508,7 +508,7 @@ TriggerMaster::prop_change (PropertyChange const& change)
return;
}
text = string_compose ("%1", (char)('A' + trigger->index ()));
text = string_compose ("%1", (char)('A' + trigger->index ())); // XXX not translatable
if (trigger->follow_count () > 1) {
text.append (string_compose (X_(" %1/%2"), trigger->loop_count ()+1, trigger->follow_count ()));