diff options
author | Milan Crha <mcrha@redhat.com> | 2010-04-02 03:40:19 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-04-02 03:40:19 +0800 |
commit | b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6 (patch) | |
tree | c931eb292f3610cb9c5687260d56b660db176d47 /addressbook/gui/widgets | |
parent | 125573b8fd62f4d0d38907c95c70168ca984d3c4 (diff) | |
download | gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.tar.gz gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.tar.zst gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.zip |
Bug #325121 - Do not translate developer strings in g_param_spec_*
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-model.c | 6 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-reflow-adapter.c | 16 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 6 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard-label.c | 32 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard-view-widget.c | 16 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard-view.c | 16 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 28 |
7 files changed, 60 insertions, 60 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-model.c b/addressbook/gui/widgets/e-addressbook-model.c index 4d40ced9e8..e323d3d8a5 100644 --- a/addressbook/gui/widgets/e-addressbook-model.c +++ b/addressbook/gui/widgets/e-addressbook-model.c @@ -509,7 +509,7 @@ addressbook_model_class_init (EAddressbookModelClass *class) PROP_BOOK, g_param_spec_object ( "book", - _("Book"), + "Book", NULL, E_TYPE_BOOK, G_PARAM_READWRITE)); @@ -519,7 +519,7 @@ addressbook_model_class_init (EAddressbookModelClass *class) PROP_EDITABLE, g_param_spec_boolean ( "editable", - _("Editable"), + "Editable", NULL, FALSE, G_PARAM_READWRITE)); @@ -529,7 +529,7 @@ addressbook_model_class_init (EAddressbookModelClass *class) PROP_QUERY, g_param_spec_string ( "query", - _("Query"), + "Query", NULL, NULL, G_PARAM_READWRITE | diff --git a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c index 5928f51a74..127b63daa1 100644 --- a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c +++ b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c @@ -410,29 +410,29 @@ e_addressbook_reflow_adapter_class_init (GObjectClass *object_class) g_object_class_install_property (object_class, PROP_BOOK, g_param_spec_object ("book", - _("Book"), - /*_( */"XXX blurb" /*)*/, + "Book", + NULL, E_TYPE_BOOK, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_QUERY, g_param_spec_string ("query", - _("Query"), - /*_( */"XXX blurb" /*)*/, + "Query", + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - _("Editable"), - /*_( */"XXX blurb" /*)*/, + "Editable", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MODEL, g_param_spec_object ("model", - _("Model"), - /*_( */"XXX blurb" /*)*/, + "Model", + NULL, E_TYPE_ADDRESSBOOK_MODEL, G_PARAM_READABLE)); diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 6ffeee56a0..c27bb74d8d 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -755,7 +755,7 @@ addressbook_view_class_init (EAddressbookViewClass *class) PROP_MODEL, g_param_spec_object ( "model", - _("Model"), + "Model", NULL, E_TYPE_ADDRESSBOOK_MODEL, G_PARAM_READABLE)); @@ -771,7 +771,7 @@ addressbook_view_class_init (EAddressbookViewClass *class) PROP_SHELL_VIEW, g_param_spec_object ( "shell-view", - _("Shell View"), + "Shell View", NULL, E_TYPE_SHELL_VIEW, G_PARAM_READWRITE | @@ -782,7 +782,7 @@ addressbook_view_class_init (EAddressbookViewClass *class) PROP_SOURCE, g_param_spec_object ( "source", - _("Source"), + "Source", NULL, E_TYPE_SOURCE, G_PARAM_READWRITE | diff --git a/addressbook/gui/widgets/e-minicard-label.c b/addressbook/gui/widgets/e-minicard-label.c index 4107bb9be8..3b0edc8854 100644 --- a/addressbook/gui/widgets/e-minicard-label.c +++ b/addressbook/gui/widgets/e-minicard-label.c @@ -112,57 +112,57 @@ e_minicard_label_class_init (EMinicardLabelClass *klass) g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_double ("width", - _("Width"), - /*_( */"XXX blurb" /*)*/, + "Width", + NULL, 0.0, G_MAXDOUBLE, 10.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_double ("height", - _("Height"), - /*_( */"XXX blurb" /*)*/, + "Height", + NULL, 0.0, G_MAXDOUBLE, 10.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HAS_FOCUS, g_param_spec_boolean ("has_focus", - _("Has Focus"), - /*_( */"XXX blurb" /*)*/, + "Has Focus", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FIELD, g_param_spec_string ("field", - _("Field"), - /*_( */"XXX blurb" /*)*/, + "Field", + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FIELDNAME, g_param_spec_string ("fieldname", - _("Field Name"), - /*_( */"XXX blurb" /*)*/, + "Field Name", + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_TEXT_MODEL, g_param_spec_object ("text_model", - _("Text Model"), - /*_( */"XXX blurb" /*)*/, + "Text Model", + NULL, E_TYPE_TEXT_MODEL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MAX_FIELD_NAME_WIDTH, g_param_spec_double ("max_field_name_length", - _("Max field name length"), - /*_( */"XXX blurb" /*)*/, + "Max field name length", + NULL, -1.0, G_MAXDOUBLE, -1.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - _("Editable"), - /*_( */"XXX blurb" /*)*/, + "Editable", + NULL, FALSE, G_PARAM_READWRITE)); diff --git a/addressbook/gui/widgets/e-minicard-view-widget.c b/addressbook/gui/widgets/e-minicard-view-widget.c index e6f9791731..0244d13d34 100644 --- a/addressbook/gui/widgets/e-minicard-view-widget.c +++ b/addressbook/gui/widgets/e-minicard-view-widget.c @@ -116,29 +116,29 @@ e_minicard_view_widget_class_init (EMinicardViewWidgetClass *class) g_object_class_install_property (object_class, PROP_BOOK, g_param_spec_object ("book", - _("Book"), - /*_( */"XXX blurb" /*)*/, + "Book", + NULL, E_TYPE_BOOK, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_QUERY, g_param_spec_string ("query", - _("Query"), - /*_( */"XXX blurb" /*)*/, + "Query", + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - _("Editable"), - /*_( */"XXX blurb" /*)*/, + "Editable", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_COLUMN_WIDTH, g_param_spec_double ("column_width", - _("Column Width"), - /*_( */"XXX blurb" /*)*/, + "Column Width", + NULL, 0.0, G_MAXDOUBLE, 150.0, G_PARAM_READWRITE)); diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c index ed8954adcd..04121207e7 100644 --- a/addressbook/gui/widgets/e-minicard-view.c +++ b/addressbook/gui/widgets/e-minicard-view.c @@ -524,29 +524,29 @@ e_minicard_view_class_init (EMinicardViewClass *klass) g_object_class_install_property (object_class, PROP_ADAPTER, g_param_spec_object ("adapter", - _("Adapter"), - /*_( */"XXX blurb" /*)*/, + "Adapter", + NULL, E_TYPE_ADDRESSBOOK_REFLOW_ADAPTER, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_BOOK, g_param_spec_object ("book", - _("Book"), - /*_( */"XXX blurb" /*)*/, + "Book", + NULL, E_TYPE_BOOK, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_QUERY, g_param_spec_string ("query", - _("Query"), - /*_( */"XXX blurb" /*)*/, + "Query", + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - _("Editable"), - /*_( */"XXX blurb" /*)*/, + "Editable", + NULL, FALSE, G_PARAM_READWRITE)); diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index 09a09730f5..8a5783f3ed 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -151,52 +151,52 @@ e_minicard_class_init (EMinicardClass *class) g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_double ("width", - _("Width"), - /*_( */"XXX blurb" /*)*/, + "Width", + NULL, 0.0, G_MAXDOUBLE, 10.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_double ("height", - _("Height"), - /*_( */"XXX blurb" /*)*/, + "Height", + NULL, 0.0, G_MAXDOUBLE, 10.0, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_HAS_FOCUS, /* XXX should be _enum */ g_param_spec_int ("has_focus", - _("Has Focus"), - /*_( */"XXX blurb" /*)*/, + "Has Focus", + NULL, E_MINICARD_FOCUS_TYPE_START, E_MINICARD_FOCUS_TYPE_END, E_MINICARD_FOCUS_TYPE_START, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_SELECTED, g_param_spec_boolean ("selected", - _("Selected"), - /*_( */"XXX blurb" /*)*/, + "Selected", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HAS_CURSOR, g_param_spec_boolean ("has_cursor", - _("Has Cursor"), - /*_( */"XXX blurb" /*)*/, + "Has Cursor", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - _("Editable"), - /*_( */"XXX blurb" /*)*/, + "Editable", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_CONTACT, g_param_spec_object ("contact", - _("Contact"), - /*_( */"XXX blurb" /*)*/, + "Contact", + NULL, E_TYPE_CONTACT, G_PARAM_READWRITE)); |