CMake and build type recognition improvements

This commit is contained in:
Syping 2021-01-21 21:50:18 +01:00
parent d9eb8d5f95
commit 013bfeb8ed
17 changed files with 151 additions and 211 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ $(git name-rev --tags --name-only $(git rev-parse HEAD)) == "undefined" ]; then
export APPLICATION_VERSION=$(lua -e 'for line in io.lines("config.h") do local m = string.match(line, "#define GTA5SYNC_APPVER \"(.+)\"$"); if m then print(m); os.exit(0) end end')
@ -16,7 +16,7 @@ export APPLICATION_PATCH_VERSION=$(cut -d. -f3 <<< $APPLICATION_VERSION)
if [ "${PACKAGE_BUILD}" == "" ]; then
export PACKAGE_BUILD=1
else
export APPLICATION_BUILD_INT_VERSION=$(grep -oE "[1-9]*$" <<< $PACKAGE_BUILD)
export APPLICATION_BUILD_INT_VERSION=$(grep -oE '[1-9]*$' <<< $PACKAGE_BUILD)
export APPLICATION_BUILD_STR_VERSION=-${PACKAGE_BUILD}
fi
@ -30,41 +30,41 @@ cat ".ci/app.rc" | sed \
> "res/app.rc"
if [ "${BUILD_TYPE}" == "ALPHA" ]; then
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE_ALPHA=TRUE"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_ALPHA"
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE=Alpha"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE=\\\\\\\"Alpha\\\\\\\""
elif [ "${BUILD_TYPE}" == "Alpha" ]; then
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE_ALPHA=TRUE"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_ALPHA"
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE=Alpha"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE=\\\\\\\"Alpha\\\\\\\""
elif [ "${BUILD_TYPE}" == "BETA" ]; then
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE_BETA=TRUE"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_BETA"
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE=Beta"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE=\\\\\\\"Beta\\\\\\\""
elif [ "${BUILD_TYPE}" == "Beta" ]; then
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE_BETA=TRUE"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_BETA"
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE=Beta"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE=\\\\\\\"Beta\\\\\\\""
elif [ "${BUILD_TYPE}" == "DEV" ]; then
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE_DEV=TRUE"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_DEV"
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE=Developer"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE=\\\\\\\"Developer\\\\\\\""
elif [ "${BUILD_TYPE}" == "Development" ]; then
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE_DEV=TRUE"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_DEV"
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE=Developer"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE=\\\\\\\"Developer\\\\\\\""
elif [ "${BUILD_TYPE}" == "DAILY" ]; then
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE_DAILY=TRUE"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_DAILY"
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE=Daily Build"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE=\\\\\\\"Daily Build\\\\\\\""
elif [ "${BUILD_TYPE}" == "Daily" ]; then
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE_DAILY=TRUE"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_DAILY"
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE=Daily Build"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE=\\\\\\\"Daily Build\\\\\\\""
elif [ "${BUILD_TYPE}" == "RC" ]; then
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE_RC=TRUE"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_RC"
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE=Release Candidate"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE=\\\\\\\"Release Candidate\\\\\\\""
elif [ "${BUILD_TYPE}" == "Release Candidate" ]; then
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE_RC=TRUE"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_RC"
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE=Release Candidate"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE=\\\\\\\"Release Candidate\\\\\\\""
elif [ "${BUILD_TYPE}" == "REL" ]; then
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE_REL=TRUE"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_REL"
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE=Release"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE=\\\\\\\"Release\\\\\\\""
elif [ "${BUILD_TYPE}" == "Release" ]; then
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE_REL=TRUE"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE_REL"
export CMAKE_BUILD_TYPE="-DGTA5VIEW_BUILDTYPE=Release"
export QMAKE_BUILD_TYPE="DEFINES+=GTA5SYNC_BUILDTYPE=\\\\\\\"Release\\\\\\\""
fi
export PROJECT_DIR=$(pwd)

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Creating folders
cd ${PROJECT_DIR} && \

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Install packages
.ci/osx_install.sh && \

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Install packages
brew upgrade qt

View file

