aboutsummaryrefslogtreecommitdiff
path: root/src/slideshow.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-04-15 17:08:44 +0200
committerThomas White <taw@bitwiz.me.uk>2018-04-15 17:09:12 +0200
commit39b16e3f9fa51e737dd4cdfed7def8259757d24c (patch)
treecd19d32fe64364e24d03795d6fdf5d246c309b92 /src/slideshow.c
parenta20ab237477fe774d69fa742d59a5659ede35b15 (diff)
Internationalise all strings in source code
Diffstat (limited to 'src/slideshow.c')
-rw-r--r--src/slideshow.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/slideshow.c b/src/slideshow.c
index 194befd..754a453 100644
--- a/src/slideshow.c
+++ b/src/slideshow.c
@@ -36,6 +36,7 @@
#include "render.h"
#include "pr_clock.h"
#include "frame.h"
+#include "utils.h"
G_DEFINE_TYPE_WITH_CODE(SCSlideshow, sc_slideshow, GTK_TYPE_WINDOW, NULL)
@@ -216,11 +217,11 @@ SCSlideshow *sc_slideshow_new(struct presentation *p, GtkApplication *app)
GdkMonitor *mon_ss;
if ( n_monitors == 1 ) {
mon_ss = gdk_display_get_primary_monitor(display);
- printf("Single monitor mode\n");
+ printf(_("Single monitor mode\n"));
ss->single_monitor = 1;
} else {
mon_ss = gdk_display_get_monitor(display, 1);
- printf("Dual monitor mode\n");
+ printf(_("Dual monitor mode\n"));
ss->single_monitor = 0;
}
@@ -235,7 +236,7 @@ SCSlideshow *sc_slideshow_new(struct presentation *p, GtkApplication *app)
if ( app != NULL ) {
ss->inhibit_cookie = gtk_application_inhibit(app, GTK_WINDOW(ss),
GTK_APPLICATION_INHIBIT_IDLE,
- "Presentation slide show is running");
+ _("Presentation slide show is running"));
}
return ss;