[rygel/wip/didl-s: 21/35] renderer: Mark strings for translation



commit bbcc10e89984b83ad6750da1c0eed0e4294f30c9
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 c7a204d..df07eaf 100644
--- a/src/librygel-renderer/rygel-av-transport.vala
+++ b/src/librygel-renderer/rygel-av-transport.vala
@@ -290,7 +290,7 @@ 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 {
@@ -301,7 +301,7 @@ internal class Rygel.AVTransport : Service {
                     if (mime != null &&
                         !(mime in this.player.get_mime_types () || mime ==
                             "text/xml")) {
-                        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]