13
0

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

This commit is contained in:
Robin Gareus 2023-10-28 14:46:04 +02:00
parent e22415f0ce
commit 828d45c6fa
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
5 changed files with 8 additions and 8 deletions

View File

@ -1813,9 +1813,9 @@ AUPlugin::describe_io_port (ARDOUR::DataType dt, bool input, uint32_t id) const
}
if (input) {
ss << " " << _("In") << " ";
ss << " " << S_("IO|In") << " ";
} else {
ss << " " << _("Out") << " ";
ss << " " << S_("IO|Out") << " ";
}
ss << (id + 1);

View File

@ -1159,7 +1159,7 @@ IO::apply_pretty_name ()
for (PortSet::iterator i = _ports.begin (); i != _ports.end(); ++i, ++pn) {
(*i)->set_pretty_name (string_compose (("%1/%2 %3"),
_pretty_name_prefix,
_direction == Output ? _("Out") : _("In"),
_direction == Output ? S_("IO|Out") : S_("IO|In"),
pn));
}
}

View File

@ -75,7 +75,7 @@ IOPlug::~IOPlug ()
std::string
IOPlug::io_name (std::string const& n) const
{
return (string_compose ("%1/%2/%3", _("IO"), _pre ? _("Pre"): _("Post"), n.empty () ? name () : n));
return (string_compose ("%1/%2/%3", _("IO"), _pre ? S_("IO|Pre"): S_("IO|Post"), n.empty () ? name () : n));
}
std::string

View File

@ -333,9 +333,9 @@ Plugin::describe_io_port (ARDOUR::DataType dt, bool input, uint32_t id) const
break;
}
if (input) {
ss << _("In") << " ";
ss << S_("IO|In") << " ";
} else {
ss << _("Out") << " ";
ss << S_("IO|Out") << " ";
}
std::stringstream gn;

View File

@ -123,10 +123,10 @@ TrackMixLayout::TrackMixLayout (Push2& p, Session & s, std::string const & name)
break;
case 3:
_upper_text[n]->set (_("Track Trim"));
_lower_text[n]->set (_("In"));
_lower_text[n]->set (S_("Monitor|In"));
break;
case 4:
_lower_text[n]->set (_("Disk"));
_lower_text[n]->set (S_("Monitor|Disk"));
break;
case 5:
_lower_text[n]->set (_("Solo Iso"));