[gnome-color-manager] Add ACCURACY_x to the list of translated metadata keys



commit 5290972de41171ae01988b44d78562f485aa89a3
Author: Richard Hughes <richard hughsie com>
Date:   Thu Jan 12 13:10:09 2012 +0000

    Add ACCURACY_x to the list of translated metadata keys

 src/gcm-utils.h  |    9 +++++++++
 src/gcm-viewer.c |    3 +++
 2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-utils.h b/src/gcm-utils.h
index ce3a2c8..32b6cdd 100644
--- a/src/gcm-utils.h
+++ b/src/gcm-utils.h
@@ -41,6 +41,15 @@
 #ifndef CD_PROFILE_METADATA_CONNECTION_TYPE
 #define CD_PROFILE_METADATA_CONNECTION_TYPE		"CONNECTION_type"
 #endif
+#ifndef CD_PROFILE_METADATA_ACCURACY_DE76_AVG
+#define CD_PROFILE_METADATA_ACCURACY_DE76_AVG		"ACCURACY_dE76_avg"
+#endif
+#ifndef CD_PROFILE_METADATA_ACCURACY_DE76_MAX
+#define CD_PROFILE_METADATA_ACCURACY_DE76_MAX		"ACCURACY_dE76_max"
+#endif
+#ifndef CD_PROFILE_METADATA_ACCURACY_DE76_RMS
+#define CD_PROFILE_METADATA_ACCURACY_DE76_RMS		"ACCURACY_dE76_rms"
+#endif
 
 /* DISTROS: you will have to patch if you have changed the name of these packages */
 #define GCM_PREFS_PACKAGE_NAME_SHARED_COLOR_TARGETS	"shared-color-targets"
diff --git a/src/gcm-viewer.c b/src/gcm-viewer.c
index 6e446fc..37c8dba 100644
--- a/src/gcm-viewer.c
+++ b/src/gcm-viewer.c
@@ -777,6 +777,9 @@ struct {
 	{ CD_PROFILE_METADATA_DATA_SOURCE,		N_("Data source type") },
 	{ CD_PROFILE_METADATA_MAPPING_FORMAT,		N_("Mapping format") },
 	{ CD_PROFILE_METADATA_MAPPING_QUALIFIER,	N_("Mapping qualifier") },
+	{ CD_PROFILE_METADATA_ACCURACY_DE76_AVG,	N_("Delta-E average") },
+	{ CD_PROFILE_METADATA_ACCURACY_DE76_MAX,	N_("Delta-E maximum") },
+	{ CD_PROFILE_METADATA_ACCURACY_DE76_RMS,	N_("Delta-E RMS") },
 	{ CD_PROFILE_METADATA_MEASUREMENT_DEVICE,	N_("Calibration device") },
 	{ CD_PROFILE_METADATA_SCREEN_SURFACE,		N_("Screen surface finish") },
 	{ CD_PROFILE_METADATA_CONNECTION_TYPE,		N_("Connection type") },



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