[gnome-color-manager] trivial: use the en_US spelling of analyze internally and in the UI
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: use the en_US spelling of analyze internally and in the UI
- Date: Mon, 1 Mar 2010 10:07:28 +0000 (UTC)
commit 2347dddbf786159f2959e3e4e203fdbb0cf3826b
Author: Richard Hughes <richard hughsie com>
Date: Mon Mar 1 10:03:17 2010 +0000
trivial: use the en_US spelling of analyze internally and in the UI
data/gcm-calibrate.ui | 4 ++--
src/gcm-calibrate-argyll.c | 2 +-
src/gcm-calibrate-dialog.c | 10 +++++-----
src/gcm-calibrate.c | 2 +-
src/gcm-calibrate.h | 2 +-
5 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/data/gcm-calibrate.ui b/data/gcm-calibrate.ui
index 486cd9f..f09e0ed 100644
--- a/data/gcm-calibrate.ui
+++ b/data/gcm-calibrate.ui
@@ -649,7 +649,7 @@
</packing>
</child>
<child>
- <object class="GtkButton" id="button_print_analyse">
+ <object class="GtkButton" id="button_print_analyze">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -671,7 +671,7 @@
<child>
<object class="GtkLabel" id="label19">
<property name="visible">True</property>
- <property name="label" translatable="yes">Analyse Print Shop Images</property>
+ <property name="label" translatable="yes">Analyze Print Shop Images</property>
</object>
<packing>
<property name="position">1</property>
diff --git a/src/gcm-calibrate-argyll.c b/src/gcm-calibrate-argyll.c
index 4511e6e..1a86b51 100644
--- a/src/gcm-calibrate-argyll.c
+++ b/src/gcm-calibrate-argyll.c
@@ -1748,7 +1748,7 @@ gcm_calibrate_argyll_printer (GcmCalibrate *calibrate, GtkWindow *window, GError
}
/* we need to read the ti2 file to set the device used for calibration */
- if (print_kind == GCM_CALIBRATE_PRINT_KIND_ANALYSE) {
+ if (print_kind == GCM_CALIBRATE_PRINT_KIND_ANALYZE) {
filename = g_strdup_printf ("%s/%s.ti2", working_path, basename);
ret = g_file_test (filename, G_FILE_TEST_EXISTS);
if (!ret) {
diff --git a/src/gcm-calibrate-dialog.c b/src/gcm-calibrate-dialog.c
index 9401e9e..09f37ab 100644
--- a/src/gcm-calibrate-dialog.c
+++ b/src/gcm-calibrate-dialog.c
@@ -150,12 +150,12 @@ gcm_calibrate_dialog_button_clicked_print_generate_cb (GtkWidget *widget, GcmCal
}
/**
- * gcm_calibrate_dialog_button_clicked_print_analyse_cb:
+ * gcm_calibrate_dialog_button_clicked_print_analyze_cb:
**/
static void
-gcm_calibrate_dialog_button_clicked_print_analyse_cb (GtkWidget *widget, GcmCalibrateDialog *calibrate_dialog)
+gcm_calibrate_dialog_button_clicked_print_analyze_cb (GtkWidget *widget, GcmCalibrateDialog *calibrate_dialog)
{
- calibrate_dialog->priv->print_kind = GCM_CALIBRATE_PRINT_KIND_ANALYSE;
+ calibrate_dialog->priv->print_kind = GCM_CALIBRATE_PRINT_KIND_ANALYZE;
gcm_calibrate_dialog_emit_response (calibrate_dialog, GTK_RESPONSE_OK);
}
@@ -735,9 +735,9 @@ gcm_calibrate_dialog_init (GcmCalibrateDialog *calibrate_dialog)
widget = GTK_WIDGET (gtk_builder_get_object (calibrate_dialog->priv->builder, "button_print_generate"));
g_signal_connect (widget, "clicked",
G_CALLBACK (gcm_calibrate_dialog_button_clicked_print_generate_cb), calibrate_dialog);
- widget = GTK_WIDGET (gtk_builder_get_object (calibrate_dialog->priv->builder, "button_print_analyse"));
+ widget = GTK_WIDGET (gtk_builder_get_object (calibrate_dialog->priv->builder, "button_print_analyze"));
g_signal_connect (widget, "clicked",
- G_CALLBACK (gcm_calibrate_dialog_button_clicked_print_analyse_cb), calibrate_dialog);
+ G_CALLBACK (gcm_calibrate_dialog_button_clicked_print_analyze_cb), calibrate_dialog);
widget = GTK_WIDGET (gtk_builder_get_object (calibrate_dialog->priv->builder, "image_target"));
gtk_widget_set_size_request (widget, 200, 140);
diff --git a/src/gcm-calibrate.c b/src/gcm-calibrate.c
index 70c3bf3..c07098a 100644
--- a/src/gcm-calibrate.c
+++ b/src/gcm-calibrate.c
@@ -785,7 +785,7 @@ gcm_calibrate_printer (GcmCalibrate *calibrate, GtkWindow *window, GError **erro
/* copy */
g_object_get (priv->calibrate_dialog, "print-kind", &priv->print_kind, NULL);
- if (priv->print_kind != GCM_CALIBRATE_PRINT_KIND_ANALYSE) {
+ if (priv->print_kind != GCM_CALIBRATE_PRINT_KIND_ANALYZE) {
/* set the per-profile filename */
ret = gcm_calibrate_set_working_path (calibrate, error);
if (!ret)
diff --git a/src/gcm-calibrate.h b/src/gcm-calibrate.h
index 20761c6..b65a934 100644
--- a/src/gcm-calibrate.h
+++ b/src/gcm-calibrate.h
@@ -101,7 +101,7 @@ typedef enum {
typedef enum {
GCM_CALIBRATE_PRINT_KIND_LOCAL,
GCM_CALIBRATE_PRINT_KIND_GENERATE,
- GCM_CALIBRATE_PRINT_KIND_ANALYSE,
+ GCM_CALIBRATE_PRINT_KIND_ANALYZE,
GCM_CALIBRATE_PRINT_KIND_UNKNOWN
} GcmCalibratePrintKind;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]