mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
Fixed translation support for few strings in TurtleRouterDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2673 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e78774d490
commit
69d6b67673
@ -16,12 +16,12 @@ TurtleRouterDialog::TurtleRouterDialog(QWidget *parent)
|
||||
int n=0 ;
|
||||
|
||||
stl.clear() ;
|
||||
stl.push_back(QString("Search requests")) ;
|
||||
stl.push_back(tr("Search requests")) ;
|
||||
top_level_s_requests = new QTreeWidgetItem(_f2f_TW,stl) ;
|
||||
_f2f_TW->insertTopLevelItem(n++,top_level_s_requests) ;
|
||||
|
||||
stl.clear() ;
|
||||
stl.push_back(QString("Tunnel requests")) ;
|
||||
stl.push_back(tr("Tunnel requests")) ;
|
||||
top_level_t_requests = new QTreeWidgetItem(_f2f_TW,stl) ;
|
||||
_f2f_TW->insertTopLevelItem(n++,top_level_t_requests) ;
|
||||
|
||||
@ -76,7 +76,7 @@ void TurtleRouterDialog::updateDisplay()
|
||||
|
||||
new QTreeWidgetItem(top_level_s_requests,stl) ;
|
||||
}
|
||||
top_level_s_requests->setText(0,"Search requests ("+QString::number(search_reqs_info.size())+")") ;
|
||||
top_level_s_requests->setText(0, tr("Search requests") + "(" + QString::number(search_reqs_info.size()) + ")" ) ;
|
||||
|
||||
for(uint i=0;i<tunnel_reqs_info.size();++i)
|
||||
{
|
||||
@ -87,7 +87,7 @@ void TurtleRouterDialog::updateDisplay()
|
||||
|
||||
new QTreeWidgetItem(top_level_t_requests,stl) ;
|
||||
}
|
||||
top_level_t_requests->setText(0,"tunnel requests ("+QString::number(tunnel_reqs_info.size())+")") ;
|
||||
top_level_t_requests->setText(0, tr("Tunnel requests") + "("+QString::number(tunnel_reqs_info.size()) + ")") ;
|
||||
|
||||
// Ok, this is a N2 search, but there are very few elements in the list.
|
||||
for(int i=2;i<_f2f_TW->topLevelItemCount();)
|
||||
|
Loading…
Reference in New Issue
Block a user