mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 08:59:50 -05:00
Merge pull request #13 from felisucoibi/0.6-buttons
0.6 buttons renamed chat lobbies to chat rooms
This commit is contained in:
commit
717b455699
@ -171,8 +171,8 @@ ChatLobbyWidget::ChatLobbyWidget(QWidget *parent, Qt::WindowFlags flags)
|
||||
|
||||
int S = QFontMetricsF(font()).height();
|
||||
QString help_str = tr("\
|
||||
<h1><img width=\"%1\" src=\":/icons/help_64.png\"> Chat Lobbies</h1> \
|
||||
<p>Chat lobbies are distributed chat rooms, and work pretty much like IRC. \
|
||||
<h1><img width=\"%1\" src=\":/icons/help_64.png\"> Chat Rooms</h1> \
|
||||
<p>Chat rooms work pretty much like IRC. \
|
||||
They allow you to talk anonymously with tons of people without the need to make friends.</p> \
|
||||
<p>A chat lobby can be public (your friends see it) or private (your friends can't see it, unless you \
|
||||
invite them with <img src=\":/images/add_24x24.png\" width=%2/>). \
|
||||
@ -181,10 +181,10 @@ ChatLobbyWidget::ChatLobbyWidget(QWidget *parent, Qt::WindowFlags flags)
|
||||
<p>The list at left shows \
|
||||
chat lobbies your friends are participating in. You can either \
|
||||
<ul> \
|
||||
<li>Right click to create a new chat lobby</li> \
|
||||
<li>Right click to create a new chat room</li> \
|
||||
<li>Double click a chat lobby to enter, chat, and show it to your friends</li> \
|
||||
</ul> \
|
||||
Note: For the chat lobbies to work properly, your computer needs be on time. So check your system clock!\
|
||||
Note: For the chat rooms to work properly, your computer needs be on time. So check your system clock!\
|
||||
</p> \
|
||||
"
|
||||
).arg(QString::number(2*S)).arg(QString::number(S)) ;
|
||||
|
@ -72,7 +72,7 @@
|
||||
<item>
|
||||
<widget class="StyledLabel" name="titleBarLabel">
|
||||
<property name="text">
|
||||
<string>Chat lobbies</string>
|
||||
<string>Chat rooms</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -348,7 +348,7 @@ void MainWindow::initStackedPage()
|
||||
// CirclesDialog *circlesDialog = NULL;
|
||||
// addPage(circlesDialog = new CirclesDialog(ui->stackPages), grp, ¬ify);
|
||||
//#endif
|
||||
|
||||
addPage(friendsDialog = new FriendsDialog(ui->stackPages), grp, ¬ify);
|
||||
addPage(chatLobbyDialog = new ChatLobbyWidget(ui->stackPages), grp, ¬ify);
|
||||
addPage(transfersDialog = new TransfersDialog(ui->stackPages), grp, ¬ify);
|
||||
addPage(gxschannelDialog = new GxsChannelDialog(ui->stackPages), grp, ¬ify);
|
||||
@ -356,7 +356,7 @@ void MainWindow::initStackedPage()
|
||||
addPage(messagesDialog = new MessagesDialog(ui->stackPages), grp, ¬ify);
|
||||
addPage(postedDialog = new PostedDialog(ui->stackPages), grp, ¬ify);
|
||||
addPage(idDialog = new IdDialog(ui->stackPages), grp, ¬ify);
|
||||
addPage(friendsDialog = new FriendsDialog(ui->stackPages), grp, ¬ify);
|
||||
|
||||
#ifdef RS_USE_NEW_PEOPLE_DIALOG
|
||||
PeopleDialog *peopleDialog = NULL;
|
||||
addPage(peopleDialog = new PeopleDialog(ui->stackPages), grp, ¬ify);
|
||||
|
@ -40,7 +40,7 @@ CreateLobbyDialog::CreateLobbyDialog(const std::set<RsPeerId>& peer_list, int pr
|
||||
ui->setupUi(this);
|
||||
|
||||
ui->headerFrame->setHeaderImage(QPixmap(":/icons/png/chat-lobbies.png"));
|
||||
ui->headerFrame->setHeaderText(tr("Create Chat Lobby"));
|
||||
ui->headerFrame->setHeaderText(tr("Create Chat Room"));
|
||||
|
||||
RsGxsId default_identity ;
|
||||
rsMsgs->getDefaultIdentityForChatLobby(default_identity) ;
|
||||
@ -48,7 +48,7 @@ CreateLobbyDialog::CreateLobbyDialog(const std::set<RsPeerId>& peer_list, int pr
|
||||
ui->idChooser_CB->loadIds(IDCHOOSER_ID_REQUIRED, default_identity);
|
||||
|
||||
#if QT_VERSION >= 0x040700
|
||||
ui->lobbyName_LE->setPlaceholderText(tr("Put a sensible lobby name here"));
|
||||
ui->lobbyName_LE->setPlaceholderText(tr("Put a sensible chat room name here"));
|
||||
ui->lobbyTopic_LE->setPlaceholderText(tr("Set a descriptive topic here"));
|
||||
#endif
|
||||
|
||||
@ -149,7 +149,7 @@ void CreateLobbyDialog::createLobby()
|
||||
|
||||
ChatLobbyId id = rsMsgs->createChatLobby(lobby_name,gxs_id, lobby_topic, shareList, lobby_flags);
|
||||
|
||||
std::cerr << "gui: Created chat lobby " << std::hex << id << std::dec << std::endl ;
|
||||
std::cerr << "gui: Created chat room " << std::hex << id << std::dec << std::endl ;
|
||||
|
||||
// open chat window !!
|
||||
ChatDialog::chatFriend(ChatId(id)) ;
|
||||
|
@ -47,7 +47,7 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="notify_Peers">
|
||||
<property name="text">
|
||||
<string>Friend Connect</string>
|
||||
<string>Friend Connected</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -68,7 +68,7 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="notify_Posted">
|
||||
<property name="text">
|
||||
<string>Posted</string>
|
||||
<string>Links</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -82,14 +82,14 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="notify_Messages">
|
||||
<property name="text">
|
||||
<string>Messages</string>
|
||||
<string>Mails</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="notify_Chat">
|
||||
<property name="text">
|
||||
<string>Chat</string>
|
||||
<string>Chats</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -242,7 +242,7 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="popup_ChatLobby">
|
||||
<property name="text">
|
||||
<string>Chat Lobby</string>
|
||||
<string>Chat Room</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -414,7 +414,7 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="systray_ChatLobby">
|
||||
<property name="text">
|
||||
<string>Chat lobbies</string>
|
||||
<string>Chat rooms</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -438,7 +438,7 @@
|
||||
</widget>
|
||||
<widget class="QWidget" name="tabChatLobbies">
|
||||
<attribute name="title">
|
||||
<string>Chat Lobbies</string>
|
||||
<string>Chat Rooms</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="tabChatLobbiesVLayout">
|
||||
<item>
|
||||
|
Loading…
Reference in New Issue
Block a user