[gnome-color-manager] trivial: add a couple more argyll messages we	should translate
- From: Richard Hughes <rhughes src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-color-manager] trivial: add a couple more argyll messages we	should translate
 
- Date: Thu, 18 Feb 2010 22:24:00 +0000 (UTC)
 
commit 9a86c5a014bb7afc85d447b6df9f5ea176be3f18
Author: Richard Hughes <richard hughsie com>
Date:   Thu Feb 18 22:14:27 2010 +0000
    trivial: add a couple more argyll messages we should translate
 src/gcm-calibrate-argyll.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-calibrate-argyll.c b/src/gcm-calibrate-argyll.c
index eb5ac68..b3c2b68 100644
--- a/src/gcm-calibrate-argyll.c
+++ b/src/gcm-calibrate-argyll.c
@@ -1399,6 +1399,7 @@ gcm_calibrate_argyll_process_output_cmd (GcmCalibrateArgyll *calibrate_argyll, c
 	    g_strcmp0 (line, "or hit Esc or Q to abort:") == 0 ||
 	    g_strcmp0 (line, "The instrument can be removed from the screen.") == 0 ||
 	    g_strstr_len (line, -1, "User Aborted") != NULL ||
+	    g_str_has_prefix (line, "Perspective correction factors") ||
 	    g_str_has_suffix (line, "key to continue:")) {
 		egg_debug ("VTE: ignore: %s", line);
 		goto out;
@@ -1414,6 +1415,9 @@ gcm_calibrate_argyll_process_output_cmd (GcmCalibrateArgyll *calibrate_argyll, c
 		if (g_strstr_len (line, -1, "No PLD firmware pattern is available") != NULL) {
 			/* TRANSLATORS: message, no firmware is available */
 			message = _("No firmware is installed for this device.");
+		} else if (g_strstr_len (line, -1, "Pattern match wasn't good enough") != NULL) {
+			/* TRANSLATORS: message, the image wasn't good enough */
+			message = _("The pattern match wasn't good enough. Ensure you have the correct type of target selected.");
 		} else {
 			message = found + 8;
 		}
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]