1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-12-03 16:09:08 +01:00

Compare commits

..

9 Commits

Author SHA1 Message Date
69e1198efa Merge remote-tracking branch 'weblate/master' 2023-11-17 16:18:44 +01:00
059ed3aa14 Dothe QImage -> QPixmap transformation in parallel 2023-11-17 16:17:53 +01:00
Hosted Weblate
7eba9ef39b
Merge branch 'origin/master' into Weblate. 2023-11-17 12:41:56 +00:00
gallegonovato
1d494d26aa
Translated using Weblate (Spanish)
Currently translated at 100.0% (471 of 471 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/es/
2023-11-17 12:41:55 +00:00
f258ca1a3e Prevent broken Qt heuristics to put submenus on wrong places on Mac 2023-11-17 13:41:01 +01:00
mtriau
58d2d84555
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (471 of 471 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/zh_Hans/
2023-11-16 22:26:31 +01:00
99 efi
dcf9d625ac
Translated using Weblate (Hungarian)
Currently translated at 100.0% (471 of 471 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/hu/
2023-11-16 22:26:31 +01:00
gallegonovato
47664c8cbd
Translated using Weblate (Spanish)
Currently translated at 99.7% (470 of 471 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/es/
2023-11-16 22:26:31 +01:00
055b068379
Translated using Weblate (Swedish)
Currently translated at 99.5% (469 of 471 strings)

Translation: GPXSee/Translations
Translate-URL: https://hosted.weblate.org/projects/gpxsee/translations/sv/
2023-11-16 07:28:22 +01:00
6 changed files with 17 additions and 11 deletions

View File

@ -414,7 +414,7 @@
<message>
<location filename="../src/GUI/gui.cpp" line="272"/>
<source>Clear list</source>
<translation type="unfinished"></translation>
<translation>Borrar la lista</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="284"/>
@ -701,7 +701,7 @@
<message>
<location filename="../src/GUI/gui.cpp" line="631"/>
<source>Open recent</source>
<translation type="unfinished"></translation>
<translation>Abierto reciente</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="655"/>
@ -1042,6 +1042,7 @@
<translation>
<numerusform>%n archivo</numerusform>
<numerusform>%n archivos</numerusform>
<numerusform>%n archivos</numerusform>
</translation>
</message>
</context>

View File

@ -414,7 +414,7 @@
<message>
<location filename="../src/GUI/gui.cpp" line="272"/>
<source>Clear list</source>
<translation type="unfinished"></translation>
<translation>Lista törlése</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="284"/>
@ -701,7 +701,7 @@
<message>
<location filename="../src/GUI/gui.cpp" line="631"/>
<source>Open recent</source>
<translation type="unfinished"></translation>
<translation>Legutóbbiak megnyitása</translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="655"/>

View File

@ -172,7 +172,7 @@
<message>
<location filename="../src/data/data.cpp" line="180"/>
<source>GPSDump files</source>
<translation>GPS-dumpfiler</translation>
<translation>GPSDump-filer</translation>
</message>
<message>
<location filename="../src/data/data.cpp" line="181"/>

View File

@ -172,7 +172,7 @@
<message>
<location filename="../src/data/data.cpp" line="180"/>
<source>GPSDump files</source>
<translation type="unfinished"></translation>
<translation>GPSDump </translation>
</message>
<message>
<location filename="../src/data/data.cpp" line="181"/>
@ -414,7 +414,7 @@
<message>
<location filename="../src/GUI/gui.cpp" line="272"/>
<source>Clear list</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="284"/>
@ -701,7 +701,7 @@
<message>
<location filename="../src/GUI/gui.cpp" line="631"/>
<source>Open recent</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="../src/GUI/gui.cpp" line="655"/>

View File

@ -631,6 +631,7 @@ void GUI::createMenus()
_recentFilesMenu = fileMenu->addMenu(tr("Open recent"));
_recentFilesMenu->setIcon(QIcon::fromTheme(OPEN_RECENT_NAME,
QIcon(OPEN_RECENT_ICON)));
_recentFilesMenu->menuAction()->setMenuRole(QAction::NoRole);
_recentFilesMenu->setEnabled(false);
_recentFilesEnd = _recentFilesMenu->addSeparator();
_recentFilesMenu->addAction(_clearRecentFilesAction);
@ -680,6 +681,7 @@ void GUI::createMenus()
dataMenu->addAction(_showRouteWaypointsAction);
dataMenu->addAction(_showTicksAction);
QMenu *markerMenu = dataMenu->addMenu(tr("Position info"));
markerMenu->menuAction()->setMenuRole(QAction::NoRole);
markerMenu->addAction(_hideMarkersAction);
markerMenu->addAction(_showMarkersAction);
markerMenu->addAction(_showMarkerDateAction);
@ -717,13 +719,16 @@ void GUI::createMenus()
QMenu *settingsMenu = menuBar()->addMenu(tr("&Settings"));
QMenu *timeMenu = settingsMenu->addMenu(tr("Time"));
timeMenu->menuAction()->setMenuRole(QAction::NoRole);
timeMenu->addAction(_totalTimeAction);
timeMenu->addAction(_movingTimeAction);
QMenu *unitsMenu = settingsMenu->addMenu(tr("Units"));
unitsMenu->menuAction()->setMenuRole(QAction::NoRole);
unitsMenu->addAction(_metricUnitsAction);
unitsMenu->addAction(_imperialUnitsAction);
unitsMenu->addAction(_nauticalUnitsAction);
QMenu *coordinatesMenu = settingsMenu->addMenu(tr("Coordinates format"));
coordinatesMenu->menuAction()->setMenuRole(QAction::NoRole);
coordinatesMenu->addAction(_decimalDegreesAction);
coordinatesMenu->addAction(_degreesMinutesAction);
coordinatesMenu->addAction(_dmsAction);

View File

@ -23,7 +23,7 @@ public:
const QPoint &xy() const {return _xy;}
const QString &key() const {return _key;}
QPixmap pixmap() const {return QPixmap::fromImage(_image);}
const QPixmap &pixmap() const {return _pixmap;}
void load() {
QByteArray z(QString::number(_zoom).toLatin1());
@ -32,7 +32,7 @@ public:
QImageReader reader(&buffer, z);
if (_scaledSize)
reader.setScaledSize(QSize(_scaledSize, _scaledSize));
reader.read(&_image);
_pixmap = QPixmap::fromImage(reader.read());
}
private:
@ -41,7 +41,7 @@ private:
QPoint _xy;
QByteArray _data;
QString _key;
QImage _image;
QPixmap _pixmap;
};