From acc49d015e3f599d03fec77968d81040648c4071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Fri, 21 Apr 2017 21:57:29 +0200 Subject: [PATCH] Use only the "Map" word for maps/atlases in the GUI --- lang/gpxsee_cs.ts | 26 +++++++++++--------------- lang/gpxsee_de.ts | 16 ++++++---------- lang/gpxsee_sv.ts | 10 +++------- src/gui.cpp | 6 +++--- 4 files changed, 23 insertions(+), 35 deletions(-) diff --git a/lang/gpxsee_cs.ts b/lang/gpxsee_cs.ts index 07b54dd1..b2ccf91c 100644 --- a/lang/gpxsee_cs.ts +++ b/lang/gpxsee_cs.ts @@ -296,6 +296,7 @@ + Load map Nahrát mapu @@ -497,21 +498,6 @@ The expected structure is one map/atlas in a separate subdirectory. Supported map formats are OziExplorer image-based maps and tiled TrekBuddy maps/atlases (tared and non-tared). Očekávaná struktura je jedna mapa/atlas v samostatném podadresáři. Podporované mapové formáty jsou OziExplorer mapy a TrekBuddy mapy/atlasy (včetně tar varianty). - - - Load Map/Atlas - Nahrát mapu/atlas - - - - Map/Atlas files (*.map *.tba *.tar) - Mapové soubory (*.map *.tba *.tar) - - - - Error loading map/atlas: - Mapu/Atlas nelze načíst: - No files loaded @@ -553,6 +539,16 @@ Routes Trasy + + + Map files (*.map *.tba *.tar) + Mapové soubory (*.map *.tba *.tar) + + + + Error loading map: + Mapu nelze načíst: + %n files diff --git a/lang/gpxsee_de.ts b/lang/gpxsee_de.ts index 08dba393..d38c8e10 100644 --- a/lang/gpxsee_de.ts +++ b/lang/gpxsee_de.ts @@ -296,8 +296,9 @@ + Load map - + Karte laden @@ -502,20 +503,15 @@ The expected structure is one map/atlas in a separate subdirectory. Supported map formats are OziExplorer image-based maps and tiled TrekBuddy maps/atlases (tared and non-tared). Die erwartete Struktur ist eine Karte/ein Atlas pro Unterverzeichnis. Unterstützte Kartenformate sind bildbasierte OziExplorer Karten und tile-basierte TrekBuddy Karten/Atlanten (mit oder ohne tar Kompression). - - - Load Map/Atlas - - - Map/Atlas files (*.map *.tba *.tar) - + Map files (*.map *.tba *.tar) + Karten-Dateien (*.map *.tba *.tar) - Error loading map/atlas: - + Error loading map: + Fehler beim Laden der Karte-Datei: diff --git a/lang/gpxsee_sv.ts b/lang/gpxsee_sv.ts index 5f93b002..fd3c4d01 100644 --- a/lang/gpxsee_sv.ts +++ b/lang/gpxsee_sv.ts @@ -296,6 +296,7 @@ + Load map @@ -502,19 +503,14 @@ The expected structure is one map/atlas in a separate subdirectory. Supported map formats are OziExplorer image-based maps and tiled TrekBuddy maps/atlases (tared and non-tared). Den förväntade strukturen är en karta/atlas i en separat undermapp. Kartformat som stöds är OziExplorer bildbaserade kartor och rutindelade TrekBuddy-kartor/-kartsamlingar (tarerade och icke tarerade). - - - Load Map/Atlas - - - Map/Atlas files (*.map *.tba *.tar) + Map files (*.map *.tba *.tar) - Error loading map/atlas: + Error loading map: diff --git a/src/gui.cpp b/src/gui.cpp index 2611e930..f4555d54 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -1162,8 +1162,8 @@ void GUI::showGraphGrids(bool show) void GUI::loadMap() { - QString fileName = QFileDialog::getOpenFileName(this, tr("Load Map/Atlas"), - QString(), tr("Map/Atlas files (*.map *.tba *.tar)")); + QString fileName = QFileDialog::getOpenFileName(this, tr("Load map"), + QString(), tr("Map files (*.map *.tba *.tar)")); if (fileName.isEmpty()) return; @@ -1180,7 +1180,7 @@ void GUI::loadMap() _clearMapCacheAction->setEnabled(true); a->activate(QAction::Trigger); } else { - QString error = tr("Error loading map/atlas:") + "\n\n" + QString error = tr("Error loading map:") + "\n\n" + fileName + "\n\n" + _ml->errorString(); QMessageBox::critical(this, APP_NAME, error); }