summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Drąg <piotrdrag@gmail.com>2015-08-31 14:52:02 +0200
committerEmmanuele Bassi <ebassi@gnome.org>2015-09-01 23:57:00 +0100
commit07f47930b0cb7abd4107fb0dbf9e286209e49213 (patch)
treefd25ca980ba4868290d68d72041664557cc7246f
parent75e88de93f89878cac11d8a0f3431bf3339f430a (diff)
downloadgnome-dictionary-07f47930b0cb7abd4107fb0dbf9e286209e49213.tar.gz
Don't translate properties
They are not user-visible. https://bugzilla.gnome.org/show_bug.cgi?id=754323
-rw-r--r--libgdict/gdict-client-context.c16
-rw-r--r--libgdict/gdict-context.c4
-rw-r--r--libgdict/gdict-source-loader.c8
-rw-r--r--libgdict/gdict-source.c32
-rw-r--r--libgdict/gdict-speller.c12
-rw-r--r--po/POTFILES.in5
6 files changed, 36 insertions, 41 deletions
diff --git a/libgdict/gdict-client-context.c b/libgdict/gdict-client-context.c
index d6376c3..a8aa123 100644
--- a/libgdict/gdict-client-context.c
+++ b/libgdict/gdict-client-context.c
@@ -279,8 +279,8 @@ gdict_client_context_class_init (GdictClientContextClass *klass)
g_object_class_install_property (gobject_class,
PROP_CLIENT_NAME,
g_param_spec_string ("client-name",
- _("Client Name"),
- _("The name of the client of the context object"),
+ "Client Name",
+ "The name of the client of the context object",
NULL,
(G_PARAM_READABLE | G_PARAM_WRITABLE)));
/**
@@ -293,8 +293,8 @@ gdict_client_context_class_init (GdictClientContextClass *klass)
g_object_class_install_property (gobject_class,
PROP_HOSTNAME,
g_param_spec_string ("hostname",
- _("Hostname"),
- _("The hostname of the dictionary server to connect to"),
+ "Hostname",
+ "The hostname of the dictionary server to connect to",
NULL,
(G_PARAM_READABLE | G_PARAM_WRITABLE)));
/**
@@ -307,8 +307,8 @@ gdict_client_context_class_init (GdictClientContextClass *klass)
g_object_class_install_property (gobject_class,
PROP_PORT,
g_param_spec_uint ("port",
- _("Port"),
- _("The port of the dictionary server to connect to"),
+ "Port",
+ "The port of the dictionary server to connect to",
0,
65535,
GDICT_DEFAULT_PORT,
@@ -323,8 +323,8 @@ gdict_client_context_class_init (GdictClientContextClass *klass)
g_object_class_install_property (gobject_class,
PROP_STATUS,
g_param_spec_enum ("status",
- _("Status"),
- _("The status code as returned by the dictionary server"),
+ "Status",
+ "The status code as returned by the dictionary server",
GDICT_TYPE_STATUS_CODE,
GDICT_STATUS_INVALID,
G_PARAM_READABLE));
diff --git a/libgdict/gdict-context.c b/libgdict/gdict-context.c
index 39277bd..ccab7a8 100644
--- a/libgdict/gdict-context.c
+++ b/libgdict/gdict-context.c
@@ -286,8 +286,8 @@ gdict_context_class_init (gpointer g_iface)
*/
g_object_interface_install_property (g_iface,
g_param_spec_boolean ("local-only",
- _("Local Only"),
- _("Whether the context uses only local dictionaries or not"),
+ "Local Only",
+ "Whether the context uses only local dictionaries or not",
FALSE,
(G_PARAM_READABLE | G_PARAM_WRITABLE)));
}
diff --git a/libgdict/gdict-source-loader.c b/libgdict/gdict-source-loader.c
index 1cb3829..1dd4740 100644
--- a/libgdict/gdict-source-loader.c
+++ b/libgdict/gdict-source-loader.c
@@ -167,8 +167,8 @@ gdict_source_loader_class_init (GdictSourceLoaderClass *klass)
g_object_class_install_property (gobject_class,
PROP_PATHS,
g_param_spec_pointer ("paths",
- _("Paths"),
- _("Search paths used by this object"),
+ "Paths",
+ "Search paths used by this object",
G_PARAM_READABLE));
/**
* GdictSourceLoader:sources
@@ -180,8 +180,8 @@ gdict_source_loader_class_init (GdictSourceLoaderClass *klass)
g_object_class_install_property (gobject_class,
PROP_SOURCES,
g_param_spec_pointer ("sources",
- _("Sources"),
- _("Dictionary sources found"),
+ "Sources",
+ "Dictionary sources found",
G_PARAM_READABLE));
/**
diff --git a/libgdict/gdict-source.c b/libgdict/gdict-source.c
index 685e301..964bbc7 100644
--- a/libgdict/gdict-source.c
+++ b/libgdict/gdict-source.c
@@ -234,8 +234,8 @@ gdict_source_class_init (GdictSourceClass *klass)
g_object_class_install_property (gobject_class,
PROP_FILENAME,
g_param_spec_string ("filename",
- _("Filename"),
- _("The filename used by this dictionary source"),
+ "Filename",
+ "The filename used by this dictionary source",
NULL,
G_PARAM_READABLE));
/**
@@ -248,8 +248,8 @@ gdict_source_class_init (GdictSourceClass *klass)
g_object_class_install_property (gobject_class,
PROP_NAME,
g_param_spec_string ("name",
- _("Name"),
- _("The display name of this dictionary source"),
+ "Name",
+ "The display name of this dictionary source",
NULL,
(G_PARAM_READABLE | G_PARAM_WRITABLE)));
/**
@@ -262,8 +262,8 @@ gdict_source_class_init (GdictSourceClass *klass)
g_object_class_install_property (gobject_class,
PROP_DESCRIPTION,
g_param_spec_string ("description",
- _("Description"),
- _("The description of this dictionary source"),
+ "Description",
+ "The description of this dictionary source",
NULL,
(G_PARAM_READABLE | G_PARAM_WRITABLE)));
/**
@@ -276,8 +276,8 @@ gdict_source_class_init (GdictSourceClass *klass)
g_object_class_install_property (gobject_class,
PROP_EDITABLE,
g_param_spec_boolean ("editable",
- _("Editable"),
- _("Whether the dictionary source is editable or not"),
+ "Editable",
+ "Whether the dictionary source is editable or not",
TRUE,
(G_PARAM_STATIC_STRINGS | G_PARAM_READABLE)));
/**
@@ -290,8 +290,8 @@ gdict_source_class_init (GdictSourceClass *klass)
g_object_class_install_property (gobject_class,
PROP_DATABASE,
g_param_spec_string ("database",
- _("Database"),
- _("The default database of this dictionary source"),
+ "Database",
+ "The default database of this dictionary source",
NULL,
(G_PARAM_READABLE | G_PARAM_WRITABLE)));
/**
@@ -304,8 +304,8 @@ gdict_source_class_init (GdictSourceClass *klass)
g_object_class_install_property (gobject_class,
PROP_STRATEGY,
g_param_spec_string ("strategy",
- _("Strategy"),
- _("The default strategy of this dictionary source"),
+ "Strategy",
+ "The default strategy of this dictionary source",
NULL,
(G_PARAM_READABLE | G_PARAM_WRITABLE)));
/**
@@ -318,8 +318,8 @@ gdict_source_class_init (GdictSourceClass *klass)
g_object_class_install_property (gobject_class,
PROP_TRANSPORT,
g_param_spec_enum ("transport",
- _("Transport"),
- _("The transport mechanism used by this dictionary source"),
+ "Transport",
+ "The transport mechanism used by this dictionary source",
GDICT_TYPE_SOURCE_TRANSPORT,
GDICT_SOURCE_TRANSPORT_INVALID,
(G_PARAM_READABLE | G_PARAM_WRITABLE)));
@@ -333,8 +333,8 @@ gdict_source_class_init (GdictSourceClass *klass)
g_object_class_install_property (gobject_class,
PROP_CONTEXT,
g_param_spec_object ("context",
- _("Context"),
- _("The GdictContext bound to this source"),
+ "Context",
+ "The GdictContext bound to this source",
GDICT_TYPE_CONTEXT,
G_PARAM_READABLE));
diff --git a/libgdict/gdict-speller.c b/libgdict/gdict-speller.c
index 9eed474..792ff34 100644
--- a/libgdict/gdict-speller.c
+++ b/libgdict/gdict-speller.c
@@ -359,22 +359,22 @@ gdict_speller_class_init (GdictSpellerClass *klass)
g_object_class_install_property (gobject_class,
PROP_CONTEXT,
g_param_spec_object ("context",
- _("Context"),
- _("The GdictContext object used to get the word definition"),
+ "Context",
+ "The GdictContext object used to get the word definition",
GDICT_TYPE_CONTEXT,
(G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT)));
g_object_class_install_property (gobject_class,
PROP_DATABASE,
g_param_spec_string ("database",
- _("Database"),
- _("The database used to query the GdictContext"),
+ "Database",
+ "The database used to query the GdictContext",
GDICT_DEFAULT_DATABASE,
(G_PARAM_READABLE | G_PARAM_WRITABLE)));
g_object_class_install_property (gobject_class,
PROP_DATABASE,
g_param_spec_string ("strategy",
- _("Strategy"),
- _("The strategy used to query the GdictContext"),
+ "Strategy",
+ "The strategy used to query the GdictContext",
GDICT_DEFAULT_STRATEGY,
(G_PARAM_READABLE | G_PARAM_WRITABLE)));
diff --git a/po/POTFILES.in b/po/POTFILES.in
index c94bb6d..167d8a5 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -11,21 +11,16 @@ data/org.gnome.dictionary.gschema.xml
data/spanish.desktop.in
data/thai.desktop.in
libgdict/gdict-client-context.c
-libgdict/gdict-context.c
libgdict/gdict-database-chooser.c
libgdict/gdict-defbox.c
libgdict/gdict-source.c
libgdict/gdict-source-chooser.c
-libgdict/gdict-source-loader.c
libgdict/gdict-speller.c
libgdict/gdict-strategy-chooser.c
libgdict/gdict-utils.c
src/gdict-about.c
src/gdict-app.c
-src/gdict-common.c
src/gdict-pref-dialog.c
src/gdict-print.c
-src/gdict-sidebar.c
src/gdict-source-dialog.c
src/gdict-window.c
-src/main.c