[gnome-boxes] wizard: Add missing translation mark



commit 2fed727ed71cdc74a6e2476a594b7526ff52caff
Author: Lasse Schuirmann <lasse schuirmann gmail com>
Date:   Sun Aug 10 14:18:14 2014 +0200

    wizard: Add missing translation mark
    
    The "Empty location" string in the exception may be shown to the user
    in wizard.vala, line 373 and should therefore be translated.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=732936

 src/wizard.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index dbd785b..731d8a3 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -263,7 +263,7 @@ private class Boxes.Wizard: Gtk.Stack, Boxes.UI {
                                        throws GLib.Error
                                        requires (probing || progress != null) {
         if (location == "")
-            throw new Boxes.Error.INVALID ("empty location");
+            throw new Boxes.Error.INVALID (_("Empty location"));
 
         var file = location.contains ("://")? File.new_for_uri (location) : File.new_for_path (location);
         var path = file.get_path ();


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