[rygel] media-export,i18n: Revisit translatability of strings
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] media-export,i18n: Revisit translatability of strings
- Date: Mon, 7 Jun 2010 13:27:39 +0000 (UTC)
commit b61e5844861405589142aa1536fe490df93cae39
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Jun 7 16:24:53 2010 +0300
media-export,i18n: Revisit translatability of strings
.../media-export/rygel-media-export-database.vala | 2 +-
.../rygel-media-export-media-cache.vala | 4 ++--
.../rygel-media-export-metadata-extractor.vala | 2 +-
.../rygel-media-export-query-container.vala | 6 +-----
4 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-database.vala b/src/plugins/media-export/rygel-media-export-database.vala
index f279406..a13f7b7 100644
--- a/src/plugins/media-export/rygel-media-export-database.vala
+++ b/src/plugins/media-export/rygel-media-export-database.vala
@@ -115,7 +115,7 @@ internal class Rygel.MediaExportDatabase : Object {
throw new DatabaseError.SQLITE_ERROR (db.errmsg ());
}
#if RYGEL_DEBUG_SQL
- debug (_("Query: %s, Time: %f"), sql, t.elapsed ());
+ debug ("Query: %s, Time: %f", sql, t.elapsed ());
#endif
return rc;
diff --git a/src/plugins/media-export/rygel-media-export-media-cache.vala b/src/plugins/media-export/rygel-media-export-media-cache.vala
index 724f1cd..41e5b06 100644
--- a/src/plugins/media-export/rygel-media-export-media-cache.vala
+++ b/src/plugins/media-export/rygel-media-export-media-cache.vala
@@ -449,8 +449,8 @@ public class Rygel.MediaExportMediaCache : Object {
return new Gee.ArrayList<MediaObject> ();
}
- debug (_("Original search: %s"), expression.to_string ());
- debug (_("Parsed search expression: %s"), filter);
+ debug ("Original search: %s", expression.to_string ());
+ debug ("Parsed search expression: %s", filter);
for (int i = 0; i < args.n_values; i++) {
debug ("Arg %d: %s", i, args.get_nth (i).get_string ());
diff --git a/src/plugins/media-export/rygel-media-export-metadata-extractor.vala b/src/plugins/media-export/rygel-media-export-metadata-extractor.vala
index e8a9aac..d8f50d5 100644
--- a/src/plugins/media-export/rygel-media-export-metadata-extractor.vala
+++ b/src/plugins/media-export/rygel-media-export-metadata-extractor.vala
@@ -102,7 +102,7 @@ public class Rygel.MediaExportMetadataExtractor: GLib.Object {
public static MediaExportMetadataExtractor? create() {
if (MediaExportMetadataExtractor.factory == null) {
- debug (_("Checking for gstreamer playbin..."));
+ debug ("Checking for gstreamer element 'playbin'...");
var factory = ElementFactory.find("playbin2");
if (factory != null) {
debug (_("Using playbin2"));
diff --git a/src/plugins/media-export/rygel-media-export-query-container.vala b/src/plugins/media-export/rygel-media-export-query-container.vala
index 91a418a..2476efc 100644
--- a/src/plugins/media-export/rygel-media-export-query-container.vala
+++ b/src/plugins/media-export/rygel-media-export-query-container.vala
@@ -115,10 +115,6 @@ internal class Rygel.MediaExportQueryContainer : Rygel.MediaExportDBContainer {
i += 2;
}
this.child_count = this.count_children ();
- debug (ngettext ("We have %u child.",
- "We have %u children.",
- this.child_count),
- this.child_count);
}
private int count_children () {
@@ -238,7 +234,7 @@ internal class Rygel.MediaExportQueryContainer : Rygel.MediaExportDBContainer {
}
if (!virtual_container_map.has_key (md5)) {
virtual_container_map[md5] = id;
- debug (_("Registering %s for %s"), md5, id);
+ debug ("Registering %s for %s", md5, id);
}
id = PREFIX + md5;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]