author | harlekin <harlekin> | 2002-04-13 17:32:22 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-04-13 17:32:22 (UTC) |
commit | 4964c6a97eff0ab98b21c3942c8598be4739c74c (patch) (side-by-side diff) | |
tree | 57e8f01eaa7d32d83b00a914dc87584c48ae4ade | |
parent | 74ca4fc34f8634c39b12a60ae97df88a612c12b1 (diff) | |
download | opie-4964c6a97eff0ab98b21c3942c8598be4739c74c.zip opie-4964c6a97eff0ab98b21c3942c8598be4739c74c.tar.gz opie-4964c6a97eff0ab98b21c3942c8598be4739c74c.tar.bz2 |
i18n fixes
-rw-r--r-- | core/pim/today/today.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 6dac6d9..61bd0c4 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp @@ -77,67 +77,67 @@ Today::Today( QWidget* parent, const char* name, WFlags fl ) db = NULL; setOwnerField(); todo = new ToDoDB; getTodo(); draw(); autoStart(); } /* * Qcop receive method. */ void Today::channelReceived(const QCString &msg, const QByteArray & data) { QDataStream stream(data, IO_ReadOnly ); if ( msg == "message(QString)" ) { QString message; stream >> message; setOwnerField(message); } } /* * Initialises the owner field with the default value, the username */ void Today::setOwnerField() { QString file = Global::applicationFileName("addressbook", "businesscard.vcf"); if (QFile::exists(file)) { Contact cont = Contact::readVCard(file)[0]; QString returnString = cont.fullName(); - OwnerField->setText( tr ("<b>Owned by " + returnString + "</b>")); + OwnerField->setText( "<b>" +tr ("Owned by ") + returnString + "</b>"); } else { - OwnerField->setText( tr ("<b>Please fill out the business card </b>")); + OwnerField->setText( "<b>" + tr ("Please fill out the business card")+" </b>"); } } /* * Set the owner field with a given QString, for example per qcop. */ void Today::setOwnerField(QString &message) { if (!message.isEmpty()) { OwnerField->setText("<b>" + message + "</b>"); } } /* * Autostart, uses the new (opie only) autostart method in the launcher code. * If registered against that today ist started on each resume. */ void Today::autoStart() { Config cfg("today"); cfg.setGroup("Autostart"); AUTOSTART = cfg.readNumEntry("autostart",1); if (AUTOSTART) { QCopEnvelope e("QPE/System", "autoStart(QString,QString)"); e << QString("add"); e << QString("today"); } else { QCopEnvelope e("QPE/System", "autoStart(QString,QString)"); e << QString("remove"); e << QString("today"); } } /* |