mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Activated disabled code in GxsForums before merging.
Updated english translation. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6045 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
10e2ed536e
commit
7e19517451
@ -272,196 +272,204 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.ui" line="137"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="81"/>
|
||||||
<source>Search forums</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.ui" line="168"/>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="139"/>
|
|
||||||
<source>Title</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.ui" line="182"/>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="140"/>
|
|
||||||
<source>Date</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.ui" line="187"/>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="141"/>
|
|
||||||
<source>Author</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.ui" line="210"/>
|
|
||||||
<source>Message:</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="111"/>
|
|
||||||
<source>Message Folders</source>
|
<source>Message Folders</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="139"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="239"/>
|
||||||
<source>Search Title</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="140"/>
|
|
||||||
<source>Search Date</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="141"/>
|
|
||||||
<source>Search Author</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="156"/>
|
|
||||||
<source>Open link in browser</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="157"/>
|
|
||||||
<source>Copy link to clipboard</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="298"/>
|
|
||||||
<source>New</source>
|
<source>New</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="299"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="240"/>
|
||||||
<source>Feed</source>
|
<source>Feed</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="303"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="244"/>
|
||||||
<source>Folder</source>
|
<source>Folder</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="310"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="251"/>
|
||||||
<source>Edit</source>
|
<source>Edit</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="315"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="256"/>
|
||||||
<source>Delete</source>
|
<source>Delete</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="327"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="268"/>
|
||||||
<source>Update</source>
|
<source>Update</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="330"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="271"/>
|
||||||
<source>Activate</source>
|
<source>Activate</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="330"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="271"/>
|
||||||
<source>Deactivate</source>
|
<source>Deactivate</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="344"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="451"/>
|
||||||
<source>Mark as read</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="347"/>
|
|
||||||
<source>Mark as unread</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="350"/>
|
|
||||||
<source>Mark all as read</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="354"/>
|
|
||||||
<source>Copy link</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="357"/>
|
|
||||||
<source>Remove</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="521"/>
|
|
||||||
<source>No name</source>
|
<source>No name</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="906"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="588"/>
|
||||||
<source>Hide</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="910"/>
|
|
||||||
<source>Expand</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="917"/>
|
|
||||||
<source>Add new folder</source>
|
<source>Add new folder</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="918"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="589"/>
|
||||||
<source>Please enter a name for the folder</source>
|
<source>Please enter a name for the folder</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="924"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="595"/>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="977"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="648"/>
|
||||||
<source>Create folder</source>
|
<source>Create folder</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="924"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="595"/>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="977"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="648"/>
|
||||||
<source>Cannot create folder.</source>
|
<source>Cannot create folder.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="950"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="621"/>
|
||||||
<source>Remove folder</source>
|
<source>Remove folder</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="950"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="621"/>
|
||||||
<source>Remove feed</source>
|
<source>Remove feed</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="950"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="621"/>
|
||||||
<source>Do you want to remove the folder %1?</source>
|
<source>Do you want to remove the folder %1?</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="950"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="621"/>
|
||||||
<source>Do you want to remove the feed %1?</source>
|
<source>Do you want to remove the feed %1?</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="970"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="641"/>
|
||||||
<source>Edit folder</source>
|
<source>Edit folder</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/FeedReaderDialog.cpp" line="971"/>
|
<location filename="../gui/FeedReaderDialog.cpp" line="642"/>
|
||||||
<source>Please enter a new name for the folder</source>
|
<source>Please enter a new name for the folder</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>FeedReaderMessageWidget</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.ui" line="14"/>
|
||||||
|
<source>Form</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.ui" line="45"/>
|
||||||
|
<source>Search forums</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.ui" line="76"/>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="75"/>
|
||||||
|
<source>Title</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.ui" line="90"/>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="76"/>
|
||||||
|
<source>Date</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.ui" line="95"/>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="77"/>
|
||||||
|
<source>Author</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="75"/>
|
||||||
|
<source>Search Title</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="76"/>
|
||||||
|
<source>Search Date</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="77"/>
|
||||||
|
<source>Search Author</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="89"/>
|
||||||
|
<source>Open link in browser</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="90"/>
|
||||||
|
<source>Copy link to clipboard</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="190"/>
|
||||||
|
<source>No name</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="228"/>
|
||||||
|
<source>Mark as read</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="231"/>
|
||||||
|
<source>Mark as unread</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="234"/>
|
||||||
|
<source>Mark all as read</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="238"/>
|
||||||
|
<source>Copy link</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="241"/>
|
||||||
|
<source>Remove</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="588"/>
|
||||||
|
<source>Hide</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../gui/FeedReaderMessageWidget.cpp" line="592"/>
|
||||||
|
<source>Expand</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>FeedReaderPlugin</name>
|
<name>FeedReaderPlugin</name>
|
||||||
<message>
|
<message>
|
||||||
|
@ -79,6 +79,9 @@ GxsForumsDialog::GxsForumsDialog(QWidget *parent)
|
|||||||
// HACK - TEMPORARY HIJACKING THIS BUTTON FOR REFRESH.
|
// HACK - TEMPORARY HIJACKING THIS BUTTON FOR REFRESH.
|
||||||
connect(ui.refreshButton, SIGNAL(clicked()), this, SLOT(forceUpdateDisplay()));
|
connect(ui.refreshButton, SIGNAL(clicked()), this, SLOT(forceUpdateDisplay()));
|
||||||
|
|
||||||
|
/* Initialize group tree */
|
||||||
|
ui.forumTreeWidget->initDisplayMenu(ui.displayButton);
|
||||||
|
|
||||||
/* Set initial size the splitter */
|
/* Set initial size the splitter */
|
||||||
QList<int> sizes;
|
QList<int> sizes;
|
||||||
sizes << 300 << width(); // Qt calculates the right sizes
|
sizes << 300 << width(); // Qt calculates the right sizes
|
||||||
@ -107,7 +110,7 @@ GxsForumsDialog::~GxsForumsDialog()
|
|||||||
delete(mForumQueue);
|
delete(mForumQueue);
|
||||||
}
|
}
|
||||||
|
|
||||||
//#AFTER MERGE UserNotify *GxsForumsDialog::getUserNotify(QObject *parent)
|
//UserNotify *GxsForumsDialog::getUserNotify(QObject *parent)
|
||||||
//{
|
//{
|
||||||
// return new GxsForumUserNotify(parent);
|
// return new GxsForumUserNotify(parent);
|
||||||
//}
|
//}
|
||||||
|
@ -46,7 +46,7 @@ public:
|
|||||||
GxsForumsDialog(QWidget *parent = 0);
|
GxsForumsDialog(QWidget *parent = 0);
|
||||||
~GxsForumsDialog();
|
~GxsForumsDialog();
|
||||||
|
|
||||||
//#AFTER MERGE virtual UserNotify *getUserNotify(QObject *parent);
|
// virtual UserNotify *getUserNotify(QObject *parent);
|
||||||
|
|
||||||
bool navigate(const std::string& forumId, const std::string& msgId);
|
bool navigate(const std::string& forumId, const std::string& msgId);
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
#include "gui/gxs/GxsForumGroupDialog.h"
|
#include "gui/gxs/GxsForumGroupDialog.h"
|
||||||
#include "CreateGxsForumMsg.h"
|
#include "CreateGxsForumMsg.h"
|
||||||
#include "gui/msgs/MessageComposer.h"
|
#include "gui/msgs/MessageComposer.h"
|
||||||
|
#include "util/DateTime.h"
|
||||||
|
|
||||||
#include <retroshare/rsgxsforums.h>
|
#include <retroshare/rsgxsforums.h>
|
||||||
#include <retroshare/rspeers.h>
|
#include <retroshare/rspeers.h>
|
||||||
@ -140,22 +141,12 @@ GxsForumThreadWidget::GxsForumThreadWidget(const std::string &forumId, QWidget *
|
|||||||
QTreeWidgetItem *headerItem = ui->threadTreeWidget->headerItem();
|
QTreeWidgetItem *headerItem = ui->threadTreeWidget->headerItem();
|
||||||
headerItem->setText(COLUMN_THREAD_READ, "");
|
headerItem->setText(COLUMN_THREAD_READ, "");
|
||||||
|
|
||||||
//#AFTER MERGE
|
|
||||||
setTextColorNotSubscribed(Qt::black);
|
|
||||||
setTextColorUnread(Qt::black);
|
|
||||||
setTextColorUnreadChildren(Qt::gray);
|
|
||||||
setTextColorRead(Qt::gray);
|
|
||||||
setTextColorMissing(Qt::darkRed);
|
|
||||||
|
|
||||||
/* Initialize group tree */
|
|
||||||
//#AFTER MERGE ui.forumTreeWidget->initDisplayMenu(ui.displayButton);
|
|
||||||
|
|
||||||
/* add filter actions */
|
/* add filter actions */
|
||||||
//#AFTER MERGE ui.filterLineEdit->addFilter(QIcon(), tr("Title"), COLUMN_THREAD_TITLE, tr("Search Title"));
|
ui->filterLineEdit->addFilter(QIcon(), tr("Title"), COLUMN_THREAD_TITLE, tr("Search Title"));
|
||||||
//#AFTER MERGE ui.filterLineEdit->addFilter(QIcon(), tr("Date"), COLUMN_THREAD_DATE, tr("Search Date"));
|
ui->filterLineEdit->addFilter(QIcon(), tr("Date"), COLUMN_THREAD_DATE, tr("Search Date"));
|
||||||
//#AFTER MERGE ui.filterLineEdit->addFilter(QIcon(), tr("Author"), COLUMN_THREAD_AUTHOR, tr("Search Author"));
|
ui->filterLineEdit->addFilter(QIcon(), tr("Author"), COLUMN_THREAD_AUTHOR, tr("Search Author"));
|
||||||
//#AFTER MERGE ui.filterLineEdit->addFilter(QIcon(), tr("Content"), COLUMN_THREAD_CONTENT, tr("Search Content"));
|
ui->filterLineEdit->addFilter(QIcon(), tr("Content"), COLUMN_THREAD_CONTENT, tr("Search Content"));
|
||||||
//#AFTER MERGE ui.filterLineEdit->setCurrentFilter(COLUMN_THREAD_TITLE);
|
ui->filterLineEdit->setCurrentFilter(COLUMN_THREAD_TITLE);
|
||||||
|
|
||||||
mLastViewType = -1;
|
mLastViewType = -1;
|
||||||
|
|
||||||
@ -219,7 +210,7 @@ void GxsForumThreadWidget::processSettings(bool load)
|
|||||||
togglethreadview_internal();
|
togglethreadview_internal();
|
||||||
|
|
||||||
// filterColumn
|
// filterColumn
|
||||||
//#AFTER MERGE ui.filterLineEdit->setCurrentFilter(Settings->value("filterColumn", COLUMN_THREAD_TITLE).toInt());
|
ui->filterLineEdit->setCurrentFilter(Settings->value("filterColumn", COLUMN_THREAD_TITLE).toInt());
|
||||||
|
|
||||||
// index of viewBox
|
// index of viewBox
|
||||||
ui->viewBox->setCurrentIndex(Settings->value("viewBox", VIEW_THREADED).toInt());
|
ui->viewBox->setCurrentIndex(Settings->value("viewBox", VIEW_THREADED).toInt());
|
||||||
@ -797,14 +788,14 @@ QTreeWidgetItem *GxsForumThreadWidget::convertMsgToThreadWidget(const RsGxsForum
|
|||||||
else
|
else
|
||||||
qtime.setTime_t(msg.mMeta.mPublishTs);
|
qtime.setTime_t(msg.mMeta.mPublishTs);
|
||||||
|
|
||||||
//#AFTER MERGE text = DateTime::formatDateTime(qtime);
|
text = DateTime::formatDateTime(qtime);
|
||||||
sort = qtime.toString("yyyyMMdd_hhmmss");
|
sort = qtime.toString("yyyyMMdd_hhmmss");
|
||||||
|
|
||||||
if (useChildTS)
|
if (useChildTS)
|
||||||
{
|
{
|
||||||
qtime.setTime_t(msg.mMeta.mPublishTs);
|
qtime.setTime_t(msg.mMeta.mPublishTs);
|
||||||
text += " / ";
|
text += " / ";
|
||||||
//#AFTER MERGE text += DateTime::formatDateTime(qtime);
|
text += DateTime::formatDateTime(qtime);
|
||||||
sort += "_" + qtime.toString("yyyyMMdd_hhmmss");
|
sort += "_" + qtime.toString("yyyyMMdd_hhmmss");
|
||||||
}
|
}
|
||||||
item->setText(COLUMN_THREAD_DATE, text);
|
item->setText(COLUMN_THREAD_DATE, text);
|
||||||
@ -948,7 +939,7 @@ void GxsForumThreadWidget::insertForumThreads(const RsGroupMetaData &fi)
|
|||||||
// set data
|
// set data
|
||||||
mFillThread->mCompareRole = mThreadCompareRole;
|
mFillThread->mCompareRole = mThreadCompareRole;
|
||||||
mFillThread->mForumId = mForumId;
|
mFillThread->mForumId = mForumId;
|
||||||
//#AFTER MERGE mFillThread->mFilterColumn = ui->filterLineEdit->currentFilter();
|
mFillThread->mFilterColumn = ui->filterLineEdit->currentFilter();
|
||||||
mFillThread->mFilterColumn = COLUMN_THREAD_TITLE;
|
mFillThread->mFilterColumn = COLUMN_THREAD_TITLE;
|
||||||
mFillThread->mSubscribeFlags = mSubscribeFlags;
|
mFillThread->mSubscribeFlags = mSubscribeFlags;
|
||||||
mFillThread->mExpandNewMessages = Settings->getExpandNewMessages();
|
mFillThread->mExpandNewMessages = Settings->getExpandNewMessages();
|
||||||
@ -1229,12 +1220,11 @@ void GxsForumThreadWidget::insertPostData(const RsGxsForumMsg &msg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//#AFTER MERGE ui.time_label->setText(DateTime::formatLongDateTime(msg.mMeta.mPublishTs));
|
ui->time_label->setText(DateTime::formatLongDateTime(msg.mMeta.mPublishTs));
|
||||||
|
|
||||||
std::string authorName = rsPeers->getPeerName(msg.mMeta.mAuthorId);
|
std::string authorName = rsPeers->getPeerName(msg.mMeta.mAuthorId);
|
||||||
QString text = QString::fromUtf8(authorName.c_str());
|
QString text = QString::fromUtf8(authorName.c_str());
|
||||||
|
|
||||||
//#AFTER MERGE merge from ForumsDialog
|
|
||||||
if (text.isEmpty())
|
if (text.isEmpty())
|
||||||
{
|
{
|
||||||
ui->by_label->setText( tr("By") + " " + tr("Anonymous"));
|
ui->by_label->setText( tr("By") + " " + tr("Anonymous"));
|
||||||
@ -1561,11 +1551,11 @@ static QString buildReplyHeader(const RsMsgMetaData &meta)
|
|||||||
QString header = QString("<span>-----%1-----").arg(QApplication::translate("GxsForumsDialog", "Original Message"));
|
QString header = QString("<span>-----%1-----").arg(QApplication::translate("GxsForumsDialog", "Original Message"));
|
||||||
header += QString("<br><font size='3'><strong>%1: </strong>%2</font><br>").arg(QApplication::translate("GxsForumsDialog", "From"), from);
|
header += QString("<br><font size='3'><strong>%1: </strong>%2</font><br>").arg(QApplication::translate("GxsForumsDialog", "From"), from);
|
||||||
|
|
||||||
//#AFTER MERGE header += QString("<br><font size='3'><strong>%1: </strong>%2</font><br>").arg(QApplication::translate("GxsForumsDialog", "Sent"), DateTime::formatLongDateTime(meta.mPublishTs));
|
header += QString("<br><font size='3'><strong>%1: </strong>%2</font><br>").arg(QApplication::translate("GxsForumsDialog", "Sent"), DateTime::formatLongDateTime(meta.mPublishTs));
|
||||||
header += QString("<font size='3'><strong>%1: </strong>%2</font></span><br>").arg(QApplication::translate("GxsForumsDialog", "Subject"), QString::fromUtf8(meta.mMsgName.c_str()));
|
header += QString("<font size='3'><strong>%1: </strong>%2</font></span><br>").arg(QApplication::translate("GxsForumsDialog", "Subject"), QString::fromUtf8(meta.mMsgName.c_str()));
|
||||||
header += "<br>";
|
header += "<br>";
|
||||||
|
|
||||||
//#AFTER MERGE header += QApplication::translate("GxsForumsDialog", "On %1, %2 wrote:").arg(DateTime::formatDateTime(meta.mPublishTs), from);
|
header += QApplication::translate("GxsForumsDialog", "On %1, %2 wrote:").arg(DateTime::formatDateTime(meta.mPublishTs), from);
|
||||||
|
|
||||||
return header;
|
return header;
|
||||||
}
|
}
|
||||||
@ -1644,8 +1634,7 @@ void GxsForumThreadWidget::filterColumnChanged(int column)
|
|||||||
|
|
||||||
void GxsForumThreadWidget::filterItems(const QString& text)
|
void GxsForumThreadWidget::filterItems(const QString& text)
|
||||||
{
|
{
|
||||||
//#AFTER MERGE int filterColumn = ui.filterLineEdit->currentFilter();
|
int filterColumn = ui->filterLineEdit->currentFilter();
|
||||||
int filterColumn = COLUMN_THREAD_TITLE;
|
|
||||||
|
|
||||||
int count = ui->threadTreeWidget->topLevelItemCount();
|
int count = ui->threadTreeWidget->topLevelItemCount();
|
||||||
for (int index = 0; index < count; ++index) {
|
for (int index = 0; index < count; ++index) {
|
||||||
|
@ -13,7 +13,7 @@ AvatarWidget[frameState="BUSY"]{border-image:url(:/images/avatarstatus-bg-busy-1
|
|||||||
|
|
||||||
/* Color definitions */
|
/* Color definitions */
|
||||||
|
|
||||||
ForumsDialog
|
ForumsDialog, GxsForumThreadWidget
|
||||||
{
|
{
|
||||||
qproperty-textColorRead: gray;
|
qproperty-textColorRead: gray;
|
||||||
qproperty-textColorUnread: black;
|
qproperty-textColorUnread: black;
|
||||||
|
@ -2373,6 +2373,42 @@ Some services (Discovery, anonymous routing) can be switched off globally, which
|
|||||||
<source>Forums/channels</source>
|
<source>Forums/channels</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Abnormal size read is bigger than memory block.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Invalid location id.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Invalid external IP.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Invalid local IP.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Invalid checksum section.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Checksum mismatch. Certificate is corrupted.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Unknown section type found (Certificate might be corrupted).</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Missing checksum.</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Unknown certificate error</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>CreateBlog</name>
|
<name>CreateBlog</name>
|
||||||
@ -5829,6 +5865,26 @@ p, li { white-space: pre-wrap; }
|
|||||||
<source>You cant reply to an Anonymous Author</source>
|
<source>You cant reply to an Anonymous Author</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Search Title</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Search Date</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Search Author</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Content</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Search Content</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GxsForumsDialog</name>
|
<name>GxsForumsDialog</name>
|
||||||
@ -5924,6 +5980,14 @@ p, li { white-space: pre-wrap; }
|
|||||||
<source>My Forums</source>
|
<source>My Forums</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Sent</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>On %1, %2 wrote:</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>GxsForumsFillThread</name>
|
<name>GxsForumsFillThread</name>
|
||||||
|
Loading…
Reference in New Issue
Block a user