diff --git a/i18n/desktopfiles.en.json b/i18n/desktopfiles.en.json index b4176339..5f38d204 100644 --- a/i18n/desktopfiles.en.json +++ b/i18n/desktopfiles.en.json @@ -1,4 +1,4 @@ { - "Desktop Action remove/Name": "Remove AppImage from system", - "Desktop Action update/Name": "Update AppImage" + "Desktop Action remove/Name": "Remove application from system", + "Desktop Action update/Name": "Update application" } diff --git a/src/shared/shared.cpp b/src/shared/shared.cpp index 247a7bb3..78a23cf4 100644 --- a/src/shared/shared.cpp +++ b/src/shared/shared.cpp @@ -518,7 +518,7 @@ bool installDesktopFileAndIcons(const QString& pathToAppImage, bool resolveColli { const auto removeSectionName = "Desktop Action Remove"; - g_key_file_set_string(desktopFile.get(), removeSectionName, "Name", "Remove AppImage from system"); + g_key_file_set_string(desktopFile.get(), removeSectionName, "Name", "Remove application from system"); g_key_file_set_string(desktopFile.get(), removeSectionName, "Icon", helperIconName); std::ostringstream removeExecPath; @@ -541,7 +541,7 @@ bool installDesktopFileAndIcons(const QString& pathToAppImage, bool resolveColli } } -#ifdef ENABLE_UPDATE_HELPER +#ifdef ENABLE_+_HELPER // add Update action { appimage::update::Updater updater(pathToAppImage.toStdString()); @@ -553,7 +553,7 @@ bool installDesktopFileAndIcons(const QString& pathToAppImage, bool resolveColli const auto updateSectionName = "Desktop Action Update"; - g_key_file_set_string(desktopFile.get(), updateSectionName, "Name", "Update AppImage"); + g_key_file_set_string(desktopFile.get(), updateSectionName, "Name", "Update application"); g_key_file_set_string(desktopFile.get(), updateSectionName, "Icon", helperIconName); std::ostringstream updateExecPath;