13
0

Disambiguate In/Out for translations (1/2) #9512

This commit is contained in:
Robin Gareus 2023-10-28 14:45:33 +02:00
parent 4ea676b855
commit e22415f0ce
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
7 changed files with 19 additions and 19 deletions

View File

@ -445,8 +445,8 @@ ARDOUR_UI::setup_transport ()
/* and widget text */ /* and widget text */
auto_return_button.set_text(_("Auto Return")); auto_return_button.set_text(_("Auto Return"));
follow_edits_button.set_text(_("Follow Range")); follow_edits_button.set_text(_("Follow Range"));
punch_in_button.set_text (_("In")); punch_in_button.set_text (S_("Punch|In"));
punch_out_button.set_text (_("Out")); punch_out_button.set_text (S_("Punch|Out"));
record_mode_selector.AddMenuElem (MenuElem (record_mode_strings[(int)RecLayered], sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::set_record_mode), RecLayered))); record_mode_selector.AddMenuElem (MenuElem (record_mode_strings[(int)RecLayered], sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::set_record_mode), RecLayered)));
record_mode_selector.AddMenuElem (MenuElem (record_mode_strings[(int)RecNonLayered], sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::set_record_mode), RecNonLayered))); record_mode_selector.AddMenuElem (MenuElem (record_mode_strings[(int)RecNonLayered], sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::set_record_mode), RecNonLayered)));

View File

@ -470,11 +470,11 @@ ARDOUR_UI::install_actions ()
ActionManager::session_sensitive_actions.push_back (act); ActionManager::session_sensitive_actions.push_back (act);
act = ActionManager::register_toggle_action (transport_actions, X_("TogglePunchIn"), _("Punch In"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_punch_in)); act = ActionManager::register_toggle_action (transport_actions, X_("TogglePunchIn"), _("Punch In"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_punch_in));
act->set_short_label (_("In")); act->set_short_label (S_("Punch|In"));
ActionManager::session_sensitive_actions.push_back (act); ActionManager::session_sensitive_actions.push_back (act);
ActionManager::transport_sensitive_actions.push_back (act); ActionManager::transport_sensitive_actions.push_back (act);
act = ActionManager::register_toggle_action (transport_actions, X_("TogglePunchOut"), _("Punch Out"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_punch_out)); act = ActionManager::register_toggle_action (transport_actions, X_("TogglePunchOut"), _("Punch Out"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_punch_out));
act->set_short_label (_("Out")); act->set_short_label (S_("Punch|Out"));
ActionManager::session_sensitive_actions.push_back (act); ActionManager::session_sensitive_actions.push_back (act);
ActionManager::transport_sensitive_actions.push_back (act); ActionManager::transport_sensitive_actions.push_back (act);
act = ActionManager::register_toggle_action (transport_actions, X_("TogglePunch"), _("Punch In/Out"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_punch)); act = ActionManager::register_toggle_action (transport_actions, X_("TogglePunch"), _("Punch In/Out"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_punch));

View File

@ -163,9 +163,9 @@ AudioRegionPropertiesBox::AudioRegionPropertiesBox ()
label = manage (new Gtk::Label (_("Fades:"))); label = manage (new Gtk::Label (_("Fades:")));
label->set_alignment (1.0, 0.5); label->set_alignment (1.0, 0.5);
fade_in_enable_button.set_text (_("In")); fade_in_enable_button.set_text (S_("Fade|In"));
fade_in_enable_button.set_name ("generic button"); fade_in_enable_button.set_name ("generic button");
fade_out_enable_button.set_text (_("Out")); fade_out_enable_button.set_text (S_("Fade|Out"));
fade_out_enable_button.set_name ("generic button"); fade_out_enable_button.set_name ("generic button");
audio_t->attach (*label, 0, 1, row, row + 1, Gtk::FILL, Gtk::SHRINK); audio_t->attach (*label, 0, 1, row, row + 1, Gtk::FILL, Gtk::SHRINK);
audio_t->attach (fade_in_enable_button, 1, 2, row, row + 1, Gtk::FILL, Gtk::SHRINK); audio_t->attach (fade_in_enable_button, 1, 2, row, row + 1, Gtk::FILL, Gtk::SHRINK);

