mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-25 23:06:10 -05:00
Added new translation for chat lobby invitation.
Fixed german translation. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4894 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
92275e8e85
commit
b4d9828438
@ -353,7 +353,7 @@ void ChatLobbyWidget::readChatLobbyInvites()
|
||||
rsMsgs->getPendingChatLobbyInvites(invites);
|
||||
|
||||
for(std::list<ChatLobbyInvite>::const_iterator it(invites.begin());it!=invites.end();++it) {
|
||||
if (QMessageBox::Ok == QMessageBox::question(this, tr("Invitation to chat lobby"), QString::fromUtf8(rsPeers->getPeerName((*it).peer_id).c_str()) + QString(" invites you to chat lobby named ") + QString::fromUtf8((*it).lobby_name.c_str()), QMessageBox::Ok, QMessageBox::Ignore)) {
|
||||
if (QMessageBox::Ok == QMessageBox::question(this, tr("Invitation to chat lobby"), tr("%1 invites you to chat lobby named %2").arg(QString::fromUtf8(rsPeers->getPeerName((*it).peer_id).c_str())).arg(QString::fromUtf8((*it).lobby_name.c_str())), QMessageBox::Ok, QMessageBox::Ignore)) {
|
||||
std::cerr << "Accepting invite to lobby " << (*it).lobby_name << std::endl;
|
||||
|
||||
rsMsgs->acceptLobbyInvite((*it).lobby_id);
|
||||
|
Binary file not shown.
@ -1209,6 +1209,11 @@ p, li { white-space: pre-wrap; }
|
||||
<source>Invitation to chat lobby</source>
|
||||
<translation>Einladung zur Chat Lobby</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+0"/>
|
||||
<source>%1 invites you to chat lobby named %2</source>
|
||||
<translation>%1 lädt dich in die Lobby %2 ein</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ChatMsgItem</name>
|
||||
@ -1548,7 +1553,7 @@ p, li { white-space: pre-wrap; }
|
||||
<translation>Löscht den gespeicherten und angezeigten Chat Verlauf</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../gui/chat/ChatWidget.cpp" line="+346"/>
|
||||
<location filename="../gui/chat/ChatWidget.cpp" line="+348"/>
|
||||
<source>Paste RetroShare Link</source>
|
||||
<translation>RetroShare Link einfügen</translation>
|
||||
</message>
|
||||
|
Loading…
x
Reference in New Issue
Block a user