[gnome-boxes/make-just-installed-string-translatable: 3/3] vm-creator: Make "Just installed" string translatable



commit 8ac28fe4c7dd305bc2a63de6ed19015f960063c7
Author: Felipe Borges <felipeborges gnome org>
Date:   Mon Jan 27 10:07:30 2020 +0100

    vm-creator: Make "Just installed" string translatable
    
    Fixes #464

 src/vm-creator.vala | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/vm-creator.vala b/src/vm-creator.vala
index 8aa9af29..be52bc3b 100644
--- a/src/vm-creator.vala
+++ b/src/vm-creator.vala
@@ -186,7 +186,8 @@ private void on_machine_state_changed (GLib.Object object, GLib.ParamSpec? pspec
 
     private async void try_create_snapshot (LibvirtMachine machine) {
         try {
-            yield machine.create_snapshot ("Just installed ");
+            // Translators: This is the name of the snapshot taken right after installing a VM.
+            yield machine.create_snapshot (_("Just installed "));
         } catch (GLib.Error error) {
             warning ("Failed to create snapshot for domain '%s': %s", machine.name, error.message);
         }


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