[sound-juicer] Don't translate properties
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer] Don't translate properties
- Date: Wed, 17 Feb 2016 17:40:23 +0000 (UTC)
commit c6f3666b344e3d271e0a5e30ac073e868a220cda
Author: Piotr Drąg <piotrdrag gmail com>
Date: Tue Feb 16 22:56:43 2016 +0100
Don't translate properties
They are not user-visible.
libjuicer/sj-extractor.c | 12 ++++++------
src/egg-play-preview.c | 24 ++++++++++++------------
2 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/libjuicer/sj-extractor.c b/libjuicer/sj-extractor.c
index b2c935d..b9e74d4 100644
--- a/libjuicer/sj-extractor.c
+++ b/libjuicer/sj-extractor.c
@@ -189,20 +189,20 @@ sj_extractor_class_init (SjExtractorClass *klass)
/* TODO: make these constructors */
g_object_class_install_property (object_class, PROP_PROFILE,
g_param_spec_pointer ("profile",
- _("Audio Profile"),
- _("The GStreamer Encoding Profile used for encoding
audio"),
+ "Audio Profile",
+ "The GStreamer Encoding Profile used for encoding
audio",
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_PARANOIA,
g_param_spec_int ("paranoia",
- _("Paranoia Level"),
- _("The paranoia level"),
+ "Paranoia Level",
+ "The paranoia level",
0, 255, 8, G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_DEVICE,
g_param_spec_string ("device",
- _("device"),
- _("The device"),
+ "device",
+ "The device",
"",
G_PARAM_READWRITE));
diff --git a/src/egg-play-preview.c b/src/egg-play-preview.c
index 5837686..c683e48 100644
--- a/src/egg-play-preview.c
+++ b/src/egg-play-preview.c
@@ -173,8 +173,8 @@ egg_play_preview_class_init (EggPlayPreviewClass *klass)
g_object_class_install_property (gobject_class,
PROP_URI,
g_param_spec_string ("uri",
-
_("URI"),
-
_("The URI of the audio file"),
+
"URI",
+
"The URI of the audio file",
NULL,
G_PARAM_READWRITE |
G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK |
@@ -183,8 +183,8 @@ egg_play_preview_class_init (EggPlayPreviewClass *klass)
g_object_class_install_property (gobject_class,
PROP_TITLE,
g_param_spec_string ("title",
-
_("Title"),
-
_("The title of the current stream."),
+
"Title",
+
"The title of the current stream.",
NULL,
G_PARAM_READABLE |
G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK |
@@ -193,8 +193,8 @@ egg_play_preview_class_init (EggPlayPreviewClass *klass)
g_object_class_install_property (gobject_class,
PROP_TITLE,
g_param_spec_string ("artist",
-
_("Artist"),
-
_("The artist of the current stream."),
+
"Artist",
+
"The artist of the current stream.",
NULL,
G_PARAM_READABLE |
G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK |
@@ -203,8 +203,8 @@ egg_play_preview_class_init (EggPlayPreviewClass *klass)
g_object_class_install_property (gobject_class,
PROP_ALBUM,
g_param_spec_string ("album",
-
_("Album"),
-
_("The album of the current stream."),
+
"Album",
+
"The album of the current stream.",
NULL,
G_PARAM_READABLE |
G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK |
@@ -213,8 +213,8 @@ egg_play_preview_class_init (EggPlayPreviewClass *klass)
g_object_class_install_property (gobject_class,
PROP_POSITION,
g_param_spec_int64 ("position",
-
_("Position"),
-
_("The position in the current stream in seconds."),
+
"Position",
+
"The position in the current stream in seconds.",
0, G_MAXINT, 0,
G_PARAM_READWRITE |
G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK |
@@ -223,8 +223,8 @@ egg_play_preview_class_init (EggPlayPreviewClass *klass)
g_object_class_install_property (gobject_class,
PROP_DURATION,
g_param_spec_int64 ("duration",
-
_("Duration"),
-
_("The duration of the current stream in seconds."),
+
"Duration",
+
"The duration of the current stream in seconds.",
0, G_MAXINT, 0,
G_PARAM_READABLE |
G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]