[gnome-disk-utility] Mark string for translation



commit 9b9a58976522f265f85981341fa9750ff6a8dfa2
Author: David Zeuthen <davidz redhat com>
Date:   Mon Mar 15 14:26:45 2010 -0400

    Mark string for translation
    
    See this thread
    
     http://mail.gnome.org/archives/gnome-i18n/2010-March/msg00180.html
    
    for permission to do so.
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 src/gdu/gdu-drive.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/gdu/gdu-drive.c b/src/gdu/gdu-drive.c
index 1482886..08af514 100644
--- a/src/gdu/gdu-drive.c
+++ b/src/gdu/gdu-drive.c
@@ -681,8 +681,12 @@ gdu_drive_get_name (GduPresentable *presentable)
         }
 
         if (gdu_device_is_linux_loop (drive->priv->device)) {
-                /* TODO: mark for translation */
-                g_string_append_printf (result, "%s File", strsize);
+                /* Translators: This is the name of a "Drive" backed by a file.
+                 * The %s is the size of the file (e.g. "42 GB" or "5 KB").
+                 *
+                 * See e.g. http://people.freedesktop.org/~david/gnome-loopback-2.png
+                 */
+                g_string_append_printf (result, _("%s File"), strsize);
                 goto out;
         }
 



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