Added patch from Henry

- Changed some english strings
Updated english translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5903 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-11-26 22:59:49 +00:00
parent f127201ae5
commit 4acc7e5e34
8 changed files with 239 additions and 136 deletions

View file

@ -1872,14 +1872,21 @@ void ForumsFillThread::run()
item->setText(COLUMN_THREAD_TITLE, ForumsDialog::titleFromInfo(msginfo));
text = QString::fromUtf8(rsPeers->getPeerName(msginfo.srcId).c_str());
if (text.isEmpty())
if (msginfo.msgflags & RS_DISTRIB_MISSING_MSG)
{
item->setText(COLUMN_THREAD_AUTHOR, tr("Anonymous"));
item->setText(COLUMN_THREAD_AUTHOR, tr("Unknown"));
}
else
{
item->setText(COLUMN_THREAD_AUTHOR, text);
text = QString::fromUtf8(rsPeers->getPeerName(msginfo.srcId).c_str());
if (text.isEmpty())
{
item->setText(COLUMN_THREAD_AUTHOR, tr("Anonymous"));
}
else
{
item->setText(COLUMN_THREAD_AUTHOR, text);
}
}
if (msginfo.msgflags & RS_DISTRIB_AUTHEN_REQ)

View file

@ -268,7 +268,7 @@
</sizepolicy>
</property>
<property name="toolTip">
<string>Edit Personal message</string>
<string>Edit status message</string>
</property>
<property name="text">
<string/>
@ -762,10 +762,10 @@
<normaloff>:/images/message-news.png</normaloff>:/images/message-news.png</iconset>
</property>
<property name="text">
<string>Set your Personal Message</string>
<string>Set your status message</string>
</property>
<property name="toolTip">
<string>Edit your status Message</string>
<string>Edit your status message</string>
</property>
</action>
<action name="actionMessageHistory">

View file

@ -134,7 +134,7 @@ RsCollectionFile::RsCollectionFile(const std::vector<DirDetails>& file_infos)
static void showErrorBox(const QString& filename, const QString& error)
{
QMessageBox mb(QMessageBox::Warning, QObject::tr("Treatment of collection file has failed"), QObject::tr("The collection file %1 could not be opened.\nReported error is: %2").arg(filename).arg(error), QMessageBox::Ok);
QMessageBox mb(QMessageBox::Warning, QObject::tr("Failed to process collection file"), QObject::tr("The collection file %1 could not be opened.\nReported error is: %2").arg(filename).arg(error), QMessageBox::Ok);
mb.setWindowIcon(QIcon(":/images/rstray3.png"));
mb.exec();
}

View file

@ -782,7 +782,7 @@
<item row="6" column="0" colspan="2">
<widget class="QLabel" name="alreadyRegisteredLabel">
<property name="text">
<string>It seems your friend is already registered. Adding it might just set it's ip address.</string>
<string>This peer is already on your friend list. Adding it might just set it's ip address.</string>
</property>
<property name="wordWrap">
<bool>true</bool>

View file

@ -35,10 +35,10 @@
<enum>Qt::NoFocus</enum>
</property>
<property name="toolTip">
<string>Edit Personal message</string>
<string>Edit status message</string>
</property>
<property name="text">
<string>Edit Personal message</string>
<string>Edit status message</string>
</property>
<property name="icon">
<iconset resource="../images.qrc">

View file

@ -29,7 +29,7 @@
</size>
</property>
<property name="windowTitle">
<string>Personal message</string>
<string>Status message</string>
</property>
<property name="windowIcon">
<iconset resource="../images.qrc">
@ -59,7 +59,7 @@ border: 1px solid #CCCCCC;}
</rect>
</property>
<property name="text">
<string>Status message</string>
<string>Message:</string>
</property>
</widget>
<widget class="QLineEdit" name="txt_StatusMessage">
@ -87,7 +87,7 @@ border: 1px solid #CCCCCC;}
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:14pt; font-weight:600;&quot;&gt;Personal message&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:14pt; font-weight:600;&quot;&gt;Status message&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
@ -104,7 +104,7 @@ p, li { white-space: pre-wrap; }
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt; color:#666666;&quot;&gt;Enter your Status message&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt; color:#666666;&quot;&gt;Enter your message&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QLabel" name="label">

View file

@ -377,7 +377,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>Max average tunnel request forwarded per second:</string>
<string>Max. tunnel requests forwarded per second:</string>
</property>
</widget>
</item>