13
0

i18n fixes.

git-svn-id: svn://localhost/ardour2/branches/3.0@8396 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-12-30 20:45:15 +00:00
parent 696cdbb00f
commit 51460dac3f
2 changed files with 2 additions and 2 deletions

View File

@ -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);
} }

View File

@ -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));
} }