[rygel] server: Fix previous commit



commit 41f9778622fd666d6b3bca5cf52f34cce49337f8
Author: Jens Georg <jensg openismus com>
Date:   Fri Jan 25 16:49:28 2013 +0100

    server: Fix previous commit
    
    Premature git bz push.

 src/librygel-server/rygel-item-updater.vala |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/src/librygel-server/rygel-item-updater.vala b/src/librygel-server/rygel-item-updater.vala
index f2d8dfe..6eba9a0 100644
--- a/src/librygel-server/rygel-item-updater.vala
+++ b/src/librygel-server/rygel-item-updater.vala
@@ -159,22 +159,23 @@ internal class Rygel.ItemUpdater: GLib.Object, Rygel.StateMachine {
         case DIDLLiteFragmentResult.CURRENT_BAD_XML:
         case DIDLLiteFragmentResult.CURRENT_INVALID:
             throw new ContentDirectoryError.INVALID_CURRENT_TAG_VALUE
-                                        _("Bad current tag value.");
+                                        (_("Bad current tag value."));
         case DIDLLiteFragmentResult.NEW_BAD_XML:
         case DIDLLiteFragmentResult.NEW_INVALID:
             throw new ContentDirectoryError.INVALID_NEW_TAG_VALUE
-                                        _("Bad new tag value.");
+                                        (_("Bad new tag value."));
         case DIDLLiteFragmentResult.REQUIRED_TAG:
             throw new ContentDirectoryError.REQUIRED_TAG
-                                        _("Tried to delete required tag.");
+                                        (_("Tried to delete required tag."));
         case DIDLLiteFragmentResult.READONLY_TAG:
             throw new ContentDirectoryError.READ_ONLY_TAG
-                                        _("Tried to change read-only property.");
+                                        (_("Tried to change read-only property."));
         case DIDLLiteFragmentResult.MISMATCH:
             throw new ContentDirectoryError.PARAMETER_MISMATCH
-                                        _("Parameter count mismatch.");
+                                        (_("Parameter count mismatch."));
         default:
-            throw new ContentDirectoryError.NO_SUCH_OBJECT ("Unknown error.");
+            throw new ContentDirectoryError.NO_SUCH_OBJECT
+                                        (_("Unknown error."));
         }
     }
 



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