View File

@ -1498,24 +1498,24 @@ MixerStrip::meter_point_string (MeterPoint mp)
case Wide: case Wide:
switch (mp) { switch (mp) {
case MeterInput: case MeterInput:
return _("In"); return S_("MeterWide|In");
break; break;
case MeterPreFader: case MeterPreFader:
return _("Pre"); return S_("MeterWide|Pre");
break; break;
case MeterPostFader: case MeterPostFader:
return _("Post"); return S_("MeterWide|Post");
break; break;
case MeterOutput: case MeterOutput:
return _("Out"); return S_("MeterWide|Out");
break; break;
case MeterCustom: case MeterCustom:
default: default:
return _("Custom"); return S_("MeterWide|Custom");
break; break;
} }
break; break;
@ -1694,8 +1694,8 @@ MixerStrip::set_button_names ()
switch (_width) { switch (_width) {
case Wide: case Wide:
mute_button->set_text (_("Mute")); mute_button->set_text (_("Mute"));
monitor_input_button->set_text (_("In")); monitor_input_button->set_text (S_("Monitor|In"));
monitor_disk_button->set_text (_("Disk")); monitor_disk_button->set_text (S_("Monitor|Disk"));
if (monitor_section_button) { if (monitor_section_button) {
monitor_section_button->set_text (_("Mon")); monitor_section_button->set_text (_("Mon"));
} }

View File

@ -237,13 +237,13 @@ RouteUI::init ()
monitor_input_button = new ArdourButton (ArdourButton::default_elements); monitor_input_button = new ArdourButton (ArdourButton::default_elements);
monitor_input_button->set_name ("monitor button"); monitor_input_button->set_name ("monitor button");
monitor_input_button->set_text (_("In")); monitor_input_button->set_text (S_("Monitor|In"));
UI::instance()->set_tip (monitor_input_button, _("Monitor input"), ""); UI::instance()->set_tip (monitor_input_button, _("Monitor input"), "");
monitor_input_button->set_no_show_all (true); monitor_input_button->set_no_show_all (true);
monitor_disk_button = new ArdourButton (ArdourButton::default_elements); monitor_disk_button = new ArdourButton (ArdourButton::default_elements);
monitor_disk_button->set_name ("monitor button"); monitor_disk_button->set_name ("monitor button");
monitor_disk_button->set_text (_("Disk")); monitor_disk_button->set_text (S_("Monitor|Disk"));
UI::instance()->set_tip (monitor_disk_button, _("Monitor playback"), ""); UI::instance()->set_tip (monitor_disk_button, _("Monitor playback"), "");
monitor_disk_button->set_no_show_all (true); monitor_disk_button->set_no_show_all (true);

View File

@ -256,8 +256,8 @@ TrackRecordAxis::set_button_names ()
monitor_input_button->set_text (S_("MonitorInput|I")); monitor_input_button->set_text (S_("MonitorInput|I"));
monitor_disk_button->set_text (S_("MonitorDisk|D")); monitor_disk_button->set_text (S_("MonitorDisk|D"));
#else #else
monitor_input_button->set_text (_("In")); monitor_input_button->set_text (S_("Monitor|In"));
monitor_disk_button->set_text (_("Disk")); monitor_disk_button->set_text (S_("Monitor|Disk"));
#endif #endif
/* Solo/Listen is N/A */ /* Solo/Listen is N/A */

View File

@ -338,8 +338,8 @@ void
TriggerStrip::set_button_names () TriggerStrip::set_button_names ()
{ {
mute_button->set_text (_("Mute")); mute_button->set_text (_("Mute"));
monitor_input_button->set_text (_("In")); monitor_input_button->set_text (S_("Monitor|In"));
monitor_disk_button->set_text (_("Disk")); monitor_disk_button->set_text (S_("Monitor|Disk"));
if (!Config->get_solo_control_is_listen_control ()) { if (!Config->get_solo_control_is_listen_control ()) {
solo_button->set_text (_("Solo")); solo_button->set_text (_("Solo"));