[gnome-packagekit] Add the translations for the InfoReinstalling enum type



commit 6cc89279cb35201da86c16ce9f6961ea51037d35
Author: Richard Hughes <richard hughsie com>
Date:   Mon Aug 24 13:56:47 2009 +0100

    Add the translations for the InfoReinstalling enum type

 src/gpk-enum.c |    9 +++++++++
 src/gpk-enum.h |    1 +
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-enum.c b/src/gpk-enum.c
index c9f026b..ba23d5e 100644
--- a/src/gpk-enum.c
+++ b/src/gpk-enum.c
@@ -52,6 +52,7 @@ static const PkEnumMatch enum_info_icon_name[] = {
 	{PK_INFO_ENUM_COLLECTION_INSTALLED,	"pk-collection-installed"},
 	{PK_INFO_ENUM_COLLECTION_AVAILABLE,	"pk-collection-available"},
 	{PK_INFO_ENUM_FINISHED,			"dialog-information"},
+	{PK_INFO_ENUM_REINSTALLING,		"dialog-information"},
 	{0, NULL}
 };
 
@@ -1167,6 +1168,10 @@ gpk_info_enum_to_localised_present (PkInfoEnum info)
 		/* TRANSLATORS: The action of the package, in present tense */
 		text = _("Obsoleting");
 		break;
+	case PK_INFO_ENUM_REINSTALLING:
+		/* TRANSLATORS: The action of the package, in present tense */
+		text = _("Reinstalling");
+		break;
 	default:
 		egg_warning ("info unrecognised: %s", pk_info_enum_to_text (info));
 	}
@@ -1205,6 +1210,10 @@ gpk_info_enum_to_localised_past (PkInfoEnum info)
 		/* TRANSLATORS: The action of the package, in past tense */
 		text = _("Obsoleted");
 		break;
+	case PK_INFO_ENUM_REINSTALLING:
+		/* TRANSLATORS: The action of the package, in past tense */
+		text = _("Reinstalled");
+		break;
 	default:
 		egg_warning ("info unrecognised: %s", pk_info_enum_to_text (info));
 	}
diff --git a/src/gpk-enum.h b/src/gpk-enum.h
index 703f705..c95c40f 100644
--- a/src/gpk-enum.h
+++ b/src/gpk-enum.h
@@ -129,6 +129,7 @@ typedef guint PkMediaTypeEnum;
 #define PK_ROLE_ENUM_SIMULATE_INSTALL_PACKAGES		(PK_ROLE_ENUM_SIMULATE_INSTALL_FILES + 1)
 #define PK_ROLE_ENUM_SIMULATE_REMOVE_PACKAGES		(PK_ROLE_ENUM_SIMULATE_INSTALL_PACKAGES + 1)
 #define PK_ROLE_ENUM_SIMULATE_UPDATE_PACKAGES		(PK_ROLE_ENUM_SIMULATE_REMOVE_PACKAGES + 1)
+#define PK_INFO_ENUM_REINSTALLING			(PK_INFO_ENUM_FINISHED + 1)
 #endif
 
 void		 gpk_enum_test				(gpointer	 data);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]