[gnome-packagekit] Add some missing punctuation in some of the restart strings



commit 0a342ec3179fc996cae9c78bff94d96d6324a71b
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jul 27 08:15:53 2009 +0100

    Add some missing punctuation in some of the restart strings

 src/gpk-enum.c  |   24 ++++++++++++------------
 src/gpk-watch.c |    2 +-
 2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/src/gpk-enum.c b/src/gpk-enum.c
index c2a6750..52af3d0 100644
--- a/src/gpk-enum.c
+++ b/src/gpk-enum.c
@@ -709,22 +709,22 @@ gpk_restart_enum_to_localised_text_future (PkRestartEnum restart)
 	const gchar *text = NULL;
 	switch (restart) {
 	case PK_RESTART_ENUM_NONE:
-		text = _("No restart is necessary");
+		text = _("No restart is necessary.");
 		break;
 	case PK_RESTART_ENUM_APPLICATION:
-		text = _("You will be required to restart this application");
+		text = _("You will be required to restart this application.");
 		break;
 	case PK_RESTART_ENUM_SESSION:
-		text = _("You will be required to log out and back in");
+		text = _("You will be required to log out and back in.");
 		break;
 	case PK_RESTART_ENUM_SYSTEM:
-		text = _("A restart will be required");
+		text = _("A restart will be required.");
 		break;
 	case PK_RESTART_ENUM_SECURITY_SESSION:
-		text = _("You will be required to log out and back in due to a security update");
+		text = _("You will be required to log out and back in due to a security update.");
 		break;
 	case PK_RESTART_ENUM_SECURITY_SYSTEM:
-		text = _("A restart will be required due to a security update");
+		text = _("A restart will be required due to a security update.");
 		break;
 	default:
 		egg_warning ("restart unrecognised: %i", restart);
@@ -741,22 +741,22 @@ gpk_restart_enum_to_localised_text (PkRestartEnum restart)
 	const gchar *text = NULL;
 	switch (restart) {
 	case PK_RESTART_ENUM_NONE:
-		text = _("No restart is required");
+		text = _("No restart is required.");
 		break;
 	case PK_RESTART_ENUM_SYSTEM:
-		text = _("A restart is required");
+		text = _("A restart is required.");
 		break;
 	case PK_RESTART_ENUM_SESSION:
-		text = _("You need to log out and log back in");
+		text = _("You need to log out and log back in.");
 		break;
 	case PK_RESTART_ENUM_APPLICATION:
-		text = _("You need to restart the application");
+		text = _("You need to restart the application.");
 		break;
 	case PK_RESTART_ENUM_SECURITY_SESSION:
-		text = _("You need to log out and log back in to remain secure, as important security updates have recently been installed");
+		text = _("You need to log out and log back in to remain secure, as important security updates have recently been installed.");
 		break;
 	case PK_RESTART_ENUM_SECURITY_SYSTEM:
-		text = _("A restart is required to remain secure, as important security updates have recently been installed");
+		text = _("A restart is required to remain secure, as important security updates have recently been installed.");
 		break;
 	default:
 		egg_warning ("restart unrecognised: %i", restart);
diff --git a/src/gpk-watch.c b/src/gpk-watch.c
index 14d53ee..7bf870f 100644
--- a/src/gpk-watch.c
+++ b/src/gpk-watch.c
@@ -153,7 +153,7 @@ gpk_watch_get_restart_required_tooltip (GpkWatch *watch)
 		if (package_loc != NULL) {
 			/* TRANSLATORS: a list of packages is shown that need to restarted */
 			message = g_strdup_printf (ngettext ("This is due to the %s package being updated.",
-							     "This is due to the following packages being updated: %s", len), package_loc);
+							     "This is due to the following packages being updated: %s.", len), package_loc);
 		} else {
 			/* TRANSLATORS: over 5 packages require the system to be restarted, don't list them all here */
 			message = g_strdup_printf (ngettext ("This is because %i package has been updated.",



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