[gnome-packagekit] Add the PK_ERROR_ENUM_PACKAGE_FAILED_TO_REMOVE translations
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Add the PK_ERROR_ENUM_PACKAGE_FAILED_TO_REMOVE translations
- Date: Fri, 21 Aug 2009 12:48:25 +0000 (UTC)
commit 4291b1ccba2692b7bc843248ddee3d1dc0cbef09
Author: Richard Hughes <richard hughsie com>
Date: Fri Aug 21 13:47:21 2009 +0100
Add the PK_ERROR_ENUM_PACKAGE_FAILED_TO_REMOVE translations
src/gpk-enum.c | 7 +++++++
src/gpk-enum.h | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-enum.c b/src/gpk-enum.c
index 8842638..5bf44a9 100644
--- a/src/gpk-enum.c
+++ b/src/gpk-enum.c
@@ -497,6 +497,9 @@ gpk_error_enum_to_localised_text (PkErrorCodeEnum code)
case PK_ERROR_ENUM_PACKAGE_FAILED_TO_INSTALL:
text = _("Package failed to install");
break;
+ case PK_ERROR_ENUM_PACKAGE_FAILED_TO_REMOVE:
+ text = _("Package failed to be removed");
+ break;
default:
egg_warning ("Unknown error");
}
@@ -722,6 +725,10 @@ gpk_error_enum_to_localised_message (PkErrorCodeEnum code)
text = _("One of the selected packages failed to install correctly.\n"
"More information is available in the detailed report.");
break;
+ case PK_ERROR_ENUM_PACKAGE_FAILED_TO_REMOVE:
+ text = _("One of the selected packages failed to be removed correctly.\n"
+ "More information is available in the detailed report.");
+ break;
default:
egg_warning ("Unknown error, please report a bug at " GPK_BUGZILLA_URL ".\n"
"More information is available in the detailed report.");
diff --git a/src/gpk-enum.h b/src/gpk-enum.h
index 4f08a42..beec537 100644
--- a/src/gpk-enum.h
+++ b/src/gpk-enum.h
@@ -122,6 +122,7 @@ typedef guint PkMediaTypeEnum;
#define PK_ERROR_ENUM_PACKAGE_FAILED_TO_CONFIGURE (PK_ERROR_ENUM_RESTRICTED_DOWNLOAD + 1)
#define PK_ERROR_ENUM_PACKAGE_FAILED_TO_BUILD (PK_ERROR_ENUM_PACKAGE_FAILED_TO_CONFIGURE + 1)
#define PK_ERROR_ENUM_PACKAGE_FAILED_TO_INSTALL (PK_ERROR_ENUM_PACKAGE_FAILED_TO_BUILD + 1)
+#define PK_ERROR_ENUM_PACKAGE_FAILED_TO_REMOVE (PK_ERROR_ENUM_PACKAGE_FAILED_TO_INSTALL + 1)
#define PK_MESSAGE_ENUM_AUTOREMOVE_IGNORED (PK_MESSAGE_ENUM_PACKAGE_ALREADY_INSTALLED + 1)
#define PK_PROVIDES_ENUM_POSTSCRIPT_DRIVER (PK_PROVIDES_ENUM_HARDWARE_DRIVER + 1)
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]