@ -1,6 +1,6 @@
/*****************************************************************************
* gta5view Grand Theft Auto V Profile Viewer
* Copyright (C) 2016-2019 Syping
* Copyright (C) 2016-2021 Syping
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -33,15 +33,13 @@ AboutDialog::AboutDialog(QWidget *parent) :
// Build Strings
const QString appVersion = QApplication::applicationVersion();
QString buildType = tr(GTA5SYNC_BUILDTYPE);
buildType.replace("_", " ");
const char* literalBuildType = GTA5SYNC_BUILDTYPE;
const QString buildType = tr(literalBuildType);
const QString projectBuild = AppEnv::getBuildDateTime();
const QString buildStr = GTA5SYNC_BUILDSTRING;
#ifndef GTA5SYNC_BUILDTYPE_REL
#ifdef GTA5SYNC_COMMIT
if (!appVersion.contains("-"))
if (literalBuildType == REL_BUILDTYPE && !appVersion.contains("-"))
appVersion = appVersion % "-" % GTA5SYNC_COMMIT;
#endif
#endif
// Translator Comments

View file

@ -1,6 +1,6 @@
/*****************************************************************************
* gta5view Grand Theft Auto V Profile Viewer
* Copyright (C) 2016-2017 Syping
* Copyright (C) 2016-2021 Syping
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -28,7 +28,6 @@ class AboutDialog;
class AboutDialog : public QDialog
{
Q_OBJECT
public:
explicit AboutDialog(QWidget *parent = 0);
~AboutDialog();

View file

@ -11,13 +11,12 @@ set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
option(QT6_BUILD "Build gta5view with Qt6" OFF)
if(QT6_BUILD)
set(QT_VERSION_MAJOR 6)
set(FORCE_QT_VERSION "" CACHE STRING "Force Qt Version")
if(FORCE_QT_VERSION)
set(QT_VERSION_MAJOR ${FORCE_QT_VERSION})
else()
set(QT_VERSION_MAJOR 5)
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
endif()
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Network Svg Widgets REQUIRED)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS LinguistTools QUIET)
@ -192,11 +191,9 @@ else()
)
endif()
option(FLATPAK_BUILD "Flatpak modifications and identifications" OFF)
option(FLATPAK_BUILD "Flatpak modifications and optimisations" OFF)
if(FLATPAK_BUILD)
list(APPEND GTA5VIEW_DEFINES
"-DGTA5SYNC_BUILDCODE=\"Flatpak\""
"-DGTA5SYNC_BUILDTYPE=\"Flatpak\""
-DGTA5SYNC_FLATPAK
)
endif()
@ -275,37 +272,6 @@ if(GTA5VIEW_BUILDTYPE)
list(APPEND GTA5VIEW_DEFINES
"-DGTA5SYNC_BUILDTYPE=\"${GTA5VIEW_BUILDTYPE}\""
)
else()
if(GTA5VIEW_BUILDTYPE_ALPHA)
list(APPEND GTA5VIEW_DEFINES
-DGTA5SYNC_BUILDTYPE_ALPHA
)
endif()
if(GTA5VIEW_BUILDTYPE_BETA)
list(APPEND GTA5VIEW_DEFINES
-DGTA5SYNC_BUILDTYPE_BETA
)
endif()
if(GTA5VIEW_BUILDTYPE_DEV)
list(APPEND GTA5VIEW_DEFINES
-DGTA5SYNC_BUILDTYPE_DEV
)
endif()
if(GTA5VIEW_BUILDTYPE_DAILY)
list(APPEND GTA5VIEW_DEFINES
-DGTA5SYNC_BUILDTYPE_DAILY
)
endif()
if(GTA5VIEW_BUILDTYPE_RC)
list(APPEND GTA5VIEW_DEFINES
-DGTA5SYNC_BUILDTYPE_RC
)
endif()
if(GTA5VIEW_BUILDTYPE_REL)
list(APPEND GTA5VIEW_DEFINES
-DGTA5SYNC_BUILDTYPE_REL
)
endif()
endif()
if(GTA5VIEW_COMMIT)
list(APPEND GTA5VIEW_DEFINES
@ -347,8 +313,6 @@ endif()
if(Qt5Core_VERSION VERSION_GREATER_EQUAL "5.14.0")
qt5_import_plugins(gta5view INCLUDE Qt5::QSvgPlugin)
elseif(Qt6Core_VERSION VERSION_GREATER_EQUAL "6.0")
qt6_import_plugins(gta5view INCLUDE Qt6::QSvgPlugin)
endif()
target_compile_definitions(gta5view PRIVATE ${GTA5VIEW_DEFINES})

View file

@ -21,6 +21,13 @@
#if __cplusplus
#include <QString>
#define REL_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Release")
#define RC_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Release Candidate")
#define BETA_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Beta")
#define ALPHA_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Alpha")
#define DEV_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Developer")
#define DAILY_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Daily Build")
#define CUSTOM_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Custom")
#endif
#ifndef GTA5SYNC_APPVENDOR
@ -48,42 +55,6 @@
#endif
#if __cplusplus
#ifdef GTA5SYNC_BUILDTYPE_REL
#ifndef GTA5SYNC_BUILDTYPE
#define GTA5SYNC_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Release")
#endif
#endif
#ifdef GTA5SYNC_BUILDTYPE_RC
#ifndef GTA5SYNC_BUILDTYPE
#define GTA5SYNC_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Release Candidate")
#endif
#endif
#ifdef GTA5SYNC_BUILDTYPE_DAILY
#ifndef GTA5SYNC_BUILDTYPE
#define GTA5SYNC_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Daily Build")
#endif
#endif
#ifdef GTA5SYNC_BUILDTYPE_DEV
#ifndef GTA5SYNC_BUILDTYPE
#define GTA5SYNC_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Developer")
#endif
#endif
#ifdef GTA5SYNC_BUILDTYPE_BETA
#ifndef GTA5SYNC_BUILDTYPE
#define GTA5SYNC_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Beta")
#endif
#endif
#ifdef GTA5SYNC_BUILDTYPE_ALPHA
#ifndef GTA5SYNC_BUILDTYPE
#define GTA5SYNC_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Alpha")
#endif
#endif
#ifndef GTA5SYNC_BUILDTYPE
#define GTA5SYNC_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Custom")
#endif

View file

@ -28,65 +28,66 @@ Running with Qt %6&lt;br/&gt;
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="49"/>
<location filename="../AboutDialog.cpp" line="47"/>
<source>Translated by %1</source>
<extracomment>Translated by translator, example Translated by Syping</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="51"/>
<location filename="../AboutDialog.cpp" line="49"/>
<source>TRANSLATOR</source>
<extracomment>Insert your name here and profile here in following scheme, First Translator,First Profile\nSecond Translator\nThird Translator,Second Profile</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="70"/>
<location filename="../AboutDialog.cpp" line="68"/>
<source>A project for viewing Grand Theft Auto V Snapmatic&lt;br/&gt;
Pictures and Savegames</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="73"/>
<location filename="../AboutDialog.cpp" line="71"/>
<source>Copyright &amp;copy; &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt; %3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="75"/>
<location filename="../AboutDialog.cpp" line="73"/>
<source>%1 is licensed under &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../config.h" line="53"/>
<location filename="../config.h" line="24"/>
<source>Release</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../config.h" line="59"/>
<location filename="../config.h" line="25"/>
<source>Release Candidate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../config.h" line="65"/>
<location filename="../config.h" line="29"/>
<source>Daily Build</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../config.h" line="71"/>
<location filename="../config.h" line="28"/>
<source>Developer</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../config.h" line="77"/>
<location filename="../config.h" line="26"/>
<source>Beta</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../config.h" line="83"/>
<location filename="../config.h" line="27"/>
<source>Alpha</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../config.h" line="88"/>
<location filename="../config.h" line="30"/>
<location filename="../config.h" line="59"/>
<source>Custom</source>
<translation type="unfinished"></translation>
</message>

View file

@ -37,66 +37,67 @@ Läuft auf Qt %6&lt;br/&gt;
<translation>S&amp;chließen</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="49"/>
<location filename="../AboutDialog.cpp" line="47"/>
<source>Translated by %1</source>
<extracomment>Translated by translator, example Translated by Syping</extracomment>
<translation>Übersetzt von %1</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="51"/>
<location filename="../AboutDialog.cpp" line="49"/>
<source>TRANSLATOR</source>
<extracomment>Insert your name here and profile here in following scheme, First Translator,First Profile\nSecond Translator\nThird Translator,Second Profile</extracomment>
<translation>Syping,g5e://about?U3lwaW5n:R2l0TGFiOiA8YSBocmVmPSJodHRwczovL2dpdGxhYi5jb20vU3lwaW5nIj5TeXBpbmc8L2E+PGJyLz5HaXRIdWI6IDxhIGhyZWY9Imh0dHBzOi8vZ2l0aHViLmNvbS9TeXBpbmciPlN5cGluZzwvYT48YnIvPlNvY2lhbCBDbHViOiA8YSBocmVmPSJodHRwczovL3NvY2lhbGNsdWIucm9ja3N0YXJnYW1lcy5jb20vbWVtYmVyL1N5cGluZy80NjMwMzA1NiI+U3lwaW5nPC9hPg</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="70"/>
<location filename="../AboutDialog.cpp" line="68"/>
<source>A project for viewing Grand Theft Auto V Snapmatic&lt;br/&gt;
Pictures and Savegames</source>
<translation>Ein Projekt zum ansehen von Grand Theft Auto V&lt;br/&gt;
Snapmatic Bilder und Spielständen</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="73"/>
<location filename="../AboutDialog.cpp" line="71"/>
<source>Copyright &amp;copy; &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt; %3</source>
<translation>Copyright &amp;copy; &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt; %3</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="75"/>
<location filename="../AboutDialog.cpp" line="73"/>
<source>%1 is licensed under &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt;</source>
<translation>%1 ist lizenziert unter &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt;</translation>
</message>
<message>
<location filename="../config.h" line="53"/>
<location filename="../config.h" line="24"/>
<source>Release</source>
<translation>Release</translation>
</message>
<message>
<location filename="../config.h" line="59"/>
<location filename="../config.h" line="25"/>
<source>Release Candidate</source>
<translation>Release Candidate</translation>
</message>
<message>
<location filename="../config.h" line="65"/>
<location filename="../config.h" line="29"/>
<source>Daily Build</source>
<translation>Daily Build</translation>
</message>
<message>
<location filename="../config.h" line="71"/>
<location filename="../config.h" line="28"/>
<source>Developer</source>
<translation>Entwickler</translation>
</message>
<message>
<location filename="../config.h" line="77"/>
<location filename="../config.h" line="26"/>
<source>Beta</source>
<translation>Beta</translation>
</message>
<message>
<location filename="../config.h" line="83"/>
<location filename="../config.h" line="27"/>
<source>Alpha</source>
<translation>Alpha</translation>
</message>
<message>
<location filename="../config.h" line="88"/>
<location filename="../config.h" line="30"/>
<location filename="../config.h" line="59"/>
<source>Custom</source>
<translation>Eigener</translation>
</message>

View file

@ -28,65 +28,66 @@ Running with Qt %6&lt;br/&gt;
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="49"/>
<location filename="../AboutDialog.cpp" line="47"/>
<source>Translated by %1</source>
<extracomment>Translated by translator, example Translated by Syping</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="51"/>
<location filename="../AboutDialog.cpp" line="49"/>
<source>TRANSLATOR</source>
<extracomment>Insert your name here and profile here in following scheme, First Translator,First Profile\nSecond Translator\nThird Translator,Second Profile</extracomment>
<translation>Syping,g5e://about?U3lwaW5n:R2l0TGFiOiA8YSBocmVmPSJodHRwczovL2dpdGxhYi5jb20vU3lwaW5nIj5TeXBpbmc8L2E+PGJyLz5HaXRIdWI6IDxhIGhyZWY9Imh0dHBzOi8vZ2l0aHViLmNvbS9TeXBpbmciPlN5cGluZzwvYT48YnIvPlNvY2lhbCBDbHViOiA8YSBocmVmPSJodHRwczovL3NvY2lhbGNsdWIucm9ja3N0YXJnYW1lcy5jb20vbWVtYmVyL1N5cGluZy80NjMwMzA1NiI+U3lwaW5nPC9hPg==</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="70"/>
<location filename="../AboutDialog.cpp" line="68"/>
<source>A project for viewing Grand Theft Auto V Snapmatic&lt;br/&gt;
Pictures and Savegames</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="73"/>
<location filename="../AboutDialog.cpp" line="71"/>
<source>Copyright &amp;copy; &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt; %3</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="75"/>
<location filename="../AboutDialog.cpp" line="73"/>
<source>%1 is licensed under &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../config.h" line="53"/>
<location filename="../config.h" line="24"/>
<source>Release</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../config.h" line="59"/>
<location filename="../config.h" line="25"/>
<source>Release Candidate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../config.h" line="65"/>
<location filename="../config.h" line="29"/>
<source>Daily Build</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../config.h" line="71"/>
<location filename="../config.h" line="28"/>
<source>Developer</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../config.h" line="77"/>
<location filename="../config.h" line="26"/>
<source>Beta</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../config.h" line="83"/>
<location filename="../config.h" line="27"/>
<source>Alpha</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../config.h" line="88"/>
<location filename="../config.h" line="30"/>
<location filename="../config.h" line="59"/>
<source>Custom</source>
<translation type="unfinished"></translation>
</message>

Binary file not shown.

View file

@ -37,67 +37,68 @@ Fonctionne avec Qt %6&lt;br/&gt;
<translation>&amp;Fermer</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="49"/>
<location filename="../AboutDialog.cpp" line="47"/>
<source>Translated by %1</source>
<extracomment>Translated by translator, example Translated by Syping</extracomment>
<translation>Traduit par %1</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="51"/>
<location filename="../AboutDialog.cpp" line="49"/>
<source>TRANSLATOR</source>
<extracomment>Insert your name here and profile here in following scheme, First Translator,First Profile\nSecond Translator\nThird Translator,Second Profile</extracomment>
<translation>Ganjalo,https://github.com/Ganjalo/
XeriosG,g5e://about?WGVyaW9zRw:RGlzY29yZDogWGVyaW9zRyM1MzIxPGJyLz5TdGVhbTogPGEgaHJlZj0iaHR0cHM6Ly9zdGVhbWNvbW11bml0eS5jb20vcHJvZmlsZXMvNzY1NjExOTg0MjU2NjU3MjQvIj5YZXJpb3NHPC9hPg</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="70"/>
<location filename="../AboutDialog.cpp" line="68"/>
<source>A project for viewing Grand Theft Auto V Snapmatic&lt;br/&gt;
Pictures and Savegames</source>
<translation>Un outil pour gérer les photos Snapmatic&lt;br/&gt;
et les fichiers de sauvegarde de Grand Theft Auto V</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="73"/>
<location filename="../AboutDialog.cpp" line="71"/>
<source>Copyright &amp;copy; &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt; %3</source>
<translation>Copyright &amp;copy; &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt; %3</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="75"/>
<location filename="../AboutDialog.cpp" line="73"/>
<source>%1 is licensed under &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt;</source>
<translation>%1 est distribué sous license &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt;</translation>
</message>
<message>
<location filename="../config.h" line="53"/>
<location filename="../config.h" line="24"/>
<source>Release</source>
<translation>Release</translation>
</message>
<message>
<location filename="../config.h" line="59"/>
<location filename="../config.h" line="25"/>
<source>Release Candidate</source>
<translation>Release Candidate</translation>
</message>
<message>
<location filename="../config.h" line="65"/>
<location filename="../config.h" line="29"/>
<source>Daily Build</source>
<translation>Daily Build</translation>
</message>
<message>
<location filename="../config.h" line="71"/>
<location filename="../config.h" line="28"/>
<source>Developer</source>
<translation>Developer</translation>
</message>
<message>
<location filename="../config.h" line="77"/>
<location filename="../config.h" line="26"/>
<source>Beta</source>
<translation>Beta</translation>
</message>
<message>
<location filename="../config.h" line="83"/>
<location filename="../config.h" line="27"/>
<source>Alpha</source>
<translation>Alpha</translation>
</message>
<message>
<location filename="../config.h" line="88"/>
<location filename="../config.h" line="30"/>
<location filename="../config.h" line="59"/>
<source>Custom</source>
<translation>Personnalisé</translation>
</message>
@ -305,7 +306,7 @@ et les fichiers de sauvegarde de Grand Theft Auto V</translation>
<message>
<location filename="../ImportDialog.ui" line="311"/>
<source>Resolution:</source>
<translation>Résolution:</translation>
<translation>Résolution :</translation>
</message>
<message>
<location filename="../ImportDialog.ui" line="324"/>

View file

@ -37,66 +37,67 @@ Qt로 실행 %6&lt;br/&gt;
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="49"/>
<location filename="../AboutDialog.cpp" line="47"/>
<source>Translated by %1</source>
<extracomment>Translated by translator, example Translated by Syping</extracomment>
<translation> %1</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="51"/>
<location filename="../AboutDialog.cpp" line="49"/>
<source>TRANSLATOR</source>
<extracomment>Insert your name here and profile here in following scheme, First Translator,First Profile\nSecond Translator\nThird Translator,Second Profile</extracomment>
<translation>,https://steamcommunity.com/profiles/76561198166105984/</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="70"/>
<location filename="../AboutDialog.cpp" line="68"/>
<source>A project for viewing Grand Theft Auto V Snapmatic&lt;br/&gt;
Pictures and Savegames</source>
<translation> GTA 5 .&lt;br/&gt;
</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="73"/>
<location filename="../AboutDialog.cpp" line="71"/>
<source>Copyright &amp;copy; &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt; %3</source>
<translation> &amp;copy; &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt; %3</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="75"/>
<location filename="../AboutDialog.cpp" line="73"/>
<source>%1 is licensed under &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt;</source>
<translation>%1 &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt; 에 따라 라이센스가 부여됩니다</translation>
</message>
<message>
<location filename="../config.h" line="53"/>
<location filename="../config.h" line="24"/>
<source>Release</source>
<translation></translation>
</message>
<message>
<location filename="../config.h" line="59"/>
<location filename="../config.h" line="25"/>
<source>Release Candidate</source>
<translation> </translation>
</message>
<message>
<location filename="../config.h" line="65"/>
<location filename="../config.h" line="29"/>
<source>Daily Build</source>
<translation> </translation>
</message>
<message>
<location filename="../config.h" line="71"/>
<location filename="../config.h" line="28"/>
<source>Developer</source>
<translation></translation>
</message>
<message>
<location filename="../config.h" line="77"/>
<location filename="../config.h" line="26"/>
<source>Beta</source>
<translation></translation>
</message>
<message>
<location filename="../config.h" line="83"/>
<location filename="../config.h" line="27"/>
<source>Alpha</source>
<translation></translation>
</message>
<message>
<location filename="../config.h" line="88"/>
<location filename="../config.h" line="30"/>
<location filename="../config.h" line="59"/>
<source>Custom</source>
<translation> </translation>
</message>

View file

@ -37,66 +37,67 @@ Running with Qt %6&lt;br/&gt;
<translation>&amp;Закрыть</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="49"/>
<location filename="../AboutDialog.cpp" line="47"/>
<source>Translated by %1</source>
<extracomment>Translated by translator, example Translated by Syping</extracomment>
<translation>Перевёл %1</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="51"/>
<location filename="../AboutDialog.cpp" line="49"/>
<source>TRANSLATOR</source>
<extracomment>Insert your name here and profile here in following scheme, First Translator,First Profile\nSecond Translator\nThird Translator,Second Profile</extracomment>
<translation>VADemon,https://github.com/VADemon/</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="70"/>
<location filename="../AboutDialog.cpp" line="68"/>
<source>A project for viewing Grand Theft Auto V Snapmatic&lt;br/&gt;
Pictures and Savegames</source>
<translation>Проект для просмотра Grand Theft Auto V Snapmatic&lt;br/&gt;
картинок и сохранений</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="73"/>
<location filename="../AboutDialog.cpp" line="71"/>
<source>Copyright &amp;copy; &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt; %3</source>
<translation>Copyright &amp;copy; &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt; %3</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="75"/>
<location filename="../AboutDialog.cpp" line="73"/>
<source>%1 is licensed under &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt;</source>
<translation>%1 под лицензией &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt;</translation>
</message>
<message>
<location filename="../config.h" line="53"/>
<location filename="../config.h" line="24"/>
<source>Release</source>
<translation>Релиз</translation>
</message>
<message>
<location filename="../config.h" line="59"/>
<location filename="../config.h" line="25"/>
<source>Release Candidate</source>
<translation>Предварительный выпуск</translation>
</message>
<message>
<location filename="../config.h" line="65"/>
<location filename="../config.h" line="29"/>
<source>Daily Build</source>
<translation>Дневная сборка</translation>
</message>
<message>
<location filename="../config.h" line="71"/>
<location filename="../config.h" line="28"/>
<source>Developer</source>
<translation>Разработчик</translation>
</message>
<message>
<location filename="../config.h" line="77"/>
<location filename="../config.h" line="26"/>
<source>Beta</source>
<translation>Бета</translation>
</message>
<message>
<location filename="../config.h" line="83"/>
<location filename="../config.h" line="27"/>
<source>Alpha</source>
<translation>Альфа</translation>
</message>
<message>
<location filename="../config.h" line="88"/>
<location filename="../config.h" line="30"/>
<location filename="../config.h" line="59"/>
<source>Custom</source>
<translatorcomment>Не известен контекст
</translatorcomment>

View file

@ -37,13 +37,13 @@ Running with Qt %6&lt;br/&gt;
<translation>&amp;Закрити</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="49"/>
<location filename="../AboutDialog.cpp" line="47"/>
<source>Translated by %1</source>
<extracomment>Translated by translator, example Translated by Syping</extracomment>
<translation>Переклад %1</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="51"/>
<location filename="../AboutDialog.cpp" line="49"/>
<source>TRANSLATOR</source>
<extracomment>Insert your name here and profile here in following scheme, First Translator,First Profile\nSecond Translator\nThird Translator,Second Profile</extracomment>
<translatorcomment>PROFessoR &apos;AppleSOft&apos;,https://steamcommunity.com/id/AppleSOft
@ -52,54 +52,55 @@ twitter,https://twitter.com/_VenJam1n</translatorcomment>
<translation>VenJam1n,g5e://about?VmVuSmFtMW4:U3RlYW06IDxhIGhyZWY9Imh0dHBzOi8vc3RlYW1jb21tdW5pdHkuY29tL3Byb2ZpbGVzLzc2NTYxMTk3OTg0NjM1ODE2LyI+UFJPRmVzc29SICdBcHBsZVNPZnQnPC9hPjxici8+U29jaWFsIENsdWI6IDxhIGhyZWY9Imh0dHBzOi8vc29jaWFsY2x1Yi5yb2Nrc3RhcmdhbWVzLmNvbS9tZW1iZXIvLS1WZW5KYW0xbi0tLzU2Mzc1NjkiPlZlbkphbTFuPC9hPjxici8+VHdpdHRlcjogPGEgaHJlZj0iaHR0cHM6Ly90d2l0dGVyLmNvbS9fVmVuSmFtMW4iPlZlbkphbTFuPC9hPg</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="70"/>
<location filename="../AboutDialog.cpp" line="68"/>
<source>A project for viewing Grand Theft Auto V Snapmatic&lt;br/&gt;
Pictures and Savegames</source>
<translation>Проект для перегляду Grand Theft Auto V Snapmatic&lt;br/&gt;
зображень та сейвів</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="73"/>
<location filename="../AboutDialog.cpp" line="71"/>
<source>Copyright &amp;copy; &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt; %3</source>
<translation>Авторське право &amp;copy; &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt; %3</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="75"/>
<location filename="../AboutDialog.cpp" line="73"/>
<source>%1 is licensed under &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt;</source>
<translation>%1 ліцензовано під &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt;</translation>
</message>
<message>
<location filename="../config.h" line="53"/>
<location filename="../config.h" line="24"/>
<source>Release</source>
<translation>Реліз</translation>
</message>
<message>
<location filename="../config.h" line="59"/>
<location filename="../config.h" line="25"/>
<source>Release Candidate</source>
<translation>Реліз-Кандидат</translation>
</message>
<message>
<location filename="../config.h" line="65"/>
<location filename="../config.h" line="29"/>
<source>Daily Build</source>
<translation>Щоденна Збірка</translation>
</message>
<message>
<location filename="../config.h" line="71"/>
<location filename="../config.h" line="28"/>
<source>Developer</source>
<translation>Розробник</translation>
</message>
<message>
<location filename="../config.h" line="77"/>
<location filename="../config.h" line="26"/>
<source>Beta</source>
<translation>Бета</translation>
</message>
<message>
<location filename="../config.h" line="83"/>
<location filename="../config.h" line="27"/>
<source>Alpha</source>
<translation>Альфа</translation>
</message>
<message>
<location filename="../config.h" line="88"/>
<location filename="../config.h" line="30"/>
<location filename="../config.h" line="59"/>
<source>Custom</source>
<translation>Custom</translation>
</message>

View file

@ -37,65 +37,66 @@ Running with Qt %6&lt;br/&gt;
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="49"/>
<location filename="../AboutDialog.cpp" line="47"/>
<source>Translated by %1</source>
<extracomment>Translated by translator, example Translated by Syping</extracomment>
<translation>: %1</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="51"/>
<location filename="../AboutDialog.cpp" line="49"/>
<source>TRANSLATOR</source>
<extracomment>Insert your name here and profile here in following scheme, First Translator,First Profile\nSecond Translator\nThird Translator,Second Profile</extracomment>
<translation>Ray,https://steamcommunity.com/profiles/76561198282701714/</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="70"/>
<location filename="../AboutDialog.cpp" line="68"/>
<source>A project for viewing Grand Theft Auto V Snapmatic&lt;br/&gt;
Pictures and Savegames</source>
<translation> Grand Theft Auto V Snapmatic </translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="73"/>
<location filename="../AboutDialog.cpp" line="71"/>
<source>Copyright &amp;copy; &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt; %3</source>
<translation> &amp;copy; &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt; %3</translation>
</message>
<message>
<location filename="../AboutDialog.cpp" line="75"/>
<location filename="../AboutDialog.cpp" line="73"/>
<source>%1 is licensed under &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt;</source>
<translation>%1 使 &lt;a href=&quot;https://www.gnu.org/licenses/gpl-3.0.html#content&quot;&gt;GNU GPLv3&lt;/a&gt; 授權條款發布</translation>
</message>
<message>
<location filename="../config.h" line="53"/>
<location filename="../config.h" line="24"/>
<source>Release</source>
<translation></translation>
</message>
<message>
<location filename="../config.h" line="59"/>
<location filename="../config.h" line="25"/>
<source>Release Candidate</source>
<translation></translation>
</message>
<message>
<location filename="../config.h" line="65"/>
<location filename="../config.h" line="29"/>
<source>Daily Build</source>
<translation></translation>
</message>
<message>
<location filename="../config.h" line="71"/>
<location filename="../config.h" line="28"/>
<source>Developer</source>
<translation></translation>
</message>
<message>
<location filename="../config.h" line="77"/>
<location filename="../config.h" line="26"/>
<source>Beta</source>
<translation>Beta </translation>
</message>
<message>
<location filename="../config.h" line="83"/>
<location filename="../config.h" line="27"/>
<source>Alpha</source>
<translation>Alpha </translation>
</message>
<message>
<location filename="../config.h" line="88"/>
<location filename="../config.h" line="30"/>
<location filename="../config.h" line="59"/>
<source>Custom</source>
<translation></translation>
</message>