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-28 11:15:08 (GMT)
commit1af74353182e22ff17748bdf8ffc3cc2c180fd3f (patch)
tree161617c398a914fefbf61f096e2f84331a09c254
parent9f8922d236093e4e2b6a44e4747d6ec01a37f0e5 (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