diff options
author | Piotr Drąg <piotrdrag@gmail.com> | 2015-05-24 19:44:53 +0200 |
---|---|---|
committer | Piotr Drąg <piotrdrag@gmail.com> | 2015-05-24 19:44:53 +0200 |
commit | 0ff53fe27fd3e7f87da3dbfcd667efcd17c16ac0 (patch) | |
tree | 0be06ce68b26afa32eba33aea61fce5ee6c53987 /src | |
parent | bb7a19074c970002f4c686b4413e51118457e432 (diff) | |
download | rygel-0ff53fe27fd3e7f87da3dbfcd667efcd17c16ac0.tar.gz |
Minor translatable strings fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/librygel-server/rygel-item-updater.vala | 2 | ||||
-rw-r--r-- | src/librygel-server/rygel-media-file-item.vala | 2 | ||||
-rw-r--r-- | src/media-engines/gstreamer/rygel-gst-media-engine.vala | 4 | ||||
-rw-r--r-- | src/media-engines/simple/rygel-simple-media-engine.vala | 2 | ||||
-rw-r--r-- | src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala | 2 | ||||
-rw-r--r-- | src/rygel/rygel-cmdline-config.vala | 10 | ||||
-rw-r--r-- | src/rygel/rygel-dbus-service.vala | 2 | ||||
-rw-r--r-- | src/rygel/rygel-main.vala | 4 |
8 files changed, 14 insertions, 14 deletions
diff --git a/src/librygel-server/rygel-item-updater.vala b/src/librygel-server/rygel-item-updater.vala index 95ea52e8..18eb1c2c 100644 --- a/src/librygel-server/rygel-item-updater.vala +++ b/src/librygel-server/rygel-item-updater.vala @@ -71,7 +71,7 @@ internal class Rygel.ItemUpdater: GLib.Object, Rygel.StateMachine { if (this.object_id == null) { // Sorry we can't do anything without the ID throw new ContentDirectoryError.INVALID_ARGS - (_("Object id missing")); + (_("Object ID missing")); } yield this.update_object (); diff --git a/src/librygel-server/rygel-media-file-item.vala b/src/librygel-server/rygel-media-file-item.vala index ea6923d1..fdd3d6f7 100644 --- a/src/librygel-server/rygel-media-file-item.vala +++ b/src/librygel-server/rygel-media-file-item.vala @@ -173,7 +173,7 @@ public abstract class Rygel.MediaFileItem : MediaItem { try { res.protocol = this.get_protocol_for_uri (res.uri); } catch (Error e) { - warning (_("Could not determine protocol for uri %s"), + warning (_("Could not determine protocol for URI %s"), res.uri); } diff --git a/src/media-engines/gstreamer/rygel-gst-media-engine.vala b/src/media-engines/gstreamer/rygel-gst-media-engine.vala index 7ca76b88..9e503adf 100644 --- a/src/media-engines/gstreamer/rygel-gst-media-engine.vala +++ b/src/media-engines/gstreamer/rygel-gst-media-engine.vala @@ -125,7 +125,7 @@ public class Rygel.GstMediaEngine : Rygel.MediaEngine { var parts = source_uri.split ("://", 2); if (parts == null || parts[0] == null) { - warning (_("Invalid uri without prefix: %s"), source_uri); + warning (_("Invalid URI without prefix: %s"), source_uri); return null; } @@ -136,7 +136,7 @@ public class Rygel.GstMediaEngine : Rygel.MediaEngine { parts[0]); if (!Gst.URI.protocol_is_supported (URIType.SRC, parts[0])) { - warning (_("Can't process uri %s with protocol %s"), + warning (_("Can't process URI %s with protocol %s"), source_uri, parts[0]); diff --git a/src/media-engines/simple/rygel-simple-media-engine.vala b/src/media-engines/simple/rygel-simple-media-engine.vala index 0832e3f7..9ac3316c 100644 --- a/src/media-engines/simple/rygel-simple-media-engine.vala +++ b/src/media-engines/simple/rygel-simple-media-engine.vala @@ -64,7 +64,7 @@ internal class Rygel.SimpleMediaEngine : MediaEngine { // For MediaFileItems, uri 0 is the file URI referring directly to the content var source_uri = item.get_primary_uri (); if (!source_uri.has_prefix ("file://")) { - warning (_("Can't process non-file uri %s"), source_uri); + warning (_("Can't process non-file URI %s"), source_uri); } debug ("get_resources_for_item (%s)", source_uri); 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 6d74c293..dbf820c2 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 @@ -95,7 +95,7 @@ public class Rygel.MediaExport.RecursiveFileMonitor : Object { if (!(err is IOError.NOT_FOUND)) { // Avoid warning when file is removed in the meantime, e.g. in // upload case. - warning (_("Failed to get file info for %s: %s"), + warning (_("Failed to get file information for %s: %s"), file.get_uri (), err.message); } else { diff --git a/src/rygel/rygel-cmdline-config.vala b/src/rygel/rygel-cmdline-config.vala index a66246db..92571e33 100644 --- a/src/rygel/rygel-cmdline-config.vala +++ b/src/rygel/rygel-cmdline-config.vala @@ -71,11 +71,11 @@ public class Rygel.CmdlineConfig : GLib.Object, Configuration { // Command-line options const OptionEntry[] OPTIONS = { { "version", 0, 0, OptionArg.NONE, ref version, - "Display version number", null }, + N_("Display version number"), null }, { "network-interface", 'n', 0, OptionArg.STRING_ARRAY, ref ifaces, N_("Network Interfaces"), "INTERFACE" }, { "port", 'p', 0, OptionArg.INT, ref port, - "Port", "PORT" }, + N_("Port"), "PORT" }, { "disable-transcoding", 't', 0, OptionArg.NONE, ref no_transcoding, N_("Disable transcoding"), null }, { "disallow-upload", 'U', 0, OptionArg.NONE, @@ -100,9 +100,9 @@ public class Rygel.CmdlineConfig : GLib.Object, Configuration { { "config", 'c', 0, OptionArg.FILENAME, ref config_file, N_ ("Use configuration file instead of user configuration"), "FILE" }, { "shutdown", 's', 0, OptionArg.NONE, ref shutdown, - N_ ("Shutdown remote Rygel reference"), null }, + N_ ("Shut down remote Rygel reference"), null }, { "replace", 'r', 0, OptionArg.NONE, ref replace, - N_ ("Replace currently running instance of rygel"), null }, + N_ ("Replace currently running instance of Rygel"), null }, { null } }; @@ -147,7 +147,7 @@ public class Rygel.CmdlineConfig : GLib.Object, Configuration { DBusProxyFlags.DO_NOT_LOAD_PROPERTIES); rygel.shutdown (); } catch (Error error) { - warning (_("Failed to shut-down other rygel instance: %s"), + warning (_("Failed to shut down other Rygel instance: %s"), error.message); } diff --git a/src/rygel/rygel-dbus-service.vala b/src/rygel/rygel-dbus-service.vala index ef294e97..725b5a67 100644 --- a/src/rygel/rygel-dbus-service.vala +++ b/src/rygel/rygel-dbus-service.vala @@ -78,7 +78,7 @@ internal class Rygel.DBusService : Object, DBusInterface { return; } - message (_("Another instance of rygel is already running. Not starting.")); + message (_("Another instance of Rygel is already running. Not starting.")); this.main.exit (-15); } } diff --git a/src/rygel/rygel-main.vala b/src/rygel/rygel-main.vala index 0ce8b0be..04f22c3f 100644 --- a/src/rygel/rygel-main.vala +++ b/src/rygel/rygel-main.vala @@ -112,8 +112,8 @@ internal class Rygel.Main : Object { Timeout.add_seconds (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); |