Compare commits

...

5 Commits

Author SHA1 Message Date
adrido adb672841d
Update README.md 2020-04-20 17:09:37 +02:00
adrido 49832c81c2
Update README.md 2020-04-20 17:03:35 +02:00
adrido c895212ce0
Add Github runner (#1) 2020-04-20 14:25:28 +02:00
Unknown 14f9a278ef Add lgtm.yml 2019-03-31 12:38:50 +02:00
Unknown 1030d7cae4 Fix some memory leaks 2019-03-31 12:03:24 +02:00
10 changed files with 265 additions and 132 deletions

101
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,101 @@
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: ${{ matrix.config.name }}-${{ matrix.type }}
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {
name: "Windows x32",
os: windows-latest,
cpack_install_generator: -G WIX,
generator: "-G'Visual Studio 16 2019' -A Win32",
qt_arch: 'win32_msvc2017'
}
- {
name: "Windows x64",
os: windows-latest,
cpack_install_generator: -G WIX,
generator: "-G'Visual Studio 16 2019' -A x64",
qt_arch: 'win64_msvc2017_64'
}
- {
name: "Ubuntu",
os: ubuntu-latest,
cpack_install_generator: -G DEB
}
- {
name: "MacOS",
os: macos-latest,
cpack_install_generator: -G DragNDrop
}
type: [portable, installer]
steps:
- name: 🐞Fixup chocolately
run: Remove-Item -Path $env:ChocolateyInstall\\bin\\cpack.exe -Force
shell: pwsh
if: "contains(matrix.config.os, 'windows')"
- name: Checkout
uses: actions/checkout@v1
with:
submodules: true
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
with:
path: ../Qt
key: ${{ runner.os }}-QtCache-${{matrix.config.qt_arch}}
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: 5.12.8
arch: ${{matrix.config.qt_arch}}
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: CMake
run: |
echo -DBUILD_PORTABLE=$PORTABLE
cmake ${{matrix.config.generator}} -DCMAKE_BUILD_TYPE=Release . -DBUILD_PORTABLE=$PORTABLE
shell: bash
env:
PORTABLE: ${{contains(matrix.type, 'portable')}}
- name: Build
run: cmake --build . --config Release
- name: Package Install
run: cpack ${{matrix.config.cpack_install_generator}} -B "$GITHUB_WORKSPACE/Package"
if: "!contains(matrix.type, 'portable')"
shell: bash
- name: Package Portable
run: |
cpack -G ZIP -B "$GITHUB_WORKSPACE/Package"
ls $GITHUB_WORKSPACE/Package
if: "contains(matrix.type, 'portable')"
shell: bash
- name: Package Clean
run: rm -r $GITHUB_WORKSPACE/Package/_CPack_Packages
shell: bash
- uses: actions/upload-artifact@v1
with:
name: ${{ matrix.config.name }}-${{ matrix.type }}
path: ./Package/

View File

@ -141,7 +141,7 @@ if(WIN32)
set(INSTALL_RUNTIME_DIR ".")
endif()
if(UNIX)
if(UNIX AND NOT APPLE)
set(ICON_DIR "/usr/local/share/icons/hicolor/scalable/apps")
if(BUILD_PORTABLE)
set(ICON_DIR ".")
@ -158,6 +158,7 @@ install(TARGETS MinetestMapperGUI
RUNTIME DESTINATION ${INSTALL_RUNTIME_DIR}
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
BUNDLE DESTINATION .
)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/translations/
@ -189,7 +190,7 @@ if(WIN32)
DESTINATION ${INSTALL_RUNTIME_DIR}
CONFIGURATIONS RelWithDebInfo
FILES_MATCHING PATTERN "*.dll")
elseif(UNIX)
elseif(UNIX AND NOT APPLE)
install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/mtmapperenv.sh
DESTINATION ${INSTALL_RUNTIME_DIR})
if(BUILD_PORTABLE)
@ -200,4 +201,7 @@ elseif(UNIX)
endif()
endif()
set(CPACK_PACKAGE_CONTACT "https://github.com/adrido")
include(CPack)

View File

