[rygel] core,tracker: Add comments for translators
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core,tracker: Add comments for translators
- Date: Mon, 19 Apr 2010 23:01:21 +0000 (UTC)
commit cbb1d0d50e1bc2d7d1c431b80f09814d8414ece6
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Apr 20 01:40:39 2010 +0300
core,tracker: Add comments for translators
src/plugins/tracker/rygel-tracker-plugin.vala | 2 ++
src/rygel/rygel-live-response.vala | 1 +
src/rygel/rygel-seekable-response.vala | 2 ++
src/rygel/rygel-user-config.vala | 1 +
4 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-plugin.vala b/src/plugins/tracker/rygel-tracker-plugin.vala
index 5d766de..380bb2f 100644
--- a/src/plugins/tracker/rygel-tracker-plugin.vala
+++ b/src/plugins/tracker/rygel-tracker-plugin.vala
@@ -30,6 +30,8 @@ public class Rygel.TrackerPlugin : Rygel.Plugin {
public TrackerPlugin () {
base.MediaServer ("Tracker",
+ // @REALNAME@ is substituted for user's real name
+ // and it doesn't need translation.
_("@REALNAME@'s media"),
typeof (MediaTracker));
diff --git a/src/rygel/rygel-live-response.vala b/src/rygel/rygel-live-response.vala
index ebb7353..bb27040 100644
--- a/src/rygel/rygel-live-response.vala
+++ b/src/rygel/rygel-live-response.vala
@@ -80,6 +80,7 @@ internal class Rygel.LiveResponse : Rygel.HTTPResponse {
dynamic Element sink = ElementFactory.make ("fakesink", SINK_NAME);
if (sink == null) {
+ // 'fakesink' should not be translated
throw new GstError.MISSING_PLUGIN (_("Plugin 'fakesink' missing"));
}
diff --git a/src/rygel/rygel-seekable-response.vala b/src/rygel/rygel-seekable-response.vala
index a4dee02..4909fa9 100644
--- a/src/rygel/rygel-seekable-response.vala
+++ b/src/rygel/rygel-seekable-response.vala
@@ -83,6 +83,8 @@ internal class Rygel.SeekableResponse : Rygel.HTTPResponse {
SeekType.SET,
this.cancellable);
} catch (Error err) {
+ // Failed to seek to media segment (defined by first and last
+ // byte positions).
warning (_("Failed to seek to %s-%s on URI %s: %s"),
seek.start.to_string (),
seek.stop.to_string (),
diff --git a/src/rygel/rygel-user-config.vala b/src/rygel/rygel-user-config.vala
index 14f34c0..9b16179 100644
--- a/src/rygel/rygel-user-config.vala
+++ b/src/rygel/rygel-user-config.vala
@@ -341,6 +341,7 @@ public class Rygel.UserConfig : GLib.Object, Configuration {
this.set_bool ("general", ENABLED_KEY, false);
}
} catch (GLib.Error err) {
+ // Failed to start/stop Rygel service
warning (_("Failed to %s Rygel service: %s"),
enable? "start": "stop",
err.message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]