diff options
author | Felix Riemann <friemann@gnome.org> | 2017-02-27 20:03:01 +0100 |
---|---|---|
committer | Felix Riemann <friemann@gnome.org> | 2017-02-27 20:03:01 +0100 |
commit | 69f2e329611f417057e115250c8608f9fc0cb009 (patch) | |
tree | 8c1e4d98c04f1ffcea2ddbd4782f023a6134322a | |
parent | 189dc493699e7e5a3a680a3f1e66b3aef58cd2a7 (diff) | |
download | eog-69f2e329611f417057e115250c8608f9fc0cb009.tar.gz |
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.
-rw-r--r-- | 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 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; } |