[eog] EogZoomEntry: Make zoom format string translatable



commit 69f2e329611f417057e115250c8608f9fc0cb009
Author: Felix Riemann <friemann gnome org>
Date:   Mon Feb 27 20:03:01 2017 +0100

    EogZoomEntry: Make zoom format string translatable
    
    Turns out the zoom value on the statusbar is translated
    so this one needs to be translatable as well.

 src/eog-zoom-entry.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/eog-zoom-entry.c b/src/eog-zoom-entry.c
index 12c8fc7..155a445 100644
--- a/src/eog-zoom-entry.c
+++ b/src/eog-zoom-entry.c
@@ -76,7 +76,9 @@ eog_zoom_entry_format_zoom_value (gdouble value)
        /* Mimic the zoom calculation from EogWindow to get matching displays */
        const gint zoom_percent = (gint) floor (value * 100. + 0.5);
 
-       name = g_strdup_printf("%d%%", zoom_percent);
+       /** L10N: This is a percentage value used for the image zoom.
+        * This should be translated similar to the statusbar zoom value. */
+       name = g_strdup_printf(_("%d%%"), zoom_percent);
 
        return name;
 }


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