mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-10 07:32:42 -04:00
Replaced std::string by QString in GetStartedDialog for easier translation and to prevent problems with utf8 chars.
Fixed german translation. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4886 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b3de0cd06d
commit
91809abd56
6 changed files with 454 additions and 357 deletions
|
@ -1296,7 +1296,7 @@ EmailPage::EmailPage(QWidget *parent) : QWizardPage(parent) {
|
|||
inviteTextEdit = new QTextEdit;
|
||||
inviteTextEdit->setReadOnly(true);
|
||||
|
||||
inviteTextEdit->setPlainText(QString::fromUtf8(GetStartedDialog::GetInviteText().c_str()));
|
||||
inviteTextEdit->setPlainText(GetStartedDialog::GetInviteText());
|
||||
|
||||
emailvboxLayout = new QVBoxLayout;
|
||||
emailvboxLayout->addLayout(emailhbox2Layout);
|
||||
|
@ -1329,7 +1329,7 @@ bool EmailPage::validatePage()
|
|||
{
|
||||
QString body = inviteTextEdit->toPlainText();
|
||||
|
||||
body += "\n" + QString::fromUtf8(GetStartedDialog::GetCutBelowText().c_str());
|
||||
body += "\n" + GetStartedDialog::GetCutBelowText();
|
||||
body += "\n\n" + QString::fromUtf8(rsPeers->GetRetroshareInvite(false).c_str());
|
||||
|
||||
sendMail (mailaddresses, subjectEdit->text(), body);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue