add plural forms for pt to gtk2_ardour/po/pt.po
[ardour.git] / gtk2_ardour / midi_list_editor.cc
index 6334c38dcc304aac759b3d75be562ca8b16888c5..731f8b11da2c31cc220d7fe1b9a3134abfcc2520 100644 (file)
@@ -39,7 +39,7 @@
 #include "note_player.h"
 #include "ui_config.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace Gtk;
@@ -760,13 +760,11 @@ MidiListEditor::redisplay_model ()
                for (MidiModel::Notes::iterator i = notes.begin(); i != notes.end(); ++i) {
                        row = *(model->append());
                        row[columns.channel] = (*i)->channel() + 1;
-                       row[columns.note_name] = Evoral::midi_note_name ((*i)->note());
+                       row[columns.note_name] = ParameterDescriptor::midi_note_name ((*i)->note());
                        row[columns.note] = (*i)->note();
                        row[columns.velocity] = (*i)->velocity();
 
-                       Timecode::BBT_Time bbt;
-
-                       _session->tempo_map().bbt_time (conv.to ((*i)->time()), bbt);
+                       Timecode::BBT_Time bbt (_session->tempo_map().bbt_at_frame (conv.to ((*i)->time())));
 
                        ss.str ("");
                        ss << bbt;