Fix several i18n-related defects (#3111)
This commit is contained in:
@@ -58,10 +58,11 @@ static int JackMidiProcessCallback(jack_nframes_t nframes, void *arg)
|
||||
|
||||
static void JackMidiShutdown(void *arg)
|
||||
{
|
||||
// TODO: support translations here
|
||||
const QString mess_short = "JACK server down";
|
||||
const QString mess_long = "The JACK server seems to have been shutdown.";
|
||||
QMessageBox::information( gui->mainWindow(), mess_short, mess_long );
|
||||
//: When JACK(JACK Audio Connection Kit) disconnects, it will show the following message (title)
|
||||
QString msg_short = MidiJack::tr("JACK server down");
|
||||
//: When JACK(JACK Audio Connection Kit) disconnects, it will show the following message (dialog message)
|
||||
QString msg_long = MidiJack::tr("The JACK server seems to be shuted down.");
|
||||
QMessageBox::information( gui->mainWindow(), msg_short, msg_long );
|
||||
}
|
||||
|
||||
MidiJack::MidiJack() :
|
||||
|
||||
@@ -1214,6 +1214,7 @@ QMenu * InstrumentTrackView::createFxMenu(QString title, QString newFxLabel)
|
||||
|
||||
class fxLineLcdSpinBox : public LcdSpinBox
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
fxLineLcdSpinBox( int _num_digits, QWidget * _parent,
|
||||
const QString & _name ) :
|
||||
@@ -1820,3 +1821,5 @@ void InstrumentTrackWindow::viewPrevInstrument()
|
||||
{
|
||||
viewInstrumentInDirection(-1);
|
||||
}
|
||||
|
||||
#include "InstrumentTrack.moc"
|
||||
|
||||
Reference in New Issue
Block a user