server shutdown function
This commit is contained in:
parent
5e3db65846
commit
a4c3d48389
33 changed files with 1410 additions and 604 deletions
|
@ -32,15 +32,16 @@ void AbstractClient::processProtocolItem(ProtocolItem *item)
|
|||
GenericEvent *genericEvent = qobject_cast<GenericEvent *>(item);
|
||||
if (genericEvent) {
|
||||
switch (genericEvent->getItemId()) {
|
||||
case ItemId_Event_ConnectionClosed: emit connectionClosedEventReceived(qobject_cast<Event_ConnectionClosed *>(item)); break;
|
||||
case ItemId_Event_AddToList: emit addToListEventReceived(qobject_cast<Event_AddToList *>(item)); break;
|
||||
case ItemId_Event_RemoveFromList: emit removeFromListEventReceived(qobject_cast<Event_RemoveFromList *>(item)); break;
|
||||
case ItemId_Event_UserJoined: emit userJoinedEventReceived(qobject_cast<Event_UserJoined *>(item)); break;
|
||||
case ItemId_Event_UserLeft: emit userLeftEventReceived(qobject_cast<Event_UserLeft *>(item)); break;
|
||||
case ItemId_Event_ServerMessage: emit serverMessageEventReceived(qobject_cast<Event_ServerMessage *>(item)); break;
|
||||
case ItemId_Event_ListRooms: emit listRoomsEventReceived(qobject_cast<Event_ListRooms *>(item)); break;
|
||||
case ItemId_Event_GameJoined: emit gameJoinedEventReceived(qobject_cast<Event_GameJoined *>(item)); break;
|
||||
case ItemId_Event_Message: emit messageEventReceived(qobject_cast<Event_Message *>(item)); break;
|
||||
case ItemId_Event_ConnectionClosed: emit connectionClosedEventReceived(static_cast<Event_ConnectionClosed *>(item)); break;
|
||||
case ItemId_Event_ServerShutdown: emit serverShutdownEventReceived(static_cast<Event_ServerShutdown *>(item)); break;
|
||||
case ItemId_Event_AddToList: emit addToListEventReceived(static_cast<Event_AddToList *>(item)); break;
|
||||
case ItemId_Event_RemoveFromList: emit removeFromListEventReceived(static_cast<Event_RemoveFromList *>(item)); break;
|
||||
case ItemId_Event_UserJoined: emit userJoinedEventReceived(static_cast<Event_UserJoined *>(item)); break;
|
||||
case ItemId_Event_UserLeft: emit userLeftEventReceived(static_cast<Event_UserLeft *>(item)); break;
|
||||
case ItemId_Event_ServerMessage: emit serverMessageEventReceived(static_cast<Event_ServerMessage *>(item)); break;
|
||||
case ItemId_Event_ListRooms: emit listRoomsEventReceived(static_cast<Event_ListRooms *>(item)); break;
|
||||
case ItemId_Event_GameJoined: emit gameJoinedEventReceived(static_cast<Event_GameJoined *>(item)); break;
|
||||
case ItemId_Event_Message: emit messageEventReceived(static_cast<Event_Message *>(item)); break;
|
||||
}
|
||||
if (genericEvent->getReceiverMayDelete())
|
||||
delete genericEvent;
|
||||
|
|
|
@ -21,6 +21,7 @@ class Event_ListRooms;
|
|||
class Event_GameJoined;
|
||||
class Event_Message;
|
||||
class Event_ConnectionClosed;
|
||||
class Event_ServerShutdown;
|
||||
|
||||
enum ClientStatus {
|
||||
StatusDisconnected,
|
||||
|
@ -43,6 +44,7 @@ signals:
|
|||
void gameEventContainerReceived(GameEventContainer *event);
|
||||
// Generic events
|
||||
void connectionClosedEventReceived(Event_ConnectionClosed *event);
|
||||
void serverShutdownEventReceived(Event_ServerShutdown *event);
|
||||
void addToListEventReceived(Event_AddToList *event);
|
||||
void removeFromListEventReceived(Event_RemoveFromList *event);
|
||||
void userJoinedEventReceived(Event_UserJoined *event);
|
||||
|
|
|
@ -18,8 +18,9 @@ private:
|
|||
ResponseCode cmdDeckDel(Command_DeckDel * /*cmd*/, CommandContainer * /*cont*/) { return RespFunctionNotAllowed; }
|
||||
ResponseCode cmdDeckUpload(Command_DeckUpload * /*cmd*/, CommandContainer * /*cont*/) { return RespFunctionNotAllowed; }
|
||||
ResponseCode cmdDeckDownload(Command_DeckDownload * /*cmd*/, CommandContainer * /*cont*/) { return RespFunctionNotAllowed; }
|
||||
ResponseCode cmdUpdateServerMessage(Command_UpdateServerMessage * /*cmd*/, CommandContainer * /*cont*/) { return RespFunctionNotAllowed; }
|
||||
ResponseCode cmdBanFromServer(Command_BanFromServer * /*cmd*/, CommandContainer * /*cont*/) { return RespFunctionNotAllowed; }
|
||||
ResponseCode cmdShutdownServer(Command_ShutdownServer * /*cmd*/, CommandContainer * /*cont*/) { return RespFunctionNotAllowed; }
|
||||
ResponseCode cmdUpdateServerMessage(Command_UpdateServerMessage * /*cmd*/, CommandContainer * /*cont*/) { return RespFunctionNotAllowed; }
|
||||
public:
|
||||
LocalServerInterface(LocalServer *_server);
|
||||
~LocalServerInterface();
|
||||
|
|
|
@ -1,19 +1,72 @@
|
|||
#include <QHBoxLayout>
|
||||
#include <QVBoxLayout>
|
||||
#include <QGridLayout>
|
||||
#include <QPushButton>
|
||||
#include <QGroupBox>
|
||||
#include <QMessageBox>
|
||||
#include <QSpinBox>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
#include "tab_admin.h"
|
||||
#include "abstractclient.h"
|
||||
#include "protocol_items.h"
|
||||
|
||||
TabAdmin::TabAdmin(TabSupervisor *_tabSupervisor, AbstractClient *_client, QWidget *parent)
|
||||
: Tab(_tabSupervisor, parent), locked(true), client(_client)
|
||||
ShutdownDialog::ShutdownDialog(QWidget *parent)
|
||||
: QDialog(parent)
|
||||
{
|
||||
QLabel *reasonLabel = new QLabel(tr("&Reason for shutdown:"));
|
||||
reasonEdit = new QLineEdit;
|
||||
reasonLabel->setBuddy(reasonEdit);
|
||||
QLabel *minutesLabel = new QLabel(tr("&Time until shutdown (minutes):"));
|
||||
minutesEdit = new QSpinBox;
|
||||
minutesLabel->setBuddy(minutesEdit);
|
||||
minutesEdit->setMinimum(0);
|
||||
minutesEdit->setValue(5);
|
||||
|
||||
QPushButton *okButton = new QPushButton(tr("&OK"));
|
||||
okButton->setAutoDefault(true);
|
||||
okButton->setDefault(true);
|
||||
connect(okButton, SIGNAL(clicked()), this, SLOT(accept()));
|
||||
QPushButton *cancelButton = new QPushButton(tr("&Cancel"));
|
||||
connect(cancelButton, SIGNAL(clicked()), this, SLOT(reject()));
|
||||
|
||||
QHBoxLayout *buttonLayout = new QHBoxLayout;
|
||||
buttonLayout->addStretch();
|
||||
buttonLayout->addWidget(okButton);
|
||||
buttonLayout->addWidget(cancelButton);
|
||||
|
||||
QGridLayout *mainLayout = new QGridLayout;
|
||||
mainLayout->addWidget(reasonLabel, 0, 0);
|
||||
mainLayout->addWidget(reasonEdit, 0, 1);
|
||||
mainLayout->addWidget(minutesLabel, 1, 0);
|
||||
mainLayout->addWidget(minutesEdit, 1, 1);
|
||||
mainLayout->addLayout(buttonLayout, 2, 0, 1, 2);
|
||||
|
||||
setLayout(mainLayout);
|
||||
setWindowTitle(tr("Shut down server"));
|
||||
}
|
||||
|
||||
QString ShutdownDialog::getReason() const
|
||||
{
|
||||
return reasonEdit->text();
|
||||
}
|
||||
|
||||
int ShutdownDialog::getMinutes() const
|
||||
{
|
||||
return minutesEdit->value();
|
||||
}
|
||||
|
||||
TabAdmin::TabAdmin(TabSupervisor *_tabSupervisor, AbstractClient *_client, bool _fullAdmin, QWidget *parent)
|
||||
: Tab(_tabSupervisor, parent), locked(true), client(_client), fullAdmin(_fullAdmin)
|
||||
{
|
||||
updateServerMessageButton = new QPushButton;
|
||||
connect(updateServerMessageButton, SIGNAL(clicked()), this, SLOT(actUpdateServerMessage()));
|
||||
shutdownServerButton = new QPushButton;
|
||||
connect(shutdownServerButton, SIGNAL(clicked()), this, SLOT(actShutdownServer()));
|
||||
|
||||
QVBoxLayout *vbox = new QVBoxLayout;
|
||||
vbox->addWidget(updateServerMessageButton);
|
||||
vbox->addWidget(shutdownServerButton);
|
||||
vbox->addStretch();
|
||||
|
||||
adminGroupBox = new QGroupBox;
|
||||
|
@ -38,6 +91,7 @@ TabAdmin::TabAdmin(TabSupervisor *_tabSupervisor, AbstractClient *_client, QWidg
|
|||
void TabAdmin::retranslateUi()
|
||||
{
|
||||
updateServerMessageButton->setText(tr("Update server &message"));
|
||||
shutdownServerButton->setText(tr("&Shut down server"));
|
||||
adminGroupBox->setTitle(tr("Server administration functions"));
|
||||
|
||||
unlockButton->setText(tr("&Unlock functions"));
|
||||
|
@ -49,9 +103,17 @@ void TabAdmin::actUpdateServerMessage()
|
|||
client->sendCommand(new Command_UpdateServerMessage());
|
||||
}
|
||||
|
||||
void TabAdmin::actShutdownServer()
|
||||
{
|
||||
ShutdownDialog dlg;
|
||||
if (dlg.exec())
|
||||
client->sendCommand(new Command_ShutdownServer(dlg.getReason(), dlg.getMinutes()));
|
||||
}
|
||||
|
||||
void TabAdmin::actUnlock()
|
||||
{
|
||||
if (QMessageBox::question(this, tr("Unlock administration functions"), tr("Do you really want to unlock the administration functions?"), QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) {
|
||||
if (fullAdmin)
|
||||
adminGroupBox->setEnabled(true);
|
||||
lockButton->setEnabled(true);
|
||||
unlockButton->setEnabled(false);
|
||||
|
@ -61,6 +123,7 @@ void TabAdmin::actUnlock()
|
|||
|
||||
void TabAdmin::actLock()
|
||||
{
|
||||
if (fullAdmin)
|
||||
adminGroupBox->setEnabled(false);
|
||||
lockButton->setEnabled(false);
|
||||
unlockButton->setEnabled(true);
|
||||
|
|
|
@ -2,27 +2,43 @@
|
|||
#define TAB_ADMIN_H
|
||||
|
||||
#include "tab.h"
|
||||
#include <QDialog>
|
||||
|
||||
class AbstractClient;
|
||||
|
||||
class QGroupBox;
|
||||
class QPushButton;
|
||||
class QSpinBox;
|
||||
class QLineEdit;
|
||||
|
||||
class ShutdownDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
private:
|
||||
QLineEdit *reasonEdit;
|
||||
QSpinBox *minutesEdit;
|
||||
public:
|
||||
ShutdownDialog(QWidget *parent = 0);
|
||||
QString getReason() const;
|
||||
int getMinutes() const;
|
||||
};
|
||||
|
||||
class TabAdmin : public Tab {
|
||||
Q_OBJECT
|
||||
private:
|
||||
bool locked;
|
||||
AbstractClient *client;
|
||||
QPushButton *updateServerMessageButton;
|
||||
bool fullAdmin;
|
||||
QPushButton *updateServerMessageButton, *shutdownServerButton;
|
||||
QGroupBox *adminGroupBox;
|
||||
QPushButton *unlockButton, *lockButton;
|
||||
private slots:
|
||||
void actUpdateServerMessage();
|
||||
void actShutdownServer();
|
||||
|
||||
void actUnlock();
|
||||
void actLock();
|
||||
public:
|
||||
TabAdmin(TabSupervisor *_tabSupervisor, AbstractClient *_client, QWidget *parent = 0);
|
||||
TabAdmin(TabSupervisor *_tabSupervisor, AbstractClient *_client, bool _fullAdmin, QWidget *parent = 0);
|
||||
void retranslateUi();
|
||||
QString getTabText() const { return tr("Administration"); }
|
||||
bool getLocked() const { return locked; }
|
||||
|
|
|
@ -135,8 +135,8 @@ void TabSupervisor::start(AbstractClient *_client, ServerInfo_User *userInfo)
|
|||
} else
|
||||
tabDeckStorage = 0;
|
||||
|
||||
if (userInfo->getUserLevel() & ServerInfo_User::IsAdmin) {
|
||||
tabAdmin = new TabAdmin(this, client);
|
||||
if (userInfo->getUserLevel() & ServerInfo_User::IsModerator) {
|
||||
tabAdmin = new TabAdmin(this, client, (userInfo->getUserLevel() & ServerInfo_User::IsAdmin));
|
||||
myAddTab(tabAdmin);
|
||||
} else
|
||||
tabAdmin = 0;
|
||||
|
|
|
@ -56,11 +56,18 @@ void MainWindow::processConnectionClosedEvent(Event_ConnectionClosed *event)
|
|||
reasonStr = tr("There are too many concurrent connections from your address.");
|
||||
else if (reason == "banned")
|
||||
reasonStr = tr("Banned by moderator.");
|
||||
else if (reason == "server_shutdown")
|
||||
reasonStr = tr("Scheduled server shutdown.");
|
||||
else
|
||||
reasonStr = tr("Unknown reason.");
|
||||
QMessageBox::critical(this, tr("Connection closed"), tr("The server has terminated your connection.\nReason: %1").arg(reasonStr));
|
||||
}
|
||||
|
||||
void MainWindow::processServerShutdownEvent(Event_ServerShutdown *event)
|
||||
{
|
||||
QMessageBox::information(this, tr("Scheduled server shutdown"), tr("The server is going to be restarted in %n minute(s).\nAll running games will be lost.\nReason for shutdown: %1", "", event->getMinutes()).arg(event->getReason()));
|
||||
}
|
||||
|
||||
void MainWindow::statusChanged(ClientStatus _status)
|
||||
{
|
||||
setClientStatusTitle();
|
||||
|
@ -290,6 +297,7 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
|
||||
client = new RemoteClient(this);
|
||||
connect(client, SIGNAL(connectionClosedEventReceived(Event_ConnectionClosed *)), this, SLOT(processConnectionClosedEvent(Event_ConnectionClosed *)));
|
||||
connect(client, SIGNAL(serverShutdownEventReceived(Event_ServerShutdown *)), this, SLOT(processServerShutdownEvent(Event_ServerShutdown *)));
|
||||
connect(client, SIGNAL(serverError(ResponseCode)), this, SLOT(serverError(ResponseCode)));
|
||||
connect(client, SIGNAL(socketError(const QString &)), this, SLOT(socketError(const QString &)));
|
||||
connect(client, SIGNAL(serverTimeout()), this, SLOT(serverTimeout()));
|
||||
|
|
|
@ -36,6 +36,7 @@ private slots:
|
|||
void updateTabMenu(QMenu *menu);
|
||||
void statusChanged(ClientStatus _status);
|
||||
void processConnectionClosedEvent(Event_ConnectionClosed *event);
|
||||
void processServerShutdownEvent(Event_ServerShutdown *event);
|
||||
void serverTimeout();
|
||||
void serverError(ResponseCode r);
|
||||
void socketError(const QString &errorStr);
|
||||
|
|
|
@ -1390,216 +1390,237 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="60"/>
|
||||
<source>Scheduled server shutdown.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="62"/>
|
||||
<source>Unknown reason.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>Connection closed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>The server has terminated your connection.
|
||||
Reason: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>Scheduled server shutdown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>The server is going to be restarted in %n minute(s).
|
||||
All running games will be lost.
|
||||
Reason for shutdown: %1</source>
|
||||
<translation type="unfinished">
|
||||
<numerusform></numerusform>
|
||||
<numerusform></numerusform>
|
||||
<numerusform></numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Number of players</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Please enter the number of players.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="119"/>
|
||||
<location filename="../src/window_main.cpp" line="125"/>
|
||||
<location filename="../src/window_main.cpp" line="126"/>
|
||||
<location filename="../src/window_main.cpp" line="132"/>
|
||||
<source>Player %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="170"/>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<source>About Cockatrice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="172"/>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<source>Version %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="173"/>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<source>Authors:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="174"/>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<source>Translators:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="175"/>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<source>Spanish:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="176"/>
|
||||
<location filename="../src/window_main.cpp" line="183"/>
|
||||
<source>Portugese (Portugal):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<location filename="../src/window_main.cpp" line="184"/>
|
||||
<source>Portugese (Brazil):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="178"/>
|
||||
<location filename="../src/window_main.cpp" line="185"/>
|
||||
<source>French:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<location filename="../src/window_main.cpp" line="186"/>
|
||||
<source>Japanese:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<location filename="../src/window_main.cpp" line="187"/>
|
||||
<source>Russian:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<source>Czech:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<location filename="../src/window_main.cpp" line="189"/>
|
||||
<source>Slovak:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<source>Server timeout</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<source>Invalid login data.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<source>There is already an active session using this user name.
|
||||
Please close that session first and re-login.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<source>Socket error: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<source>You are trying to connect to an obsolete server. Please downgrade your Cockatrice version or connect to a suitable server.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Your Cockatrice client is obsolete. Please update your Cockatrice version.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="216"/>
|
||||
<location filename="../src/window_main.cpp" line="223"/>
|
||||
<source>Connecting to %1...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<location filename="../src/window_main.cpp" line="224"/>
|
||||
<source>Disconnected</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="218"/>
|
||||
<location filename="../src/window_main.cpp" line="225"/>
|
||||
<source>Logged in at %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="227"/>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<source>&Connect...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="228"/>
|
||||
<location filename="../src/window_main.cpp" line="235"/>
|
||||
<source>&Disconnect</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="229"/>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<source>Start &local game...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="230"/>
|
||||
<location filename="../src/window_main.cpp" line="237"/>
|
||||
<source>&Deck editor</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="231"/>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<source>&Full screen</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="232"/>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="233"/>
|
||||
<location filename="../src/window_main.cpp" line="240"/>
|
||||
<source>&Settings...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<location filename="../src/window_main.cpp" line="241"/>
|
||||
<source>&Exit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<location filename="../src/window_main.cpp" line="243"/>
|
||||
<source>&Cockatrice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<location filename="../src/window_main.cpp" line="245"/>
|
||||
<source>&About Cockatrice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<location filename="../src/window_main.cpp" line="246"/>
|
||||
<source>&Help</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>Are you sure?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>There are still open games. Are you sure you want to quit?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -2705,40 +2726,73 @@ Local version is %1, remote version is %2.</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ShutdownDialog</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="17"/>
|
||||
<source>&Reason for shutdown:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="20"/>
|
||||
<source>&Time until shutdown (minutes):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="26"/>
|
||||
<source>&OK</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="30"/>
|
||||
<source>&Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="46"/>
|
||||
<source>Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabAdmin</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="40"/>
|
||||
<location filename="../src/tab_admin.cpp" line="93"/>
|
||||
<source>Update server &message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="41"/>
|
||||
<location filename="../src/tab_admin.cpp" line="94"/>
|
||||
<source>&Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="95"/>
|
||||
<source>Server administration functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="43"/>
|
||||
<location filename="../src/tab_admin.cpp" line="97"/>
|
||||
<source>&Unlock functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="44"/>
|
||||
<location filename="../src/tab_admin.cpp" line="98"/>
|
||||
<source>&Lock functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Unlock administration functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Do you really want to unlock the administration functions?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.h" line="27"/>
|
||||
<location filename="../src/tab_admin.h" line="43"/>
|
||||
<source>Administration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -2140,138 +2140,162 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="60"/>
|
||||
<source>Scheduled server shutdown.</source>
|
||||
<translation>Planmäßige Serverabschaltung.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="62"/>
|
||||
<source>Unknown reason.</source>
|
||||
<translation>Unbekannter Grund.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>Connection closed</source>
|
||||
<translation>Verbindung geschlossen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>The server has terminated your connection.
|
||||
Reason: %1</source>
|
||||
<translation>Der Server hat Ihre Verbindung beendet.
|
||||
Grund: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>Scheduled server shutdown</source>
|
||||
<translation>Planmäßige Serverabschaltung</translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>The server is going to be restarted in %n minute(s).
|
||||
All running games will be lost.
|
||||
Reason for shutdown: %1</source>
|
||||
<translation>
|
||||
<numerusform>Der Server wird in %n Minute neu gestartet.
|
||||
Alle laufenden Spiele werden beendet.
|
||||
Grund für die Abschaltung: %1</numerusform>
|
||||
<numerusform>Der Server wird in %n Minuten neu gestartet.
|
||||
Alle laufenden Spiele werden beendet.
|
||||
Grund für die Abschaltung: %1</numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Number of players</source>
|
||||
<translation>Spieleranzahl</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Please enter the number of players.</source>
|
||||
<translation>Bitte die Spieleranzahl eingeben:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="119"/>
|
||||
<location filename="../src/window_main.cpp" line="125"/>
|
||||
<location filename="../src/window_main.cpp" line="126"/>
|
||||
<location filename="../src/window_main.cpp" line="132"/>
|
||||
<source>Player %1</source>
|
||||
<translation>Spieler %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="170"/>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<source>About Cockatrice</source>
|
||||
<translation>Über Cockatrice</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="172"/>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<source>Version %1</source>
|
||||
<translation>Version %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="173"/>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<source>Authors:</source>
|
||||
<translation>Autoren:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="174"/>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<source>Translators:</source>
|
||||
<translation>Übersetzer:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="175"/>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<source>Spanish:</source>
|
||||
<translation>Spanisch:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="176"/>
|
||||
<location filename="../src/window_main.cpp" line="183"/>
|
||||
<source>Portugese (Portugal):</source>
|
||||
<translation>Portugiesisch (Portugal):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<location filename="../src/window_main.cpp" line="184"/>
|
||||
<source>Portugese (Brazil):</source>
|
||||
<translation>Portugiesisch (Brasilien):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="178"/>
|
||||
<location filename="../src/window_main.cpp" line="185"/>
|
||||
<source>French:</source>
|
||||
<translation>Französisch:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<location filename="../src/window_main.cpp" line="186"/>
|
||||
<source>Japanese:</source>
|
||||
<translation>Japanisch:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<location filename="../src/window_main.cpp" line="187"/>
|
||||
<source>Russian:</source>
|
||||
<translation>Russisch:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<source>Czech:</source>
|
||||
<translation>Tschechisch:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<location filename="../src/window_main.cpp" line="189"/>
|
||||
<source>Slovak:</source>
|
||||
<translation>Slowakisch:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Error</source>
|
||||
<translation>Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<source>Server timeout</source>
|
||||
<translation>Server Zeitüberschreitung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<source>Invalid login data.</source>
|
||||
<translation>Ungültige Anmeldedaten.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<source>There is already an active session using this user name.
|
||||
Please close that session first and re-login.</source>
|
||||
<translation>Es gibt bereits eine aktive Verbindung mit diesem Benutzernamen.
|
||||
Bitte schließen Sie diese Verbindung zuerst und versuchen Sie es dann erneut.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<source>Socket error: %1</source>
|
||||
<translation>Netzwerkfehler: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<source>You are trying to connect to an obsolete server. Please downgrade your Cockatrice version or connect to a suitable server.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation>Sie versuchen sich an einem veralteten Server anzumelden. Bitte verwenden Sie eine ältere Cockatrice-Version oder melden Sie sich an einem aktuellen Server an.
|
||||
Lokale Version ist %1, Serverversion ist %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Your Cockatrice client is obsolete. Please update your Cockatrice version.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation>Ihr Cockatrice-Client ist veraltet. Bitte laden Sie sich die neueste Version herunter.
|
||||
|
@ -2282,52 +2306,52 @@ Lokale Version ist %1, Serverversion ist %2.</translation>
|
|||
<translation type="obsolete">Protokollversionen stimmen nicht überein. Lokale Version: %1, Serverversion: %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="216"/>
|
||||
<location filename="../src/window_main.cpp" line="223"/>
|
||||
<source>Connecting to %1...</source>
|
||||
<translation>Verbinde zu %1...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<location filename="../src/window_main.cpp" line="224"/>
|
||||
<source>Disconnected</source>
|
||||
<translation>nicht verbunden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="218"/>
|
||||
<location filename="../src/window_main.cpp" line="225"/>
|
||||
<source>Logged in at %1</source>
|
||||
<translation>Angemeldet bei %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="227"/>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<source>&Connect...</source>
|
||||
<translation>&Verbinden...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="228"/>
|
||||
<location filename="../src/window_main.cpp" line="235"/>
|
||||
<source>&Disconnect</source>
|
||||
<translation>Verbindung &trennen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="229"/>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<source>Start &local game...</source>
|
||||
<translation>&Lokales Spiel starten...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<location filename="../src/window_main.cpp" line="245"/>
|
||||
<source>&About Cockatrice</source>
|
||||
<translation>&Über Cockatrice</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<location filename="../src/window_main.cpp" line="246"/>
|
||||
<source>&Help</source>
|
||||
<translation>&Hilfe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>Are you sure?</source>
|
||||
<translation>Sind Sie sicher?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>There are still open games. Are you sure you want to quit?</source>
|
||||
<translation>Es gibt noch offene Spiele. Wollen Sie das Programm wirklich beenden?</translation>
|
||||
</message>
|
||||
|
@ -2344,27 +2368,27 @@ Lokale Version ist %1, Serverversion ist %2.</translation>
|
|||
<translation type="obsolete">Spiel ver&lassen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="230"/>
|
||||
<location filename="../src/window_main.cpp" line="237"/>
|
||||
<source>&Deck editor</source>
|
||||
<translation>&Deck-Editor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="231"/>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<source>&Full screen</source>
|
||||
<translation>&Vollbild</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="232"/>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation>Ctrl+F</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="233"/>
|
||||
<location filename="../src/window_main.cpp" line="240"/>
|
||||
<source>&Settings...</source>
|
||||
<translation>&Einstellungen...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<location filename="../src/window_main.cpp" line="241"/>
|
||||
<source>&Exit</source>
|
||||
<translation>&Beenden</translation>
|
||||
</message>
|
||||
|
@ -2377,7 +2401,7 @@ Lokale Version ist %1, Serverversion ist %2.</translation>
|
|||
<translation type="obsolete">Esc</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<location filename="../src/window_main.cpp" line="243"/>
|
||||
<source>&Cockatrice</source>
|
||||
<translation>&Cockatrice</translation>
|
||||
</message>
|
||||
|
@ -4021,40 +4045,77 @@ Lokale Version ist %1, Serverversion ist %2.</translation>
|
|||
<translation>Langer Name</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ShutdownDialog</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="17"/>
|
||||
<source>&Reason for shutdown:</source>
|
||||
<translation>G&rund für die Abschaltung:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="20"/>
|
||||
<source>&Time until shutdown (minutes):</source>
|
||||
<translation>&Zeit bis zur Abschaltung (Minuten):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="26"/>
|
||||
<source>&OK</source>
|
||||
<translation>&OK</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="30"/>
|
||||
<source>&Cancel</source>
|
||||
<translation>&Abbrechen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="46"/>
|
||||
<source>Shut down server</source>
|
||||
<translation>Server abschalten</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabAdmin</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="40"/>
|
||||
<location filename="../src/tab_admin.cpp" line="93"/>
|
||||
<source>Update server &message</source>
|
||||
<translation>Server&nachricht aktualisieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="41"/>
|
||||
<source>Shut down server</source>
|
||||
<translation type="obsolete">Server abschalten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="94"/>
|
||||
<source>&Shut down server</source>
|
||||
<translation>&Server abschalten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="95"/>
|
||||
<source>Server administration functions</source>
|
||||
<translation>Funktionen zur Serverwartung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="43"/>
|
||||
<location filename="../src/tab_admin.cpp" line="97"/>
|
||||
<source>&Unlock functions</source>
|
||||
<translation>&Sperre aufheben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="44"/>
|
||||
<location filename="../src/tab_admin.cpp" line="98"/>
|
||||
<source>&Lock functions</source>
|
||||
<translation>Funktionen s&perren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Unlock administration functions</source>
|
||||
<translation>Wartungsfunktionen entsperren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Do you really want to unlock the administration functions?</source>
|
||||
<translation>Möchten Sie wirklich die Sperre der Wartungsfunktionen aufheben?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.h" line="27"/>
|
||||
<location filename="../src/tab_admin.h" line="43"/>
|
||||
<source>Administration</source>
|
||||
<translation>Wartung</translation>
|
||||
</message>
|
||||
|
|
|
@ -1390,216 +1390,236 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="60"/>
|
||||
<source>Scheduled server shutdown.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="62"/>
|
||||
<source>Unknown reason.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>Connection closed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>The server has terminated your connection.
|
||||
Reason: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>Scheduled server shutdown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>The server is going to be restarted in %n minute(s).
|
||||
All running games will be lost.
|
||||
Reason for shutdown: %1</source>
|
||||
<translation type="unfinished">
|
||||
<numerusform></numerusform>
|
||||
<numerusform></numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Number of players</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Please enter the number of players.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="119"/>
|
||||
<location filename="../src/window_main.cpp" line="125"/>
|
||||
<location filename="../src/window_main.cpp" line="126"/>
|
||||
<location filename="../src/window_main.cpp" line="132"/>
|
||||
<source>Player %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="170"/>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<source>About Cockatrice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="172"/>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<source>Version %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="173"/>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<source>Authors:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="174"/>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<source>Translators:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="175"/>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<source>Spanish:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="176"/>
|
||||
<location filename="../src/window_main.cpp" line="183"/>
|
||||
<source>Portugese (Portugal):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<location filename="../src/window_main.cpp" line="184"/>
|
||||
<source>Portugese (Brazil):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="178"/>
|
||||
<location filename="../src/window_main.cpp" line="185"/>
|
||||
<source>French:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<location filename="../src/window_main.cpp" line="186"/>
|
||||
<source>Japanese:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<location filename="../src/window_main.cpp" line="187"/>
|
||||
<source>Russian:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<source>Czech:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<location filename="../src/window_main.cpp" line="189"/>
|
||||
<source>Slovak:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<source>Server timeout</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<source>Invalid login data.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<source>There is already an active session using this user name.
|
||||
Please close that session first and re-login.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<source>Socket error: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<source>You are trying to connect to an obsolete server. Please downgrade your Cockatrice version or connect to a suitable server.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Your Cockatrice client is obsolete. Please update your Cockatrice version.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="216"/>
|
||||
<location filename="../src/window_main.cpp" line="223"/>
|
||||
<source>Connecting to %1...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<location filename="../src/window_main.cpp" line="224"/>
|
||||
<source>Disconnected</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="218"/>
|
||||
<location filename="../src/window_main.cpp" line="225"/>
|
||||
<source>Logged in at %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="227"/>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<source>&Connect...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="228"/>
|
||||
<location filename="../src/window_main.cpp" line="235"/>
|
||||
<source>&Disconnect</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="229"/>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<source>Start &local game...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="230"/>
|
||||
<location filename="../src/window_main.cpp" line="237"/>
|
||||
<source>&Deck editor</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="231"/>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<source>&Full screen</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="232"/>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="233"/>
|
||||
<location filename="../src/window_main.cpp" line="240"/>
|
||||
<source>&Settings...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<location filename="../src/window_main.cpp" line="241"/>
|
||||
<source>&Exit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<location filename="../src/window_main.cpp" line="243"/>
|
||||
<source>&Cockatrice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<location filename="../src/window_main.cpp" line="245"/>
|
||||
<source>&About Cockatrice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<location filename="../src/window_main.cpp" line="246"/>
|
||||
<source>&Help</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>Are you sure?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>There are still open games. Are you sure you want to quit?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -2712,40 +2732,73 @@ Local version is %1, remote version is %2.</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ShutdownDialog</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="17"/>
|
||||
<source>&Reason for shutdown:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="20"/>
|
||||
<source>&Time until shutdown (minutes):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="26"/>
|
||||
<source>&OK</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="30"/>
|
||||
<source>&Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="46"/>
|
||||
<source>Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabAdmin</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="40"/>
|
||||
<location filename="../src/tab_admin.cpp" line="93"/>
|
||||
<source>Update server &message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="41"/>
|
||||
<location filename="../src/tab_admin.cpp" line="94"/>
|
||||
<source>&Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="95"/>
|
||||
<source>Server administration functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="43"/>
|
||||
<location filename="../src/tab_admin.cpp" line="97"/>
|
||||
<source>&Unlock functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="44"/>
|
||||
<location filename="../src/tab_admin.cpp" line="98"/>
|
||||
<source>&Lock functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Unlock administration functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Do you really want to unlock the administration functions?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.h" line="27"/>
|
||||
<location filename="../src/tab_admin.h" line="43"/>
|
||||
<source>Administration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -1755,138 +1755,158 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="60"/>
|
||||
<source>Scheduled server shutdown.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="62"/>
|
||||
<source>Unknown reason.</source>
|
||||
<translation>Motivo desconocido.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>Connection closed</source>
|
||||
<translation>Conexión cerrada</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>The server has terminated your connection.
|
||||
Reason: %1</source>
|
||||
<translation>El servidor ha finalizado tu conexión.
|
||||
Motivo: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>Scheduled server shutdown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>The server is going to be restarted in %n minute(s).
|
||||
All running games will be lost.
|
||||
Reason for shutdown: %1</source>
|
||||
<translation type="unfinished">
|
||||
<numerusform></numerusform>
|
||||
<numerusform></numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Number of players</source>
|
||||
<translation>Número de jugadores</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Please enter the number of players.</source>
|
||||
<translation>Por favor, introduzca el número de jugadores.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="119"/>
|
||||
<location filename="../src/window_main.cpp" line="125"/>
|
||||
<location filename="../src/window_main.cpp" line="126"/>
|
||||
<location filename="../src/window_main.cpp" line="132"/>
|
||||
<source>Player %1</source>
|
||||
<translation>Jugador %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="170"/>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<source>About Cockatrice</source>
|
||||
<translation>Acerca de Cockatrice</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="172"/>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<source>Version %1</source>
|
||||
<translation>Versión %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="173"/>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<source>Authors:</source>
|
||||
<translation>Autores:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="174"/>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<source>Translators:</source>
|
||||
<translation>Traductores:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="175"/>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<source>Spanish:</source>
|
||||
<translation>Español:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="176"/>
|
||||
<location filename="../src/window_main.cpp" line="183"/>
|
||||
<source>Portugese (Portugal):</source>
|
||||
<translation>Portugués (Portugal):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<location filename="../src/window_main.cpp" line="184"/>
|
||||
<source>Portugese (Brazil):</source>
|
||||
<translation>Portugués (Brasil):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="178"/>
|
||||
<location filename="../src/window_main.cpp" line="185"/>
|
||||
<source>French:</source>
|
||||
<translation>Francés:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<location filename="../src/window_main.cpp" line="186"/>
|
||||
<source>Japanese:</source>
|
||||
<translation>Japonés:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<location filename="../src/window_main.cpp" line="187"/>
|
||||
<source>Russian:</source>
|
||||
<translation>Ruso:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<source>Czech:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<location filename="../src/window_main.cpp" line="189"/>
|
||||
<source>Slovak:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Error</source>
|
||||
<translation>Error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<source>Server timeout</source>
|
||||
<translation>Tiempo de espera del servidor agotado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<source>Invalid login data.</source>
|
||||
<translation>Datos de conexión invalidos.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<source>There is already an active session using this user name.
|
||||
Please close that session first and re-login.</source>
|
||||
<translation>Ya existe una sesión activa usando ese nombre de usuario.
|
||||
Por favor, cierra esa sesión primero y reintentalo.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<source>Socket error: %1</source>
|
||||
<translation>Error del Socket: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<source>You are trying to connect to an obsolete server. Please downgrade your Cockatrice version or connect to a suitable server.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation>Estás intentando conectar a un servidor obsoleto. Por favor, usa una versión anterior de Cockatrice o conecta a un servidor apropiado.
|
||||
La versión local es %1, la versión remota es %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Your Cockatrice client is obsolete. Please update your Cockatrice version.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation>Tu cliente de Cockatrice esta obsoleto. Por favor, actualiza tu versión de Cockatrice.
|
||||
|
@ -1897,82 +1917,82 @@ La versión local es %1, la versión remota es %2.</translation>
|
|||
<translation type="obsolete">La versión del protocolo es diferente. Version local: %1, version remota: %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="216"/>
|
||||
<location filename="../src/window_main.cpp" line="223"/>
|
||||
<source>Connecting to %1...</source>
|
||||
<translation>Conectando a %1...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<location filename="../src/window_main.cpp" line="224"/>
|
||||
<source>Disconnected</source>
|
||||
<translation>Desconectado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="218"/>
|
||||
<location filename="../src/window_main.cpp" line="225"/>
|
||||
<source>Logged in at %1</source>
|
||||
<translation>Conectado en %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="227"/>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<source>&Connect...</source>
|
||||
<translation>&Conectar...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="228"/>
|
||||
<location filename="../src/window_main.cpp" line="235"/>
|
||||
<source>&Disconnect</source>
|
||||
<translation>&Desconectar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="229"/>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<source>Start &local game...</source>
|
||||
<translation>Empezar partida &local...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="230"/>
|
||||
<location filename="../src/window_main.cpp" line="237"/>
|
||||
<source>&Deck editor</source>
|
||||
<translation>Editor de &mazos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="231"/>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<source>&Full screen</source>
|
||||
<translation>&Pantalla completa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="232"/>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation>CTRL+F</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="233"/>
|
||||
<location filename="../src/window_main.cpp" line="240"/>
|
||||
<source>&Settings...</source>
|
||||
<translation>&Preferencias...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<location filename="../src/window_main.cpp" line="241"/>
|
||||
<source>&Exit</source>
|
||||
<translation>&Salir</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<location filename="../src/window_main.cpp" line="243"/>
|
||||
<source>&Cockatrice</source>
|
||||
<translation>&Cockatrice</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<location filename="../src/window_main.cpp" line="245"/>
|
||||
<source>&About Cockatrice</source>
|
||||
<translation>&Acerca de Cockatrice</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<location filename="../src/window_main.cpp" line="246"/>
|
||||
<source>&Help</source>
|
||||
<translation>A&yuda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>Are you sure?</source>
|
||||
<translation>¿Estás seguro?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>There are still open games. Are you sure you want to quit?</source>
|
||||
<translation>Todavía hay partidas abiertas. ¿Estás seguro que quieres salir?</translation>
|
||||
</message>
|
||||
|
@ -3140,40 +3160,73 @@ La versión local es %1, la versión remota es %2.</translation>
|
|||
<translation>Nombre largo</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ShutdownDialog</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="17"/>
|
||||
<source>&Reason for shutdown:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="20"/>
|
||||
<source>&Time until shutdown (minutes):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="26"/>
|
||||
<source>&OK</source>
|
||||
<translation type="unfinished">&Aceptar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="30"/>
|
||||
<source>&Cancel</source>
|
||||
<translation type="unfinished">&Cancelar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="46"/>
|
||||
<source>Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabAdmin</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="40"/>
|
||||
<location filename="../src/tab_admin.cpp" line="93"/>
|
||||
<source>Update server &message</source>
|
||||
<translation>Actualizar &mensaje del servidor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="41"/>
|
||||
<location filename="../src/tab_admin.cpp" line="94"/>
|
||||
<source>&Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="95"/>
|
||||
<source>Server administration functions</source>
|
||||
<translation>Funciones de administración del servidor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="43"/>
|
||||
<location filename="../src/tab_admin.cpp" line="97"/>
|
||||
<source>&Unlock functions</source>
|
||||
<translation>&Desbloquear funciones</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="44"/>
|
||||
<location filename="../src/tab_admin.cpp" line="98"/>
|
||||
<source>&Lock functions</source>
|
||||
<translation>&Bloquear funciones</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Unlock administration functions</source>
|
||||
<translation>Desbloquear funciones de administración</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Do you really want to unlock the administration functions?</source>
|
||||
<translation>¿Realmente quieres desbloquear las funciones de administración?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.h" line="27"/>
|
||||
<location filename="../src/tab_admin.h" line="43"/>
|
||||
<source>Administration</source>
|
||||
<translation>Administración</translation>
|
||||
</message>
|
||||
|
|
|
@ -1595,23 +1595,23 @@
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Number of players</source>
|
||||
<translation>Nombre de joueurs</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Please enter the number of players.</source>
|
||||
<translation>Entrez s'il vous plait le nombre de joueurs.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="119"/>
|
||||
<location filename="../src/window_main.cpp" line="125"/>
|
||||
<location filename="../src/window_main.cpp" line="126"/>
|
||||
<location filename="../src/window_main.cpp" line="132"/>
|
||||
<source>Player %1</source>
|
||||
<translation>Joueur %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="170"/>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<source>About Cockatrice</source>
|
||||
<translation>à propos de Cockatrice</translation>
|
||||
</message>
|
||||
|
@ -1620,67 +1620,67 @@
|
|||
<translation type="obsolete"><font size="8"><b>Cockatrice</b></font><br>Version %1<br><br><br><b>Auteurs:</b><br>Max-Wilhelm Bruker<br>Marcus Schütz<br>Marius van Zundert<br><br><b>Tranducteurs:</b><br>Espagnol: Gocho<br>Portugais: Milton Gonçalves<br>Portugais: Milton Gonçalves<br>Français: Yannick HAMMER<br></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="172"/>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<source>Version %1</source>
|
||||
<translation>Version %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="173"/>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<source>Authors:</source>
|
||||
<translation>Auteurs:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="174"/>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<source>Translators:</source>
|
||||
<translation>Traducteurs:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="175"/>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<source>Spanish:</source>
|
||||
<translation>Espagnol:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="176"/>
|
||||
<location filename="../src/window_main.cpp" line="183"/>
|
||||
<source>Portugese (Portugal):</source>
|
||||
<translation>Portugais (Portugal):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<location filename="../src/window_main.cpp" line="184"/>
|
||||
<source>Portugese (Brazil):</source>
|
||||
<translation>Portugais (Brésil):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="178"/>
|
||||
<location filename="../src/window_main.cpp" line="185"/>
|
||||
<source>French:</source>
|
||||
<translation>Français:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<location filename="../src/window_main.cpp" line="186"/>
|
||||
<source>Japanese:</source>
|
||||
<translation>Japonais:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Error</source>
|
||||
<translation>Erreur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<source>Server timeout</source>
|
||||
<translation>Délai de la demande dépassé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<source>Invalid login data.</source>
|
||||
<translation>Information de connexion érronée.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<source>Socket error: %1</source>
|
||||
<translation>Erreur de socket: %1</translation>
|
||||
</message>
|
||||
|
@ -1700,136 +1700,156 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="60"/>
|
||||
<source>Scheduled server shutdown.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="62"/>
|
||||
<source>Unknown reason.</source>
|
||||
<translation>Raison inconnue.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>Connection closed</source>
|
||||
<translation>Connection fermée</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>The server has terminated your connection.
|
||||
Reason: %1</source>
|
||||
<translation>Le serveur a coupé votre connexion.
|
||||
Raison: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>Scheduled server shutdown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>The server is going to be restarted in %n minute(s).
|
||||
All running games will be lost.
|
||||
Reason for shutdown: %1</source>
|
||||
<translation type="unfinished">
|
||||
<numerusform></numerusform>
|
||||
<numerusform></numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="187"/>
|
||||
<source>Russian:</source>
|
||||
<translatorcomment>putted "France" instead of "Russe" -> meant that I must put the translation laguage country, isn't it?</translatorcomment>
|
||||
<translation>France:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<source>Czech:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<location filename="../src/window_main.cpp" line="189"/>
|
||||
<source>Slovak:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<source>There is already an active session using this user name.
|
||||
Please close that session first and re-login.</source>
|
||||
<translation>Il y a déjà une session ouvert avec le même pseudo.
|
||||
Fermez cette session puis re-connectez-vous.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<source>You are trying to connect to an obsolete server. Please downgrade your Cockatrice version or connect to a suitable server.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation>Vous tentez de vous connecter à un serveur obsolète. Chargez la nouvelle version de Cockatrice ou connectez-vous à un serveur approprié.
|
||||
La version la plus récente est %1, l'ancienne version est %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Your Cockatrice client is obsolete. Please update your Cockatrice version.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation>Votre client Cockatrice est obsolète. Veuillez charger la nouvelle version.
|
||||
La version la plus récente est %1, l'ancienne version est %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="216"/>
|
||||
<location filename="../src/window_main.cpp" line="223"/>
|
||||
<source>Connecting to %1...</source>
|
||||
<translation>Connexion à %1...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<location filename="../src/window_main.cpp" line="224"/>
|
||||
<source>Disconnected</source>
|
||||
<translation>Déconnecté</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="218"/>
|
||||
<location filename="../src/window_main.cpp" line="225"/>
|
||||
<source>Logged in at %1</source>
|
||||
<translation>Connecté à %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="227"/>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<source>&Connect...</source>
|
||||
<translatorcomment>à verifier</translatorcomment>
|
||||
<translation>&Connecter...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="228"/>
|
||||
<location filename="../src/window_main.cpp" line="235"/>
|
||||
<source>&Disconnect</source>
|
||||
<translation>&Déconnecter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="229"/>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<source>Start &local game...</source>
|
||||
<translation>Démarrer une partie &locale...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="230"/>
|
||||
<location filename="../src/window_main.cpp" line="237"/>
|
||||
<source>&Deck editor</source>
|
||||
<translation>Éditeur de &deck</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="231"/>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<source>&Full screen</source>
|
||||
<translation>&Plein écran</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="232"/>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation>Ctrl+F</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="233"/>
|
||||
<location filename="../src/window_main.cpp" line="240"/>
|
||||
<source>&Settings...</source>
|
||||
<translation>&Paramètres...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<location filename="../src/window_main.cpp" line="241"/>
|
||||
<source>&Exit</source>
|
||||
<translation>&Quitter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<location filename="../src/window_main.cpp" line="243"/>
|
||||
<source>&Cockatrice</source>
|
||||
<translation>&Cockatrice</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<location filename="../src/window_main.cpp" line="245"/>
|
||||
<source>&About Cockatrice</source>
|
||||
<translation>À propos de Cock&atrice</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<location filename="../src/window_main.cpp" line="246"/>
|
||||
<source>&Help</source>
|
||||
<translation>A&ide</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>Are you sure?</source>
|
||||
<translation>Êtes-vous sûr?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>There are still open games. Are you sure you want to quit?</source>
|
||||
<translation>Il y a encore des parties en cours. Êtes-vous sûr de vouloir quitter?</translation>
|
||||
</message>
|
||||
|
@ -2999,40 +3019,73 @@ La version la plus récente est %1, l'ancienne version est %2.</translation
|
|||
<translation>Nom complet</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ShutdownDialog</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="17"/>
|
||||
<source>&Reason for shutdown:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="20"/>
|
||||
<source>&Time until shutdown (minutes):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="26"/>
|
||||
<source>&OK</source>
|
||||
<translation type="unfinished">&OK</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="30"/>
|
||||
<source>&Cancel</source>
|
||||
<translation type="unfinished">&Annuler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="46"/>
|
||||
<source>Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabAdmin</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="40"/>
|
||||
<location filename="../src/tab_admin.cpp" line="93"/>
|
||||
<source>Update server &message</source>
|
||||
<translation>Mettre à jour le &message du serveur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="41"/>
|
||||
<location filename="../src/tab_admin.cpp" line="94"/>
|
||||
<source>&Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="95"/>
|
||||
<source>Server administration functions</source>
|
||||
<translation>Fonctions d'administration du serveur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="43"/>
|
||||
<location filename="../src/tab_admin.cpp" line="97"/>
|
||||
<source>&Unlock functions</source>
|
||||
<translation>&Débloquer fonctions</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="44"/>
|
||||
<location filename="../src/tab_admin.cpp" line="98"/>
|
||||
<source>&Lock functions</source>
|
||||
<translation>&Bloquer fonctions</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Unlock administration functions</source>
|
||||
<translation>Débloquer fonctions d'administration</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Do you really want to unlock the administration functions?</source>
|
||||
<translation>Êtes-vous sûr de vouloir débloquer les fonctions d'administration?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.h" line="27"/>
|
||||
<location filename="../src/tab_admin.h" line="43"/>
|
||||
<source>Administration</source>
|
||||
<translation>Administration</translation>
|
||||
</message>
|
||||
|
|
|
@ -1443,220 +1443,239 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="60"/>
|
||||
<source>Scheduled server shutdown.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="62"/>
|
||||
<source>Unknown reason.</source>
|
||||
<translation>不明な理由.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>Connection closed</source>
|
||||
<translation>通信切断</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>The server has terminated your connection.
|
||||
Reason: %1</source>
|
||||
<translation>サーバーはあなたの接続を切断しました.
|
||||
理由: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>Scheduled server shutdown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>The server is going to be restarted in %n minute(s).
|
||||
All running games will be lost.
|
||||
Reason for shutdown: %1</source>
|
||||
<translation type="unfinished">
|
||||
<numerusform></numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Number of players</source>
|
||||
<translation>プレイヤー人数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Please enter the number of players.</source>
|
||||
<translation>プレイヤーの人数を入れてください.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="119"/>
|
||||
<location filename="../src/window_main.cpp" line="125"/>
|
||||
<location filename="../src/window_main.cpp" line="126"/>
|
||||
<location filename="../src/window_main.cpp" line="132"/>
|
||||
<source>Player %1</source>
|
||||
<translation>プレイヤー %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="170"/>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<source>About Cockatrice</source>
|
||||
<translation>Cockatriceについて</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="172"/>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<source>Version %1</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="173"/>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<source>Authors:</source>
|
||||
<translation>著者:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="174"/>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<source>Translators:</source>
|
||||
<translation>翻訳者:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="175"/>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<source>Spanish:</source>
|
||||
<translation>スペイン語:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="176"/>
|
||||
<location filename="../src/window_main.cpp" line="183"/>
|
||||
<source>Portugese (Portugal):</source>
|
||||
<translation>ポルトガル語(ポルトガル):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<location filename="../src/window_main.cpp" line="184"/>
|
||||
<source>Portugese (Brazil):</source>
|
||||
<translation>ポルトガル語(ブラジル):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="178"/>
|
||||
<location filename="../src/window_main.cpp" line="185"/>
|
||||
<source>French:</source>
|
||||
<translation>フランス語:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<location filename="../src/window_main.cpp" line="186"/>
|
||||
<source>Japanese:</source>
|
||||
<translation>日本語:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<location filename="../src/window_main.cpp" line="187"/>
|
||||
<source>Russian:</source>
|
||||
<translation>ロシア語:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<source>Czech:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<location filename="../src/window_main.cpp" line="189"/>
|
||||
<source>Slovak:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Error</source>
|
||||
<translation>エラー</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<source>Server timeout</source>
|
||||
<translation>サーバータイムアウト</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<source>Invalid login data.</source>
|
||||
<translation>無効なログインデータです.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<source>There is already an active session using this user name.
|
||||
Please close that session first and re-login.</source>
|
||||
<translation>これはすでにこのユーザー名で使われているアクティブなセッションです.
|
||||
まずこのセッションを閉じてログインしなおしてください.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<source>Socket error: %1</source>
|
||||
<translation>ソケットエラー: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<source>You are trying to connect to an obsolete server. Please downgrade your Cockatrice version or connect to a suitable server.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation>あなたは古いVerのサーバーに接続しようとしています.CockatriceのVerをダウングレードするか適正なサーバーに接続してください.
|
||||
ローカルVer %1,リモートVer %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Your Cockatrice client is obsolete. Please update your Cockatrice version.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation>あなたのCockatriceのVerが古いです.Cockatriceをアップデートしてください.
|
||||
ローカルVer %1,リモートVer %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="216"/>
|
||||
<location filename="../src/window_main.cpp" line="223"/>
|
||||
<source>Connecting to %1...</source>
|
||||
<translation>%1へ接続しています...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<location filename="../src/window_main.cpp" line="224"/>
|
||||
<source>Disconnected</source>
|
||||
<translation>切断されました</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="218"/>
|
||||
<location filename="../src/window_main.cpp" line="225"/>
|
||||
<source>Logged in at %1</source>
|
||||
<translation>%1にログイン中</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="227"/>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<source>&Connect...</source>
|
||||
<translation>接続...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="228"/>
|
||||
<location filename="../src/window_main.cpp" line="235"/>
|
||||
<source>&Disconnect</source>
|
||||
<translation>切断</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="229"/>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<source>Start &local game...</source>
|
||||
<translation>ローカルゲームを開始...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="230"/>
|
||||
<location filename="../src/window_main.cpp" line="237"/>
|
||||
<source>&Deck editor</source>
|
||||
<translation>デッキエディター</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="231"/>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<source>&Full screen</source>
|
||||
<translation>フルスクリーン</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="232"/>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="233"/>
|
||||
<location filename="../src/window_main.cpp" line="240"/>
|
||||
<source>&Settings...</source>
|
||||
<translation>設定...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<location filename="../src/window_main.cpp" line="241"/>
|
||||
<source>&Exit</source>
|
||||
<translation>終了</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<location filename="../src/window_main.cpp" line="243"/>
|
||||
<source>&Cockatrice</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<location filename="../src/window_main.cpp" line="245"/>
|
||||
<source>&About Cockatrice</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<location filename="../src/window_main.cpp" line="246"/>
|
||||
<source>&Help</source>
|
||||
<translation>ヘルプ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>Are you sure?</source>
|
||||
<translation>よろしいですか?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>There are still open games. Are you sure you want to quit?</source>
|
||||
<translation>ゲームがまだ開いています.本当に退出しますか?</translation>
|
||||
</message>
|
||||
|
@ -2779,40 +2798,73 @@ Local version is %1, remote version is %2.</source>
|
|||
<translation>正式名称</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ShutdownDialog</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="17"/>
|
||||
<source>&Reason for shutdown:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="20"/>
|
||||
<source>&Time until shutdown (minutes):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="26"/>
|
||||
<source>&OK</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="30"/>
|
||||
<source>&Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="46"/>
|
||||
<source>Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabAdmin</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="40"/>
|
||||
<location filename="../src/tab_admin.cpp" line="93"/>
|
||||
<source>Update server &message</source>
|
||||
<translation>サーバー更新&メッセージ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="41"/>
|
||||
<location filename="../src/tab_admin.cpp" line="94"/>
|
||||
<source>&Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="95"/>
|
||||
<source>Server administration functions</source>
|
||||
<translation>サーバー管理機能</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="43"/>
|
||||
<location filename="../src/tab_admin.cpp" line="97"/>
|
||||
<source>&Unlock functions</source>
|
||||
<translation>機能をアンロックする</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="44"/>
|
||||
<location filename="../src/tab_admin.cpp" line="98"/>
|
||||
<source>&Lock functions</source>
|
||||
<translation>機能をロックする</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Unlock administration functions</source>
|
||||
<translation>管理機能をアンロックする</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Do you really want to unlock the administration functions?</source>
|
||||
<translation>本当に管理機能をアンロックしますか?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.h" line="27"/>
|
||||
<location filename="../src/tab_admin.h" line="43"/>
|
||||
<source>Administration</source>
|
||||
<translation>管理者</translation>
|
||||
</message>
|
||||
|
|
|
@ -1390,216 +1390,237 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="60"/>
|
||||
<source>Scheduled server shutdown.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="62"/>
|
||||
<source>Unknown reason.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>Connection closed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>The server has terminated your connection.
|
||||
Reason: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>Scheduled server shutdown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>The server is going to be restarted in %n minute(s).
|
||||
All running games will be lost.
|
||||
Reason for shutdown: %1</source>
|
||||
<translation type="unfinished">
|
||||
<numerusform></numerusform>
|
||||
<numerusform></numerusform>
|
||||
<numerusform></numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Number of players</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Please enter the number of players.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="119"/>
|
||||
<location filename="../src/window_main.cpp" line="125"/>
|
||||
<location filename="../src/window_main.cpp" line="126"/>
|
||||
<location filename="../src/window_main.cpp" line="132"/>
|
||||
<source>Player %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="170"/>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<source>About Cockatrice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="172"/>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<source>Version %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="173"/>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<source>Authors:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="174"/>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<source>Translators:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="175"/>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<source>Spanish:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="176"/>
|
||||
<location filename="../src/window_main.cpp" line="183"/>
|
||||
<source>Portugese (Portugal):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<location filename="../src/window_main.cpp" line="184"/>
|
||||
<source>Portugese (Brazil):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="178"/>
|
||||
<location filename="../src/window_main.cpp" line="185"/>
|
||||
<source>French:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<location filename="../src/window_main.cpp" line="186"/>
|
||||
<source>Japanese:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<location filename="../src/window_main.cpp" line="187"/>
|
||||
<source>Russian:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<source>Czech:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<location filename="../src/window_main.cpp" line="189"/>
|
||||
<source>Slovak:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<source>Server timeout</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<source>Invalid login data.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<source>There is already an active session using this user name.
|
||||
Please close that session first and re-login.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<source>Socket error: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<source>You are trying to connect to an obsolete server. Please downgrade your Cockatrice version or connect to a suitable server.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Your Cockatrice client is obsolete. Please update your Cockatrice version.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="216"/>
|
||||
<location filename="../src/window_main.cpp" line="223"/>
|
||||
<source>Connecting to %1...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<location filename="../src/window_main.cpp" line="224"/>
|
||||
<source>Disconnected</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="218"/>
|
||||
<location filename="../src/window_main.cpp" line="225"/>
|
||||
<source>Logged in at %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="227"/>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<source>&Connect...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="228"/>
|
||||
<location filename="../src/window_main.cpp" line="235"/>
|
||||
<source>&Disconnect</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="229"/>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<source>Start &local game...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="230"/>
|
||||
<location filename="../src/window_main.cpp" line="237"/>
|
||||
<source>&Deck editor</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="231"/>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<source>&Full screen</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="232"/>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="233"/>
|
||||
<location filename="../src/window_main.cpp" line="240"/>
|
||||
<source>&Settings...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<location filename="../src/window_main.cpp" line="241"/>
|
||||
<source>&Exit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<location filename="../src/window_main.cpp" line="243"/>
|
||||
<source>&Cockatrice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<location filename="../src/window_main.cpp" line="245"/>
|
||||
<source>&About Cockatrice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<location filename="../src/window_main.cpp" line="246"/>
|
||||
<source>&Help</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>Are you sure?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>There are still open games. Are you sure you want to quit?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -2705,40 +2726,73 @@ Local version is %1, remote version is %2.</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ShutdownDialog</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="17"/>
|
||||
<source>&Reason for shutdown:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="20"/>
|
||||
<source>&Time until shutdown (minutes):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="26"/>
|
||||
<source>&OK</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="30"/>
|
||||
<source>&Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="46"/>
|
||||
<source>Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabAdmin</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="40"/>
|
||||
<location filename="../src/tab_admin.cpp" line="93"/>
|
||||
<source>Update server &message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="41"/>
|
||||
<location filename="../src/tab_admin.cpp" line="94"/>
|
||||
<source>&Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="95"/>
|
||||
<source>Server administration functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="43"/>
|
||||
<location filename="../src/tab_admin.cpp" line="97"/>
|
||||
<source>&Unlock functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="44"/>
|
||||
<location filename="../src/tab_admin.cpp" line="98"/>
|
||||
<source>&Lock functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Unlock administration functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Do you really want to unlock the administration functions?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.h" line="27"/>
|
||||
<location filename="../src/tab_admin.h" line="43"/>
|
||||
<source>Administration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -1598,23 +1598,23 @@
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Number of players</source>
|
||||
<translation>Número de jogadores</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Please enter the number of players.</source>
|
||||
<translation>Por favor, entre o número de jogadores.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="119"/>
|
||||
<location filename="../src/window_main.cpp" line="125"/>
|
||||
<location filename="../src/window_main.cpp" line="126"/>
|
||||
<location filename="../src/window_main.cpp" line="132"/>
|
||||
<source>Player %1</source>
|
||||
<translation>Jogador %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="170"/>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<source>About Cockatrice</source>
|
||||
<translation>Sobre o Cockatrice</translation>
|
||||
</message>
|
||||
|
@ -1623,72 +1623,72 @@
|
|||
<translation type="obsolete"><font size="8"><b>Cockatrice</b></font><br>Version %1<br><br><br><b>Authors:</b><br>Max-Wilhelm Bruker<br>Marcus Schütz<br>Marius van Zundert<br><br><b>Translators:</b><br>Spanish: Gocho<br>Portugese: Milton Gonçalves<br>Brazilian Portuguese: Thiago Queiroz<br></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="172"/>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<source>Version %1</source>
|
||||
<translation>Versão %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="173"/>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<source>Authors:</source>
|
||||
<translation>Autores:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="174"/>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<source>Translators:</source>
|
||||
<translation>Tradutores:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="175"/>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<source>Spanish:</source>
|
||||
<translation>Espanhol:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="176"/>
|
||||
<location filename="../src/window_main.cpp" line="183"/>
|
||||
<source>Portugese (Portugal):</source>
|
||||
<translation>Português (Portugal):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<location filename="../src/window_main.cpp" line="184"/>
|
||||
<source>Portugese (Brazil):</source>
|
||||
<translation>Português (Brasil):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="178"/>
|
||||
<location filename="../src/window_main.cpp" line="185"/>
|
||||
<source>French:</source>
|
||||
<translation>Francês:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<location filename="../src/window_main.cpp" line="186"/>
|
||||
<source>Japanese:</source>
|
||||
<translation>Japonês:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<location filename="../src/window_main.cpp" line="187"/>
|
||||
<source>Russian:</source>
|
||||
<translation>Russo:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Error</source>
|
||||
<translation>Erro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<source>Server timeout</source>
|
||||
<translation>Tempo esgotado do servidor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<source>Invalid login data.</source>
|
||||
<translation>Informações de login inválidas.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<source>Socket error: %1</source>
|
||||
<translation>Erro de ligação:%1</translation>
|
||||
</message>
|
||||
|
@ -1708,129 +1708,149 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="60"/>
|
||||
<source>Scheduled server shutdown.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="62"/>
|
||||
<source>Unknown reason.</source>
|
||||
<translation>Razão desconhecida.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>Connection closed</source>
|
||||
<translation>Conexão fechada</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>The server has terminated your connection.
|
||||
Reason: %1</source>
|
||||
<translation>O servidor terminou sua conexão.
|
||||
Razão: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>Scheduled server shutdown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>The server is going to be restarted in %n minute(s).
|
||||
All running games will be lost.
|
||||
Reason for shutdown: %1</source>
|
||||
<translation type="unfinished">
|
||||
<numerusform></numerusform>
|
||||
<numerusform></numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<source>Czech:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<location filename="../src/window_main.cpp" line="189"/>
|
||||
<source>Slovak:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<source>There is already an active session using this user name.
|
||||
Please close that session first and re-login.</source>
|
||||
<translation>Já existe uma sessão ativa usando este nome de usuário.
|
||||
Por favor, feche a sessão primeiro e logue novamente.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<source>You are trying to connect to an obsolete server. Please downgrade your Cockatrice version or connect to a suitable server.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation>Você está tentando conectar a um servidor obsoleto. Por favor, faça um downgrade na versão do seu Cockatrice ou conecte-se ao servidor correto.
|
||||
A versão local é %1 e a versão remota é %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Your Cockatrice client is obsolete. Please update your Cockatrice version.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation>A versão do seu Cockatrice é obsoleta. Por favor, atualize a sua versão.
|
||||
A versão local é %1 e a versão remota é %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="216"/>
|
||||
<location filename="../src/window_main.cpp" line="223"/>
|
||||
<source>Connecting to %1...</source>
|
||||
<translation>Conectando a %1...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<location filename="../src/window_main.cpp" line="224"/>
|
||||
<source>Disconnected</source>
|
||||
<translation>Desconectado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="218"/>
|
||||
<location filename="../src/window_main.cpp" line="225"/>
|
||||
<source>Logged in at %1</source>
|
||||
<translation>Logado em %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="227"/>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<source>&Connect...</source>
|
||||
<translation>&Conectar...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="228"/>
|
||||
<location filename="../src/window_main.cpp" line="235"/>
|
||||
<source>&Disconnect</source>
|
||||
<translation>&Desconectar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="229"/>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<source>Start &local game...</source>
|
||||
<translation>Iniciar jogo &local...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="230"/>
|
||||
<location filename="../src/window_main.cpp" line="237"/>
|
||||
<source>&Deck editor</source>
|
||||
<translation>Editor de &decks</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="231"/>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<source>&Full screen</source>
|
||||
<translation>Tela &cheia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="232"/>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation>Ctrl+F</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="233"/>
|
||||
<location filename="../src/window_main.cpp" line="240"/>
|
||||
<source>&Settings...</source>
|
||||
<translation>&Configurações...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<location filename="../src/window_main.cpp" line="241"/>
|
||||
<source>&Exit</source>
|
||||
<translation>&Sair</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<location filename="../src/window_main.cpp" line="243"/>
|
||||
<source>&Cockatrice</source>
|
||||
<translation>&Cockatrice</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<location filename="../src/window_main.cpp" line="245"/>
|
||||
<source>&About Cockatrice</source>
|
||||
<translation>So&bre o Cockatrice</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<location filename="../src/window_main.cpp" line="246"/>
|
||||
<source>&Help</source>
|
||||
<translation>&Ajuda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>Are you sure?</source>
|
||||
<translation>Você tem certeza?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>There are still open games. Are you sure you want to quit?</source>
|
||||
<translation>Ainda existem jogos abertos. Você tem certeza que deseja sair?</translation>
|
||||
</message>
|
||||
|
@ -2982,40 +3002,73 @@ A versão local é %1 e a versão remota é %2.</translation>
|
|||
<translation>Nome longo</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ShutdownDialog</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="17"/>
|
||||
<source>&Reason for shutdown:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="20"/>
|
||||
<source>&Time until shutdown (minutes):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="26"/>
|
||||
<source>&OK</source>
|
||||
<translation type="unfinished">&OK</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="30"/>
|
||||
<source>&Cancel</source>
|
||||
<translation type="unfinished">&Cancelar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="46"/>
|
||||
<source>Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabAdmin</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="40"/>
|
||||
<location filename="../src/tab_admin.cpp" line="93"/>
|
||||
<source>Update server &message</source>
|
||||
<translation>&Atualizar mensagem do servidor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="41"/>
|
||||
<location filename="../src/tab_admin.cpp" line="94"/>
|
||||
<source>&Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="95"/>
|
||||
<source>Server administration functions</source>
|
||||
<translation>Funções do administrador do servidor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="43"/>
|
||||
<location filename="../src/tab_admin.cpp" line="97"/>
|
||||
<source>&Unlock functions</source>
|
||||
<translation>&Desbloquear funções</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="44"/>
|
||||
<location filename="../src/tab_admin.cpp" line="98"/>
|
||||
<source>&Lock functions</source>
|
||||
<translation>&Bloquear funções</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Unlock administration functions</source>
|
||||
<translation>Desbloquear funções do administrador</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Do you really want to unlock the administration functions?</source>
|
||||
<translation>Você quer mesmo desbloquear as funções do administrador?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.h" line="27"/>
|
||||
<location filename="../src/tab_admin.h" line="43"/>
|
||||
<source>Administration</source>
|
||||
<translation>Administração</translation>
|
||||
</message>
|
||||
|
|
|
@ -1598,23 +1598,23 @@
|
|||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Number of players</source>
|
||||
<translation>Número de jogadores</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Please enter the number of players.</source>
|
||||
<translation>Por favor introduza o número de jogadores.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="119"/>
|
||||
<location filename="../src/window_main.cpp" line="125"/>
|
||||
<location filename="../src/window_main.cpp" line="126"/>
|
||||
<location filename="../src/window_main.cpp" line="132"/>
|
||||
<source>Player %1</source>
|
||||
<translation>Jogador %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="170"/>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<source>About Cockatrice</source>
|
||||
<translation>Sobre o Cockatrice</translation>
|
||||
</message>
|
||||
|
@ -1623,22 +1623,22 @@
|
|||
<translation type="obsolete"><font size="8"><b>Cockatrice</b></font><br>Versão %1<br><br><br><b>Autores:</b><br>Max-Wilhelm Bruker<br>Marcus Schütz<br>Marius van Zundert<br><br><b>Tradutores:</b><br>Espanhol: Gocho<br>Português: Milton Gonçalves<br></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="172"/>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<source>Version %1</source>
|
||||
<translation>Versão %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="173"/>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<source>Authors:</source>
|
||||
<translation>Autores:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="174"/>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<source>Translators:</source>
|
||||
<translation>Tradutores:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="175"/>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<source>Spanish:</source>
|
||||
<translation>Espanhol:</translation>
|
||||
</message>
|
||||
|
@ -1647,52 +1647,52 @@
|
|||
<translation type="obsolete">Português:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="176"/>
|
||||
<location filename="../src/window_main.cpp" line="183"/>
|
||||
<source>Portugese (Portugal):</source>
|
||||
<translation>Português (Portugal):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<location filename="../src/window_main.cpp" line="184"/>
|
||||
<source>Portugese (Brazil):</source>
|
||||
<translation>Português (Brasil):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="178"/>
|
||||
<location filename="../src/window_main.cpp" line="185"/>
|
||||
<source>French:</source>
|
||||
<translation>Francês:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<location filename="../src/window_main.cpp" line="186"/>
|
||||
<source>Japanese:</source>
|
||||
<translation>Japonês:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<location filename="../src/window_main.cpp" line="187"/>
|
||||
<source>Russian:</source>
|
||||
<translation>Russo:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Error</source>
|
||||
<translation>Erro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<source>Server timeout</source>
|
||||
<translation>Tempo do servidor esgotado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<source>Invalid login data.</source>
|
||||
<translation>Informação de login incorrecta.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<source>Socket error: %1</source>
|
||||
<translation>Erro de ligação:%1</translation>
|
||||
</message>
|
||||
|
@ -1712,129 +1712,149 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="60"/>
|
||||
<source>Scheduled server shutdown.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="62"/>
|
||||
<source>Unknown reason.</source>
|
||||
<translation>Razão desconhecida.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>Connection closed</source>
|
||||
<translation>Ligação terminada</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>The server has terminated your connection.
|
||||
Reason: %1</source>
|
||||
<translation>O servidor terminou a sua ligação.
|
||||
Motivo: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>Scheduled server shutdown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>The server is going to be restarted in %n minute(s).
|
||||
All running games will be lost.
|
||||
Reason for shutdown: %1</source>
|
||||
<translation type="unfinished">
|
||||
<numerusform></numerusform>
|
||||
<numerusform></numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<source>Czech:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<location filename="../src/window_main.cpp" line="189"/>
|
||||
<source>Slovak:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<source>There is already an active session using this user name.
|
||||
Please close that session first and re-login.</source>
|
||||
<translation>Já existe uma sessão activa com este nome de utilizador.
|
||||
Por favor termine essa sessão e volte a ligar-se.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<source>You are trying to connect to an obsolete server. Please downgrade your Cockatrice version or connect to a suitable server.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation>Está a tentar ligar-se a um servidor obsoleto. Por favor faça downgrade à sua versão do Cockatrice ou ligue-se a servidor adequado.
|
||||
Versão local é %1, versão remota é %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Your Cockatrice client is obsolete. Please update your Cockatrice version.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation>A sua versão do Cockatrice é obsoleta. Por favor actualize-a.
|
||||
Versão local é %1, versão remota é %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="216"/>
|
||||
<location filename="../src/window_main.cpp" line="223"/>
|
||||
<source>Connecting to %1...</source>
|
||||
<translation>Ligando a %1...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<location filename="../src/window_main.cpp" line="224"/>
|
||||
<source>Disconnected</source>
|
||||
<translation>Desligado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="218"/>
|
||||
<location filename="../src/window_main.cpp" line="225"/>
|
||||
<source>Logged in at %1</source>
|
||||
<translation>Logado em %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="227"/>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<source>&Connect...</source>
|
||||
<translation>&Ligar...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="228"/>
|
||||
<location filename="../src/window_main.cpp" line="235"/>
|
||||
<source>&Disconnect</source>
|
||||
<translation>&Desligar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="229"/>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<source>Start &local game...</source>
|
||||
<translation>Começar &jogo local...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="230"/>
|
||||
<location filename="../src/window_main.cpp" line="237"/>
|
||||
<source>&Deck editor</source>
|
||||
<translation>&Editor de decks</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="231"/>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<source>&Full screen</source>
|
||||
<translation>Ecrã &inteiro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="232"/>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation>Ctrl+F</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="233"/>
|
||||
<location filename="../src/window_main.cpp" line="240"/>
|
||||
<source>&Settings...</source>
|
||||
<translation>&Configurações...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<location filename="../src/window_main.cpp" line="241"/>
|
||||
<source>&Exit</source>
|
||||
<translation>&Sair</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<location filename="../src/window_main.cpp" line="243"/>
|
||||
<source>&Cockatrice</source>
|
||||
<translation>&Cockatrice</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<location filename="../src/window_main.cpp" line="245"/>
|
||||
<source>&About Cockatrice</source>
|
||||
<translation>S&obre o Cockatrice</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<location filename="../src/window_main.cpp" line="246"/>
|
||||
<source>&Help</source>
|
||||
<translation>&Ajuda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>Are you sure?</source>
|
||||
<translation>Tens a certeza?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>There are still open games. Are you sure you want to quit?</source>
|
||||
<translation>Ainda há jogos abertos. Tem a certeza que deseja sair?</translation>
|
||||
</message>
|
||||
|
@ -2986,40 +3006,73 @@ Versão local é %1, versão remota é %2.</translation>
|
|||
<translation>Nome longo</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ShutdownDialog</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="17"/>
|
||||
<source>&Reason for shutdown:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="20"/>
|
||||
<source>&Time until shutdown (minutes):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="26"/>
|
||||
<source>&OK</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="30"/>
|
||||
<source>&Cancel</source>
|
||||
<translation type="unfinished">&Cancelar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="46"/>
|
||||
<source>Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabAdmin</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="40"/>
|
||||
<location filename="../src/tab_admin.cpp" line="93"/>
|
||||
<source>Update server &message</source>
|
||||
<translation>&Actualizar mensagem do servidor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="41"/>
|
||||
<location filename="../src/tab_admin.cpp" line="94"/>
|
||||
<source>&Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="95"/>
|
||||
<source>Server administration functions</source>
|
||||
<translation>Funções do administrador do servidor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="43"/>
|
||||
<location filename="../src/tab_admin.cpp" line="97"/>
|
||||
<source>&Unlock functions</source>
|
||||
<translation>&Desbloquear funções</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="44"/>
|
||||
<location filename="../src/tab_admin.cpp" line="98"/>
|
||||
<source>&Lock functions</source>
|
||||
<translation>&Bloquear funções</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Unlock administration functions</source>
|
||||
<translation>Desbloquear funções de administração</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Do you really want to unlock the administration functions?</source>
|
||||
<translation>Quer mesmo desbloquear as funçõesde administração?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.h" line="27"/>
|
||||
<location filename="../src/tab_admin.h" line="43"/>
|
||||
<source>Administration</source>
|
||||
<translation>Administração</translation>
|
||||
</message>
|
||||
|
|
|
@ -1544,220 +1544,241 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="60"/>
|
||||
<source>Scheduled server shutdown.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="62"/>
|
||||
<source>Unknown reason.</source>
|
||||
<translation>Неизвестная причина.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>Connection closed</source>
|
||||
<translation>Соединение прервано</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>The server has terminated your connection.
|
||||
Reason: %1</source>
|
||||
<translation>Ваше подключение было прервано сервером.
|
||||
Причина: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>Scheduled server shutdown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>The server is going to be restarted in %n minute(s).
|
||||
All running games will be lost.
|
||||
Reason for shutdown: %1</source>
|
||||
<translation type="unfinished">
|
||||
<numerusform></numerusform>
|
||||
<numerusform></numerusform>
|
||||
<numerusform></numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Number of players</source>
|
||||
<translation>Количество игроков</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Please enter the number of players.</source>
|
||||
<translation>Введите количество игроков.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="119"/>
|
||||
<location filename="../src/window_main.cpp" line="125"/>
|
||||
<location filename="../src/window_main.cpp" line="126"/>
|
||||
<location filename="../src/window_main.cpp" line="132"/>
|
||||
<source>Player %1</source>
|
||||
<translation>Игрок %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="170"/>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<source>About Cockatrice</source>
|
||||
<translation>О программе</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="172"/>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<source>Version %1</source>
|
||||
<translation>Версия %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="173"/>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<source>Authors:</source>
|
||||
<translation>Разработчики:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="174"/>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<source>Translators:</source>
|
||||
<translation>Переводчики:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="175"/>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<source>Spanish:</source>
|
||||
<translation>Испанский:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="176"/>
|
||||
<location filename="../src/window_main.cpp" line="183"/>
|
||||
<source>Portugese (Portugal):</source>
|
||||
<translation>Португальский:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<location filename="../src/window_main.cpp" line="184"/>
|
||||
<source>Portugese (Brazil):</source>
|
||||
<translation>Португальский (Brazil):</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="178"/>
|
||||
<location filename="../src/window_main.cpp" line="185"/>
|
||||
<source>French:</source>
|
||||
<translation>Французский:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<location filename="../src/window_main.cpp" line="186"/>
|
||||
<source>Japanese:</source>
|
||||
<translation>Японский:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<location filename="../src/window_main.cpp" line="187"/>
|
||||
<source>Russian:</source>
|
||||
<translation>Русский:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<source>Czech:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<location filename="../src/window_main.cpp" line="189"/>
|
||||
<source>Slovak:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Error</source>
|
||||
<translation>Ошибка</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<source>Server timeout</source>
|
||||
<translation>Временная ошибка</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<source>Invalid login data.</source>
|
||||
<translation>Неверный логин/пароль.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<source>There is already an active session using this user name.
|
||||
Please close that session first and re-login.</source>
|
||||
<translation>Пользователь с таким именем уже подключен.
|
||||
Пожалуйста, закройте это подключение и войдите заново.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<source>Socket error: %1</source>
|
||||
<translation>Ошибка сокета: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<source>You are trying to connect to an obsolete server. Please downgrade your Cockatrice version or connect to a suitable server.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation>Вы пытаетесь подключиться к несуществующему серверу. Пожалуйста, обновите Cockatrice или выберите другой сервер.
|
||||
Локальная версия %1, удаленная версия %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Your Cockatrice client is obsolete. Please update your Cockatrice version.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation>Ваш клиент Cockatrice устарел. Пожалуйста, обновите Cockatrice.
|
||||
Локальная версия %1, удаленная версия %2.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="216"/>
|
||||
<location filename="../src/window_main.cpp" line="223"/>
|
||||
<source>Connecting to %1...</source>
|
||||
<translation>Подключение к %1...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<location filename="../src/window_main.cpp" line="224"/>
|
||||
<source>Disconnected</source>
|
||||
<translation>Подключение прервано</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="218"/>
|
||||
<location filename="../src/window_main.cpp" line="225"/>
|
||||
<source>Logged in at %1</source>
|
||||
<translation>Подключено к %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="227"/>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<source>&Connect...</source>
|
||||
<translation>&Подключение...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="228"/>
|
||||
<location filename="../src/window_main.cpp" line="235"/>
|
||||
<source>&Disconnect</source>
|
||||
<translation>П&рервать подключение</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="229"/>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<source>Start &local game...</source>
|
||||
<translation>&Начать локальную игру...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="230"/>
|
||||
<location filename="../src/window_main.cpp" line="237"/>
|
||||
<source>&Deck editor</source>
|
||||
<translation>Редактор &колод</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="231"/>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<source>&Full screen</source>
|
||||
<translation>П&олный экран</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="232"/>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="233"/>
|
||||
<location filename="../src/window_main.cpp" line="240"/>
|
||||
<source>&Settings...</source>
|
||||
<translation>Н&астройки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<location filename="../src/window_main.cpp" line="241"/>
|
||||
<source>&Exit</source>
|
||||
<translation>&Выход</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<location filename="../src/window_main.cpp" line="243"/>
|
||||
<source>&Cockatrice</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<location filename="../src/window_main.cpp" line="245"/>
|
||||
<source>&About Cockatrice</source>
|
||||
<translation>О про&грамме</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<location filename="../src/window_main.cpp" line="246"/>
|
||||
<source>&Help</source>
|
||||
<translation>&Справка</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>Are you sure?</source>
|
||||
<translation>Вы уверены?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>There are still open games. Are you sure you want to quit?</source>
|
||||
<translation>Вы подключены к игре. Выйти?</translation>
|
||||
</message>
|
||||
|
@ -2903,40 +2924,73 @@ Local version is %1, remote version is %2.</source>
|
|||
<translation>Полное название</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ShutdownDialog</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="17"/>
|
||||
<source>&Reason for shutdown:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="20"/>
|
||||
<source>&Time until shutdown (minutes):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="26"/>
|
||||
<source>&OK</source>
|
||||
<translation type="unfinished">&Ок</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="30"/>
|
||||
<source>&Cancel</source>
|
||||
<translation type="unfinished">&Отмена</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="46"/>
|
||||
<source>Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabAdmin</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="40"/>
|
||||
<location filename="../src/tab_admin.cpp" line="93"/>
|
||||
<source>Update server &message</source>
|
||||
<translation>Обновить сооб&щения сервера</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="41"/>
|
||||
<location filename="../src/tab_admin.cpp" line="94"/>
|
||||
<source>&Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="95"/>
|
||||
<source>Server administration functions</source>
|
||||
<translation>Функции администрирования сервера</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="43"/>
|
||||
<location filename="../src/tab_admin.cpp" line="97"/>
|
||||
<source>&Unlock functions</source>
|
||||
<translation>&Разблокировать функции</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="44"/>
|
||||
<location filename="../src/tab_admin.cpp" line="98"/>
|
||||
<source>&Lock functions</source>
|
||||
<translation>&Заблокировать функции</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Unlock administration functions</source>
|
||||
<translation>Разблокировать административные права</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Do you really want to unlock the administration functions?</source>
|
||||
<translation>Вы действительно хотите разблокировать административные права?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.h" line="27"/>
|
||||
<location filename="../src/tab_admin.h" line="43"/>
|
||||
<source>Administration</source>
|
||||
<translation>Администрирование</translation>
|
||||
</message>
|
||||
|
|
|
@ -1390,216 +1390,237 @@
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="60"/>
|
||||
<source>Scheduled server shutdown.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="62"/>
|
||||
<source>Unknown reason.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>Connection closed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="61"/>
|
||||
<location filename="../src/window_main.cpp" line="63"/>
|
||||
<source>The server has terminated your connection.
|
||||
Reason: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>Scheduled server shutdown</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<location filename="../src/window_main.cpp" line="68"/>
|
||||
<source>The server is going to be restarted in %n minute(s).
|
||||
All running games will be lost.
|
||||
Reason for shutdown: %1</source>
|
||||
<translation type="unfinished">
|
||||
<numerusform></numerusform>
|
||||
<numerusform></numerusform>
|
||||
<numerusform></numerusform>
|
||||
</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Number of players</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="110"/>
|
||||
<location filename="../src/window_main.cpp" line="117"/>
|
||||
<source>Please enter the number of players.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="119"/>
|
||||
<location filename="../src/window_main.cpp" line="125"/>
|
||||
<location filename="../src/window_main.cpp" line="126"/>
|
||||
<location filename="../src/window_main.cpp" line="132"/>
|
||||
<source>Player %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="170"/>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<source>About Cockatrice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="172"/>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<source>Version %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="173"/>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<source>Authors:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="174"/>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<source>Translators:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="175"/>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<source>Spanish:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="176"/>
|
||||
<location filename="../src/window_main.cpp" line="183"/>
|
||||
<source>Portugese (Portugal):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="177"/>
|
||||
<location filename="../src/window_main.cpp" line="184"/>
|
||||
<source>Portugese (Brazil):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="178"/>
|
||||
<location filename="../src/window_main.cpp" line="185"/>
|
||||
<source>French:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="179"/>
|
||||
<location filename="../src/window_main.cpp" line="186"/>
|
||||
<source>Japanese:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="180"/>
|
||||
<location filename="../src/window_main.cpp" line="187"/>
|
||||
<source>Russian:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="181"/>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<source>Czech:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="182"/>
|
||||
<location filename="../src/window_main.cpp" line="189"/>
|
||||
<source>Slovak:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="188"/>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<source>Server timeout</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="194"/>
|
||||
<location filename="../src/window_main.cpp" line="201"/>
|
||||
<source>Invalid login data.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="195"/>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<source>There is already an active session using this user name.
|
||||
Please close that session first and re-login.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="202"/>
|
||||
<location filename="../src/window_main.cpp" line="209"/>
|
||||
<source>Socket error: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="208"/>
|
||||
<location filename="../src/window_main.cpp" line="215"/>
|
||||
<source>You are trying to connect to an obsolete server. Please downgrade your Cockatrice version or connect to a suitable server.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="210"/>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<source>Your Cockatrice client is obsolete. Please update your Cockatrice version.
|
||||
Local version is %1, remote version is %2.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="216"/>
|
||||
<location filename="../src/window_main.cpp" line="223"/>
|
||||
<source>Connecting to %1...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="217"/>
|
||||
<location filename="../src/window_main.cpp" line="224"/>
|
||||
<source>Disconnected</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="218"/>
|
||||
<location filename="../src/window_main.cpp" line="225"/>
|
||||
<source>Logged in at %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="227"/>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<source>&Connect...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="228"/>
|
||||
<location filename="../src/window_main.cpp" line="235"/>
|
||||
<source>&Disconnect</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="229"/>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<source>Start &local game...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="230"/>
|
||||
<location filename="../src/window_main.cpp" line="237"/>
|
||||
<source>&Deck editor</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="231"/>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<source>&Full screen</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="232"/>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<source>Ctrl+F</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="233"/>
|
||||
<location filename="../src/window_main.cpp" line="240"/>
|
||||
<source>&Settings...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="234"/>
|
||||
<location filename="../src/window_main.cpp" line="241"/>
|
||||
<source>&Exit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="236"/>
|
||||
<location filename="../src/window_main.cpp" line="243"/>
|
||||
<source>&Cockatrice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="238"/>
|
||||
<location filename="../src/window_main.cpp" line="245"/>
|
||||
<source>&About Cockatrice</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="239"/>
|
||||
<location filename="../src/window_main.cpp" line="246"/>
|
||||
<source>&Help</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>Are you sure?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/window_main.cpp" line="317"/>
|
||||
<location filename="../src/window_main.cpp" line="325"/>
|
||||
<source>There are still open games. Are you sure you want to quit?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -2705,40 +2726,73 @@ Local version is %1, remote version is %2.</source>
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ShutdownDialog</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="17"/>
|
||||
<source>&Reason for shutdown:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="20"/>
|
||||
<source>&Time until shutdown (minutes):</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="26"/>
|
||||
<source>&OK</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="30"/>
|
||||
<source>&Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="46"/>
|
||||
<source>Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabAdmin</name>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="40"/>
|
||||
<location filename="../src/tab_admin.cpp" line="93"/>
|
||||
<source>Update server &message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="41"/>
|
||||
<location filename="../src/tab_admin.cpp" line="94"/>
|
||||
<source>&Shut down server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="95"/>
|
||||
<source>Server administration functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="43"/>
|
||||
<location filename="../src/tab_admin.cpp" line="97"/>
|
||||
<source>&Unlock functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="44"/>
|
||||
<location filename="../src/tab_admin.cpp" line="98"/>
|
||||
<source>&Lock functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Unlock administration functions</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.cpp" line="54"/>
|
||||
<location filename="../src/tab_admin.cpp" line="115"/>
|
||||
<source>Do you really want to unlock the administration functions?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/tab_admin.h" line="27"/>
|
||||
<location filename="../src/tab_admin.h" line="43"/>
|
||||
<source>Administration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -167,6 +167,15 @@ public:
|
|||
void setGameId(int _gameId) { static_cast<SerializableItem_Int *>(itemMap.value("game_id"))->setData(_gameId); }
|
||||
};
|
||||
|
||||
class ModeratorCommand : public Command {
|
||||
Q_OBJECT
|
||||
public:
|
||||
ModeratorCommand(const QString &_cmdName)
|
||||
: Command(_cmdName)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
class AdminCommand : public Command {
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
|
|
@ -65,19 +65,21 @@ ItemId_Event_DumpZone = 1063,
|
|||
ItemId_Event_StopDumpZone = 1064,
|
||||
ItemId_Event_RemoveFromList = 1065,
|
||||
ItemId_Event_ServerMessage = 1066,
|
||||
ItemId_Event_ConnectionClosed = 1067,
|
||||
ItemId_Event_Message = 1068,
|
||||
ItemId_Event_GameJoined = 1069,
|
||||
ItemId_Event_UserLeft = 1070,
|
||||
ItemId_Event_LeaveRoom = 1071,
|
||||
ItemId_Event_RoomSay = 1072,
|
||||
ItemId_Context_ReadyStart = 1073,
|
||||
ItemId_Context_Concede = 1074,
|
||||
ItemId_Context_DeckSelect = 1075,
|
||||
ItemId_Context_UndoDraw = 1076,
|
||||
ItemId_Context_MoveCard = 1077,
|
||||
ItemId_Context_Mulligan = 1078,
|
||||
ItemId_Command_UpdateServerMessage = 1079,
|
||||
ItemId_Command_BanFromServer = 1080,
|
||||
ItemId_Other = 1081
|
||||
ItemId_Event_ServerShutdown = 1067,
|
||||
ItemId_Event_ConnectionClosed = 1068,
|
||||
ItemId_Event_Message = 1069,
|
||||
ItemId_Event_GameJoined = 1070,
|
||||
ItemId_Event_UserLeft = 1071,
|
||||
ItemId_Event_LeaveRoom = 1072,
|
||||
ItemId_Event_RoomSay = 1073,
|
||||
ItemId_Context_ReadyStart = 1074,
|
||||
ItemId_Context_Concede = 1075,
|
||||
ItemId_Context_DeckSelect = 1076,
|
||||
ItemId_Context_UndoDraw = 1077,
|
||||
ItemId_Context_MoveCard = 1078,
|
||||
ItemId_Context_Mulligan = 1079,
|
||||
ItemId_Command_UpdateServerMessage = 1080,
|
||||
ItemId_Command_ShutdownServer = 1081,
|
||||
ItemId_Command_BanFromServer = 1082,
|
||||
ItemId_Other = 1083
|
||||
};
|
||||
|
|
|
@ -398,6 +398,12 @@ Event_ServerMessage::Event_ServerMessage(const QString &_message)
|
|||
{
|
||||
insertItem(new SerializableItem_String("message", _message));
|
||||
}
|
||||
Event_ServerShutdown::Event_ServerShutdown(const QString &_reason, int _minutes)
|
||||
: GenericEvent("server_shutdown")
|
||||
{
|
||||
insertItem(new SerializableItem_String("reason", _reason));
|
||||
insertItem(new SerializableItem_Int("minutes", _minutes));
|
||||
}
|
||||
Event_ConnectionClosed::Event_ConnectionClosed(const QString &_reason)
|
||||
: GenericEvent("connection_closed")
|
||||
{
|
||||
|
@ -467,8 +473,14 @@ Command_UpdateServerMessage::Command_UpdateServerMessage()
|
|||
: AdminCommand("update_server_message")
|
||||
{
|
||||
}
|
||||
Command_ShutdownServer::Command_ShutdownServer(const QString &_reason, int _minutes)
|
||||
: AdminCommand("shutdown_server")
|
||||
{
|
||||
insertItem(new SerializableItem_String("reason", _reason));
|
||||
insertItem(new SerializableItem_Int("minutes", _minutes));
|
||||
}
|
||||
Command_BanFromServer::Command_BanFromServer(const QString &_userName, int _minutes)
|
||||
: AdminCommand("ban_from_server")
|
||||
: ModeratorCommand("ban_from_server")
|
||||
{
|
||||
insertItem(new SerializableItem_String("user_name", _userName));
|
||||
insertItem(new SerializableItem_Int("minutes", _minutes));
|
||||
|
@ -541,6 +553,7 @@ void ProtocolItem::initializeHashAuto()
|
|||
itemNameHash.insert("game_eventstop_dump_zone", Event_StopDumpZone::newItem);
|
||||
itemNameHash.insert("generic_eventremove_from_list", Event_RemoveFromList::newItem);
|
||||
itemNameHash.insert("generic_eventserver_message", Event_ServerMessage::newItem);
|
||||
itemNameHash.insert("generic_eventserver_shutdown", Event_ServerShutdown::newItem);
|
||||
itemNameHash.insert("generic_eventconnection_closed", Event_ConnectionClosed::newItem);
|
||||
itemNameHash.insert("generic_eventmessage", Event_Message::newItem);
|
||||
itemNameHash.insert("generic_eventgame_joined", Event_GameJoined::newItem);
|
||||
|
@ -554,5 +567,6 @@ void ProtocolItem::initializeHashAuto()
|
|||
itemNameHash.insert("game_event_contextmove_card", Context_MoveCard::newItem);
|
||||
itemNameHash.insert("game_event_contextmulligan", Context_Mulligan::newItem);
|
||||
itemNameHash.insert("cmdupdate_server_message", Command_UpdateServerMessage::newItem);
|
||||
itemNameHash.insert("cmdshutdown_server", Command_ShutdownServer::newItem);
|
||||
itemNameHash.insert("cmdban_from_server", Command_BanFromServer::newItem);
|
||||
}
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
3:stop_dump_zone:i,zone_owner_id:s,zone
|
||||
4:remove_from_list:s,list:s,user_name
|
||||
4:server_message:s,message
|
||||
4:server_shutdown:s,reason:i,minutes
|
||||
4:connection_closed:s,reason
|
||||
4:message:s,sender_name:s,receiver_name:s,text
|
||||
4:game_joined:i,game_id:s,game_description:i,player_id:b,spectator:b,spectators_can_talk:b,spectators_see_everything:b,resuming
|
||||
|
@ -77,4 +78,5 @@
|
|||
6:move_card
|
||||
6:mulligan:i,number
|
||||
7:update_server_message
|
||||
7:ban_from_server:s,user_name:i,minutes
|
||||
7:shutdown_server:s,reason:i,minutes
|
||||
8:ban_from_server:s,user_name:i,minutes
|
|
@ -598,6 +598,15 @@ public:
|
|||
static SerializableItem *newItem() { return new Event_ServerMessage; }
|
||||
int getItemId() const { return ItemId_Event_ServerMessage; }
|
||||
};
|
||||
class Event_ServerShutdown : public GenericEvent {
|
||||
Q_OBJECT
|
||||
public:
|
||||
Event_ServerShutdown(const QString &_reason = QString(), int _minutes = -1);
|
||||
QString getReason() const { return static_cast<SerializableItem_String *>(itemMap.value("reason"))->getData(); };
|
||||
int getMinutes() const { return static_cast<SerializableItem_Int *>(itemMap.value("minutes"))->getData(); };
|
||||
static SerializableItem *newItem() { return new Event_ServerShutdown; }
|
||||
int getItemId() const { return ItemId_Event_ServerShutdown; }
|
||||
};
|
||||
class Event_ConnectionClosed : public GenericEvent {
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
@ -706,7 +715,16 @@ public:
|
|||
static SerializableItem *newItem() { return new Command_UpdateServerMessage; }
|
||||
int getItemId() const { return ItemId_Command_UpdateServerMessage; }
|
||||
};
|
||||
class Command_BanFromServer : public AdminCommand {
|
||||
class Command_ShutdownServer : public AdminCommand {
|
||||
Q_OBJECT
|
||||
public:
|
||||
Command_ShutdownServer(const QString &_reason = QString(), int _minutes = -1);
|
||||
QString getReason() const { return static_cast<SerializableItem_String *>(itemMap.value("reason"))->getData(); };
|
||||
int getMinutes() const { return static_cast<SerializableItem_Int *>(itemMap.value("minutes"))->getData(); };
|
||||
static SerializableItem *newItem() { return new Command_ShutdownServer; }
|
||||
int getItemId() const { return ItemId_Command_ShutdownServer; }
|
||||
};
|
||||
class Command_BanFromServer : public ModeratorCommand {
|
||||
Q_OBJECT
|
||||
public:
|
||||
Command_BanFromServer(const QString &_userName = QString(), int _minutes = -1);
|
||||
|
|
|
@ -80,6 +80,13 @@ while (<file>) {
|
|||
$parentConstructorCall = "$baseClass(\"$name1\")";
|
||||
$constructorParamsH = "";
|
||||
$constructorParamsCpp = "";
|
||||
} elsif ($type == 8) {
|
||||
$type = 'cmd';
|
||||
$namePrefix = 'Command';
|
||||
$baseClass = 'ModeratorCommand';
|
||||
$parentConstructorCall = "$baseClass(\"$name1\")";
|
||||
$constructorParamsH = "";
|
||||
$constructorParamsCpp = "";
|
||||
}
|
||||
$className = $namePrefix . '_' . $name2;
|
||||
$itemEnum .= "ItemId_$className = " . ++$itemId . ",\n";
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include "server_room.h"
|
||||
#include "server_protocolhandler.h"
|
||||
#include "protocol_datastructures.h"
|
||||
#include <QCoreApplication>
|
||||
#include <QDebug>
|
||||
|
||||
Server::Server(QObject *parent)
|
||||
|
|
|
@ -142,6 +142,17 @@ ResponseCode Server_ProtocolHandler::processCommandHelper(Command *command, Comm
|
|||
default: return RespInvalidCommand;
|
||||
}
|
||||
}
|
||||
ModeratorCommand *moderatorCommand = qobject_cast<ModeratorCommand *>(command);
|
||||
if (moderatorCommand) {
|
||||
qDebug() << "received ModeratorCommand";
|
||||
if (!(userInfo->getUserLevel() & ServerInfo_User::IsModerator))
|
||||
return RespLoginNeeded;
|
||||
|
||||
switch (command->getItemId()) {
|
||||
case ItemId_Command_BanFromServer: return cmdBanFromServer(static_cast<Command_BanFromServer *>(command), cont);
|
||||
default: return RespInvalidCommand;
|
||||
}
|
||||
}
|
||||
AdminCommand *adminCommand = qobject_cast<AdminCommand *>(command);
|
||||
if (adminCommand) {
|
||||
qDebug() << "received AdminCommand";
|
||||
|
@ -149,8 +160,8 @@ ResponseCode Server_ProtocolHandler::processCommandHelper(Command *command, Comm
|
|||
return RespLoginNeeded;
|
||||
|
||||
switch (command->getItemId()) {
|
||||
case ItemId_Command_ShutdownServer: return cmdShutdownServer(static_cast<Command_ShutdownServer *>(command), cont);
|
||||
case ItemId_Command_UpdateServerMessage: return cmdUpdateServerMessage(static_cast<Command_UpdateServerMessage *>(command), cont);
|
||||
case ItemId_Command_BanFromServer: return cmdBanFromServer(static_cast<Command_BanFromServer *>(command), cont);
|
||||
default: return RespInvalidCommand;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -87,8 +87,9 @@ private:
|
|||
ResponseCode cmdDumpZone(Command_DumpZone *cmd, CommandContainer *cont, Server_Game *game, Server_Player *player);
|
||||
ResponseCode cmdStopDumpZone(Command_StopDumpZone *cmd, CommandContainer *cont, Server_Game *game, Server_Player *player);
|
||||
ResponseCode cmdRevealCards(Command_RevealCards *cmd, CommandContainer *cont, Server_Game *game, Server_Player *player);
|
||||
virtual ResponseCode cmdUpdateServerMessage(Command_UpdateServerMessage *cmd, CommandContainer *cont) = 0;
|
||||
virtual ResponseCode cmdBanFromServer(Command_BanFromServer *cmd, CommandContainer *cont) = 0;
|
||||
virtual ResponseCode cmdShutdownServer(Command_ShutdownServer *cmd, CommandContainer *cont) = 0;
|
||||
virtual ResponseCode cmdUpdateServerMessage(Command_UpdateServerMessage *cmd, CommandContainer *cont) = 0;
|
||||
|
||||
ResponseCode processCommandHelper(Command *command, CommandContainer *cont);
|
||||
private slots:
|
||||
|
|
|
@ -130,12 +130,16 @@ int main(int argc, char *argv[])
|
|||
testRNG();
|
||||
|
||||
Servatrice server(settings);
|
||||
QObject::connect(&server, SIGNAL(destroyed()), &app, SLOT(quit()), Qt::QueuedConnection);
|
||||
|
||||
std::cerr << "-------------------------" << std::endl;
|
||||
std::cerr << "Server initialized." << std::endl;
|
||||
|
||||
int retval = app.exec();
|
||||
|
||||
std::cerr << "Server quit." << std::endl;
|
||||
std::cerr << "-------------------------" << std::endl;
|
||||
|
||||
delete rng;
|
||||
delete settings;
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ void Servatrice_TcpServer::incomingConnection(int socketDescriptor)
|
|||
}
|
||||
|
||||
Servatrice::Servatrice(QSettings *_settings, QObject *parent)
|
||||
: Server(parent), dbMutex(QMutex::Recursive), settings(_settings), uptime(0)
|
||||
: Server(parent), dbMutex(QMutex::Recursive), settings(_settings), uptime(0), shutdownTimer(0)
|
||||
{
|
||||
pingClock = new QTimer(this);
|
||||
connect(pingClock, SIGNAL(timeout()), this, SIGNAL(pingClockTimeout()));
|
||||
|
@ -119,6 +119,7 @@ Servatrice::Servatrice(QSettings *_settings, QObject *parent)
|
|||
Servatrice::~Servatrice()
|
||||
{
|
||||
prepareDestroy();
|
||||
QSqlDatabase::database().close();
|
||||
}
|
||||
|
||||
bool Servatrice::openDatabase()
|
||||
|
@ -233,7 +234,7 @@ ServerInfo_User *Servatrice::evalUserQueryResult(const QSqlQuery &query, bool co
|
|||
|
||||
int userLevel = ServerInfo_User::IsUser | ServerInfo_User::IsRegistered;
|
||||
if (is_admin == 1)
|
||||
userLevel |= ServerInfo_User::IsAdmin;
|
||||
userLevel |= ServerInfo_User::IsAdmin | ServerInfo_User::IsModerator;
|
||||
else if (is_admin == 2)
|
||||
userLevel |= ServerInfo_User::IsModerator;
|
||||
|
||||
|
@ -388,4 +389,38 @@ void Servatrice::statusUpdate()
|
|||
execSqlQuery(query);
|
||||
}
|
||||
|
||||
void Servatrice::scheduleShutdown(const QString &reason, int minutes)
|
||||
{
|
||||
QMutexLocker locker(&serverMutex);
|
||||
|
||||
shutdownReason = reason;
|
||||
shutdownMinutes = minutes + 1;
|
||||
if (minutes > 0) {
|
||||
shutdownTimer = new QTimer;
|
||||
connect(shutdownTimer, SIGNAL(timeout()), this, SLOT(shutdownTimeout()));
|
||||
shutdownTimer->start(60000);
|
||||
}
|
||||
shutdownTimeout();
|
||||
}
|
||||
|
||||
void Servatrice::shutdownTimeout()
|
||||
{
|
||||
QMutexLocker locker(&serverMutex);
|
||||
|
||||
--shutdownMinutes;
|
||||
|
||||
GenericEvent *event;
|
||||
if (shutdownMinutes)
|
||||
event = new Event_ServerShutdown(shutdownReason, shutdownMinutes);
|
||||
else
|
||||
event = new Event_ConnectionClosed("server_shutdown");
|
||||
|
||||
for (int i = 0; i < clients.size(); ++i)
|
||||
clients[i]->sendProtocolItem(event, false);
|
||||
delete event;
|
||||
|
||||
if (!shutdownMinutes)
|
||||
deleteLater();
|
||||
}
|
||||
|
||||
const QString Servatrice::versionString = "Servatrice 0.20110527";
|
||||
|
|
|
@ -50,6 +50,7 @@ class Servatrice : public Server
|
|||
private slots:
|
||||
void statusUpdate();
|
||||
void updateBanTimer();
|
||||
void shutdownTimeout();
|
||||
public:
|
||||
QMutex dbMutex;
|
||||
static const QString versionString;
|
||||
|
@ -76,6 +77,7 @@ public:
|
|||
bool getUserBanned(Server_ProtocolHandler *client, const QString &userName) const;
|
||||
void addAddressBan(const QHostAddress &address, int minutes) { addressBanList.append(QPair<QHostAddress, int>(address, minutes)); }
|
||||
void addNameBan(const QString &name, int minutes) { nameBanList.append(QPair<QString, int>(name, minutes)); }
|
||||
void scheduleShutdown(const QString &reason, int minutes);
|
||||
protected:
|
||||
bool userExists(const QString &user);
|
||||
AuthenticationResult checkUserPassword(const QString &user, const QString &password);
|
||||
|
@ -92,6 +94,10 @@ private:
|
|||
int maxGameInactivityTime, maxPlayerInactivityTime;
|
||||
int maxUsersPerAddress, messageCountingInterval, maxMessageCountPerInterval, maxMessageSizePerInterval, maxGamesPerUser;
|
||||
ServerInfo_User *evalUserQueryResult(const QSqlQuery &query, bool complete);
|
||||
|
||||
QString shutdownReason;
|
||||
int shutdownMinutes;
|
||||
QTimer *shutdownTimer;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -454,8 +454,8 @@ ResponseCode ServerSocketInterface::cmdDeckDownload(Command_DeckDownload *cmd, C
|
|||
return RespNothing;
|
||||
}
|
||||
|
||||
// ADMIN FUNCTIONS.
|
||||
// Permission is checked by the calling function.
|
||||
// MODERATOR FUNCTIONS.
|
||||
// May be called by admins and moderators. Permission is checked by the calling function.
|
||||
|
||||
ResponseCode ServerSocketInterface::cmdUpdateServerMessage(Command_UpdateServerMessage * /*cmd*/, CommandContainer * /*cont*/)
|
||||
{
|
||||
|
@ -463,6 +463,15 @@ ResponseCode ServerSocketInterface::cmdUpdateServerMessage(Command_UpdateServerM
|
|||
return RespOk;
|
||||
}
|
||||
|
||||
// ADMIN FUNCTIONS.
|
||||
// Permission is checked by the calling function.
|
||||
|
||||
ResponseCode ServerSocketInterface::cmdShutdownServer(Command_ShutdownServer *cmd, CommandContainer * /*cont*/)
|
||||
{
|
||||
servatrice->scheduleShutdown(cmd->getReason(), cmd->getMinutes());
|
||||
return RespOk;
|
||||
}
|
||||
|
||||
ResponseCode ServerSocketInterface::cmdBanFromServer(Command_BanFromServer *cmd, CommandContainer * /*cont*/)
|
||||
{
|
||||
QString userName = cmd->getUserName();
|
||||
|
|
|
@ -66,8 +66,9 @@ private:
|
|||
ResponseCode cmdDeckUpload(Command_DeckUpload *cmd, CommandContainer *cont);
|
||||
DeckList *getDeckFromDatabase(int deckId);
|
||||
ResponseCode cmdDeckDownload(Command_DeckDownload *cmd, CommandContainer *cont);
|
||||
ResponseCode cmdUpdateServerMessage(Command_UpdateServerMessage *cmd, CommandContainer *cont);
|
||||
ResponseCode cmdBanFromServer(Command_BanFromServer *cmd, CommandContainer *cont);
|
||||
ResponseCode cmdShutdownServer(Command_ShutdownServer *cmd, CommandContainer *cont);
|
||||
ResponseCode cmdUpdateServerMessage(Command_UpdateServerMessage *cmd, CommandContainer *cont);
|
||||
public:
|
||||
ServerSocketInterface(Servatrice *_server, QTcpSocket *_socket, QObject *parent = 0);
|
||||
~ServerSocketInterface();
|
||||
|
|
Loading…
Reference in a new issue