@ -1,30 +1,46 @@
# ![icon.png](https://bitbucket.org/repo/r5g9yq/images/265537834-icon.png) README #
# README ![CI](https://github.com/adrido/MinetestMapperGUI/workflows/CI/badge.svg)
MinetestMapperGui is a program written in C++ using the Qt framework that executes the minetestmapper over an graphical interface.
The Windows downloads include a copy of minetest mapper by Rogier-5
### What is this repository for? ###
## Note ##
This Repository only contains the MinetestmapperGUI, If you are searching the full Package (including minetestmapper) please look [here](https://github.com/adrido/MinetestMapperGUI-Bundle).
* Quick summary
* Version
* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
## Getting Started ##
### How do I get set up? ###
### Installing ###
* Summary of set up
* Configuration
* Dependencies
* Database configuration
* How to run tests
* Deployment instructions
The easiest way is to grab the latest Installer from the [Release page](/adrido/MinetestMapperGUI/releases) for your platform and install it.
If it isn't available you can easyly compile it yourself.
### Contribution guidelines ###
## Building MinetestMapperGUI yourself ##
* Writing tests
* Code review
* Other guidelines
### Requirements ###
### Who do I talk to? ###
* A modern C++ compiler
* Qt-Framework
* CMake
* git
* Repo owner or admin
* Other community or team contact
### Compiling ###
Open the Folder in your preferred IDE. Visual Studio and Qt-Creator are known to work.
OR:
Use the commandline:
```
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_PORTABLE=TRUE .
cmake --build . --config Release
```
### Creating a package ###
```
cpack -G ZIP
```
Of course, you can use every cpack generator you want. If your favourite one is not available, feel free to create a Pull Request
## Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](/adrido/MinetestMapperGUI/tags).

View File

@ -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;

View File

@ -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;
}

View File

@ -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;

5
lgtm.yml Normal file
View File

@ -0,0 +1,5 @@
extraction:
cpp:
configure:
command:
- cmake .

View File

@ -228,6 +228,8 @@ void MainWindow::changeEvent(QEvent* event)
MainWindow::~MainWindow()
{
minetestMapper->cancel();
delete settings;
delete profile;
delete ui;
}

View File

