Browse Source

adding german support

Nicolas Winkler 4 years ago
parent
commit
cbbaa52ac3

+ 50 - 23
CMakeLists.txt

@@ -1,9 +1,12 @@
 cmake_minimum_required(VERSION 3.13)
 
-project(Almond VERSION 1.1.0 DESCRIPTION "Fractal Viewer")
+project(Almond VERSION 1.2.0 DESCRIPTION "Fractal Viewer")
 
-set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules)
+set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules)
+set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
+set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
 
+find_package(Doxygen)
 find_package(Qt5 COMPONENTS Core Widgets OpenGL Xml Concurrent LinguistTools REQUIRED)
 find_package(OpenMP)
 set(Boost_USE_STATIC_LIBS ON)
@@ -11,32 +14,36 @@ find_package(Boost 1.65 REQUIRED)
 
 find_package(FFmpeg COMPONENTS AVCODEC AVDEVICE AVFORMAT AVUTIL SWSCALE REQUIRED)
 
-#message(${FFMPEG_INCLUDE_DIRS})
-
 set(CMAKE_CXX_STANDARD 17)
 
 FILE(GLOB AlmondSources src/*.cpp)
 FILE(GLOB AlmondHeaders include/*.h)
 FILE(GLOB AlmondUIs ui/*.ui)
-FILE(GLOB AlmondTranslations translations/almond_de-DE.ts)
+FILE(GLOB AlmondTranslations translations/*.ts)
 
-qt5_add_translation(AlmondQMs AlmondTranslations)
+set_source_files_properties(${AlmondTranslations} PROPERTIES OUTPUT_LOCATION ${CMAKE_BINARY_DIR}/translations)
+QT5_CREATE_TRANSLATION( QT_TRANSLATIONS_FILES ${MOC_HEADER_FILES} ${QT_SOURCE_FILES} translations/almond.fr.ts)
+qt5_add_translation(AlmondQMs ${AlmondTranslations})
 
 IF (WIN32)
-    add_executable(Almond WIN32 ${AlmondSources}
-                   resources/Almond.qrc
-                   resources/splash.qrc
-                   resources/icon.rc
-                   ${AlmondQMs}
-                   ${AlmondUIs}
-                   ${AlmondHeaders})
+    add_executable (
+        Almond WIN32 ${AlmondSources}
+        resources/Almond.qrc
+        resources/splash.qrc
+        resources/icon.rc
+        ${AlmondQMs}
+        ${AlmondUIs}
+        ${AlmondHeaders}
+    )
 ELSE()
-    add_executable(Almond ${AlmondSources}
-                   resources/Almond.qrc
-                   resources/splash.qrc
-                   ${AlmondQMs}
-                   ${AlmondUIs}
-                   ${AlmondHeaders})
+    add_executable (
+        Almond ${AlmondSources}
+        resources/Almond.qrc
+        resources/splash.qrc
+        ${AlmondQMs}
+        ${AlmondUIs}
+        ${AlmondHeaders}
+    )
     set_target_properties(Almond PROPERTIES OUTPUT_NAME "almond")
 ENDIF()
 
@@ -59,7 +66,6 @@ set_property(TARGET Almond PROPERTY AUTOUIC ON)
 if(Boost_FOUND)
     target_compile_definitions(Almond PUBLIC WITH_BOOST)
     target_include_directories(Almond SYSTEM PUBLIC ${Boost_INCLUDE_DIRS})
-    #target_link_libraries(Almond PRIVATE ${Boost_LIBRARIES})
 endif(Boost_FOUND)
 
 
@@ -68,17 +74,38 @@ if(OpenMP_CXX_FOUND)
     target_compile_options(Almond PUBLIC ${OpenMP_CXX_FLAGS})
 endif()
 
+if (DOXYGEN_FOUND)
+    set(DOXYGEN_IN doxyfile)
+    add_custom_target(doc COMMAND ${DOXYGEN_EXECUTABLE} "${CMAKE_SOURCE_DIR}/doxyfile"
+            WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}
+            COMMENT "Building documentation")
+endif()
+
 
 set(CPACK_PACKAGE_NAME "Almond")
-set(CPACK_PACKAGE_VERSION "1.1.0")
+set(CPACK_PACKAGE_VERSION "1.2.0")
 IF (WIN32)
-    set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "MyPackage Installation Example")
+#    include(${CMAKE_MODULE_PATH}/Windeployqt.cmake)
+#    install(TARGETS Almond)
+    #install(TARGETS ${FFMPEG_DLLS})
+#    windeployqt(Almond ${CMAKE_CURRENT_BINARY_DIR})
+
+#   potentially need to set -DQTIFWDIR="path/to/qt/Tools/QtInstallerFramework/3.x/"
+    set(CPACK_GENERATOR "IFW")
+    set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Almond Installation Package")
+    set(CPACK_IFW_PACKAGE_ICON "resources/almond.ico")
+    set(CPACK_IFW_PACKAGE_WINDOW_ICON "resources/Almond.png")
+    set(CPACK_IFW_VERBOSE ON)
     include(CPack)
     include(CPackIFW)
     cpack_add_component(Almond
         DISPLAY_NAME "Almond"
         DESCRIPTION "Almond Application")
-    cpack_ifw_configure_component(Almond)
+    cpack_ifw_configure_component(Almond
+        VERSION "1.2.0"
+        SCRIPT "installer/packages/almond/meta/installscript.qs"
+        USER_INTERFACES "installer/packages/almond/meta/page.ui"
+        LICENSES "zlib" "installer/packages/almond/meta/zlib.txt")
 
 ELSEIF (UNIX AND NOT APPLE)
     install(TARGETS Almond RUNTIME DESTINATION "bin")

+ 103 - 0
CMakeModules/Windeployqt.cmake

@@ -0,0 +1,103 @@
+# The MIT License (MIT)
+#
+# Copyright (c) 2017 Nathan Osman
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
+find_package(Qt5Core REQUIRED)
+
+# Retrieve the absolute path to qmake and then use that path to find
+# the windeployqt binary
+get_target_property(_qmake_executable Qt5::qmake IMPORTED_LOCATION)
+get_filename_component(_qt_bin_dir "${_qmake_executable}" DIRECTORY)
+find_program(WINDEPLOYQT_EXECUTABLE windeployqt HINTS "${_qt_bin_dir}")
+
+# Running this with MSVC 2015 requires CMake 3.6+
+if((MSVC_VERSION VERSION_EQUAL 1900 OR MSVC_VERSION VERSION_GREATER 1900)
+        AND CMAKE_VERSION VERSION_LESS "3.6")
+    message(WARNING "Deploying with MSVC 2015+ requires CMake 3.6+")
+endif()
+
+# Add commands that copy the Qt runtime to the target's output directory after
+# build and install the Qt runtime to the specified directory
+function(windeployqt target directory)
+
+    # Run windeployqt immediately after build
+    add_custom_command(TARGET ${target} POST_BUILD
+        COMMAND "${CMAKE_COMMAND}" -E
+            env PATH="${_qt_bin_dir}" "${WINDEPLOYQT_EXECUTABLE}"
+                --verbose 0
+                --no-compiler-runtime
+                --no-angle
+                --no-opengl-sw
+                \"$<TARGET_FILE:${target}>\"
+    )
+
+    # install(CODE ...) doesn't support generator expressions, but
+    # file(GENERATE ...) does - store the path in a file
+    file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${target}_path"
+        CONTENT "$<TARGET_FILE:${target}>"
+    )
+
+    # Before installation, run a series of commands that copy each of the Qt
+    # runtime files to the appropriate directory for installation
+    install(CODE
+        "
+        file(READ \"${CMAKE_CURRENT_BINARY_DIR}/${target}_path\" _file)
+        execute_process(
+            COMMAND \"${CMAKE_COMMAND}\" -E
+                env PATH=\"${_qt_bin_dir}\" \"${WINDEPLOYQT_EXECUTABLE}\"
+                    --dry-run
+                    --no-compiler-runtime
+                    --no-angle
+                    --no-opengl-sw
+                    --list mapping
+                    \${_file}
+            OUTPUT_VARIABLE _output
+            OUTPUT_STRIP_TRAILING_WHITESPACE
+        )
+        separate_arguments(_files WINDOWS_COMMAND \${_output})
+        while(_files)
+            list(GET _files 0 _src)
+            list(GET _files 1 _dest)
+            execute_process(
+                COMMAND \"${CMAKE_COMMAND}\" -E
+                    copy \${_src} \"\${CMAKE_INSTALL_PREFIX}/${directory}/\${_dest}\"
+            )
+            list(REMOVE_AT _files 0 1)
+        endwhile()
+        "
+    )
+
+    # windeployqt doesn't work correctly with the system runtime libraries,
+    # so we fall back to one of CMake's own modules for copying them over
+    set(CMAKE_INSTALL_UCRT_LIBRARIES TRUE)
+    include(InstallRequiredSystemLibraries)
+    foreach(lib ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS})
+        get_filename_component(filename "${lib}" NAME)
+        add_custom_command(TARGET ${target} POST_BUILD
+            COMMAND "${CMAKE_COMMAND}" -E
+                copy_if_different "${lib}" \"$<TARGET_FILE_DIR:${target}>\"
+        )
+    endforeach()
+
+endfunction()
+
+mark_as_advanced(WINDEPLOYQT_EXECUTABLE)
+

+ 2 - 1
installer/config.xml

@@ -1,9 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Installer>
     <Name>Almond</Name>
-    <Version>1.1.0</Version>
+    <Version>1.2.0</Version>
     <Title>Almond Installer</Title>
     <Publisher>Nicolas Winkler</Publisher>
+    <Logo>../resources/almond.ico</Logo>
     <StartMenuDir>Almond</StartMenuDir>
     <TargetDir>@HomeDir@/Almond</TargetDir>
     <AdminTargetDir>@ApplicationsDir@/Almond</AdminTargetDir>

+ 1 - 1
installer/packages/almond/meta/package.xml

@@ -2,7 +2,7 @@
 <Package>
     <DisplayName>Almond</DisplayName>
     <Description>Almond Fractal Generator</Description>
-    <Version>1.0.0</Version>
+    <Version>1.2.0</Version>
     <ReleaseDate>2020-05-28</ReleaseDate>
     <Licenses>
         <License name="zlib/libpng License" file="zlib.txt" />

+ 1 - 1
resources/about_en.html

@@ -4,7 +4,7 @@
 <meta name="qrichtext" content="1" />
 <style type="text/css"> p, li { white-space: pre-wrap; } </style>
 </head>
-<body style="font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"><p style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style="font-size:12pt; font-weight:600;">Almond 1.1.0</span></p>
+<body style="font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"><p style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style="font-size:12pt; font-weight:600;">Almond 1.2.0</span></p>
 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt; font-weight:600;"><br /></p>
 <p style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style="font-size:10pt;">Almond is a free fractal viewer.</span></p>
 <h2></h2>

+ 1 - 1
src/ExportImageMenu.cpp

@@ -65,7 +65,7 @@ void ExportImageMenu::on_pathBtn_clicked()
 
     QString saveAs = QFileDialog::getSaveFileName(this,
             tr("Save exported image"), "",
-            tr(formatString.c_str()));
+            formatString.c_str());
     if(!saveAs.isEmpty() && !saveAs.isNull())
         ui->pathTxt->setText(saveAs);
 }

+ 1 - 20
src/ExportVideoMenu.cpp

@@ -18,19 +18,6 @@ ExportVideoMenu::ExportVideoMenu(QWidget *parent) :
     ui->zoomSpeed->setValidator(new QDoubleValidator(0.0, 100.0, -1, this));
 
 
-    /*
-    evd.startX->setText(QString::fromStdString(evi.start.x.str()));
-    evd.startY->setText(QString::fromStdString(evi.start.y.str()));
-    evd.startW->setText(QString::fromStdString(evi.start.width.str()));
-    evd.startH->setText(QString::fromStdString(evi.start.height.str()));
-
-    evd.endX->setText(QString::fromStdString(evi.end.x.str()));
-    evd.endY->setText(QString::fromStdString(evi.end.y.str()));
-    evd.endW->setText(QString::fromStdString(evi.end.width.str()));
-    evd.endH->setText(QString::fromStdString(evi.end.height.str()));
-    */
-
-
     const auto presets = {
         "ultrafast",
         "superfast",
@@ -59,12 +46,6 @@ ExportVideoMenu::~ExportVideoMenu()
 ExportVideoInfo ExportVideoMenu::getInfo(void) const
 {
     ExportVideoInfo evi;
-    /*if (ui->pathTxt->text() == "") {
-        QMessageBox* msgBox = new QMessageBox;
-        msgBox->setText("Please specify a path.");
-        msgBox->exec();
-        emit reject();
-    }*/
 
     evi.path = ui->pathTxt->text().toStdString();
 
@@ -117,7 +98,7 @@ void ExportVideoMenu::setEndViewport(const mnd::MandelViewport& mv)
 void ExportVideoMenu::on_pathBtn_clicked()
 {
     QString saveAs = QFileDialog::getSaveFileName(this,
-            tr("Save exported image"), "",
+            tr("Save exported video"), "",
             tr("AVI video (*.avi);;MP4 video (*.mp4);;All Files (*)"));
     ui->pathTxt->setText(saveAs);
 }

+ 16 - 7
src/main.cpp

@@ -4,7 +4,7 @@
 #include <QScreen>
 #include <QSplashScreen>
 #include <QTranslator>
-#include <cmath>
+#include <QDir>
 
 int main(int argc, char *argv[])
 {
@@ -12,13 +12,22 @@ int main(int argc, char *argv[])
     QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
     QApplication::setAttribute(Qt::AA_UseDesktopOpenGL);
 
-    QTranslator lang;
-    bool loaded = lang.load(QLocale::system(), QStringLiteral("qtbase_"));
-    lang.load("almond_de-DE");
-    printf("loaded %d\n", loaded);
     QApplication a(argc, argv);
-    if (loaded)
-        a.installTranslator(&lang);
+
+    QString translationDir = QDir::currentPath() + "/translations";
+    QString translationDir2 = QApplication::applicationDirPath() + "/translations";
+    QTranslator lang;
+    QTranslator qtLang;
+    bool loaded = lang.load(QLocale::system(), QLatin1String("almond"), QLatin1String("."), translationDir);
+    qtLang.load(QLocale::system(), QLatin1String("qt"));
+    if (!loaded) {
+        loaded = lang.load(QLocale::system(), QLatin1String("almond"), QLatin1String("."), translationDir2);
+    }
+
+    if (loaded) {
+        bool installed = a.installTranslator(&lang);
+    }
+    a.installTranslator(&qtLang);
 
     QSize screenDim = QGuiApplication::screens()[0]->size();
     int splashW = screenDim.width() * 2 / 11;

+ 502 - 0
translations/almond.de.ts

@@ -0,0 +1,502 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="de_DE">
+<context>
+    <name>About</name>
+    <message>
+        <location filename="../ui/About.ui" line="14"/>
+        <source>Form</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/About.ui" line="24"/>
+        <source>qrc:/about/about_en</source>
+        <translation>qrc:/about/about_de</translation>
+    </message>
+</context>
+<context>
+    <name>Almond</name>
+    <message>
+        <location filename="../src/Almond.cpp" line="141"/>
+        <source>Running Tasks</source>
+        <translation>Laufende Aufgaben</translation>
+    </message>
+    <message>
+        <location filename="../src/Almond.cpp" line="142"/>
+        <source>There are unfinished background tasks. Do you really want to quit?</source>
+        <translation>Es sind noch Hintergrundaufgaben am laufen. Möchten Sie Almond wirklich verlassen?</translation>
+    </message>
+    <message>
+        <location filename="../src/Almond.cpp" line="278"/>
+        <source>Export Progress</source>
+        <translation>Exportfortschritt</translation>
+    </message>
+    <message>
+        <location filename="../src/Almond.cpp" line="535"/>
+        <source>Load View</source>
+        <translation>Perspektive Laden</translation>
+    </message>
+    <message>
+        <location filename="../src/Almond.cpp" line="551"/>
+        <source>Save View</source>
+        <translation>Perspektive Speichern</translation>
+    </message>
+</context>
+<context>
+    <name>AlmondClass</name>
+    <message>
+        <location filename="../ui/Almond.ui" line="17"/>
+        <source>Almond</source>
+        <translation>Almond</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="44"/>
+        <source>Options</source>
+        <translation>Optionen</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="98"/>
+        <source>Zoom</source>
+        <translation>Zoom</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="154"/>
+        <source>Load View</source>
+        <translation>Perspektive Laden</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="161"/>
+        <source>Save View</source>
+        <translation>Perspektive Speichern</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="192"/>
+        <source>Display/Calculation Options</source>
+        <translation>Anzeige-/Berechnungsoptionen</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="204"/>
+        <source>smooth coloring</source>
+        <translation>Sanfte Färbung</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="220"/>
+        <source>Choose Gradient</source>
+        <translation>Gradient einstellen</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="227"/>
+        <source>Max. Iterations</source>
+        <translation>Max. Iterationen</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="240"/>
+        <source>500</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="256"/>
+        <source>display scale</source>
+        <translation>Lineal anzeigen</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="269"/>
+        <source>Select Generators</source>
+        <translation>Generatoren auswählen</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="298"/>
+        <source>Fractal</source>
+        <translation>Fraktal</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="304"/>
+        <source>Mandelbrot Set</source>
+        <translation>Mandelbrot-Menge</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="314"/>
+        <source>Quadratic Julia Set</source>
+        <translation>Quadratische Juliamengen</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="323"/>
+        <source>Custom Formula</source>
+        <translation>Eigene Formel</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="330"/>
+        <source>Change</source>
+        <translation>Wählen</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="361"/>
+        <source>Export</source>
+        <translation>Exportieren</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="379"/>
+        <source>Export Progress</source>
+        <translation>Exportfortschritt</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="386"/>
+        <source>Export Video</source>
+        <translation>Video Exportieren</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="393"/>
+        <source>Export Image</source>
+        <translation>Bild Exportieren</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="414"/>
+        <source>About</source>
+        <translation>Über</translation>
+    </message>
+    <message>
+        <location filename="../ui/Almond.ui" line="429"/>
+        <source>Exit</source>
+        <translation>Schliessen</translation>
+    </message>
+</context>
+<context>
+    <name>CalcJob</name>
+    <message>
+        <location filename="../src/FractalWidgetUtils.cpp" line="110"/>
+        <source>unknown error</source>
+        <translation>Unbekannter Fehler</translation>
+    </message>
+</context>
+<context>
+    <name>ChooseGenerators</name>
+    <message>
+        <location filename="../ui/choosegenerators.ui" line="14"/>
+        <location filename="../ui/choosegenerators.ui" line="142"/>
+        <source>Select Generators</source>
+        <translation>Generatoren wählen</translation>
+    </message>
+    <message>
+        <location filename="../ui/choosegenerators.ui" line="28"/>
+        <source>Measure Performance</source>
+        <translation>Leistung messen</translation>
+    </message>
+    <message>
+        <location filename="../ui/choosegenerators.ui" line="49"/>
+        <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Measure the preformance of Almond on this machine. To obtain good results, run the benchmarks while no other compute-heavy tasks are running on the computer.&lt;/p&gt;&lt;p&gt;The benchmarking consists of several renders of the Mandelbrot fractal using the specified datatype for the underlying operations. The more precision the type allows for, the slower it performs (normally). If you have a video card, Almond will try to use it to do calculations as the tasks are exceptionally well suited for parallel execution.&lt;/p&gt;&lt;p&gt;All results are measured in mega-iterations per second.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+        <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Messen Sie die Leistung von Almond auf Ihrer Maschine. Um möglichst gute Resultate zu erzielen, stellen Sie sicher, dass keine Ressourcenintensive Programme am laufen sind.&lt;/p&gt;&lt;p&gt;The benchmarking consists of several renders of the Mandelbrot fractal using the specified datatype for the underlying operations. The more precision the type allows for, the slower it performs (normally). If you have a video card, Almond will try to use it to do calculations as the tasks are exceptionally well suited for parallel execution.&lt;/p&gt;&lt;p&gt;All results are measured in mega-iterations per second.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+    </message>
+    <message>
+        <location filename="../ui/choosegenerators.ui" line="74"/>
+        <source>Run All Benchmarks</source>
+        <translation>Alle Leistungstest starten</translation>
+    </message>
+    <message>
+        <location filename="../ui/choosegenerators.ui" line="123"/>
+        <source>Generator Type</source>
+        <translation>Genertatorentyp</translation>
+    </message>
+    <message>
+        <location filename="../ui/choosegenerators.ui" line="128"/>
+        <location filename="../ui/choosegenerators.ui" line="207"/>
+        <source>Precision</source>
+        <translation>Präzision</translation>
+    </message>
+    <message>
+        <location filename="../ui/choosegenerators.ui" line="133"/>
+        <source>Performance</source>
+        <translation>Leistung</translation>
+    </message>
+    <message>
+        <location filename="../ui/choosegenerators.ui" line="156"/>
+        <source>+</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/choosegenerators.ui" line="169"/>
+        <source>-</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/choosegenerators.ui" line="212"/>
+        <source>Generator</source>
+        <translation>Generator</translation>
+    </message>
+</context>
+<context>
+    <name>CustomGenerator</name>
+    <message>
+        <location filename="../ui/customgenerator.ui" line="14"/>
+        <source>Custom Generator</source>
+        <translation>Eigener Generator</translation>
+    </message>
+    <message>
+        <location filename="../ui/customgenerator.ui" line="28"/>
+        <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Formula Editor&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Almond applies an escape-time algorithm to display fractals. A formula can be entered in this form, which will then be iteratively applied to complex numbers until its absolute value reaches a certain threshold. Depending on how many iterations were needed to reach the threshold, a different color is applied to the image.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../ui/customgenerator.ui" line="57"/>
+        <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Initial Iteration Value&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Specify the initial value for z depending on c.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+        <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Anfangswert&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Bestimmen Sie den Anfangswert für z abhängig von c&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+    </message>
+    <message>
+        <location filename="../ui/customgenerator.ui" line="72"/>
+        <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;z&lt;span style=&quot; vertical-align:sub;&quot;&gt;0&lt;/span&gt; = &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/customgenerator.ui" line="87"/>
+        <source>0</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/customgenerator.ui" line="99"/>
+        <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Iteration Formula&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Specify the iteration formula in terms of z and c.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+        <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Iterationsformel&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Bestimmen Sie die Iterationsformel abhängig von z und c.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+    </message>
+    <message>
+        <location filename="../ui/customgenerator.ui" line="111"/>
+        <source>z := </source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/customgenerator.ui" line="123"/>
+        <source>z^2+c</source>
+        <translation></translation>
+    </message>
+</context>
+<context>
+    <name>ExportImageMenu</name>
+    <message>
+        <location filename="../ui/ExportImageMenu.ui" line="14"/>
+        <source>Form</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportImageMenu.ui" line="39"/>
+        <source>Export Image</source>
+        <translation>Bild Exportieren</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportImageMenu.ui" line="46"/>
+        <source>Max. Iterations</source>
+        <translation>Max. Iterationen</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportImageMenu.ui" line="53"/>
+        <source>5000</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportImageMenu.ui" line="60"/>
+        <source>Width</source>
+        <translation>Breite</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportImageMenu.ui" line="67"/>
+        <source>1920</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportImageMenu.ui" line="74"/>
+        <source>Height</source>
+        <translation>Höhe</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportImageMenu.ui" line="81"/>
+        <source>1080</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportImageMenu.ui" line="88"/>
+        <source>Save As:</source>
+        <translation>Speichern unter:</translation>
+    </message>
+    <message>
+        <location filename="../src/ExportImageMenu.cpp" line="67"/>
+        <source>Save exported image</source>
+        <translation>Bild speichern unter</translation>
+    </message>
+</context>
+<context>
+    <name>ExportVideoMenu</name>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="14"/>
+        <source>Frame</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="39"/>
+        <source>Export Video</source>
+        <translation>Video Exportieren</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="67"/>
+        <source>General</source>
+        <translation>Allgemein</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="73"/>
+        <source>Max. Iterations</source>
+        <translation>Max. Iterationen</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="80"/>
+        <location filename="../ui/ExportVideoMenu.ui" line="195"/>
+        <source>5000</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="87"/>
+        <source>Video Width</source>
+        <translation>Breite</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="94"/>
+        <source>1920</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="101"/>
+        <source>Video Height</source>
+        <translation>Höhe</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="108"/>
+        <source>1080</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="115"/>
+        <source>Start View</source>
+        <translation>Startperspektive</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="136"/>
+        <source>End View</source>
+        <translation>Schlussperspektive</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="157"/>
+        <source>Save As</source>
+        <translation>Speichern unter</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="182"/>
+        <source>Encoding</source>
+        <translation>Codierung</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="188"/>
+        <source>Bitrate [kbps]</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="202"/>
+        <source>Encoding preset</source>
+        <translation>Voreinstellung</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="219"/>
+        <source>Fps</source>
+        <translation>Fps</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="226"/>
+        <source>60</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="233"/>
+        <source>Zoom Speed</source>
+        <translation>Zoomgeschwindigkeit</translation>
+    </message>
+    <message>
+        <location filename="../ui/ExportVideoMenu.ui" line="240"/>
+        <source>1</source>
+        <translation></translation>
+    </message>
+    <message>
+        <source>Save exported image</source>
+        <translation type="obsolete">E</translation>
+    </message>
+    <message>
+        <location filename="../src/ExportVideoMenu.cpp" line="101"/>
+        <source>Save exported video</source>
+        <translation>Video speichern unter</translation>
+    </message>
+    <message>
+        <location filename="../src/ExportVideoMenu.cpp" line="102"/>
+        <source>AVI video (*.avi);;MP4 video (*.mp4);;All Files (*)</source>
+        <translation>AVI-Video (*.avi);;MP4-Video (*.mp4);; Alle Dateien (*)</translation>
+    </message>
+</context>
+<context>
+    <name>GradientMenu</name>
+    <message>
+        <location filename="../ui/GradientMenu.ui" line="14"/>
+        <location filename="../ui/GradientMenu.ui" line="42"/>
+        <source>Select Gradient</source>
+        <translation>Gradient einstellen</translation>
+    </message>
+    <message>
+        <location filename="../ui/GradientMenu.ui" line="17"/>
+        <source>Remove color from gradient</source>
+        <translation>Farbe von Gradient entfernen</translation>
+    </message>
+    <message>
+        <location filename="../ui/GradientMenu.ui" line="51"/>
+        <location filename="../src/GradientMenu.cpp" line="126"/>
+        <source>Load Gradient</source>
+        <translation>Gradient öffnen</translation>
+    </message>
+    <message>
+        <location filename="../ui/GradientMenu.ui" line="61"/>
+        <source>Load Preset:</source>
+        <translation>Voreinstellung:</translation>
+    </message>
+    <message>
+        <location filename="../ui/GradientMenu.ui" line="68"/>
+        <location filename="../src/GradientMenu.cpp" line="112"/>
+        <source>Save Gradient</source>
+        <translation>Gradient speichern</translation>
+    </message>
+    <message>
+        <location filename="../ui/GradientMenu.ui" line="81"/>
+        <source>Max. Value</source>
+        <translation>Maximalwert</translation>
+    </message>
+    <message>
+        <location filename="../ui/GradientMenu.ui" line="172"/>
+        <source>Remove color point from gradient</source>
+        <translation>Farbpunkt von Gradient entfernen</translation>
+    </message>
+    <message>
+        <location filename="../src/GradientMenu.cpp" line="82"/>
+        <location filename="../src/GradientMenu.cpp" line="84"/>
+        <source>Error Loading Gradient</source>
+        <translation>Fehler beim Öffnen des Gradients</translation>
+    </message>
+    <message>
+        <location filename="../src/GradientMenu.cpp" line="82"/>
+        <source>Error loading gradient: </source>
+        <translation>Fehler beim Öffnen des Gradients: </translation>
+    </message>
+    <message>
+        <location filename="../src/GradientMenu.cpp" line="84"/>
+        <source>Unknown error loading gradient.</source>
+        <translation>Unbekannter Fehler beim Öffnen des Gradients.</translation>
+    </message>
+    <message>
+        <location filename="../src/GradientMenu.cpp" line="117"/>
+        <source>Error saving file</source>
+        <translation>Fehler beim Speichern der Datei</translation>
+    </message>
+    <message>
+        <location filename="../src/GradientMenu.cpp" line="117"/>
+        <source>Error saving gradient: Could not open file.</source>
+        <translation>Fehler beim Speichern des Gradients: Datei konnte nicht geöffnet werden.</translation>
+    </message>
+</context>
+</TS>

+ 0 - 852
translations/almond_de-DE.ts

@@ -1,852 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.1" language="de_DE">
-<context>
-    <name>About</name>
-    <message>
-        <location filename="ui/About.ui" line="14"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_About.h" line="48"/>
-        <source>Form</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/About.ui" line="24"/>
-        <source>qrc:/about/about_en</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>Almond</name>
-    <message>
-        <location filename="src/Almond.cpp" line="141"/>
-        <source>Running Tasks</source>
-        <translation>Laufende Aufgaben</translation>
-    </message>
-    <message>
-        <location filename="src/Almond.cpp" line="142"/>
-        <source>There are unfinished background tasks. Do you really want to quit?</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="src/Almond.cpp" line="278"/>
-        <source>Export Progress</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="src/Almond.cpp" line="535"/>
-        <source>Load View</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="src/Almond.cpp" line="551"/>
-        <source>Save View</source>
-        <translation type="unfinished">Ansicht Speichern</translation>
-    </message>
-</context>
-<context>
-    <name>AlmondClass</name>
-    <message>
-        <location filename="ui/Almond.ui" line="17"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="261"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="261"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="370"/>
-        <source>Almond</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="44"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="263"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="263"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="372"/>
-        <source>Options</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="98"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="373"/>
-        <source>Zoom</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="154"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="374"/>
-        <source>Load View</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="161"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="375"/>
-        <source>Save View</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="192"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="376"/>
-        <source>Display/Calculation Options</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="204"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="267"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="267"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="377"/>
-        <source>smooth coloring</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="220"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="266"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="266"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="378"/>
-        <source>Choose Gradient</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="227"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="379"/>
-        <source>Max. Iterations</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="240"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="265"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="265"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="380"/>
-        <source>500</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="256"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="268"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="268"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="381"/>
-        <source>display scale</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="269"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="277"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="277"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="382"/>
-        <source>Select Generators</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="298"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="272"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="272"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="383"/>
-        <source>Fractal</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="304"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="273"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="273"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="384"/>
-        <source>Mandelbrot Set</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="314"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="274"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="274"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="385"/>
-        <source>Quadratic Julia Set</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="323"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="275"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="275"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="386"/>
-        <source>Custom Formula</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="330"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="276"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="276"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="387"/>
-        <source>Change</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="361"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="388"/>
-        <source>Export</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="379"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="389"/>
-        <source>Export Progress</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="386"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="278"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="278"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="390"/>
-        <source>Export Video</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="393"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="279"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="279"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="391"/>
-        <source>Export Image</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="414"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="393"/>
-        <source>About</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/Almond.ui" line="429"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="262"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="262"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_Almond.h" line="371"/>
-        <source>Exit</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="264"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="264"/>
-        <source>max. iterations</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="269"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="269"/>
-        <source>Zoom Out</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="270"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="270"/>
-        <source>Zoom In</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="271"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="271"/>
-        <source>Reset Zoom</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_Almond.h" line="280"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_Almond.h" line="280"/>
-        <source>Background Tasks</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>CalcJob</name>
-    <message>
-        <location filename="src/FractalWidgetUtils.cpp" line="110"/>
-        <source>unknown error</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>ChooseGenerators</name>
-    <message>
-        <location filename="ui/choosegenerators.ui" line="14"/>
-        <location filename="ui/choosegenerators.ui" line="142"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_choosegenerators.h" line="226"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_choosegenerators.h" line="242"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_choosegenerators.h" line="226"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_choosegenerators.h" line="242"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_choosegenerators.h" line="226"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_choosegenerators.h" line="242"/>
-        <source>Select Generators</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/choosegenerators.ui" line="28"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_choosegenerators.h" line="235"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_choosegenerators.h" line="235"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_choosegenerators.h" line="235"/>
-        <source>Measure Performance</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/choosegenerators.ui" line="49"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_choosegenerators.h" line="227"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_choosegenerators.h" line="227"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_choosegenerators.h" line="227"/>
-        <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Measure the preformance of Almond on this machine. To obtain good results, run the benchmarks while no other compute-heavy tasks are running on the computer.&lt;/p&gt;&lt;p&gt;The benchmarking consists of several renders of the Mandelbrot fractal using the specified datatype for the underlying operations. The more precision the type allows for, the slower it performs (normally). If you have a video card, Almond will try to use it to do calculations as the tasks are exceptionally well suited for parallel execution.&lt;/p&gt;&lt;p&gt;All results are measured in mega-iterations per second.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/choosegenerators.ui" line="74"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_choosegenerators.h" line="228"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_choosegenerators.h" line="228"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_choosegenerators.h" line="228"/>
-        <source>Run All Benchmarks</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/choosegenerators.ui" line="123"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_choosegenerators.h" line="230"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_choosegenerators.h" line="230"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_choosegenerators.h" line="230"/>
-        <source>Generator Type</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/choosegenerators.ui" line="128"/>
-        <location filename="ui/choosegenerators.ui" line="207"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_choosegenerators.h" line="232"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_choosegenerators.h" line="239"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_choosegenerators.h" line="232"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_choosegenerators.h" line="239"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_choosegenerators.h" line="232"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_choosegenerators.h" line="239"/>
-        <source>Precision</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/choosegenerators.ui" line="133"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_choosegenerators.h" line="234"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_choosegenerators.h" line="234"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_choosegenerators.h" line="234"/>
-        <source>Performance</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/choosegenerators.ui" line="156"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_choosegenerators.h" line="236"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_choosegenerators.h" line="236"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_choosegenerators.h" line="236"/>
-        <source>+</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/choosegenerators.ui" line="169"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_choosegenerators.h" line="237"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_choosegenerators.h" line="237"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_choosegenerators.h" line="237"/>
-        <source>-</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/choosegenerators.ui" line="212"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_choosegenerators.h" line="241"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_choosegenerators.h" line="241"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_choosegenerators.h" line="241"/>
-        <source>Generator</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>CustomGenerator</name>
-    <message>
-        <location filename="ui/customgenerator.ui" line="14"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_customgenerator.h" line="142"/>
-        <source>Custom Generator</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/customgenerator.ui" line="28"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_customgenerator.h" line="143"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_customgenerator.h" line="143"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_customgenerator.h" line="143"/>
-        <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Formula Editor&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Almond applies an escape-time algorithm to display fractals. A formula can be entered in this form, which will then be iteratively applied to complex numbers until its absolute value reaches a certain threshold. Depending on how many iterations were needed to reach the threshold, a different color is applied to the image.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/customgenerator.ui" line="57"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_customgenerator.h" line="144"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_customgenerator.h" line="144"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_customgenerator.h" line="144"/>
-        <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Initial Iteration Value&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Specify the initial value for z depending on c.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/customgenerator.ui" line="72"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_customgenerator.h" line="145"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_customgenerator.h" line="145"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_customgenerator.h" line="145"/>
-        <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;z&lt;span style=&quot; vertical-align:sub;&quot;&gt;0&lt;/span&gt; = &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/customgenerator.ui" line="87"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_customgenerator.h" line="146"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_customgenerator.h" line="146"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_customgenerator.h" line="146"/>
-        <source>0</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/customgenerator.ui" line="99"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_customgenerator.h" line="147"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_customgenerator.h" line="147"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_customgenerator.h" line="147"/>
-        <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Iteration Formula&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Specify the iteration formula in terms of z and c.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/customgenerator.ui" line="111"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_customgenerator.h" line="148"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_customgenerator.h" line="148"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_customgenerator.h" line="148"/>
-        <source>z := </source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/customgenerator.ui" line="123"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_customgenerator.h" line="149"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_customgenerator.h" line="149"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_customgenerator.h" line="149"/>
-        <source>z^2+c</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_customgenerator.h" line="142"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_customgenerator.h" line="142"/>
-        <source>Dialog</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>ExportImageDialog</name>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportimagedialog.h" line="119"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportimagedialog.h" line="119"/>
-        <source>Dialog</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportimagedialog.h" line="120"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportimagedialog.h" line="120"/>
-        <source>Maximum iterations</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportimagedialog.h" line="121"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportimagedialog.h" line="121"/>
-        <source>5000</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportimagedialog.h" line="122"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportimagedialog.h" line="122"/>
-        <source>Image Width</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportimagedialog.h" line="123"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportimagedialog.h" line="123"/>
-        <source>1920</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportimagedialog.h" line="124"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportimagedialog.h" line="124"/>
-        <source>Image Height</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportimagedialog.h" line="125"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportimagedialog.h" line="125"/>
-        <source>1080</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportimagedialog.h" line="126"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportimagedialog.h" line="126"/>
-        <source>Save As</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>ExportImageMenu</name>
-    <message>
-        <location filename="ui/ExportImageMenu.ui" line="14"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportImageMenu.h" line="102"/>
-        <source>Form</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportImageMenu.ui" line="39"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportImageMenu.h" line="103"/>
-        <source>Export Image</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportImageMenu.ui" line="46"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportImageMenu.h" line="104"/>
-        <source>Max. Iterations</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportImageMenu.ui" line="53"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportImageMenu.h" line="105"/>
-        <source>5000</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportImageMenu.ui" line="60"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportImageMenu.h" line="106"/>
-        <source>Width</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportImageMenu.ui" line="67"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportImageMenu.h" line="107"/>
-        <source>1920</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportImageMenu.ui" line="74"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportImageMenu.h" line="108"/>
-        <source>Height</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportImageMenu.ui" line="81"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportImageMenu.h" line="109"/>
-        <source>1080</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportImageMenu.ui" line="88"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportImageMenu.h" line="110"/>
-        <source>Save As:</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="src/ExportImageMenu.cpp" line="67"/>
-        <source>Save exported image</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>ExportVideoDialog</name>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="258"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="258"/>
-        <source>Dialog</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="259"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="259"/>
-        <source>Maximum iterations</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="260"/>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="269"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="260"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="269"/>
-        <source>5000</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="261"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="261"/>
-        <source>Video Width</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="262"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="262"/>
-        <source>1920</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="263"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="263"/>
-        <source>Video Height</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="264"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="264"/>
-        <source>1080</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="265"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="265"/>
-        <source>Start View</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="266"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="266"/>
-        <source>End View</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="267"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="267"/>
-        <source>Save As</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="268"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="268"/>
-        <source>Bitrate [kbps]</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="270"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="270"/>
-        <source>Encoding preset</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="272"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="272"/>
-        <source>Fps</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="273"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="273"/>
-        <source>60</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="274"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="274"/>
-        <source>Zoom Speed</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_exportvideodialog.h" line="275"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_exportvideodialog.h" line="275"/>
-        <source>1</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>ExportVideoMenu</name>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="14"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="259"/>
-        <source>Frame</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="39"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="260"/>
-        <source>Export Video</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="67"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="270"/>
-        <source>General</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="73"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="261"/>
-        <source>Max. Iterations</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="80"/>
-        <location filename="ui/ExportVideoMenu.ui" line="195"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="262"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="272"/>
-        <source>5000</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="87"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="263"/>
-        <source>Video Width</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="94"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="264"/>
-        <source>1920</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="101"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="265"/>
-        <source>Video Height</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="108"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="266"/>
-        <source>1080</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="115"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="267"/>
-        <source>Start View</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="136"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="268"/>
-        <source>End View</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="157"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="269"/>
-        <source>Save As</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="182"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="279"/>
-        <source>Encoding</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="188"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="271"/>
-        <source>Bitrate [kbps]</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="202"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="273"/>
-        <source>Encoding preset</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="219"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="275"/>
-        <source>Fps</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="226"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="276"/>
-        <source>60</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="233"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="277"/>
-        <source>Zoom Speed</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/ExportVideoMenu.ui" line="240"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_ExportVideoMenu.h" line="278"/>
-        <source>1</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="src/ExportVideoMenu.cpp" line="120"/>
-        <source>Save exported image</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="src/ExportVideoMenu.cpp" line="121"/>
-        <source>AVI video (*.avi);;MP4 video (*.mp4);;All Files (*)</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>GradientChooser</name>
-    <message>
-        <location filename="build_mingw/Almond_autogen/include/ui_gradientchooser.h" line="67"/>
-        <location filename="build_mingw2/Almond_autogen/include/ui_gradientchooser.h" line="67"/>
-        <source>Dialog</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>GradientMenu</name>
-    <message>
-        <location filename="ui/GradientMenu.ui" line="14"/>
-        <location filename="ui/GradientMenu.ui" line="42"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_GradientMenu.h" line="207"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_GradientMenu.h" line="211"/>
-        <source>Select Gradient</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/GradientMenu.ui" line="17"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_GradientMenu.h" line="209"/>
-        <source>Remove color from gradient</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/GradientMenu.ui" line="51"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_GradientMenu.h" line="212"/>
-        <location filename="src/GradientMenu.cpp" line="126"/>
-        <source>Load Gradient</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/GradientMenu.ui" line="61"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_GradientMenu.h" line="213"/>
-        <source>Load Preset:</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/GradientMenu.ui" line="68"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_GradientMenu.h" line="214"/>
-        <location filename="src/GradientMenu.cpp" line="112"/>
-        <source>Save Gradient</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/GradientMenu.ui" line="81"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_GradientMenu.h" line="215"/>
-        <source>Max. Value</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="ui/GradientMenu.ui" line="172"/>
-        <location filename="build_vcpkg/Almond_autogen/include_Debug/ui_GradientMenu.h" line="217"/>
-        <source>Remove color point from gradient</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="src/GradientMenu.cpp" line="82"/>
-        <location filename="src/GradientMenu.cpp" line="84"/>
-        <source>Error Loading Gradient</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="src/GradientMenu.cpp" line="82"/>
-        <source>Error loading gradient: </source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="src/GradientMenu.cpp" line="84"/>
-        <source>Unknown error loading gradient.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="src/GradientMenu.cpp" line="117"/>
-        <source>Error saving file</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="src/GradientMenu.cpp" line="117"/>
-        <source>Error saving gradient: Could not open file.</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>Page</name>
-    <message>
-        <location filename="installer/packages/almond/meta/page.ui" line="14"/>
-        <source>Dynamic page example</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-</TS>

+ 2 - 2
ui/Almond.ui

@@ -64,8 +64,8 @@
          <rect>
           <x>0</x>
           <y>0</y>
-          <width>593</width>
-          <height>1124</height>
+          <width>271</width>
+          <height>661</height>
          </rect>
         </property>
         <layout class="QHBoxLayout" name="horizontalLayout_3">