mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 19:52:09 +01:00
Added map change shortcuts
This commit is contained in:
parent
043d1f49a6
commit
47bcd0cfaf
@ -64,22 +64,22 @@
|
|||||||
<translation>O Qt</translation>
|
<translation>O Qt</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="435"/>
|
<location filename="../src/gui.cpp" line="448"/>
|
||||||
<source>GPXSee is distributed under the terms of the GNU General Public License version 3. For more info about GPXSee visit the project homepage at </source>
|
<source>GPXSee is distributed under the terms of the GNU General Public License version 3. For more info about GPXSee visit the project homepage at </source>
|
||||||
<translation>Program GPXSee je distribuován pod podmínkami licence GNU General Public License verze 3. Pro více informací navštivte stránky programu na adrese </translation>
|
<translation>Program GPXSee je distribuován pod podmínkami licence GNU General Public License verze 3. Pro více informací navštivte stránky programu na adrese </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="494"/>
|
<location filename="../src/gui.cpp" line="512"/>
|
||||||
<source>Open file</source>
|
<source>Open file</source>
|
||||||
<translation>Otevřít soubor</translation>
|
<translation>Otevřít soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="208"/>
|
<location filename="../src/gui.cpp" line="209"/>
|
||||||
<source>Save as</source>
|
<source>Save as</source>
|
||||||
<translation>Uložit jako</translation>
|
<translation>Uložit jako</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="565"/>
|
<location filename="../src/gui.cpp" line="583"/>
|
||||||
<source>Open POI file</source>
|
<source>Open POI file</source>
|
||||||
<translation>Otevřít POI soubor</translation>
|
<translation>Otevřít POI soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
@ -89,14 +89,14 @@
|
|||||||
<translation>Otevřít</translation>
|
<translation>Otevřít</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="181"/>
|
<location filename="../src/gui.cpp" line="180"/>
|
||||||
<source>Quit</source>
|
<source>Quit</source>
|
||||||
<translation>Ukončit</translation>
|
<translation>Ukončit</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="188"/>
|
<location filename="../src/gui.cpp" line="188"/>
|
||||||
<location filename="../src/gui.cpp" line="451"/>
|
<location filename="../src/gui.cpp" line="464"/>
|
||||||
<location filename="../src/gui.cpp" line="452"/>
|
<location filename="../src/gui.cpp" line="465"/>
|
||||||
<source>Keyboard controls</source>
|
<source>Keyboard controls</source>
|
||||||
<translation>Ovládací klávesy</translation>
|
<translation>Ovládací klávesy</translation>
|
||||||
</message>
|
</message>
|
||||||
@ -106,321 +106,333 @@
|
|||||||
<translation>Uložit</translation>
|
<translation>Uložit</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="213"/>
|
<location filename="../src/gui.cpp" line="215"/>
|
||||||
<source>Close</source>
|
<source>Close</source>
|
||||||
<translation>Zavřít</translation>
|
<translation>Zavřít</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="219"/>
|
<location filename="../src/gui.cpp" line="221"/>
|
||||||
<source>Reload</source>
|
<source>Reload</source>
|
||||||
<translation>Znovu načíst</translation>
|
<translation>Znovu načíst</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="370"/>
|
<location filename="../src/gui.cpp" line="381"/>
|
||||||
<source>Show</source>
|
<source>Show</source>
|
||||||
<translation>Zobrazit</translation>
|
<translation>Zobrazit</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="311"/>
|
<location filename="../src/gui.cpp" line="322"/>
|
||||||
<location filename="../src/gui.cpp" line="361"/>
|
<location filename="../src/gui.cpp" line="372"/>
|
||||||
<source>File</source>
|
<source>File</source>
|
||||||
<translation>Soubor</translation>
|
<translation>Soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="186"/>
|
<location filename="../src/gui.cpp" line="186"/>
|
||||||
<location filename="../src/gui.cpp" line="469"/>
|
<location filename="../src/gui.cpp" line="487"/>
|
||||||
<location filename="../src/gui.cpp" line="470"/>
|
<location filename="../src/gui.cpp" line="488"/>
|
||||||
<source>Data sources</source>
|
<source>Data sources</source>
|
||||||
<translation>Zdroje dat</translation>
|
<translation>Zdroje dat</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="227"/>
|
<location filename="../src/gui.cpp" line="229"/>
|
||||||
<source>Load POI file</source>
|
<source>Load POI file</source>
|
||||||
<translation>Nahrát POI soubor</translation>
|
<translation>Nahrát POI soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="230"/>
|
<location filename="../src/gui.cpp" line="232"/>
|
||||||
<source>Close POI files</source>
|
<source>Close POI files</source>
|
||||||
<translation>Zavřit POI soubory</translation>
|
<translation>Zavřit POI soubory</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="233"/>
|
<location filename="../src/gui.cpp" line="235"/>
|
||||||
<source>Show POIs</source>
|
<source>Show POIs</source>
|
||||||
<translation>Zobrazit POI</translation>
|
<translation>Zobrazit POI</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="241"/>
|
<location filename="../src/gui.cpp" line="243"/>
|
||||||
<source>Show map</source>
|
<source>Show map</source>
|
||||||
<translation>Zobrazit mapu</translation>
|
<translation>Zobrazit mapu</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="247"/>
|
<location filename="../src/gui.cpp" line="249"/>
|
||||||
<source>Clear tile cache</source>
|
<source>Clear tile cache</source>
|
||||||
<translation>Vymazat mezipaměť dlaždic</translation>
|
<translation>Vymazat mezipaměť dlaždic</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="259"/>
|
<location filename="../src/gui.cpp" line="259"/>
|
||||||
|
<location filename="../src/gui.cpp" line="263"/>
|
||||||
|
<location filename="../src/gui.cpp" line="474"/>
|
||||||
|
<source>Next map</source>
|
||||||
|
<translation>Následující mapa</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/gui.cpp" line="270"/>
|
||||||
<source>Show graphs</source>
|
<source>Show graphs</source>
|
||||||
<translation>Zobrazovat grafy</translation>
|
<translation>Zobrazovat grafy</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="266"/>
|
<location filename="../src/gui.cpp" line="277"/>
|
||||||
<source>Show toolbars</source>
|
<source>Show toolbars</source>
|
||||||
<translation>Zobrazovat nástrojové lišty</translation>
|
<translation>Zobrazovat nástrojové lišty</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="273"/>
|
<location filename="../src/gui.cpp" line="284"/>
|
||||||
<source>Metric</source>
|
<source>Metric</source>
|
||||||
<translation>Metrické</translation>
|
<translation>Metrické</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="279"/>
|
<location filename="../src/gui.cpp" line="290"/>
|
||||||
<source>Imperial</source>
|
<source>Imperial</source>
|
||||||
<translation>Imperiální</translation>
|
<translation>Imperiální</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="285"/>
|
<location filename="../src/gui.cpp" line="296"/>
|
||||||
<source>Fullscreen mode</source>
|
<source>Fullscreen mode</source>
|
||||||
<translation>Celoobrazovkový režim</translation>
|
<translation>Celoobrazovkový režim</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="293"/>
|
<location filename="../src/gui.cpp" line="304"/>
|
||||||
<source>Next</source>
|
<source>Next</source>
|
||||||
<translation>Následující</translation>
|
<translation>Následující</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="296"/>
|
<location filename="../src/gui.cpp" line="307"/>
|
||||||
<source>Previous</source>
|
<source>Previous</source>
|
||||||
<translation>Předchozí</translation>
|
<translation>Předchozí</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="300"/>
|
<location filename="../src/gui.cpp" line="311"/>
|
||||||
<source>Last</source>
|
<source>Last</source>
|
||||||
<translation>Poslední</translation>
|
<translation>Poslední</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="303"/>
|
<location filename="../src/gui.cpp" line="314"/>
|
||||||
<source>First</source>
|
<source>First</source>
|
||||||
<translation>První</translation>
|
<translation>První</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="325"/>
|
<location filename="../src/gui.cpp" line="336"/>
|
||||||
<source>Map</source>
|
<source>Map</source>
|
||||||
<translation>Mapa</translation>
|
<translation>Mapa</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="332"/>
|
<location filename="../src/gui.cpp" line="343"/>
|
||||||
<source>POI</source>
|
<source>POI</source>
|
||||||
<translation>POI</translation>
|
<translation>POI</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="333"/>
|
<location filename="../src/gui.cpp" line="344"/>
|
||||||
<source>POI files</source>
|
<source>POI files</source>
|
||||||
<translation>POI soubory</translation>
|
<translation>POI soubory</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="341"/>
|
<location filename="../src/gui.cpp" line="352"/>
|
||||||
<source>Settings</source>
|
<source>Settings</source>
|
||||||
<translation>Nastavení</translation>
|
<translation>Nastavení</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="342"/>
|
<location filename="../src/gui.cpp" line="353"/>
|
||||||
<source>Units</source>
|
<source>Units</source>
|
||||||
<translation>Jednotky</translation>
|
<translation>Jednotky</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="351"/>
|
<location filename="../src/gui.cpp" line="362"/>
|
||||||
<source>Help</source>
|
<source>Help</source>
|
||||||
<translation>Nápověda</translation>
|
<translation>Nápověda</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="804"/>
|
<location filename="../src/gui.cpp" line="476"/>
|
||||||
|
<source>Previous map</source>
|
||||||
|
<translation>Předchozí mapa</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/gui.cpp" line="822"/>
|
||||||
<source>No GPX files loaded</source>
|
<source>No GPX files loaded</source>
|
||||||
<translation>Nejsou načteny žádné GPX soubory</translation>
|
<translation>Nejsou načteny žádné GPX soubory</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="886"/>
|
<location filename="../src/gui.cpp" line="922"/>
|
||||||
<source>Elevation</source>
|
<source>Elevation</source>
|
||||||
<translation>Výška</translation>
|
<translation>Výška</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="887"/>
|
<location filename="../src/gui.cpp" line="923"/>
|
||||||
<source>Speed</source>
|
<source>Speed</source>
|
||||||
<translation>Rychlost</translation>
|
<translation>Rychlost</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="888"/>
|
<location filename="../src/gui.cpp" line="924"/>
|
||||||
<source>Heart rate</source>
|
<source>Heart rate</source>
|
||||||
<translation>Tep</translation>
|
<translation>Tep</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="454"/>
|
<location filename="../src/gui.cpp" line="467"/>
|
||||||
<source>Next file</source>
|
<source>Next file</source>
|
||||||
<translation>Následující soubor</translation>
|
<translation>Následující soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="455"/>
|
<location filename="../src/gui.cpp" line="468"/>
|
||||||
<source>Previous file</source>
|
<source>Previous file</source>
|
||||||
<translation>Předchozí soubor</translation>
|
<translation>Předchozí soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="457"/>
|
<location filename="../src/gui.cpp" line="470"/>
|
||||||
<source>First file</source>
|
<source>First file</source>
|
||||||
<translation>První soubor</translation>
|
<translation>První soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="458"/>
|
<location filename="../src/gui.cpp" line="471"/>
|
||||||
<source>Last file</source>
|
<source>Last file</source>
|
||||||
<translation>Poslední soubor</translation>
|
<translation>Poslední soubor</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="459"/>
|
<location filename="../src/gui.cpp" line="472"/>
|
||||||
<source>Append modifier</source>
|
<source>Append modifier</source>
|
||||||
<translation>Modifikátor nahradit/přidat</translation>
|
<translation>Modifikátor nahradit/přidat</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="473"/>
|
<location filename="../src/gui.cpp" line="491"/>
|
||||||
<source>Map (tiles) source URLs are read on program startup from the following file:</source>
|
<source>Map (tiles) source URLs are read on program startup from the following file:</source>
|
||||||
<translation>URL mapových zdrojů (dlaždic) jsou načteny při startu programu z následujícího souboru:</translation>
|
<translation>URL mapových zdrojů (dlaždic) jsou načteny při startu programu z následujícího souboru:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="476"/>
|
<location filename="../src/gui.cpp" line="494"/>
|
||||||
<source>The file format is one map entry per line, consisting of the map name and tiles URL delimited by a TAB character. The tile X and Y coordinates are replaced with $x and $y in the URL and the zoom level is replaced with $z. An example map file could look like:</source>
|
<source>The file format is one map entry per line, consisting of the map name and tiles URL delimited by a TAB character. The tile X and Y coordinates are replaced with $x and $y in the URL and the zoom level is replaced with $z. An example map file could look like:</source>
|
||||||
<translation>Formát souboru je jeden mapový záznam na řádku, kde mapový záznam sestává ze jména mapy a URL dlaždic navzájem oddělených tabulátorem. Souřadnice dlaždice jsou v URL nahrazeny řetězci $x a $y, úroven přiblížení (zoom) pak řetězcem $z. Příklad:</translation>
|
<translation>Formát souboru je jeden mapový záznam na řádku, kde mapový záznam sestává ze jména mapy a URL dlaždic navzájem oddělených tabulátorem. Souřadnice dlaždice jsou v URL nahrazeny řetězci $x a $y, úroven přiblížení (zoom) pak řetězcem $z. Příklad:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="484"/>
|
<location filename="../src/gui.cpp" line="502"/>
|
||||||
<source>To make GPXSee load a POI file automatically on startup, add the file to the following directory:</source>
|
<source>To make GPXSee load a POI file automatically on startup, add the file to the following directory:</source>
|
||||||
<translation>POI soubory, které se mají automaticky nahrát při startu programu jsou načítány z následujícího adresáře:</translation>
|
<translation>POI soubory, které se mají automaticky nahrát při startu programu jsou načítány z následujícího adresáře:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="495"/>
|
<location filename="../src/gui.cpp" line="513"/>
|
||||||
<source>GPX files (*.gpx);;All files (*)</source>
|
<source>GPX files (*.gpx);;All files (*)</source>
|
||||||
<translation>soubory GPX (*.gpx);;všechny soubory (*)</translation>
|
<translation>soubory GPX (*.gpx);;všechny soubory (*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="556"/>
|
<location filename="../src/gui.cpp" line="574"/>
|
||||||
<location filename="../src/gui.cpp" line="582"/>
|
<location filename="../src/gui.cpp" line="600"/>
|
||||||
<source>Line: %1</source>
|
<source>Line: %1</source>
|
||||||
<translation>Řádka: %1</translation>
|
<translation>Řádka: %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="566"/>
|
<location filename="../src/gui.cpp" line="584"/>
|
||||||
<source>GPX files (*.gpx);;CSV files (*.csv);;All files (*)</source>
|
<source>GPX files (*.gpx);;CSV files (*.csv);;All files (*)</source>
|
||||||
<translation>soubory GPX (*.gpx);;soubory CSV (*.csv);;všechny soubory (*)</translation>
|
<translation>soubory GPX (*.gpx);;soubory CSV (*.csv);;všechny soubory (*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="647"/>
|
<location filename="../src/gui.cpp" line="665"/>
|
||||||
<location filename="../src/gui.cpp" line="819"/>
|
<location filename="../src/gui.cpp" line="837"/>
|
||||||
<source>mi</source>
|
<source>mi</source>
|
||||||
<translation>mi</translation>
|
<translation>mi</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="650"/>
|
<location filename="../src/gui.cpp" line="668"/>
|
||||||
<location filename="../src/gui.cpp" line="652"/>
|
<location filename="../src/gui.cpp" line="670"/>
|
||||||
<location filename="../src/gui.cpp" line="654"/>
|
<location filename="../src/gui.cpp" line="672"/>
|
||||||
<location filename="../src/gui.cpp" line="656"/>
|
<location filename="../src/gui.cpp" line="674"/>
|
||||||
<location filename="../src/gui.cpp" line="816"/>
|
<location filename="../src/gui.cpp" line="834"/>
|
||||||
<source>ft</source>
|
<source>ft</source>
|
||||||
<translation>ft</translation>
|
<translation>ft</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="653"/>
|
<location filename="../src/gui.cpp" line="671"/>
|
||||||
<location filename="../src/gui.cpp" line="665"/>
|
<location filename="../src/gui.cpp" line="683"/>
|
||||||
<source>Maximum</source>
|
<source>Maximum</source>
|
||||||
<translation>Maximum</translation>
|
<translation>Maximum</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="655"/>
|
<location filename="../src/gui.cpp" line="673"/>
|
||||||
<location filename="../src/gui.cpp" line="667"/>
|
<location filename="../src/gui.cpp" line="685"/>
|
||||||
<source>Minimum</source>
|
<source>Minimum</source>
|
||||||
<translation>Minimum</translation>
|
<translation>Minimum</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="191"/>
|
<location filename="../src/gui.cpp" line="191"/>
|
||||||
<location filename="../src/gui.cpp" line="431"/>
|
<location filename="../src/gui.cpp" line="444"/>
|
||||||
<source>About GPXSee</source>
|
<source>About GPXSee</source>
|
||||||
<translation>O aplikaci GPXSee</translation>
|
<translation>O aplikaci GPXSee</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="377"/>
|
<location filename="../src/gui.cpp" line="388"/>
|
||||||
<source>Navigation</source>
|
<source>Navigation</source>
|
||||||
<translation>Navigace</translation>
|
<translation>Navigace</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="433"/>
|
<location filename="../src/gui.cpp" line="446"/>
|
||||||
<source>GPX viewer and analyzer</source>
|
<source>GPX viewer and analyzer</source>
|
||||||
<translation>Prohlížeč a analyzátor GPX</translation>
|
<translation>Prohlížeč a analyzátor GPX</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="472"/>
|
<location filename="../src/gui.cpp" line="490"/>
|
||||||
<source>Map sources</source>
|
<source>Map sources</source>
|
||||||
<translation>Mapové zdroje</translation>
|
<translation>Mapové zdroje</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="483"/>
|
<location filename="../src/gui.cpp" line="501"/>
|
||||||
<source>POIs</source>
|
<source>POIs</source>
|
||||||
<translation>POI body</translation>
|
<translation>POI body</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="646"/>
|
<location filename="../src/gui.cpp" line="664"/>
|
||||||
<location filename="../src/gui.cpp" line="658"/>
|
<location filename="../src/gui.cpp" line="676"/>
|
||||||
<source>Distance</source>
|
<source>Distance</source>
|
||||||
<translation>Vzdálenost</translation>
|
<translation>Vzdálenost</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="648"/>
|
<location filename="../src/gui.cpp" line="666"/>
|
||||||
<location filename="../src/gui.cpp" line="660"/>
|
<location filename="../src/gui.cpp" line="678"/>
|
||||||
<source>Time</source>
|
<source>Time</source>
|
||||||
<translation>Čas</translation>
|
<translation>Čas</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="649"/>
|
<location filename="../src/gui.cpp" line="667"/>
|
||||||
<location filename="../src/gui.cpp" line="661"/>
|
<location filename="../src/gui.cpp" line="679"/>
|
||||||
<source>Ascent</source>
|
<source>Ascent</source>
|
||||||
<translation>Stoupání</translation>
|
<translation>Stoupání</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="662"/>
|
<location filename="../src/gui.cpp" line="680"/>
|
||||||
<location filename="../src/gui.cpp" line="664"/>
|
<location filename="../src/gui.cpp" line="682"/>
|
||||||
<location filename="../src/gui.cpp" line="666"/>
|
<location filename="../src/gui.cpp" line="684"/>
|
||||||
<location filename="../src/gui.cpp" line="668"/>
|
<location filename="../src/gui.cpp" line="686"/>
|
||||||
<location filename="../src/gui.cpp" line="823"/>
|
<location filename="../src/gui.cpp" line="841"/>
|
||||||
<source>m</source>
|
<source>m</source>
|
||||||
<translation>m</translation>
|
<translation>m</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="651"/>
|
<location filename="../src/gui.cpp" line="669"/>
|
||||||
<location filename="../src/gui.cpp" line="663"/>
|
<location filename="../src/gui.cpp" line="681"/>
|
||||||
<source>Descent</source>
|
<source>Descent</source>
|
||||||
<translation>Klesání</translation>
|
<translation>Klesání</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="811"/>
|
<location filename="../src/gui.cpp" line="829"/>
|
||||||
<source>%1 tracks</source>
|
<source>%1 tracks</source>
|
||||||
<translation>Počet tras: %1</translation>
|
<translation>Počet tras: %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="659"/>
|
<location filename="../src/gui.cpp" line="677"/>
|
||||||
<location filename="../src/gui.cpp" line="826"/>
|
<location filename="../src/gui.cpp" line="844"/>
|
||||||
<source>km</source>
|
<source>km</source>
|
||||||
<translation>km</translation>
|
<translation>km</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="558"/>
|
<location filename="../src/gui.cpp" line="576"/>
|
||||||
<location filename="../src/gui.cpp" line="583"/>
|
<location filename="../src/gui.cpp" line="601"/>
|
||||||
<source>Error</source>
|
<source>Error</source>
|
||||||
<translation>Chyba</translation>
|
<translation>Chyba</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="553"/>
|
<location filename="../src/gui.cpp" line="571"/>
|
||||||
<source>Error loading GPX file:
|
<source>Error loading GPX file:
|
||||||
%1</source>
|
%1</source>
|
||||||
<translation>Soubor GPX nelze otevřít:
|
<translation>Soubor GPX nelze otevřít:
|
||||||
%1</translation>
|
%1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/gui.cpp" line="579"/>
|
<location filename="../src/gui.cpp" line="597"/>
|
||||||
<source>Error loading POI file:
|
<source>Error loading POI file:
|
||||||
%1</source>
|
%1</source>
|
||||||
<translation>Soubor POI nelze otevřít:
|
<translation>Soubor POI nelze otevřít:
|
||||||
|
40
src/gui.cpp
40
src/gui.cpp
@ -255,6 +255,15 @@ void GUI::createActions()
|
|||||||
} else {
|
} else {
|
||||||
createMapActions();
|
createMapActions();
|
||||||
_showMapAction->setChecked(true);
|
_showMapAction->setChecked(true);
|
||||||
|
|
||||||
|
_nextMapAction = new QAction(tr("Next map"), this);
|
||||||
|
_nextMapAction->setShortcut(QKeySequence::Forward);
|
||||||
|
connect(_nextMapAction, SIGNAL(triggered()), this, SLOT(nextMap()));
|
||||||
|
addAction(_nextMapAction);
|
||||||
|
_prevMapAction = new QAction(tr("Next map"), this);
|
||||||
|
_prevMapAction->setShortcut(QKeySequence::Back);
|
||||||
|
connect(_prevMapAction, SIGNAL(triggered()), this, SLOT(prevMap()));
|
||||||
|
addAction(_prevMapAction);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Settings actions
|
// Settings actions
|
||||||
@ -455,13 +464,18 @@ void GUI::keys()
|
|||||||
msgBox.setWindowTitle(tr("Keyboard controls"));
|
msgBox.setWindowTitle(tr("Keyboard controls"));
|
||||||
msgBox.setText(QString("<h3>") + tr("Keyboard controls") + QString("</h3>"));
|
msgBox.setText(QString("<h3>") + tr("Keyboard controls") + QString("</h3>"));
|
||||||
msgBox.setInformativeText(
|
msgBox.setInformativeText(
|
||||||
QString("<div><table width=\"300\"><tr><td>") + tr("Next file")
|
QString("<div><table width=\"350\"><tr><td>") + tr("Next file")
|
||||||
+ QString("</td><td><i>SPACE</i></td></tr><tr><td>") + tr("Previous file")
|
+ QString("</td><td><i>SPACE</i></td></tr><tr><td>") + tr("Previous file")
|
||||||
+ QString("</td><td><i>BACKSPACE</i></td></tr><tr><td>")
|
+ QString("</td><td><i>BACKSPACE</i></td></tr><tr><td>")
|
||||||
+ tr("First file") + QString("</td><td><i>HOME</i></td></tr><tr><td>")
|
+ tr("First file") + QString("</td><td><i>HOME</i></td></tr><tr><td>")
|
||||||
+ tr("Last file") + QString("</td><td><i>END</i></td></tr><tr><td></td>"
|
+ tr("Last file") + QString("</td><td><i>END</i></td></tr><tr><td>")
|
||||||
"<td></td></tr><tr><td>") + tr("Append modifier")
|
+ tr("Append modifier") + QString("</td><td><i>SHIFT</i></td></tr>"
|
||||||
+ QString("</td><td><i>SHIFT</i></td></tr></table></div>"));
|
"<tr><td></td><td></td></tr><tr><td>")
|
||||||
|
+ tr("Next map") + QString("</td><td><i>")
|
||||||
|
+ _nextMapAction->shortcut().toString() + QString("</i></td></tr><tr><td>")
|
||||||
|
+ tr("Previous map") + QString("</td><td><i>")
|
||||||
|
+ _prevMapAction->shortcut().toString() + QString("</i></td></tr>"
|
||||||
|
"</table></div>"));
|
||||||
|
|
||||||
msgBox.exec();
|
msgBox.exec();
|
||||||
}
|
}
|
||||||
@ -840,6 +854,24 @@ void GUI::mapChanged(int index)
|
|||||||
_track->setMap(_currentMap);
|
_track->setMap(_currentMap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GUI::nextMap()
|
||||||
|
{
|
||||||
|
if (_maps.count() < 2)
|
||||||
|
return;
|
||||||
|
int next = (_maps.indexOf(_currentMap) + 1) % _maps.count();
|
||||||
|
_mapActions.at(next)->setChecked(true);
|
||||||
|
mapChanged(next);
|
||||||
|
}
|
||||||
|
|
||||||
|
void GUI::prevMap()
|
||||||
|
{
|
||||||
|
if (_maps.count() < 2)
|
||||||
|
return;
|
||||||
|
int prev = (_maps.indexOf(_currentMap) + _maps.count() - 1) % _maps.count();
|
||||||
|
_mapActions.at(prev)->setChecked(true);
|
||||||
|
mapChanged(prev);
|
||||||
|
}
|
||||||
|
|
||||||
void GUI::poiFileChecked(int index)
|
void GUI::poiFileChecked(int index)
|
||||||
{
|
{
|
||||||
_poi.enableFile(_poi.files().at(index),
|
_poi.enableFile(_poi.files().at(index),
|
||||||
|
@ -47,6 +47,8 @@ private slots:
|
|||||||
void showToolbars(bool checked);
|
void showToolbars(bool checked);
|
||||||
void showFullscreen(bool checked);
|
void showFullscreen(bool checked);
|
||||||
void clearMapCache();
|
void clearMapCache();
|
||||||
|
void nextMap();
|
||||||
|
void prevMap();
|
||||||
|
|
||||||
void mapChanged(int);
|
void mapChanged(int);
|
||||||
void graphChanged(int);
|
void graphChanged(int);
|
||||||
@ -126,6 +128,8 @@ private:
|
|||||||
QAction *_firstAction;
|
QAction *_firstAction;
|
||||||
QAction *_metricUnitsAction;
|
QAction *_metricUnitsAction;
|
||||||
QAction *_imperialUnitsAction;
|
QAction *_imperialUnitsAction;
|
||||||
|
QAction *_nextMapAction;
|
||||||
|
QAction *_prevMapAction;
|
||||||
QList<QAction*> _mapActions;
|
QList<QAction*> _mapActions;
|
||||||
QList<QAction*> _poiFilesActions;
|
QList<QAction*> _poiFilesActions;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user