[banshee] i18n: Clean up GStreamer-related error messages
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] i18n: Clean up GStreamer-related error messages
- Date: Sun, 9 Oct 2011 11:46:52 +0000 (UTC)
commit 91c9a80081a6783174f6ceeb1b1db4d1c95380c3
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Sun Oct 9 13:39:56 2011 +0200
i18n: Clean up GStreamer-related error messages
Make sure the strings used for error messages by libbanshee and the
GStreamer# backends are the same. This is so that translators don't have
to translate them twice just because they have different punctuation.
libbanshee/banshee-transcoder.c | 8 ++++----
.../Banshee.GStreamerSharp/Transcoder.cs | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/libbanshee/banshee-transcoder.c b/libbanshee/banshee-transcoder.c
index aa288ec..10fc35c 100644
--- a/libbanshee/banshee-transcoder.c
+++ b/libbanshee/banshee-transcoder.c
@@ -243,7 +243,7 @@ gst_transcoder_create_pipeline(GstTranscoder *transcoder,
decoder_elem = gst_element_factory_make("decodebin2", "decodebin2");
if(decoder_elem == NULL) {
- gst_transcoder_raise_error(transcoder, _("Could not create 'decodebin2' plugin"), NULL);
+ gst_transcoder_raise_error(transcoder, _("Could not create decodebin2 plugin"), NULL);
return FALSE;
}
@@ -255,19 +255,19 @@ gst_transcoder_create_pipeline(GstTranscoder *transcoder,
transcoder->sink_bin = gst_bin_new("sinkbin");
if(transcoder->sink_bin == NULL) {
- gst_transcoder_raise_error(transcoder, _("Could not create 'sinkben' plugin"), NULL);
+ gst_transcoder_raise_error(transcoder, _("Could not create sinkbin plugin"), NULL);
return FALSE;
}
conv_elem = gst_element_factory_make("audioconvert", "audioconvert");
if(conv_elem == NULL) {
- gst_transcoder_raise_error(transcoder, _("Could not create 'audioconvert' plugin"), NULL);
+ gst_transcoder_raise_error(transcoder, _("Could not create audioconvert plugin"), NULL);
return FALSE;
}
resample_elem = gst_element_factory_make("audioresample", "audioresample");
if(resample_elem == NULL) {
- gst_transcoder_raise_error(transcoder, _("Could not create 'audioresample' plugin"), NULL);
+ gst_transcoder_raise_error(transcoder, _("Could not create audioresample plugin"), NULL);
return FALSE;
}
diff --git a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/Transcoder.cs b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/Transcoder.cs
index 5ad02eb..0836655 100644
--- a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/Transcoder.cs
+++ b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/Transcoder.cs
@@ -65,12 +65,12 @@ namespace Banshee.GStreamerSharp
conv_elem = ElementFactory.Make ("audioconvert", "audioconvert");
if (conv_elem == null) {
- throw new Exception (Catalog.GetString ("Could not create 'audioconvert' plugin"));
+ throw new Exception (Catalog.GetString ("Could not create audioconvert plugin"));
}
resample_elem = ElementFactory.Make ("audioresample", "audioresample");
if (resample_elem == null) {
- throw new Exception (Catalog.GetString ("Could not create 'audioresample' plugin"));
+ throw new Exception (Catalog.GetString ("Could not create audioresample plugin"));
}
try {
@@ -184,7 +184,7 @@ namespace Banshee.GStreamerSharp
decoder_elem = ElementFactory.Make ("decodebin2", "decodebin2");
if (decoder_elem == null) {
- RaiseError (current_track, Catalog.GetString ("Could not create 'decodebin2' plugin"));
+ RaiseError (current_track, Catalog.GetString ("Could not create decodebin2 plugin"));
return false;
}
@@ -195,7 +195,7 @@ namespace Banshee.GStreamerSharp
}
if (sink_bin == null) {
- RaiseError (current_track, Catalog.GetString ("Could not create 'sinkbin' plugin"));
+ RaiseError (current_track, Catalog.GetString ("Could not create sinkbin plugin"));
return false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]