[gnome-settings-daemon] smartcard: Remove unnecessary translations
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] smartcard: Remove unnecessary translations
- Date: Fri, 18 Nov 2011 18:30:46 +0000 (UTC)
commit 9d043059753f1eb396bf62ad4c686510aea077e4
Author: Bastien Nocera <hadess hadess net>
Date: Fri Nov 18 16:52:24 2011 +0000
smartcard: Remove unnecessary translations
plugins/smartcard/gsd-smartcard-manager.c | 4 +-
plugins/smartcard/gsd-smartcard.c | 32 ++++++++++++++--------------
2 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/plugins/smartcard/gsd-smartcard-manager.c b/plugins/smartcard/gsd-smartcard-manager.c
index fe3e68a..586a26b 100644
--- a/plugins/smartcard/gsd-smartcard-manager.c
+++ b/plugins/smartcard/gsd-smartcard-manager.c
@@ -184,8 +184,8 @@ gsd_smartcard_manager_class_install_properties (GsdSmartcardManagerClass *card_c
object_class->set_property = gsd_smartcard_manager_set_property;
object_class->get_property = gsd_smartcard_manager_get_property;
- param_spec = g_param_spec_string ("module-path", _("Module Path"),
- _("path to smartcard PKCS #11 driver"),
+ param_spec = g_param_spec_string ("module-path", "Module Path",
+ "path to smartcard PKCS #11 driver",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_MODULE_PATH, param_spec);
}
diff --git a/plugins/smartcard/gsd-smartcard.c b/plugins/smartcard/gsd-smartcard.c
index f4a98e3..a926df1 100644
--- a/plugins/smartcard/gsd-smartcard.c
+++ b/plugins/smartcard/gsd-smartcard.c
@@ -155,28 +155,28 @@ gsd_smartcard_class_install_properties (GsdSmartcardClass *card_class)
object_class->set_property = gsd_smartcard_set_property;
object_class->get_property = gsd_smartcard_get_property;
- param_spec = g_param_spec_ulong ("slot-id", _("Slot ID"),
- _("The slot the card is in"),
- 1, G_MAXULONG,
- GSD_SMARTCARD_DEFAULT_SLOT_ID,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
+ param_spec = g_param_spec_ulong ("slot-id", "Slot ID",
+ "The slot the card is in",
+ 1, G_MAXULONG,
+ GSD_SMARTCARD_DEFAULT_SLOT_ID,
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_SLOT_ID, param_spec);
- param_spec = g_param_spec_int ("slot-series", _("Slot Series"),
- _("per-slot card identifier"),
- -1, G_MAXINT,
- GSD_SMARTCARD_DEFAULT_SLOT_SERIES,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
+ param_spec = g_param_spec_int ("slot-series", "Slot Series",
+ "per-slot card identifier",
+ -1, G_MAXINT,
+ GSD_SMARTCARD_DEFAULT_SLOT_SERIES,
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_SLOT_SERIES, param_spec);
- param_spec = g_param_spec_string ("name", _("name"),
- _("name"), NULL,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
+ param_spec = g_param_spec_string ("name", "name",
+ "name", NULL,
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_NAME, param_spec);
- param_spec = g_param_spec_pointer ("module", _("Module"),
- _("smartcard driver"),
- G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
+ param_spec = g_param_spec_pointer ("module", "Module",
+ "smartcard driver",
+ G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (object_class, PROP_MODULE, param_spec);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]