[rygel] core,plugins: Miscellaneous string fixes



commit 595e5729bf0121e7e726aa52733ed7b7466e998d
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sat Aug 28 14:03:22 2010 +0100

    core,plugins: Miscellaneous string fixes
    
    Mostly punctuation fixes.

 .../rygel-media-export-dbus-service.vala           |    2 +-
 .../media-export/rygel-media-export-harvester.vala |    2 +-
 .../rygel-media-export-recursive-file-monitor.vala |    2 +-
 .../rygel-media-export-root-container.vala         |    4 ++--
 src/plugins/playbin/rygel-playbin-player.vala      |    2 +-
 src/rygel/rygel-main.vala                          |    4 ++--
 src/rygel/rygel-plugin-loader.vala                 |    6 +++---
 src/rygel/rygel-root-device-factory.vala           |    2 +-
 8 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-dbus-service.vala b/src/plugins/media-export/rygel-media-export-dbus-service.vala
index e2aa892..5040018 100644
--- a/src/plugins/media-export/rygel-media-export-dbus-service.vala
+++ b/src/plugins/media-export/rygel-media-export-dbus-service.vala
@@ -34,7 +34,7 @@ public class Rygel.MediaExport.DBusService : Object {
                 connection.register_object (RYGEL_MEDIA_EXPORT_PATH, this);
             }
         } catch (DBus.Error err) {
-            warning (_("Failed to attach to DBus session bus: %s"),
+            warning (_("Failed to attach to D-Bus session bus: %s"),
                      err.message);
         }
     }
diff --git a/src/plugins/media-export/rygel-media-export-harvester.vala b/src/plugins/media-export/rygel-media-export-harvester.vala
index 4fb264c..896d5ac 100644
--- a/src/plugins/media-export/rygel-media-export-harvester.vala
+++ b/src/plugins/media-export/rygel-media-export-harvester.vala
@@ -55,7 +55,7 @@ internal class Rygel.MediaExport.Harvester : GLib.Object {
                           MediaContainer parent,
                           string?        flag = null) {
         if (this.extractor == null) {
-            warning (_("No Metadata extractor available. Will not crawl"));
+            warning (_("No metadata extractor available. Will not crawl."));
 
             return;
         }
diff --git a/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala b/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala
index 1a6d099..143f817 100644
--- a/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala
+++ b/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala
@@ -45,7 +45,7 @@ public class Rygel.MediaExport.RecursiveFileMonitor : Object {
             case FileMonitorEvent.DELETED:
                 var file_monitor = this.monitors.get (file);
                 if (file_monitor != null) {
-                    debug (_("Directory %s gone, removing watch"),
+                    debug (_("Directory %s gone; removing watch"),
                            file.get_uri ());
                     this.monitors.unset (file);
                     file_monitor.cancel ();
diff --git a/src/plugins/media-export/rygel-media-export-root-container.vala b/src/plugins/media-export/rygel-media-export-root-container.vala
index 9ef0520..27f437b 100644
--- a/src/plugins/media-export/rygel-media-export-root-container.vala
+++ b/src/plugins/media-export/rygel-media-export-root-container.vala
@@ -316,7 +316,7 @@ public class Rygel.MediaExport.RootContainer : Rygel.MediaExport.DBContainer {
         try {
             this.service = new DBusService (this);
         } catch (Error err) {
-            warning (_("Failed to create MediaExport DBus service: %s"),
+            warning (_("Failed to create MediaExport D-Bus service: %s"),
                      err.message);
         }
 
@@ -350,7 +350,7 @@ public class Rygel.MediaExport.RootContainer : Rygel.MediaExport.DBContainer {
         }
 
         foreach (var id in ids) {
-            debug (_("ID %s no longer in config, deleting..."), id);
+            debug (_("ID %s no longer in config; deleting..."), id);
             try {
                 this.media_db.remove_by_id (id);
             } catch (DatabaseError error) {
diff --git a/src/plugins/playbin/rygel-playbin-player.vala b/src/plugins/playbin/rygel-playbin-player.vala
index b341598..1fe406a 100644
--- a/src/plugins/playbin/rygel-playbin-player.vala
+++ b/src/plugins/playbin/rygel-playbin-player.vala
@@ -63,7 +63,7 @@ public class Rygel.Playbin.Player : GLib.Object, Rygel.MediaPlayer {
         }
 
         set {
-            debug (_("Changing playback state to %s.."), value);
+            debug (_("Changing playback state to %s."), value);
             this._playback_state = value;
 
             switch (this._playback_state) {
diff --git a/src/rygel/rygel-main.vala b/src/rygel/rygel-main.vala
index 10d4ffe..d4c7b5a 100644
--- a/src/rygel/rygel-main.vala
+++ b/src/rygel/rygel-main.vala
@@ -77,8 +77,8 @@ public class Rygel.Main : Object {
 
         Timeout.add_seconds (PLUGIN_TIMEOUT, () => {
             if (this.plugin_loader.list_plugins ().size == 0) {
-                warning (ngettext ("No plugins found in %d second, giving up..",
-                                   "No plugins found in %d seconds, giving up..",
+                warning (ngettext ("No plugins found in %d second; giving up..",
+                                   "No plugins found in %d seconds; giving up..",
                                    PLUGIN_TIMEOUT),
                          PLUGIN_TIMEOUT);
 
diff --git a/src/rygel/rygel-plugin-loader.vala b/src/rygel/rygel-plugin-loader.vala
index 8e290a3..e968374 100644
--- a/src/rygel/rygel-plugin-loader.vala
+++ b/src/rygel/rygel-plugin-loader.vala
@@ -72,7 +72,7 @@ public class Rygel.PluginLoader : Object {
             this.plugin_hash.set (plugin.name, plugin);
             this.plugin_available (plugin);
         } else {
-            debug (_("Plugin '%s' disabled in user configuration, ignoring.."),
+            debug (_("Plugin '%s' disabled in user configuration; ignoring.."),
                    plugin.name);
         }
     }
@@ -86,7 +86,7 @@ public class Rygel.PluginLoader : Object {
     }
 
     private async void load_modules_from_dir (File dir) {
-        debug (_("Searching for modules in folder '%s' .."), dir.get_path ());
+        debug (_("Searching for modules in folder '%s'."), dir.get_path ());
 
         string attributes = FILE_ATTRIBUTE_STANDARD_NAME + "," +
                             FILE_ATTRIBUTE_STANDARD_TYPE + "," +
@@ -138,7 +138,7 @@ public class Rygel.PluginLoader : Object {
     private void load_module_from_file (string file_path) {
         Module module = Module.open (file_path, ModuleFlags.BIND_LOCAL);
         if (module == null) {
-            warning (_("Failed to load module from path '%s' : %s"),
+            warning (_("Failed to load module from path '%s': %s"),
                      file_path,
                      Module.error ());
 
diff --git a/src/rygel/rygel-root-device-factory.vala b/src/rygel/rygel-root-device-factory.vala
index b2d7477..e69451e 100644
--- a/src/rygel/rygel-root-device-factory.vala
+++ b/src/rygel/rygel-root-device-factory.vala
@@ -241,7 +241,7 @@ internal class Rygel.RootDeviceFactory {
         var icons = plugin.icon_infos;
 
         if (icons == null || icons.size == 0) {
-            debug (_("No icon provided by plugin '%s'. Using Rygel logo.."),
+            debug (_("No icon provided by plugin '%s'. Using Rygel logo."),
                    plugin.name);
 
             icons = plugin.default_icons;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]