aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-18 12:02:55 (GMT)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-21 12:12:39 (GMT)
commit938cbeffe084898ab3258f16478f3664d412f140 (patch)
tree161617c398a914fefbf61f096e2f84331a09c254
parent7df64971add0fc4482ccf88c33372a365ed516fc (diff)
callbacks: allow translating the fps streaming message
Use gettext to allow translating this message: "%.2f fps - current %.2f fps - average" Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rw-r--r--src/callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callbacks.c b/src/callbacks.c
index 0b7aaa1..8c7799d 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -580,7 +580,7 @@ gint fps (GtkWidget * sb)
gchar *stat;
seconds++;
- stat = g_strdup_printf ("%.2f fps - current %.2f fps - average",
+ stat = g_strdup_printf (_("%.2f fps - current %.2f fps - average"),
(float) frames / (float) (2),
(float) frames2 / (float) (seconds * 2));
frames = 0;

Privacy Policy