mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -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 );
|
||||
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->addAction( pasteLinkAct);
|
||||
contextMnu->addAction( pasteLinkFullAct);
|
||||
|
||||
QMouseEvent *mevent = new QMouseEvent( QEvent::MouseButtonPress, point, Qt::RightButton, Qt::RightButton, Qt::NoModifier );
|
||||
contextMnu->exec( mevent->globalPos() );
|
||||
@ -421,3 +423,8 @@ void CreateForumMsg::pasteLink()
|
||||
ui.forumMessage->insertHtml(RSLinkClipboard::toHtml()) ;
|
||||
}
|
||||
|
||||
void CreateForumMsg::pasteLinkFull()
|
||||
{
|
||||
ui.forumMessage->insertHtml(RSLinkClipboard::toHtmlFull()) ;
|
||||
}
|
||||
|
||||
|
@ -51,7 +51,7 @@ private slots:
|
||||
void createMsg();
|
||||
void cancelMsg();
|
||||
void pasteLink();
|
||||
|
||||
void pasteLinkFull();
|
||||
|
||||
void smileyWidgetForums();
|
||||
void addSmileys();
|
||||
@ -65,6 +65,7 @@ private:
|
||||
|
||||
/** Defines the actions for the context menu */
|
||||
QAction* pasteLinkAct;
|
||||
QAction* pasteLinkFullAct;
|
||||
|
||||
std::string mForumId;
|
||||
std::string mParentId;
|
||||
|
Binary file not shown.
@ -2459,7 +2459,7 @@ p, li { white-space: pre-wrap; }
|
||||
<message>
|
||||
<location filename="../gui/forums/CreateForumMsg.ui" line="308"/>
|
||||
<source>Close</source>
|
||||
<translation type="unfinished">bağlantılı</translation>
|
||||
<translation>Kapat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/forums/CreateForumMsg.ui" line="17"/>
|
||||
@ -2469,17 +2469,17 @@ p, li { white-space: pre-wrap; }
|
||||
<message>
|
||||
<location filename="../gui/forums/CreateForumMsg.ui" line="59"/>
|
||||
<source>Forum</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/forums/CreateForumMsg.ui" line="77"/>
|
||||
<source>Forum Post Subject</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Başlık</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/forums/CreateForumMsg.ui" line="187"/>
|
||||
<source>Paste retroshare link</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Yapıştır retroshare Link</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/forums/CreateForumMsg.ui" line="222"/>
|
||||
@ -2504,7 +2504,7 @@ p, li { white-space: pre-wrap; }
|
||||
<message>
|
||||
<location filename="../gui/forums/CreateForumMsg.cpp" line="92"/>
|
||||
<source>Paste retroshare Link</source>
|
||||
<translation type="unfinished">Yapıştır retroshare Link</translation>
|
||||
<translation>Yapıştır retroshare Link</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/forums/CreateForumMsg.cpp" line="169"/>
|
||||
@ -2519,7 +2519,7 @@ p, li { white-space: pre-wrap; }
|
||||
<message>
|
||||
<location filename="../gui/forums/CreateForumMsg.cpp" line="349"/>
|
||||
<source>Add Extra File</source>
|
||||
<translation type="unfinished">Ekstra Dosya Ekle</translation>
|
||||
<translation>Ekstra Dosya Ekle</translation>
|
||||
</message>
|
||||
</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="779"/>
|
||||
<source>signed</source>
|
||||
<translation>imzalı
|
||||
</translation>
|
||||
<translation>imzalı</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/ForumsDialog.cpp" line="698"/>
|
||||
@ -3542,7 +3541,7 @@ p, li { white-space: pre-wrap; }
|
||||
<message>
|
||||
<location filename="../gui/ForumsDialog.ui" line="910"/>
|
||||
<source>Title</source>
|
||||
<translation>Başlık:</translation>
|
||||
<translation>Başlık</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/ForumsDialog.cpp" line="177"/>
|
||||
|
Loading…
Reference in New Issue
Block a user