Fix some memory leaks
parent
a794320539
commit
1030d7cae4
|
@ -43,6 +43,11 @@ public:
|
|||
explicit DrawMapFigure(Geometry *geometry, QColor color, QObject *parent = nullptr) :
|
||||
QObject(parent), geometry(geometry), color(color) { }
|
||||
|
||||
~DrawMapFigure()
|
||||
{
|
||||
delete geometry;
|
||||
}
|
||||
|
||||
//DrawMapFigure(const DrawMapFigure &f) {}
|
||||
bool requiresPoint() const;
|
||||
bool requiresGeometry() const;
|
||||
|
|
|
@ -112,9 +112,6 @@ QVariant DrawMapFigureTableModel::data(const QModelIndex &index, int role) const
|
|||
default:
|
||||
return QVariant();
|
||||
}
|
||||
|
||||
// FIXME: Implement me!
|
||||
return QVariant();
|
||||
}
|
||||
else if(role == Qt::DecorationRole && col==4){
|
||||
return item->getColor();
|
||||
|
@ -153,7 +150,6 @@ bool DrawMapFigureTableModel::setData(const QModelIndex &index, const QVariant &
|
|||
default:
|
||||
break;
|
||||
}
|
||||
// FIXME: Implement me!
|
||||
emit dataChanged(index, index, QVector<int>() << role);
|
||||
return true;
|
||||
}
|
||||
|
@ -202,7 +198,6 @@ bool DrawMapFigureTableModel::insertRows(int position, int count, const QModelIn
|
|||
bool DrawMapFigureTableModel::insertColumns(int column, int count, const QModelIndex &parent)
|
||||
{
|
||||
beginInsertColumns(parent, column, column + count - 1);
|
||||
// FIXME: Implement me!
|
||||
endInsertColumns();
|
||||
return false;
|
||||
}
|
||||
|
@ -220,7 +215,6 @@ bool DrawMapFigureTableModel::removeRows(int position, int count, const QModelIn
|
|||
bool DrawMapFigureTableModel::removeColumns(int column, int count, const QModelIndex &parent)
|
||||
{
|
||||
beginRemoveColumns(parent, column, column + count - 1);
|
||||
// FIXME: Implement me!
|
||||
endRemoveColumns();
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -13,6 +13,12 @@ class DrawMapFigureTableModel : public QAbstractTableModel
|
|||
public:
|
||||
explicit DrawMapFigureTableModel(QObject *parent = nullptr);
|
||||
|
||||
~DrawMapFigureTableModel()
|
||||
{
|
||||
list->clear();
|
||||
delete list;
|
||||
}
|
||||
|
||||
// Header:
|
||||
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
|
||||
|
||||
|
|
|
@ -228,6 +228,8 @@ void MainWindow::changeEvent(QEvent* event)
|
|||
MainWindow::~MainWindow()
|
||||
{
|
||||
minetestMapper->cancel();
|
||||
delete settings;
|
||||
delete profile;
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -1306,7 +1306,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="2419"/>
|
||||
<location filename="../mainwindow.cpp" line="1022"/>
|
||||
<location filename="../mainwindow.cpp" line="1024"/>
|
||||
<source>Cancel</source>
|
||||
<translation>Abbrechen</translation>
|
||||
</message>
|
||||
|
@ -1339,7 +1339,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="2707"/>
|
||||
<location filename="../mainwindow.cpp" line="864"/>
|
||||
<location filename="../mainwindow.cpp" line="866"/>
|
||||
<source>About MinetestMapper</source>
|
||||
<translation>Über MinetestMapper</translation>
|
||||
</message>
|
||||
|
@ -1383,7 +1383,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="2847"/>
|
||||
<location filename="../mainwindow.cpp" line="886"/>
|
||||
<location filename="../mainwindow.cpp" line="888"/>
|
||||
<source>New Profile</source>
|
||||
<translation>Neues Profil</translation>
|
||||
</message>
|
||||
|
@ -1393,7 +1393,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="2855"/>
|
||||
<location filename="../mainwindow.cpp" line="430"/>
|
||||
<location filename="../mainwindow.cpp" line="432"/>
|
||||
<source>Expert Mode</source>
|
||||
<translation>Expertenmodus</translation>
|
||||
</message>
|
||||
|
@ -1413,12 +1413,12 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="2806"/>
|
||||
<location filename="../mainwindow.cpp" line="850"/>
|
||||
<location filename="../mainwindow.cpp" line="852"/>
|
||||
<source>About MinetestMapper GUI</source>
|
||||
<translation>Über MinetestMapperGUI</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="247"/>
|
||||
<location filename="../mainwindow.cpp" line="249"/>
|
||||
<source>Minetestmapper not found</source>
|
||||
<translation>Minetestmapper nicht gefunden</translation>
|
||||
</message>
|
||||
|
@ -1443,7 +1443,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
|
|||
<translation type="vanished">Das Bild existiert bereits</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="277"/>
|
||||
<location filename="../mainwindow.cpp" line="279"/>
|
||||
<source>The File <i>%1</i> does already exist. <br><br>Do you want to overwrite?</source>
|
||||
<translation>Die Datei <i>%1</i> existiert bereits. <br><br>Soll die Datei Überschrieben werden?</translation>
|
||||
</message>
|
||||
|
@ -1452,58 +1452,58 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
|
|||
<translation type="vanished">Der Ordner existiert nicht</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="286"/>
|
||||
<location filename="../mainwindow.cpp" line="288"/>
|
||||
<source>The directory <i>%1</i> does not exist. <br><br>Should it be created?</source>
|
||||
<translation>Der Ordner <i>%1</i> existiert nicht. <br><br>Möchten sie den Ordner erstellen?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="431"/>
|
||||
<location filename="../mainwindow.cpp" line="433"/>
|
||||
<source>MinetestMapper will be executed using this arguments.
|
||||
The arguments can be removed, modified, or new arguments can be added.</source>
|
||||
<translation>MinetestMapper wird mit den folgenden Parametern ausgeführt.
|
||||
Die einzelnen Parameter können entfernt, verändert, oder neue hinzugefügt werden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="490"/>
|
||||
<location filename="../mainwindow.cpp" line="492"/>
|
||||
<source>Finisched :)</source>
|
||||
<translation>Fertig :-)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="498"/>
|
||||
<location filename="../mainwindow.cpp" line="500"/>
|
||||
<source>minetestmapper terminated</source>
|
||||
<translation>minetestmapper abgebrochen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="241"/>
|
||||
<location filename="../mainwindow.cpp" line="243"/>
|
||||
<source>ERROR: No minetestmapper executable could not be found.
|
||||
Please configure one. </source>
|
||||
<translation>FEHLER: Kein Minetestmapper programm gefunden.
|
||||
Bitte Konfiguriere eins.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="244"/>
|
||||
<location filename="../mainwindow.cpp" line="246"/>
|
||||
<source>ERROR: The Minetetmapper Application (%1) does not look like a Minetetestmapper
|
||||
Please configure a correct MinetestMapper Application. </source>
|
||||
<translation>FEHLER: Das Minetestmapper Programm (%1) ist möglicherweise kein Minetestmapper Programm.
|
||||
Bitte Wählen sie eine Korrekte Minetestmapper Anwendung aus.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="249"/>
|
||||
<location filename="../mainwindow.cpp" line="251"/>
|
||||
<source>(Edit->Preferences)</source>
|
||||
<translation>(Bearbeiten->Einstellungen)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="251"/>
|
||||
<location filename="../mainwindow.cpp" line="253"/>
|
||||
<source>Do you want to open Preferences now?</source>
|
||||
<translation>Sollen die Einstellungen jetzt geöffnet werden?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="263"/>
|
||||
<location filename="../mainwindow.cpp" line="265"/>
|
||||
<source>No input world selected</source>
|
||||
<translation>Keine Welt ausgewählt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="264"/>
|
||||
<location filename="../mainwindow.cpp" line="266"/>
|
||||
<source>ERROR: No MinetestWorld selected.
|
||||
|
||||
please select a world</source>
|
||||
|
@ -1512,12 +1512,12 @@ please select a world</source>
|
|||
Bitte wähle eine aus</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="270"/>
|
||||
<location filename="../mainwindow.cpp" line="272"/>
|
||||
<source>No output image selected</source>
|
||||
<translation>Kein Ausgansbild ausgewählt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="271"/>
|
||||
<location filename="../mainwindow.cpp" line="273"/>
|
||||
<source>ERROR: No output image selected.
|
||||
|
||||
Please select a output image</source>
|
||||
|
@ -1526,28 +1526,28 @@ Please select a output image</source>
|
|||
Bitte ein Ausgabebild wählen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="276"/>
|
||||
<location filename="../mainwindow.cpp" line="278"/>
|
||||
<source>The image file does already exist</source>
|
||||
<translation>Die Datei existiert bereits</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="285"/>
|
||||
<location filename="../mainwindow.cpp" line="287"/>
|
||||
<source>The directory does not exist</source>
|
||||
<translation>Der Ordner existiert nicht</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="501"/>
|
||||
<location filename="../mainwindow.cpp" line="518"/>
|
||||
<location filename="../mainwindow.cpp" line="503"/>
|
||||
<location filename="../mainwindow.cpp" line="520"/>
|
||||
<source>Minetest Mapper failed</source>
|
||||
<translation>Minetestmapper hat ein Fehler festgestellt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="502"/>
|
||||
<location filename="../mainwindow.cpp" line="504"/>
|
||||
<source><h1>ERROR</h1> <h2>minetestmapper failed</h2>Exit code: <i>%1</i> <br>Status of MinetestMapper: <pre>%2</pre><br><br>Please fix the error and try again </source>
|
||||
<translation><h1>Fehler</h1> <h2>kartenerstellung fehlgeschlagen</h2>Exit code: <i>%1</i> <br>Ausgabe des Minetstmapper: <pre>%2</pre><br><br>Bitte den Fehler beheben und erneut versuchen </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="519"/>
|
||||
<location filename="../mainwindow.cpp" line="521"/>
|
||||
<source><h1>ERROR</h1> <h2>minetestmapper failed</h2>Error code: <i>%1</i> <br>Error Message: <pre>%2</pre><br></source>
|
||||
<translation><h1>FEHLER</h1> <h2>minetestmapper ist abgestürzt</h2>Fehlercode: <i>%1</i> <br>Fehlernachricht: <pre>%2</pre><br></translation>
|
||||
</message>
|
||||
|
@ -1560,92 +1560,92 @@ Bitte ein Ausgabebild wählen</translation>
|
|||
<translation type="vanished">Konnte die Einstellungen nicht migrieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="575"/>
|
||||
<location filename="../mainwindow.cpp" line="577"/>
|
||||
<source>Can not save settings</source>
|
||||
<translation>Kann die Einstellungen nicht speichern</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="576"/>
|
||||
<location filename="../mainwindow.cpp" line="578"/>
|
||||
<source>Minetest Mapper GUI could not save the settings to %1.
|
||||
Please make shure Minetest Mapper Gui can access to the file/directory</source>
|
||||
<translation>Minetest Mapper GUI konnte die Einstellungen nicht nach %1 speichern.
|
||||
Bitte stelle sicher, dass Minetest Mapper GUI auf die Datei/ den Ordner zugreifen darf.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="603"/>
|
||||
<location filename="../mainwindow.cpp" line="605"/>
|
||||
<source>Can not save profile</source>
|
||||
<translation>Konnte das Profil nicht speichern</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="604"/>
|
||||
<location filename="../mainwindow.cpp" line="606"/>
|
||||
<source>Minetest Mapper GUI could not save the current Profile '%1' to %2.
|
||||
Please make shure Minetest Mapper Gui can access to the file/directory</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="808"/>
|
||||
<location filename="../mainwindow.cpp" line="810"/>
|
||||
<source>Open Minetest World</source>
|
||||
<translation>Minetest Welt-Ordner öffnen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="818"/>
|
||||
<location filename="../mainwindow.cpp" line="820"/>
|
||||
<source>Save generated map to...</source>
|
||||
<translation>Karte speichern nach...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="818"/>
|
||||
<location filename="../mainwindow.cpp" line="820"/>
|
||||
<source>png image (*.png)</source>
|
||||
<translation>png Grafik (*.png)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="825"/>
|
||||
<location filename="../mainwindow.cpp" line="827"/>
|
||||
<source>Open HeightmapNodes File</source>
|
||||
<translation>Öffne HeightmapNodes Datei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="827"/>
|
||||
<location filename="../mainwindow.cpp" line="835"/>
|
||||
<location filename="../mainwindow.cpp" line="843"/>
|
||||
<location filename="../mainwindow.cpp" line="829"/>
|
||||
<location filename="../mainwindow.cpp" line="837"/>
|
||||
<location filename="../mainwindow.cpp" line="845"/>
|
||||
<source>TXT File (*.txt)</source>
|
||||
<translation>TXT Datei (*.txt)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="833"/>
|
||||
<location filename="../mainwindow.cpp" line="835"/>
|
||||
<source>Open HeightmapColors File</source>
|
||||
<translation>Öffne Höhenkarte Farbdefinitionsdatei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="841"/>
|
||||
<location filename="../mainwindow.cpp" line="843"/>
|
||||
<source>Open colors.txt File</source>
|
||||
<translation>Öffne colors.txt Datei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="851"/>
|
||||
<location filename="../mainwindow.cpp" line="853"/>
|
||||
<source><h1>About MinetestMapperGUI</h1>The <b>MinetestMapper Gui</b> is written by addi.<br />It is licensed under a <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>The current version is %1. <br>The sourcecode is aviable on <a href='https://bitbucket.org/adrido/minetestmappergui/'>Bitbucket</a>.<br>You may also want to read the <a href='https://forum.minetest.net/viewtopic.php?f=14&t=12139'>Minetest forum thread</a>.<br><br><b>Thanks to:</b><br>McKrustenkaese for his great icon</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="865"/>
|
||||
<location filename="../mainwindow.cpp" line="867"/>
|
||||
<source><h1>About MinetestMapper</h1>The <b>MinetestMapper</b> is written by:<br>Miroslav Bendík <miroslav.bendik@gmail.com><br>ShadowNinja <shadowninja@minetest.net><br>sfan5 <sfan5@live.de><br>Rogier <rogier777@gmail.com><br><br><u>Version:</u> %1 (%2)<br><u>License:</u> LGPLv2.1+ and BSD 2-clause.<br><u>Source Code:</u> <a href='https://github.com/Rogier-5/minetest-mapper-cpp'>Github</a><br></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="946"/>
|
||||
<location filename="../mainwindow.cpp" line="948"/>
|
||||
<source>map center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="951"/>
|
||||
<location filename="../mainwindow.cpp" line="953"/>
|
||||
<source>map origin (top left)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1001"/>
|
||||
<location filename="../mainwindow.cpp" line="1003"/>
|
||||
<source>Create a colors.txt</source>
|
||||
<translation>Erstelle eine colors.txt Datei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1002"/>
|
||||
<location filename="../mainwindow.cpp" line="1004"/>
|
||||
<source>There is a nodes.txt but no colors.txt in the world directory
|
||||
Do you want to generate one?
|
||||
If you select 'No' the default colors.txt will be used.</source>
|
||||
|
@ -1654,34 +1654,34 @@ Möchtest du eine erstellen?
|
|||
Wenn du auf 'Nein' clickst, wird eine standard colors.txt Datei verwendet.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1019"/>
|
||||
<location filename="../mainwindow.cpp" line="1021"/>
|
||||
<source>No colors.txt file</source>
|
||||
<translation>Keine colors.txt Datei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1020"/>
|
||||
<location filename="../mainwindow.cpp" line="1022"/>
|
||||
<source>ERROR: Still no colors.txt file found inside world directory.
|
||||
|
||||
Do you want to cancel or proceed with default colors.txt file?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1023"/>
|
||||
<location filename="../mainwindow.cpp" line="1025"/>
|
||||
<source>Proceed with default</source>
|
||||
<translation>Mit standard Datei fortfahren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1095"/>
|
||||
<location filename="../mainwindow.cpp" line="1097"/>
|
||||
<source>Could not open Terminal</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1096"/>
|
||||
<location filename="../mainwindow.cpp" line="1098"/>
|
||||
<source>Error: Could not open scriptfile (%1) for Terminal</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1120"/>
|
||||
<location filename="../mainwindow.cpp" line="1122"/>
|
||||
<source>Open Directory</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1716,12 +1716,12 @@ Bitte erneut eine gültige minetestmapper Anwendung auswählen. (Bearbeiten->
|
|||
Möchten Sie die Einstellungen jetzt öffnen? </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="879"/>
|
||||
<location filename="../mainwindow.cpp" line="881"/>
|
||||
<source>preview: %1</source>
|
||||
<translation>Vorschau: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="887"/>
|
||||
<location filename="../mainwindow.cpp" line="889"/>
|
||||
<source>Name of the new Profile:</source>
|
||||
<translation>Name des Neuen Profils:</translation>
|
||||
</message>
|
||||
|
|
|
@ -994,7 +994,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="2419"/>
|
||||
<location filename="../mainwindow.cpp" line="1022"/>
|
||||
<location filename="../mainwindow.cpp" line="1024"/>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1052,7 +1052,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="2707"/>
|
||||
<location filename="../mainwindow.cpp" line="864"/>
|
||||
<location filename="../mainwindow.cpp" line="866"/>
|
||||
<source>About MinetestMapper</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1088,7 +1088,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="2806"/>
|
||||
<location filename="../mainwindow.cpp" line="850"/>
|
||||
<location filename="../mainwindow.cpp" line="852"/>
|
||||
<source>About MinetestMapper GUI</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1139,13 +1139,13 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="2847"/>
|
||||
<location filename="../mainwindow.cpp" line="886"/>
|
||||
<location filename="../mainwindow.cpp" line="888"/>
|
||||
<source>New Profile</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="2855"/>
|
||||
<location filename="../mainwindow.cpp" line="430"/>
|
||||
<location filename="../mainwindow.cpp" line="432"/>
|
||||
<source>Expert Mode</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1190,238 +1190,238 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="241"/>
|
||||
<location filename="../mainwindow.cpp" line="243"/>
|
||||
<source>ERROR: No minetestmapper executable could not be found.
|
||||
Please configure one. </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="244"/>
|
||||
<location filename="../mainwindow.cpp" line="246"/>
|
||||
<source>ERROR: The Minetetmapper Application (%1) does not look like a Minetetestmapper
|
||||
Please configure a correct MinetestMapper Application. </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="247"/>
|
||||
<location filename="../mainwindow.cpp" line="249"/>
|
||||
<source>Minetestmapper not found</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="277"/>
|
||||
<location filename="../mainwindow.cpp" line="279"/>
|
||||
<source>The File <i>%1</i> does already exist. <br><br>Do you want to overwrite?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="286"/>
|
||||
<location filename="../mainwindow.cpp" line="288"/>
|
||||
<source>The directory <i>%1</i> does not exist. <br><br>Should it be created?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="431"/>
|
||||
<location filename="../mainwindow.cpp" line="433"/>
|
||||
<source>MinetestMapper will be executed using this arguments.
|
||||
The arguments can be removed, modified, or new arguments can be added.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="490"/>
|
||||
<location filename="../mainwindow.cpp" line="492"/>
|
||||
<source>Finisched :)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="498"/>
|
||||
<location filename="../mainwindow.cpp" line="500"/>
|
||||
<source>minetestmapper terminated</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="249"/>
|
||||
<location filename="../mainwindow.cpp" line="251"/>
|
||||
<source>(Edit->Preferences)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="251"/>
|
||||
<location filename="../mainwindow.cpp" line="253"/>
|
||||
<source>Do you want to open Preferences now?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="263"/>
|
||||
<location filename="../mainwindow.cpp" line="265"/>
|
||||
<source>No input world selected</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="264"/>
|
||||
<location filename="../mainwindow.cpp" line="266"/>
|
||||
<source>ERROR: No MinetestWorld selected.
|
||||
|
||||
please select a world</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="270"/>
|
||||
<location filename="../mainwindow.cpp" line="272"/>
|
||||
<source>No output image selected</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="271"/>
|
||||
<location filename="../mainwindow.cpp" line="273"/>
|
||||
<source>ERROR: No output image selected.
|
||||
|
||||
Please select a output image</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="276"/>
|
||||
<location filename="../mainwindow.cpp" line="278"/>
|
||||
<source>The image file does already exist</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="285"/>
|
||||
<location filename="../mainwindow.cpp" line="287"/>
|
||||
<source>The directory does not exist</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="501"/>
|
||||
<location filename="../mainwindow.cpp" line="518"/>
|
||||
<location filename="../mainwindow.cpp" line="503"/>
|
||||
<location filename="../mainwindow.cpp" line="520"/>
|
||||
<source>Minetest Mapper failed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="502"/>
|
||||
<location filename="../mainwindow.cpp" line="504"/>
|
||||
<source><h1>ERROR</h1> <h2>minetestmapper failed</h2>Exit code: <i>%1</i> <br>Status of MinetestMapper: <pre>%2</pre><br><br>Please fix the error and try again </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="519"/>
|
||||
<location filename="../mainwindow.cpp" line="521"/>
|
||||
<source><h1>ERROR</h1> <h2>minetestmapper failed</h2>Error code: <i>%1</i> <br>Error Message: <pre>%2</pre><br></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="575"/>
|
||||
<location filename="../mainwindow.cpp" line="577"/>
|
||||
<source>Can not save settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="576"/>
|
||||
<location filename="../mainwindow.cpp" line="578"/>
|
||||
<source>Minetest Mapper GUI could not save the settings to %1.
|
||||
Please make shure Minetest Mapper Gui can access to the file/directory</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="603"/>
|
||||
<location filename="../mainwindow.cpp" line="605"/>
|
||||
<source>Can not save profile</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="604"/>
|
||||
<location filename="../mainwindow.cpp" line="606"/>
|
||||
<source>Minetest Mapper GUI could not save the current Profile '%1' to %2.
|
||||
Please make shure Minetest Mapper Gui can access to the file/directory</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="808"/>
|
||||
<location filename="../mainwindow.cpp" line="810"/>
|
||||
<source>Open Minetest World</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="818"/>
|
||||
<location filename="../mainwindow.cpp" line="820"/>
|
||||
<source>Save generated map to...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="818"/>
|
||||
<location filename="../mainwindow.cpp" line="820"/>
|
||||
<source>png image (*.png)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="825"/>
|
||||
<location filename="../mainwindow.cpp" line="827"/>
|
||||
<source>Open HeightmapNodes File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="827"/>
|
||||
<location filename="../mainwindow.cpp" line="835"/>
|
||||
<location filename="../mainwindow.cpp" line="843"/>
|
||||
<location filename="../mainwindow.cpp" line="829"/>
|
||||
<location filename="../mainwindow.cpp" line="837"/>
|
||||
<location filename="../mainwindow.cpp" line="845"/>
|
||||
<source>TXT File (*.txt)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="833"/>
|
||||
<location filename="../mainwindow.cpp" line="835"/>
|
||||
<source>Open HeightmapColors File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="841"/>
|
||||
<location filename="../mainwindow.cpp" line="843"/>
|
||||
<source>Open colors.txt File</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="851"/>
|
||||
<location filename="../mainwindow.cpp" line="853"/>
|
||||
<source><h1>About MinetestMapperGUI</h1>The <b>MinetestMapper Gui</b> is written by addi.<br />It is licensed under a <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br>The current version is %1. <br>The sourcecode is aviable on <a href='https://bitbucket.org/adrido/minetestmappergui/'>Bitbucket</a>.<br>You may also want to read the <a href='https://forum.minetest.net/viewtopic.php?f=14&t=12139'>Minetest forum thread</a>.<br><br><b>Thanks to:</b><br>McKrustenkaese for his great icon</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="865"/>
|
||||
<location filename="../mainwindow.cpp" line="867"/>
|
||||
<source><h1>About MinetestMapper</h1>The <b>MinetestMapper</b> is written by:<br>Miroslav Bendík <miroslav.bendik@gmail.com><br>ShadowNinja <shadowninja@minetest.net><br>sfan5 <sfan5@live.de><br>Rogier <rogier777@gmail.com><br><br><u>Version:</u> %1 (%2)<br><u>License:</u> LGPLv2.1+ and BSD 2-clause.<br><u>Source Code:</u> <a href='https://github.com/Rogier-5/minetest-mapper-cpp'>Github</a><br></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="946"/>
|
||||
<location filename="../mainwindow.cpp" line="948"/>
|
||||
<source>map center</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="951"/>
|
||||
<location filename="../mainwindow.cpp" line="953"/>
|
||||
<source>map origin (top left)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1001"/>
|
||||
<location filename="../mainwindow.cpp" line="1003"/>
|
||||
<source>Create a colors.txt</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1002"/>
|
||||
<location filename="../mainwindow.cpp" line="1004"/>
|
||||
<source>There is a nodes.txt but no colors.txt in the world directory
|
||||
Do you want to generate one?
|
||||
If you select 'No' the default colors.txt will be used.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1019"/>
|
||||
<location filename="../mainwindow.cpp" line="1021"/>
|
||||
<source>No colors.txt file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1020"/>
|
||||
<location filename="../mainwindow.cpp" line="1022"/>
|
||||
<source>ERROR: Still no colors.txt file found inside world directory.
|
||||
|
||||
Do you want to cancel or proceed with default colors.txt file?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1023"/>
|
||||
<location filename="../mainwindow.cpp" line="1025"/>
|
||||
<source>Proceed with default</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1095"/>
|
||||
<location filename="../mainwindow.cpp" line="1097"/>
|
||||
<source>Could not open Terminal</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1096"/>
|
||||
<location filename="../mainwindow.cpp" line="1098"/>
|
||||
<source>Error: Could not open scriptfile (%1) for Terminal</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1120"/>
|
||||
<location filename="../mainwindow.cpp" line="1122"/>
|
||||
<source>Open Directory</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="879"/>
|
||||
<location filename="../mainwindow.cpp" line="881"/>
|
||||
<source>preview: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="887"/>
|
||||
<location filename="../mainwindow.cpp" line="889"/>
|
||||
<source>Name of the new Profile:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
Loading…
Reference in New Issue