Skip to content

Commit

Permalink
Update FileMenuWidget.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaubart committed Jul 5, 2024
1 parent 59e9eb7 commit 6d9a6c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/OpenVario/FileMenuWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void FileMenuWidget::Prepare([[maybe_unused]] ContainerWindow &parent,
});

//-----------------------------------------------------
title.Format(_(" - Upload Files to OpenVario from USB (map, profile. airspce, etc.)"), main_app);
title.Format(_(" - Upload Files to OpenVario from USB (map, profile, etc.)"), main_app);
AddLabel(title);
AddButton(_("Upload Files to OpenVario"), []() {
static constexpr const char *argv[] = {"/usr/bin/transfers.sh",
Expand All @@ -67,7 +67,7 @@ void FileMenuWidget::Prepare([[maybe_unused]] ContainerWindow &parent,
title.Format(_(" - Backup and Restore OpenVario Settings and Files to USB"), main_app);
AddLabel(title);

AddButton(_("Backup"), []() {
AddButton(_("Backup OpenSoar"), []() {
static constexpr const char *argv[] = {
"/usr/bin/transfers.sh", "download-data", _main_app, nullptr
};
Expand All @@ -77,7 +77,7 @@ void FileMenuWidget::Prepare([[maybe_unused]] ContainerWindow &parent,
_("Download files"), argv);
});

AddButton(_("Restore"), []() {
AddButton(_("Restore OpenSoar"), []() {
static constexpr const char *argv[] = {"/usr/bin/transfers.sh",
"restore-data", _main_app, nullptr};

Expand Down

0 comments on commit 6d9a6c7

Please sign in to comment.