[gnome-boxes] libvirt-machine-props: More translator comments



commit 4d0b650fd7ec89aa338c64b63e6ce5974f6b11b7
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Mar 12 16:48:42 2013 +0200

    libvirt-machine-props: More translator comments
    
    Explain '%s' in CDROM related error messages.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695548

 src/libvirt-machine-properties.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/libvirt-machine-properties.vala b/src/libvirt-machine-properties.vala
index 9957d12..01a9eb0 100644
--- a/src/libvirt-machine-properties.vala
+++ b/src/libvirt-machine-properties.vala
@@ -327,6 +327,8 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
                             empty = false;
                         } catch (GLib.Error e) {
                             var path_basename = get_utf8_basename (path);
+                            // Translators: First '%s' is filename of ISO or CD/DVD device that user 
selected and
+                            //              Second '%s' is name of the box.
                             var msg = _("Insertion of '%s' as a CD/DVD into '%s' failed");
                             machine.got_error (msg.printf (path_basename, machine.name));
                             debug ("Error inserting '%s' as CD into '%s': %s", path_basename, machine.name, 
e.message);
@@ -343,6 +345,7 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
                     button_label.set_text (_("Select"));
                     label.set_markup (Markup.printf_escaped ("<i>%s</i>", _("empty")));
                 } catch (GLib.Error e) {
+                    // Translators: '%s' here is name of the box.
                     machine.got_error (_("Removal of CD/DVD from '%s' failed").printf (machine.name));
                     debug ("Error ejecting CD from '%s': %s", machine.name, e.message);
                 }


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