i18n fixes.
git-svn-id: svn://localhost/ardour2/branches/3.0@8396 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
696cdbb00f
commit
51460dac3f
@ -52,7 +52,7 @@ LatencyGUI::LatencyGUI (Latent& l, framepos_t sr, framepos_t psz)
|
|||||||
{
|
{
|
||||||
Widget* w;
|
Widget* w;
|
||||||
|
|
||||||
if (unit_strings.empty()) {
|
if (!unit_strings.empty()) {
|
||||||
unit_strings = I18N (_unit_strings);
|
unit_strings = I18N (_unit_strings);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -516,7 +516,7 @@ PlugUIBase::latency_button_clicked ()
|
|||||||
{
|
{
|
||||||
if (!latency_gui) {
|
if (!latency_gui) {
|
||||||
latency_gui = new LatencyGUI (*(insert.get()), insert->session().frame_rate(), insert->session().get_block_size());
|
latency_gui = new LatencyGUI (*(insert.get()), insert->session().frame_rate(), insert->session().get_block_size());
|
||||||
latency_dialog = new ArdourDialog ("Edit Latency", false, false);
|
latency_dialog = new ArdourDialog (_("Edit Latency"), false, false);
|
||||||
latency_dialog->get_vbox()->pack_start (*latency_gui);
|
latency_dialog->get_vbox()->pack_start (*latency_gui);
|
||||||
latency_dialog->signal_hide().connect (sigc::mem_fun (*this, &PlugUIBase::set_latency_label));
|
latency_dialog->signal_hide().connect (sigc::mem_fun (*this, &PlugUIBase::set_latency_label));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user