1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

rename TownEvent to TownEventDialog

This commit is contained in:
godric3 2024-07-22 21:09:57 +02:00
parent fa3fef8a0f
commit 3d3f388fb8
16 changed files with 212 additions and 212 deletions

View File

@ -29,7 +29,7 @@ set(editor_SRCS
validator.cpp
inspector/inspector.cpp
inspector/townbuildingswidget.cpp
inspector/townevent.cpp
inspector/towneventdialog.cpp
inspector/towneventswidget.cpp
inspector/townspellswidget.cpp
inspector/armywidget.cpp
@ -73,7 +73,7 @@ set(editor_HEADERS
validator.h
inspector/inspector.h
inspector/townbuildingswidget.h
inspector/townevent.h
inspector/towneventdialog.h
inspector/towneventswidget.h
inspector/townspellswidget.h
inspector/armywidget.h
@ -104,7 +104,7 @@ set(editor_FORMS
playerparams.ui
validator.ui
inspector/townbuildingswidget.ui
inspector/townevent.ui
inspector/towneventdialog.ui
inspector/towneventswidget.ui
inspector/townspellswidget.ui
inspector/armywidget.ui

View File

@ -1,5 +1,5 @@
/*
* townevent.cpp, part of VCMI engine
* towneventdialog.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
@ -10,14 +10,14 @@
#include "../StdInc.h"
#include "townbuildingswidget.h"
#include "townevent.h"
#include "ui_townevent.h"
#include "towneventdialog.h"
#include "ui_towneventdialog.h"
#include "../../lib/constants/NumericConstants.h"
#include "../../lib/constants/StringConstants.h"
TownEvent::TownEvent(CGTownInstance & t, QListWidgetItem * item, QWidget * parent) :
TownEventDialog::TownEventDialog(CGTownInstance & t, QListWidgetItem * item, QWidget * parent) :
QDialog(parent),
ui(new Ui::TownEvent),
ui(new Ui::TownEventDialog),
town(t),
item(item)
{
@ -44,12 +44,12 @@ TownEvent::TownEvent(CGTownInstance & t, QListWidgetItem * item, QWidget * paren
show();
}
TownEvent::~TownEvent()
TownEventDialog::~TownEventDialog()
{
delete ui;
}
void TownEvent::initPlayers()
void TownEventDialog::initPlayers()
{
for (int i = 0; i < PlayerColor::PLAYER_LIMIT_I; ++i)
{
@ -61,7 +61,7 @@ void TownEvent::initPlayers()
}
}
void TownEvent::initResources()
void TownEventDialog::initResources()
{
ui->resourcesTable->setRowCount(GameConstants::RESOURCE_QUANTITY);
auto resourcesMap = params.value("resources").toMap();
@ -81,7 +81,7 @@ void TownEvent::initResources()
}
}
void TownEvent::initBuildings()
void TownEventDialog::initBuildings()
{
auto * ctown = town.town;
if (!ctown)
@ -95,10 +95,10 @@ void TownEvent::initBuildings()
}
ui->buildingsTree->resizeColumnToContents(0);
connect(&buildingsModel, &QStandardItemModel::itemChanged, this, &TownEvent::onItemChanged);
connect(&buildingsModel, &QStandardItemModel::itemChanged, this, &TownEventDialog::onItemChanged);
}
QStandardItem * TownEvent::addBuilding(const CTown& ctown, BuildingID buildingId, std::set<si32>& remaining)
QStandardItem * TownEventDialog::addBuilding(const CTown& ctown, BuildingID buildingId, std::set<si32>& remaining)
{
auto bId = buildingId.num;
const CBuilding * building = ctown.buildings.at(buildingId);
@ -165,7 +165,7 @@ QStandardItem * TownEvent::addBuilding(const CTown& ctown, BuildingID buildingId
return checks.front();
}
void TownEvent::initCreatures()
void TownEventDialog::initCreatures()
{
auto creatures = params.value("creatures").toList();
auto * ctown = town.town;
@ -201,7 +201,7 @@ void TownEvent::initCreatures()
ui->creaturesTable->resizeColumnToContents(0);
}
void TownEvent::on_TownEvent_finished(int result)
void TownEventDialog::on_TownEventDialog_finished(int result)
{
QVariantMap descriptor;
descriptor["name"] = ui->eventNameText->text();
@ -220,7 +220,7 @@ void TownEvent::on_TownEvent_finished(int result)
item->setText(itemText);
}
QVariant TownEvent::playersToVariant()
QVariant TownEventDialog::playersToVariant()
{
int players = 0;
for (int i = 0; i < ui->playersAffected->count(); ++i)
@ -232,7 +232,7 @@ QVariant TownEvent::playersToVariant()
return QVariant::fromValue(players);
}
QVariantMap TownEvent::resourcesToVariant()
QVariantMap TownEventDialog::resourcesToVariant()
{
auto res = item->data(Qt::UserRole).toMap().value("resources").toMap();
for (int i = 0; i < GameConstants::RESOURCE_QUANTITY; ++i)
@ -245,7 +245,7 @@ QVariantMap TownEvent::resourcesToVariant()
return res;
}
QVariantList TownEvent::buildingsToVariant()
QVariantList TownEventDialog::buildingsToVariant()
{
QVariantList buildingsList;
std::vector<QModelIndex> stack;
@ -268,7 +268,7 @@ QVariantList TownEvent::buildingsToVariant()
return buildingsList;
}
QVariantList TownEvent::creaturesToVariant()
QVariantList TownEventDialog::creaturesToVariant()
{
QVariantList creaturesList;
for (int i = 0; i < 7; ++i)
@ -279,19 +279,19 @@ QVariantList TownEvent::creaturesToVariant()
return creaturesList;
}
void TownEvent::on_okButton_clicked()
void TownEventDialog::on_okButton_clicked()
{
close();
}
void TownEvent::setRowColumnCheckState(QStandardItem * item, int column, Qt::CheckState checkState) {
void TownEventDialog::setRowColumnCheckState(QStandardItem * item, int column, Qt::CheckState checkState) {
auto sibling = item->model()->sibling(item->row(), column, item->index());
buildingsModel.itemFromIndex(sibling)->setCheckState(checkState);
}
void TownEvent::onItemChanged(QStandardItem * item)
void TownEventDialog::onItemChanged(QStandardItem * item)
{
disconnect(&buildingsModel, &QStandardItemModel::itemChanged, this, &TownEvent::onItemChanged);
disconnect(&buildingsModel, &QStandardItemModel::itemChanged, this, &TownEventDialog::onItemChanged);
auto rowFirstColumnIndex = item->model()->sibling(item->row(), 0, item->index());
QStandardItem * nextRow = buildingsModel.itemFromIndex(rowFirstColumnIndex);
if (item->checkState() == Qt::Checked) {
@ -316,5 +316,5 @@ void TownEvent::onItemChanged(QStandardItem * item)
}
}
connect(&buildingsModel, &QStandardItemModel::itemChanged, this, &TownEvent::onItemChanged);
connect(&buildingsModel, &QStandardItemModel::itemChanged, this, &TownEventDialog::onItemChanged);
}

View File

@ -1,5 +1,5 @@
/*
* townevent.h, part of VCMI engine
* towneventdialog.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
@ -14,21 +14,21 @@
#include "../lib/mapObjects/CGTownInstance.h"
namespace Ui {
class TownEvent;
class TownEventDialog;
}
class TownEvent : public QDialog
class TownEventDialog : public QDialog
{
Q_OBJECT
public:
explicit TownEvent(CGTownInstance & town, QListWidgetItem * item, QWidget * parent);
~TownEvent();
explicit TownEventDialog(CGTownInstance & town, QListWidgetItem * item, QWidget * parent);
~TownEventDialog();
private slots:
void onItemChanged(QStandardItem * item);
void on_TownEvent_finished(int result);
void on_TownEventDialog_finished(int result);
void on_okButton_clicked();
void setRowColumnCheckState(QStandardItem * item, int column, Qt::CheckState checkState);
@ -45,7 +45,7 @@ private:
QStandardItem * addBuilding(const CTown & ctown, BuildingID bId, std::set<si32> & remaining);
Ui::TownEvent * ui;
Ui::TownEventDialog * ui;
CGTownInstance & town;
QListWidgetItem * item;
QMap<QString, QVariant> params;

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TownEvent</class>
<widget class="QDialog" name="TownEvent">
<class>TownEventDialog</class>
<widget class="QDialog" name="TownEventDialog">
<property name="windowModality">
<enum>Qt::ApplicationModal</enum>
</property>

View File

@ -11,7 +11,7 @@
#include "../StdInc.h"
#include "towneventswidget.h"
#include "ui_towneventswidget.h"
#include "townevent.h"
#include "towneventdialog.h"
#include "mapsettings/eventsettings.h"
#include "../../lib/constants/NumericConstants.h"
#include "../../lib/constants/StringConstants.h"
@ -138,7 +138,7 @@ void TownEventsWidget::on_timedEventRemove_clicked()
void TownEventsWidget::on_eventsList_itemActivated(QListWidgetItem* item)
{
new TownEvent(town, item, parentWidget());
new TownEventDialog(town, item, parentWidget());
}
void TownEventsWidget::onItemChanged(QStandardItem * item)

View File

@ -1472,79 +1472,79 @@
</message>
</context>
<context>
<name>TownEvent</name>
<name>TownEventDialog</name>
<message>
<location filename="../inspector/townevent.ui" line="23"/>
<location filename="../inspector/towneventdialog.ui" line="23"/>
<source>Town event</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="42"/>
<location filename="../inspector/towneventdialog.ui" line="42"/>
<source>General</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="57"/>
<location filename="../inspector/towneventdialog.ui" line="57"/>
<source>Event name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="64"/>
<location filename="../inspector/towneventdialog.ui" line="64"/>
<source>Type event message text</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="85"/>
<location filename="../inspector/towneventdialog.ui" line="85"/>
<source>Day of first occurrence</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="99"/>
<location filename="../inspector/towneventdialog.ui" line="99"/>
<source>Repeat after (0 = no repeat)</source>
<translation type="unfinished"> (0 = )</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="123"/>
<location filename="../inspector/towneventdialog.ui" line="123"/>
<source>Affected players</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="146"/>
<location filename="../inspector/towneventdialog.ui" line="146"/>
<source>affects human</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="155"/>
<location filename="../inspector/towneventdialog.ui" line="155"/>
<source>affects AI</source>
<translation type="unfinished">AI玩家生效</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="166"/>
<location filename="../inspector/towneventdialog.ui" line="166"/>
<source>Resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="198"/>
<location filename="../inspector/towneventdialog.ui" line="198"/>
<source>Buildings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="216"/>
<location filename="../inspector/towneventdialog.ui" line="216"/>
<source>Creatures</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="255"/>
<location filename="../inspector/towneventdialog.ui" line="255"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="177"/>
<location filename="../inspector/towneventdialog.cpp" line="177"/>
<source>Creature level %1 / Creature level %1 Upgrade</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="219"/>
<location filename="../inspector/towneventdialog.cpp" line="219"/>
<source>Day %1 - %2</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1472,79 +1472,79 @@
</message>
</context>
<context>
<name>TownEvent</name>
<name>TownEventDialog</name>
<message>
<location filename="../inspector/townevent.ui" line="23"/>
<location filename="../inspector/towneventdialog.ui" line="23"/>
<source>Town event</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="42"/>
<location filename="../inspector/towneventdialog.ui" line="42"/>
<source>General</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="57"/>
<location filename="../inspector/towneventdialog.ui" line="57"/>
<source>Event name</source>
<translation type="unfinished">Název události</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="64"/>
<location filename="../inspector/towneventdialog.ui" line="64"/>
<source>Type event message text</source>
<translation type="unfinished">Zadejte text zprávy události</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="85"/>
<location filename="../inspector/towneventdialog.ui" line="85"/>
<source>Day of first occurrence</source>
<translation type="unfinished">Den prvního výskytu</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="99"/>
<location filename="../inspector/towneventdialog.ui" line="99"/>
<source>Repeat after (0 = no repeat)</source>
<translation type="unfinished">Opakovat po (0 = bez opak.)</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="123"/>
<location filename="../inspector/towneventdialog.ui" line="123"/>
<source>Affected players</source>
<translation type="unfinished">Ovlivnění hráči</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="146"/>
<location filename="../inspector/towneventdialog.ui" line="146"/>
<source>affects human</source>
<translation type="unfinished">ovlivňuje lidi</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="155"/>
<location filename="../inspector/towneventdialog.ui" line="155"/>
<source>affects AI</source>
<translation type="unfinished">ovlivňuje AI</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="166"/>
<location filename="../inspector/towneventdialog.ui" line="166"/>
<source>Resources</source>
<translation type="unfinished">Zdroje</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="198"/>
<location filename="../inspector/towneventdialog.ui" line="198"/>
<source>Buildings</source>
<translation type="unfinished">Budovy</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="216"/>
<location filename="../inspector/towneventdialog.ui" line="216"/>
<source>Creatures</source>
<translation type="unfinished">Jednotky</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="255"/>
<location filename="../inspector/towneventdialog.ui" line="255"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="177"/>
<location filename="../inspector/towneventdialog.cpp" line="177"/>
<source>Creature level %1 / Creature level %1 Upgrade</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="219"/>
<location filename="../inspector/towneventdialog.cpp" line="219"/>
<source>Day %1 - %2</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1472,79 +1472,79 @@
</message>
</context>
<context>
<name>TownEvent</name>
<name>TownEventDialog</name>
<message>
<location filename="../inspector/townevent.ui" line="23"/>
<location filename="../inspector/towneventdialog.ui" line="23"/>
<source>Town event</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="42"/>
<location filename="../inspector/towneventdialog.ui" line="42"/>
<source>General</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="57"/>
<location filename="../inspector/towneventdialog.ui" line="57"/>
<source>Event name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="64"/>
<location filename="../inspector/towneventdialog.ui" line="64"/>
<source>Type event message text</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="85"/>
<location filename="../inspector/towneventdialog.ui" line="85"/>
<source>Day of first occurrence</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="99"/>
<location filename="../inspector/towneventdialog.ui" line="99"/>
<source>Repeat after (0 = no repeat)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="123"/>
<location filename="../inspector/towneventdialog.ui" line="123"/>
<source>Affected players</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="146"/>
<location filename="../inspector/towneventdialog.ui" line="146"/>
<source>affects human</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="155"/>
<location filename="../inspector/towneventdialog.ui" line="155"/>
<source>affects AI</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="166"/>
<location filename="../inspector/towneventdialog.ui" line="166"/>
<source>Resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="198"/>
<location filename="../inspector/towneventdialog.ui" line="198"/>
<source>Buildings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="216"/>
<location filename="../inspector/towneventdialog.ui" line="216"/>
<source>Creatures</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="255"/>
<location filename="../inspector/towneventdialog.ui" line="255"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="177"/>
<location filename="../inspector/towneventdialog.cpp" line="177"/>
<source>Creature level %1 / Creature level %1 Upgrade</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="219"/>
<location filename="../inspector/towneventdialog.cpp" line="219"/>
<source>Day %1 - %2</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1472,79 +1472,79 @@
</message>
</context>
<context>
<name>TownEvent</name>
<name>TownEventDialog</name>
<message>
<location filename="../inspector/townevent.ui" line="23"/>
<location filename="../inspector/towneventdialog.ui" line="23"/>
<source>Town event</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="42"/>
<location filename="../inspector/towneventdialog.ui" line="42"/>
<source>General</source>
<translation type="unfinished">Général</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="57"/>
<location filename="../inspector/towneventdialog.ui" line="57"/>
<source>Event name</source>
<translation type="unfinished">Nom de l&apos;évènement</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="64"/>
<location filename="../inspector/towneventdialog.ui" line="64"/>
<source>Type event message text</source>
<translation type="unfinished">Taper le message d&apos;évènement</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="85"/>
<location filename="../inspector/towneventdialog.ui" line="85"/>
<source>Day of first occurrence</source>
<translation type="unfinished">Jour de la première occurrence</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="99"/>
<location filename="../inspector/towneventdialog.ui" line="99"/>
<source>Repeat after (0 = no repeat)</source>
<translation type="unfinished">Récurrence (0 = pas de récurrence)</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="123"/>
<location filename="../inspector/towneventdialog.ui" line="123"/>
<source>Affected players</source>
<translation type="unfinished">Joueurs affectés</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="146"/>
<location filename="../inspector/towneventdialog.ui" line="146"/>
<source>affects human</source>
<translation type="unfinished">afttecte les joueurs</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="155"/>
<location filename="../inspector/towneventdialog.ui" line="155"/>
<source>affects AI</source>
<translation type="unfinished">affecte l&apos;ordinateur</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="166"/>
<location filename="../inspector/towneventdialog.ui" line="166"/>
<source>Resources</source>
<translation type="unfinished">Resources</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="198"/>
<location filename="../inspector/towneventdialog.ui" line="198"/>
<source>Buildings</source>
<translation type="unfinished">Bâtiments</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="216"/>
<location filename="../inspector/towneventdialog.ui" line="216"/>
<source>Creatures</source>
<translation type="unfinished">Créatures</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="255"/>
<location filename="../inspector/towneventdialog.ui" line="255"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="177"/>
<location filename="../inspector/towneventdialog.cpp" line="177"/>
<source>Creature level %1 / Creature level %1 Upgrade</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="219"/>
<location filename="../inspector/towneventdialog.cpp" line="219"/>
<source>Day %1 - %2</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1472,79 +1472,79 @@
</message>
</context>
<context>
<name>TownEvent</name>
<name>TownEventDialog</name>
<message>
<location filename="../inspector/townevent.ui" line="23"/>
<location filename="../inspector/towneventdialog.ui" line="23"/>
<source>Town event</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="42"/>
<location filename="../inspector/towneventdialog.ui" line="42"/>
<source>General</source>
<translation type="unfinished">Allgemein</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="57"/>
<location filename="../inspector/towneventdialog.ui" line="57"/>
<source>Event name</source>
<translation type="unfinished">Name des Ereignisses</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="64"/>
<location filename="../inspector/towneventdialog.ui" line="64"/>
<source>Type event message text</source>
<translation type="unfinished">Ereignistext eingeben</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="85"/>
<location filename="../inspector/towneventdialog.ui" line="85"/>
<source>Day of first occurrence</source>
<translation type="unfinished">Tag des ersten Auftretens</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="99"/>
<location filename="../inspector/towneventdialog.ui" line="99"/>
<source>Repeat after (0 = no repeat)</source>
<translation type="unfinished">Wiederholung nach (0 = keine Wiederholung)</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="123"/>
<location filename="../inspector/towneventdialog.ui" line="123"/>
<source>Affected players</source>
<translation type="unfinished">Betroffene Spieler</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="146"/>
<location filename="../inspector/towneventdialog.ui" line="146"/>
<source>affects human</source>
<translation type="unfinished">beeinflusst Menschen</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="155"/>
<location filename="../inspector/towneventdialog.ui" line="155"/>
<source>affects AI</source>
<translation type="unfinished">beeinflusst KI</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="166"/>
<location filename="../inspector/towneventdialog.ui" line="166"/>
<source>Resources</source>
<translation type="unfinished">Ressourcen</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="198"/>
<location filename="../inspector/towneventdialog.ui" line="198"/>
<source>Buildings</source>
<translation type="unfinished">Gebäude</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="216"/>
<location filename="../inspector/towneventdialog.ui" line="216"/>
<source>Creatures</source>
<translation type="unfinished">Kreaturen</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="255"/>
<location filename="../inspector/towneventdialog.ui" line="255"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="177"/>
<location filename="../inspector/towneventdialog.cpp" line="177"/>
<source>Creature level %1 / Creature level %1 Upgrade</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="219"/>
<location filename="../inspector/towneventdialog.cpp" line="219"/>
<source>Day %1 - %2</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1472,79 +1472,79 @@
</message>
</context>
<context>
<name>TownEvent</name>
<name>TownEventDialog</name>
<message>
<location filename="../inspector/townevent.ui" line="23"/>
<location filename="../inspector/towneventdialog.ui" line="23"/>
<source>Town event</source>
<translation>Zdarzenie miasta</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="42"/>
<location filename="../inspector/towneventdialog.ui" line="42"/>
<source>General</source>
<translation>Ogólne</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="57"/>
<location filename="../inspector/towneventdialog.ui" line="57"/>
<source>Event name</source>
<translation>Nazwa zdarzenia</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="64"/>
<location filename="../inspector/towneventdialog.ui" line="64"/>
<source>Type event message text</source>
<translation>Wpisz treść komunikatu zdarzenia</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="85"/>
<location filename="../inspector/towneventdialog.ui" line="85"/>
<source>Day of first occurrence</source>
<translation>Dzień pierwszego wystąpienia</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="99"/>
<location filename="../inspector/towneventdialog.ui" line="99"/>
<source>Repeat after (0 = no repeat)</source>
<translation>Powtórz po... (0 = nigdy)</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="123"/>
<location filename="../inspector/towneventdialog.ui" line="123"/>
<source>Affected players</source>
<translation>Dotyczy graczy</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="146"/>
<location filename="../inspector/towneventdialog.ui" line="146"/>
<source>affects human</source>
<translation>dotyczy graczy ludzkich</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="155"/>
<location filename="../inspector/towneventdialog.ui" line="155"/>
<source>affects AI</source>
<translation>dotyczy graczy AI</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="166"/>
<location filename="../inspector/towneventdialog.ui" line="166"/>
<source>Resources</source>
<translation>Zasoby</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="198"/>
<location filename="../inspector/towneventdialog.ui" line="198"/>
<source>Buildings</source>
<translation>Budynki</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="216"/>
<location filename="../inspector/towneventdialog.ui" line="216"/>
<source>Creatures</source>
<translation>Stworzenia</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="255"/>
<location filename="../inspector/towneventdialog.ui" line="255"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="177"/>
<location filename="../inspector/towneventdialog.cpp" line="177"/>
<source>Creature level %1 / Creature level %1 Upgrade</source>
<translation>Stworzenie poziomu %1 / Ulepszone stworzenie poziomu %1</translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="219"/>
<location filename="../inspector/towneventdialog.cpp" line="219"/>
<source>Day %1 - %2</source>
<translation>Dzień %1 - %2</translation>
</message>

View File

@ -1472,79 +1472,79 @@
</message>
</context>
<context>
<name>TownEvent</name>
<name>TownEventDialog</name>
<message>
<location filename="../inspector/townevent.ui" line="23"/>
<location filename="../inspector/towneventdialog.ui" line="23"/>
<source>Town event</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="42"/>
<location filename="../inspector/towneventdialog.ui" line="42"/>
<source>General</source>
<translation type="unfinished">Geral</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="57"/>
<location filename="../inspector/towneventdialog.ui" line="57"/>
<source>Event name</source>
<translation type="unfinished">Nome do evento</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="64"/>
<location filename="../inspector/towneventdialog.ui" line="64"/>
<source>Type event message text</source>
<translation type="unfinished">Introduza o texto da mensagem do evento</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="85"/>
<location filename="../inspector/towneventdialog.ui" line="85"/>
<source>Day of first occurrence</source>
<translation type="unfinished">Dia da primeira ocorrência</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="99"/>
<location filename="../inspector/towneventdialog.ui" line="99"/>
<source>Repeat after (0 = no repeat)</source>
<translation type="unfinished">Repetir após (0 = não repetir)</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="123"/>
<location filename="../inspector/towneventdialog.ui" line="123"/>
<source>Affected players</source>
<translation type="unfinished">Jogadores afetados</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="146"/>
<location filename="../inspector/towneventdialog.ui" line="146"/>
<source>affects human</source>
<translation type="unfinished">afeta humano</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="155"/>
<location filename="../inspector/towneventdialog.ui" line="155"/>
<source>affects AI</source>
<translation type="unfinished">afeta IA</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="166"/>
<location filename="../inspector/towneventdialog.ui" line="166"/>
<source>Resources</source>
<translation type="unfinished">Recursos</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="198"/>
<location filename="../inspector/towneventdialog.ui" line="198"/>
<source>Buildings</source>
<translation type="unfinished">Estruturas</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="216"/>
<location filename="../inspector/towneventdialog.ui" line="216"/>
<source>Creatures</source>
<translation type="unfinished">Criaturas</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="255"/>
<location filename="../inspector/towneventdialog.ui" line="255"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="177"/>
<location filename="../inspector/towneventdialog.cpp" line="177"/>
<source>Creature level %1 / Creature level %1 Upgrade</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="219"/>
<location filename="../inspector/towneventdialog.cpp" line="219"/>
<source>Day %1 - %2</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1472,79 +1472,79 @@
</message>
</context>
<context>
<name>TownEvent</name>
<name>TownEventDialog</name>
<message>
<location filename="../inspector/townevent.ui" line="23"/>
<location filename="../inspector/towneventdialog.ui" line="23"/>
<source>Town event</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="42"/>
<location filename="../inspector/towneventdialog.ui" line="42"/>
<source>General</source>
<translation type="unfinished">Общее</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="57"/>
<location filename="../inspector/towneventdialog.ui" line="57"/>
<source>Event name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="64"/>
<location filename="../inspector/towneventdialog.ui" line="64"/>
<source>Type event message text</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="85"/>
<location filename="../inspector/towneventdialog.ui" line="85"/>
<source>Day of first occurrence</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="99"/>
<location filename="../inspector/towneventdialog.ui" line="99"/>
<source>Repeat after (0 = no repeat)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="123"/>
<location filename="../inspector/towneventdialog.ui" line="123"/>
<source>Affected players</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="146"/>
<location filename="../inspector/towneventdialog.ui" line="146"/>
<source>affects human</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="155"/>
<location filename="../inspector/towneventdialog.ui" line="155"/>
<source>affects AI</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="166"/>
<location filename="../inspector/towneventdialog.ui" line="166"/>
<source>Resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="198"/>
<location filename="../inspector/towneventdialog.ui" line="198"/>
<source>Buildings</source>
<translation type="unfinished">Постройки</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="216"/>
<location filename="../inspector/towneventdialog.ui" line="216"/>
<source>Creatures</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="255"/>
<location filename="../inspector/towneventdialog.ui" line="255"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="177"/>
<location filename="../inspector/towneventdialog.cpp" line="177"/>
<source>Creature level %1 / Creature level %1 Upgrade</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="219"/>
<location filename="../inspector/towneventdialog.cpp" line="219"/>
<source>Day %1 - %2</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1472,79 +1472,79 @@
</message>
</context>
<context>
<name>TownEvent</name>
<name>TownEventDialog</name>
<message>
<location filename="../inspector/townevent.ui" line="23"/>
<location filename="../inspector/towneventdialog.ui" line="23"/>
<source>Town event</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="42"/>
<location filename="../inspector/towneventdialog.ui" line="42"/>
<source>General</source>
<translation type="unfinished">General</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="57"/>
<location filename="../inspector/towneventdialog.ui" line="57"/>
<source>Event name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="64"/>
<location filename="../inspector/towneventdialog.ui" line="64"/>
<source>Type event message text</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="85"/>
<location filename="../inspector/towneventdialog.ui" line="85"/>
<source>Day of first occurrence</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="99"/>
<location filename="../inspector/towneventdialog.ui" line="99"/>
<source>Repeat after (0 = no repeat)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="123"/>
<location filename="../inspector/towneventdialog.ui" line="123"/>
<source>Affected players</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="146"/>
<location filename="../inspector/towneventdialog.ui" line="146"/>
<source>affects human</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="155"/>
<location filename="../inspector/towneventdialog.ui" line="155"/>
<source>affects AI</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="166"/>
<location filename="../inspector/towneventdialog.ui" line="166"/>
<source>Resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="198"/>
<location filename="../inspector/towneventdialog.ui" line="198"/>
<source>Buildings</source>
<translation type="unfinished">Edificios</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="216"/>
<location filename="../inspector/towneventdialog.ui" line="216"/>
<source>Creatures</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="255"/>
<location filename="../inspector/towneventdialog.ui" line="255"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="177"/>
<location filename="../inspector/towneventdialog.cpp" line="177"/>
<source>Creature level %1 / Creature level %1 Upgrade</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="219"/>
<location filename="../inspector/towneventdialog.cpp" line="219"/>
<source>Day %1 - %2</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1472,79 +1472,79 @@
</message>
</context>
<context>
<name>TownEvent</name>
<name>TownEventDialog</name>
<message>
<location filename="../inspector/townevent.ui" line="23"/>
<location filename="../inspector/towneventdialog.ui" line="23"/>
<source>Town event</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="42"/>
<location filename="../inspector/towneventdialog.ui" line="42"/>
<source>General</source>
<translation type="unfinished">Загальний</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="57"/>
<location filename="../inspector/towneventdialog.ui" line="57"/>
<source>Event name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="64"/>
<location filename="../inspector/towneventdialog.ui" line="64"/>
<source>Type event message text</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="85"/>
<location filename="../inspector/towneventdialog.ui" line="85"/>
<source>Day of first occurrence</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="99"/>
<location filename="../inspector/towneventdialog.ui" line="99"/>
<source>Repeat after (0 = no repeat)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="123"/>
<location filename="../inspector/towneventdialog.ui" line="123"/>
<source>Affected players</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="146"/>
<location filename="../inspector/towneventdialog.ui" line="146"/>
<source>affects human</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="155"/>
<location filename="../inspector/towneventdialog.ui" line="155"/>
<source>affects AI</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="166"/>
<location filename="../inspector/towneventdialog.ui" line="166"/>
<source>Resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="198"/>
<location filename="../inspector/towneventdialog.ui" line="198"/>
<source>Buildings</source>
<translation type="unfinished">Будівлі</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="216"/>
<location filename="../inspector/towneventdialog.ui" line="216"/>
<source>Creatures</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="255"/>
<location filename="../inspector/towneventdialog.ui" line="255"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="177"/>
<location filename="../inspector/towneventdialog.cpp" line="177"/>
<source>Creature level %1 / Creature level %1 Upgrade</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="219"/>
<location filename="../inspector/towneventdialog.cpp" line="219"/>
<source>Day %1 - %2</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1472,79 +1472,79 @@
</message>
</context>
<context>
<name>TownEvent</name>
<name>TownEventDialog</name>
<message>
<location filename="../inspector/townevent.ui" line="23"/>
<location filename="../inspector/towneventdialog.ui" line="23"/>
<source>Town event</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="42"/>
<location filename="../inspector/towneventdialog.ui" line="42"/>
<source>General</source>
<translation type="unfinished">Chung</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="57"/>
<location filename="../inspector/towneventdialog.ui" line="57"/>
<source>Event name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="64"/>
<location filename="../inspector/towneventdialog.ui" line="64"/>
<source>Type event message text</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="85"/>
<location filename="../inspector/towneventdialog.ui" line="85"/>
<source>Day of first occurrence</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="99"/>
<location filename="../inspector/towneventdialog.ui" line="99"/>
<source>Repeat after (0 = no repeat)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="123"/>
<location filename="../inspector/towneventdialog.ui" line="123"/>
<source>Affected players</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="146"/>
<location filename="../inspector/towneventdialog.ui" line="146"/>
<source>affects human</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="155"/>
<location filename="../inspector/towneventdialog.ui" line="155"/>
<source>affects AI</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="166"/>
<location filename="../inspector/towneventdialog.ui" line="166"/>
<source>Resources</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="198"/>
<location filename="../inspector/towneventdialog.ui" line="198"/>
<source>Buildings</source>
<translation type="unfinished">Công trình</translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="216"/>
<location filename="../inspector/towneventdialog.ui" line="216"/>
<source>Creatures</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.ui" line="255"/>
<location filename="../inspector/towneventdialog.ui" line="255"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="177"/>
<location filename="../inspector/towneventdialog.cpp" line="177"/>
<source>Creature level %1 / Creature level %1 Upgrade</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../inspector/townevent.cpp" line="219"/>
<location filename="../inspector/towneventdialog.cpp" line="219"/>
<source>Day %1 - %2</source>
<translation type="unfinished"></translation>
</message>