fixed translation of built-in group names in GxsGroupDialog

This commit is contained in:
csoler 2017-07-01 17:24:58 +02:00
parent c61536e737
commit 77b064b371
2 changed files with 5 additions and 4 deletions

View File

@ -27,6 +27,7 @@
#include <iostream> #include <iostream>
#include <retroshare/rspeers.h> #include <retroshare/rspeers.h>
#include <gui/common/GroupDefs.h>
/** Constructor */ /** Constructor */
GroupChooser::GroupChooser(QWidget *parent) GroupChooser::GroupChooser(QWidget *parent)
@ -88,7 +89,7 @@ void GroupChooser::loadGroups()
std::cerr << std::endl; std::cerr << std::endl;
continue; continue;
} }
QString id = QString::fromStdString(it->id.toStdString()); QString id = GroupDefs::name(*it) ;
addItem(str, id); addItem(str, id);

View File

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1237</width> <width>1237</width>
<height>622</height> <height>1145</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -370,7 +370,7 @@
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Messages will only be distributed to the selected subset of your friend nodes. They will not forward messages with each other, but only use your own node as a central hub to distribute them.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Messages will only be distributed to the selected subset of your friend nodes. They will not forward messages with each other, but only use your own node as a central hub to distribute them.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<property name="text"> <property name="text">
<string>Only For Your Friends</string> <string>Restricted node group </string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../icons.qrc"> <iconset resource="../icons.qrc">
@ -917,8 +917,8 @@
</customwidget> </customwidget>
</customwidgets> </customwidgets>
<resources> <resources>
<include location="../images.qrc"/>
<include location="../icons.qrc"/> <include location="../icons.qrc"/>
<include location="../images.qrc"/>
</resources> </resources>
<connections/> <connections/>
</ui> </ui>