@ -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 &lt;i&gt;%1&lt;/i&gt; does already exist. &lt;br&gt;&lt;br&gt;Do you want to overwrite?</source>
<translation>Die Datei &lt;i&gt;%1&lt;/i&gt; existiert bereits. &lt;br&gt;&lt;br&gt;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 &lt;i&gt;%1&lt;/i&gt; does not exist. &lt;br&gt;&lt;br&gt;Should it be created?</source>
<translation>Der Ordner &lt;i&gt;%1&lt;/i&gt; existiert nicht. &lt;br&gt;&lt;br&gt;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-&gt;Preferences)</source>
<translation>(Bearbeiten-&gt;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>&lt;h1&gt;ERROR&lt;/h1&gt; &lt;h2&gt;minetestmapper failed&lt;/h2&gt;Exit code: &lt;i&gt;%1&lt;/i&gt; &lt;br&gt;Status of MinetestMapper: &lt;pre&gt;%2&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Please fix the error and try again </source>
<translation>&lt;h1&gt;Fehler&lt;/h1&gt; &lt;h2&gt;kartenerstellung fehlgeschlagen&lt;/h2&gt;Exit code: &lt;i&gt;%1&lt;/i&gt; &lt;br&gt;Ausgabe des Minetstmapper: &lt;pre&gt;%2&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Bitte den Fehler beheben und erneut versuchen </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="519"/>
<location filename="../mainwindow.cpp" line="521"/>
<source>&lt;h1&gt;ERROR&lt;/h1&gt; &lt;h2&gt;minetestmapper failed&lt;/h2&gt;Error code: &lt;i&gt;%1&lt;/i&gt; &lt;br&gt;Error Message: &lt;pre&gt;%2&lt;/pre&gt;&lt;br&gt;</source>
<translation>&lt;h1&gt;FEHLER&lt;/h1&gt; &lt;h2&gt;minetestmapper ist abgestürzt&lt;/h2&gt;Fehlercode: &lt;i&gt;%1&lt;/i&gt; &lt;br&gt;Fehlernachricht: &lt;pre&gt;%2&lt;/pre&gt;&lt;br&gt;</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 &apos;%1&apos; 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>&lt;h1&gt;About MinetestMapperGUI&lt;/h1&gt;The &lt;b&gt;MinetestMapper Gui&lt;/b&gt; is written by addi.&lt;br /&gt;It is licensed under a &lt;a href=&quot;http://creativecommons.org/licenses/by/3.0/&quot;&gt;Creative Commons Attribution 3.0 Unported License&lt;/a&gt;.&lt;br&gt;The current version is %1. &lt;br&gt;The sourcecode is aviable on &lt;a href=&apos;https://bitbucket.org/adrido/minetestmappergui/&apos;&gt;Bitbucket&lt;/a&gt;.&lt;br&gt;You may also want to read the &lt;a href=&apos;https://forum.minetest.net/viewtopic.php?f=14&amp;t=12139&apos;&gt;Minetest forum thread&lt;/a&gt;.&lt;br&gt;&lt;br&gt;&lt;b&gt;Thanks to:&lt;/b&gt;&lt;br&gt;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>&lt;h1&gt;About MinetestMapper&lt;/h1&gt;The &lt;b&gt;MinetestMapper&lt;/b&gt; is written by:&lt;br&gt;Miroslav Bendík &lt;miroslav.bendik@gmail.com&gt;&lt;br&gt;ShadowNinja &lt;shadowninja@minetest.net&gt;&lt;br&gt;sfan5 &lt;sfan5@live.de&gt;&lt;br&gt;Rogier &lt;rogier777@gmail.com&gt;&lt;br&gt;&lt;br&gt;&lt;u&gt;Version:&lt;/u&gt; %1 (%2)&lt;br&gt;&lt;u&gt;License:&lt;/u&gt; LGPLv2.1+ and BSD 2-clause.&lt;br&gt;&lt;u&gt;Source Code:&lt;/u&gt; &lt;a href=&apos;https://github.com/Rogier-5/minetest-mapper-cpp&apos;&gt;Github&lt;/a&gt;&lt;br&gt;</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 &apos;No&apos; the default colors.txt will be used.</source>
@ -1654,34 +1654,34 @@ Möchtest du eine erstellen?
Wenn du auf &apos;Nein&apos; 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-&gt;
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>

View File

@ -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 &lt;i&gt;%1&lt;/i&gt; does already exist. &lt;br&gt;&lt;br&gt;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 &lt;i&gt;%1&lt;/i&gt; does not exist. &lt;br&gt;&lt;br&gt;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-&gt;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>&lt;h1&gt;ERROR&lt;/h1&gt; &lt;h2&gt;minetestmapper failed&lt;/h2&gt;Exit code: &lt;i&gt;%1&lt;/i&gt; &lt;br&gt;Status of MinetestMapper: &lt;pre&gt;%2&lt;/pre&gt;&lt;br&gt;&lt;br&gt;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>&lt;h1&gt;ERROR&lt;/h1&gt; &lt;h2&gt;minetestmapper failed&lt;/h2&gt;Error code: &lt;i&gt;%1&lt;/i&gt; &lt;br&gt;Error Message: &lt;pre&gt;%2&lt;/pre&gt;&lt;br&gt;</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 &apos;%1&apos; 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>&lt;h1&gt;About MinetestMapperGUI&lt;/h1&gt;The &lt;b&gt;MinetestMapper Gui&lt;/b&gt; is written by addi.&lt;br /&gt;It is licensed under a &lt;a href=&quot;http://creativecommons.org/licenses/by/3.0/&quot;&gt;Creative Commons Attribution 3.0 Unported License&lt;/a&gt;.&lt;br&gt;The current version is %1. &lt;br&gt;The sourcecode is aviable on &lt;a href=&apos;https://bitbucket.org/adrido/minetestmappergui/&apos;&gt;Bitbucket&lt;/a&gt;.&lt;br&gt;You may also want to read the &lt;a href=&apos;https://forum.minetest.net/viewtopic.php?f=14&amp;t=12139&apos;&gt;Minetest forum thread&lt;/a&gt;.&lt;br&gt;&lt;br&gt;&lt;b&gt;Thanks to:&lt;/b&gt;&lt;br&gt;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>&lt;h1&gt;About MinetestMapper&lt;/h1&gt;The &lt;b&gt;MinetestMapper&lt;/b&gt; is written by:&lt;br&gt;Miroslav Bendík &lt;miroslav.bendik@gmail.com&gt;&lt;br&gt;ShadowNinja &lt;shadowninja@minetest.net&gt;&lt;br&gt;sfan5 &lt;sfan5@live.de&gt;&lt;br&gt;Rogier &lt;rogier777@gmail.com&gt;&lt;br&gt;&lt;br&gt;&lt;u&gt;Version:&lt;/u&gt; %1 (%2)&lt;br&gt;&lt;u&gt;License:&lt;/u&gt; LGPLv2.1+ and BSD 2-clause.&lt;br&gt;&lt;u&gt;Source Code:&lt;/u&gt; &lt;a href=&apos;https://github.com/Rogier-5/minetest-mapper-cpp&apos;&gt;Github&lt;/a&gt;&lt;br&gt;</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 &apos;No&apos; 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>