From 7ee7f26e39ef6c3ed164f307c1c3906961c1b189 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Thu, 20 May 2004 07:58:26 +0000 Subject: add tr --- 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 @@ -396,7 +396,8 @@ static int known=0; 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("

This chord has been saved into the list of chords, for later playback.

"); known = 1; } } @@ -439,7 +440,8 @@ 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("

Unable to open device for sound playback - check that no other application is using it.

")); return; } synth->fill_buffer(); @@ -530,7 +532,9 @@ void PowerchordBase::tuner_cb(){ 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("

Using the microphone, the note's frequency is analysed. This is a simulation.

"), + tr("OK"), tr("Cancel"), 0, 1)){ if (simulation_timer){ simulation_timer->stop(); }else{ -- cgit v0.9.0.2