summaryrefslogtreecommitdiff
Unidiff
Diffstat (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
@@ -395,9 +395,10 @@ static int known=0;
395#include <qmessagebox.h> 395#include <qmessagebox.h>
396void PowerchordBase::transport_rec_cb(){ 396void PowerchordBase::transport_rec_cb(){
397 chordlist->insertItem(chordname->text(),-1); 397 chordlist->insertItem(chordname->text(),-1);
398 if (!known){ 398 if (!known){
399 QMessageBox::information(this, "Powerchord", "This chord has been saved\ninto the list of chords,\nfor later playback."); 399 QMessageBox::information(this, tr("Powerchord"),
400 tr("<P>This chord has been saved into the list of chords, for later playback.<P>");
400 known = 1; 401 known = 1;
401 } 402 }
402} 403}
403void PowerchordBase::list_remove_cb(){ 404void PowerchordBase::list_remove_cb(){
@@ -438,9 +439,10 @@ void PowerchordBase::play_chord_cb(){
438 439
439 // init synth 440 // init synth
440 if (synth->Play()){ 441 if (synth->Play()){
441 // error 442 // error
442 QMessageBox::information(this, "Powerchord", "Unable to open device for sound playback - check that no other application is using it."); 443 QMessageBox::information(this, tr("Powerchord"),
444 tr("<P>Unable to open device for sound playback - check that no other application is using it.</P>"));
443 return; 445 return;
444 } 446 }
445 synth->fill_buffer(); 447 synth->fill_buffer();
446 448
@@ -529,9 +531,11 @@ void PowerchordBase::tuner_cb(){
529} 531}
530 532
531 533
532void PowerchordBase::tuner_start_cb(){ 534void PowerchordBase::tuner_start_cb(){
533 if (0 == QMessageBox::information(this, "Powerchord", "Using the microphone,\nthe note's frequency\nis analysed. This\nis a simulation.", "OK", "Cancel", 0, 1)){ 535 if (0 == QMessageBox::information(this, tr("Powerchord"),
536 tr("<P>Using the microphone, the note's frequency is analysed. This is a simulation.</P>"),
537 tr("OK"), tr("Cancel"), 0, 1)){
534 if (simulation_timer){ 538 if (simulation_timer){
535 simulation_timer->stop(); 539 simulation_timer->stop();
536 }else{ 540 }else{
537 simulation_timer = new QTimer(); 541 simulation_timer = new QTimer();