[gnome-boxes] Use ngettext to translate "%d%% installed"



commit f1838788555d4d1f0bed07cbbc6c028483dfefd6
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Mon Aug 27 12:53:44 2012 +0200

    Use ngettext to translate "%d%% installed"
    
    'installed' is invariant in English, but this is not necessarily true
    in other languages, so it's better to use ngettext to translate this
    string.
    This commit also changes the initial 'I' of 'Installed' to be
    lower case.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=682300

 src/vm-creator.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vm-creator.vala b/src/vm-creator.vala
index b337d54..2e7bb35 100644
--- a/src/vm-creator.vala
+++ b/src/vm-creator.vala
@@ -214,7 +214,7 @@ private class Boxes.VMCreator {
         if (progress < 0)
             return;
 
-        machine.info = _("%d%% Installed").printf (progress);
+        machine.info = ngettext ("%d%% installed", "%d%% installed", progress).printf (progress);
         prev_progress = progress;
         updating_install_progress = false;
     }



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