summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/powerchord/powerchordbase.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/noncore/multimedia/powerchord/powerchordbase.cpp b/noncore/multimedia/powerchord/powerchordbase.cpp
index 0694ba3..92198bf 100644
--- a/noncore/multimedia/powerchord/powerchordbase.cpp
+++ b/noncore/multimedia/powerchord/powerchordbase.cpp
@@ -393,13 +393,14 @@ PowerchordBase::PowerchordBase( QWidget* parent, const char* name, WFlags fl )
static int known=0;
#include <qmessagebox.h>
void PowerchordBase::transport_rec_cb(){
chordlist->insertItem(chordname->text(),-1);
if (!known){
- QMessageBox::information(this, "Powerchord", "This chord has been saved\ninto the list of chords,\nfor later playback.");
+ QMessageBox::information(this, tr("Powerchord"),
+ tr("<P>This chord has been saved into the list of chords, for later playback.<P>");
known = 1;
}
}
void PowerchordBase::list_remove_cb(){
if (chordlist->count() > 0){
chordlist->removeItem(0);
@@ -436,13 +437,14 @@ void PowerchordBase::play_chord_cb(){
}
// init synth
if (synth->Play()){
// error
- QMessageBox::information(this, "Powerchord", "Unable to open device for sound playback - check that no other application is using it.");
+ QMessageBox::information(this, tr("Powerchord"),
+ tr("<P>Unable to open device for sound playback - check that no other application is using it.</P>"));
return;
}
synth->fill_buffer();
// start timer
audio_timer = new QTimer();
@@ -527,13 +529,15 @@ void PowerchordBase::tuner_cb(){
tuner_pic1->setPixmap( image6 );
}
}
void PowerchordBase::tuner_start_cb(){
- if (0 == QMessageBox::information(this, "Powerchord", "Using the microphone,\nthe note's frequency\nis analysed. This\nis a simulation.", "OK", "Cancel", 0, 1)){
+ if (0 == QMessageBox::information(this, tr("Powerchord"),
+ tr("<P>Using the microphone, the note's frequency is analysed. This is a simulation.</P>"),
+ tr("OK"), tr("Cancel"), 0, 1)){
if (simulation_timer){
simulation_timer->stop();
}else{
simulation_timer = new QTimer();
connect(simulation_timer, SIGNAL( timeout() ), this, SLOT( tuner_simulation_cb() ));