parent
ae8296a50e
commit
a8c723326d
1 changed files with 6 additions and 6 deletions
|
@ -440,13 +440,13 @@ TabGame::~TabGame()
|
||||||
|
|
||||||
void TabGame::retranslateUi()
|
void TabGame::retranslateUi()
|
||||||
{
|
{
|
||||||
QString tabText = getTabText() + " - ";
|
QString tabText = " | " + (replay ? tr("Replay") : tr("Game")) + " #" + QString::number(gameInfo.game_id());
|
||||||
|
|
||||||
cardInfoDock->setWindowTitle((cardInfoDock->isWindow() ? tabText : QString()) + tr("Card Info"));
|
cardInfoDock->setWindowTitle(tr("Card Info") + (cardInfoDock->isWindow() ? tabText : QString()));
|
||||||
playerListDock->setWindowTitle((playerListDock->isWindow() ? tabText : QString()) + tr("Player List"));
|
playerListDock->setWindowTitle(tr("Player List") + (playerListDock->isWindow() ? tabText : QString()));
|
||||||
messageLayoutDock->setWindowTitle((messageLayoutDock->isWindow() ? tabText : QString()) + tr("Messages"));
|
messageLayoutDock->setWindowTitle(tr("Messages") + (messageLayoutDock->isWindow() ? tabText : QString()));
|
||||||
if(replayDock)
|
if(replayDock)
|
||||||
replayDock->setWindowTitle((replayDock->isWindow() ? tabText : QString()) + tr("Replay Timeline"));
|
replayDock->setWindowTitle(tr("Replay Timeline") + (replayDock->isWindow() ? tabText : QString()));
|
||||||
|
|
||||||
if (phasesMenu) {
|
if (phasesMenu) {
|
||||||
for (int i = 0; i < phaseActions.size(); ++i)
|
for (int i = 0; i < phaseActions.size(); ++i)
|
||||||
|
@ -1165,7 +1165,7 @@ QString TabGame::getTabText() const
|
||||||
|
|
||||||
QString tabText;
|
QString tabText;
|
||||||
if (replay)
|
if (replay)
|
||||||
tabText.append(tr("REPLAY "));
|
tabText.append(tr("Replay") + " ");
|
||||||
if (!gameTypeInfo.isEmpty())
|
if (!gameTypeInfo.isEmpty())
|
||||||
tabText.append(gameTypeInfo + " ");
|
tabText.append(gameTypeInfo + " ");
|
||||||
if (!gameDesc.isEmpty()) {
|
if (!gameDesc.isEmpty()) {
|
||||||
|
|
Loading…
Reference in a new issue