[rygel] renderer: Mark strings for translation



commit 34b0204f3ff34431bed76e4804838d8e466bb829
Author: Jens Georg <jensg openismus com>
Date:   Tue Nov 20 13:35:22 2012 +0100

    renderer: Mark strings for translation

 src/librygel-renderer/rygel-av-transport.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-av-transport.vala b/src/librygel-renderer/rygel-av-transport.vala
index 7d5ff18..ca3f25b 100644
--- a/src/librygel-renderer/rygel-av-transport.vala
+++ b/src/librygel-renderer/rygel-av-transport.vala
@@ -251,14 +251,14 @@ internal class Rygel.AVTransport : Service {
                              _uri,
                              msg.reason_phrase);
 
-                    action.return_error (716, "Resource not found");
+                    action.return_error (716, _("Resource not found"));
 
                     return;
                 } else {
                     var mime = msg.response_headers.get_one ("Content-Type");
                     if (mime != null &&
                         !(mime in this.player.get_mime_types ())) {
-                        action.return_error (714, "Illegal MIME-type");
+                        action.return_error (714, _("Illegal MIME-type"));
 
                         return;
                     }



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