mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 02:44:20 -05:00
enabled Paste Links Full for Forum Posts, fixed Turkish translation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2605 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
594defb1bd
commit
beec507b1c
@ -91,11 +91,13 @@ void CreateForumMsg::forumMessageCostumPopupMenu( QPoint point )
|
|||||||
|
|
||||||
pasteLinkAct = new QAction(QIcon(":/images/pasterslink.png"), tr( "Paste retroshare Link" ), this );
|
pasteLinkAct = new QAction(QIcon(":/images/pasterslink.png"), tr( "Paste retroshare Link" ), this );
|
||||||
connect( pasteLinkAct , SIGNAL( triggered() ), this, SLOT( pasteLink() ) );
|
connect( pasteLinkAct , SIGNAL( triggered() ), this, SLOT( pasteLink() ) );
|
||||||
//pasteLinkAct->setShortcut(QKeySequence::Paste);
|
|
||||||
|
|
||||||
|
pasteLinkFullAct = new QAction(QIcon(":/images/pasterslink.png"), tr( "Paste retroshare Link Full" ), this );
|
||||||
|
connect( pasteLinkFullAct , SIGNAL( triggered() ), this, SLOT( pasteLinkFull() ) );
|
||||||
|
|
||||||
contextMnu->clear();
|
contextMnu->clear();
|
||||||
contextMnu->addAction( pasteLinkAct);
|
contextMnu->addAction( pasteLinkAct);
|
||||||
|
contextMnu->addAction( pasteLinkFullAct);
|
||||||
|
|
||||||
QMouseEvent *mevent = new QMouseEvent( QEvent::MouseButtonPress, point, Qt::RightButton, Qt::RightButton, Qt::NoModifier );
|
QMouseEvent *mevent = new QMouseEvent( QEvent::MouseButtonPress, point, Qt::RightButton, Qt::RightButton, Qt::NoModifier );
|
||||||
contextMnu->exec( mevent->globalPos() );
|
contextMnu->exec( mevent->globalPos() );
|
||||||
@ -421,3 +423,8 @@ void CreateForumMsg::pasteLink()
|
|||||||
ui.forumMessage->insertHtml(RSLinkClipboard::toHtml()) ;
|
ui.forumMessage->insertHtml(RSLinkClipboard::toHtml()) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CreateForumMsg::pasteLinkFull()
|
||||||
|
{
|
||||||
|
ui.forumMessage->insertHtml(RSLinkClipboard::toHtmlFull()) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ private slots:
|
|||||||
void createMsg();
|
void createMsg();
|
||||||
void cancelMsg();
|
void cancelMsg();
|
||||||
void pasteLink();
|
void pasteLink();
|
||||||
|
void pasteLinkFull();
|
||||||
|
|
||||||
void smileyWidgetForums();
|
void smileyWidgetForums();
|
||||||
void addSmileys();
|
void addSmileys();
|
||||||
@ -65,6 +65,7 @@ private:
|
|||||||
|
|
||||||
/** Defines the actions for the context menu */
|
/** Defines the actions for the context menu */
|
||||||
QAction* pasteLinkAct;
|
QAction* pasteLinkAct;
|
||||||
|
QAction* pasteLinkFullAct;
|
||||||
|
|
||||||
std::string mForumId;
|
std::string mForumId;
|
||||||
std::string mParentId;
|
std::string mParentId;
|
||||||
|
Binary file not shown.
@ -2459,7 +2459,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../gui/forums/CreateForumMsg.ui" line="308"/>
|
<location filename="../gui/forums/CreateForumMsg.ui" line="308"/>
|
||||||
<source>Close</source>
|
<source>Close</source>
|
||||||
<translation type="unfinished">bağlantılı</translation>
|
<translation>Kapat</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/forums/CreateForumMsg.ui" line="17"/>
|
<location filename="../gui/forums/CreateForumMsg.ui" line="17"/>
|
||||||
@ -2469,17 +2469,17 @@ p, li { white-space: pre-wrap; }
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../gui/forums/CreateForumMsg.ui" line="59"/>
|
<location filename="../gui/forums/CreateForumMsg.ui" line="59"/>
|
||||||
<source>Forum</source>
|
<source>Forum</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/forums/CreateForumMsg.ui" line="77"/>
|
<location filename="../gui/forums/CreateForumMsg.ui" line="77"/>
|
||||||
<source>Forum Post Subject</source>
|
<source>Forum Post Subject</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation>Başlık</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/forums/CreateForumMsg.ui" line="187"/>
|
<location filename="../gui/forums/CreateForumMsg.ui" line="187"/>
|
||||||
<source>Paste retroshare link</source>
|
<source>Paste retroshare link</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation>Yapıştır retroshare Link</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/forums/CreateForumMsg.ui" line="222"/>
|
<location filename="../gui/forums/CreateForumMsg.ui" line="222"/>
|
||||||
@ -2504,7 +2504,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../gui/forums/CreateForumMsg.cpp" line="92"/>
|
<location filename="../gui/forums/CreateForumMsg.cpp" line="92"/>
|
||||||
<source>Paste retroshare Link</source>
|
<source>Paste retroshare Link</source>
|
||||||
<translation type="unfinished">Yapıştır retroshare Link</translation>
|
<translation>Yapıştır retroshare Link</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/forums/CreateForumMsg.cpp" line="169"/>
|
<location filename="../gui/forums/CreateForumMsg.cpp" line="169"/>
|
||||||
@ -2519,7 +2519,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../gui/forums/CreateForumMsg.cpp" line="349"/>
|
<location filename="../gui/forums/CreateForumMsg.cpp" line="349"/>
|
||||||
<source>Add Extra File</source>
|
<source>Add Extra File</source>
|
||||||
<translation type="unfinished">Ekstra Dosya Ekle</translation>
|
<translation>Ekstra Dosya Ekle</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
@ -3474,8 +3474,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<location filename="../gui/ForumsDialog.cpp" line="694"/>
|
<location filename="../gui/ForumsDialog.cpp" line="694"/>
|
||||||
<location filename="../gui/ForumsDialog.cpp" line="779"/>
|
<location filename="../gui/ForumsDialog.cpp" line="779"/>
|
||||||
<source>signed</source>
|
<source>signed</source>
|
||||||
<translation>imzalı
|
<translation>imzalı</translation>
|
||||||
</translation>
|
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/ForumsDialog.cpp" line="698"/>
|
<location filename="../gui/ForumsDialog.cpp" line="698"/>
|
||||||
@ -3542,7 +3541,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../gui/ForumsDialog.ui" line="910"/>
|
<location filename="../gui/ForumsDialog.ui" line="910"/>
|
||||||
<source>Title</source>
|
<source>Title</source>
|
||||||
<translation>Başlık:</translation>
|
<translation>Başlık</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../gui/ForumsDialog.cpp" line="177"/>
|
<location filename="../gui/ForumsDialog.cpp" line="177"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user