From 69f2e329611f417057e115250c8608f9fc0cb009 Mon Sep 17 00:00:00 2001 From: Felix Riemann Date: Mon, 27 Feb 2017 20:03:01 +0100 Subject: 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 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/eog-zoom-entry.c b/src/eog-zoom-entry.c index 12c8fc7e..155a4458 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; } -- cgit v1.2.1