summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-20 12:47:36 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-20 12:47:36 (EST)
commit0b7ff578ada130786ffeb6380124c71aceed2e92 (patch)
tree328e0f64466df2b454a0f9e6664663267afb2cf5
parent6e0a665587b36934962dde67be06d12dd1a95e32 (diff)
downloadmarquee-0b7ff578ada130786ffeb6380124c71aceed2e92.zip
marquee-0b7ff578ada130786ffeb6380124c71aceed2e92.tar.gz
marquee-0b7ff578ada130786ffeb6380124c71aceed2e92.tar.bz2
view-source: Internationalize
-rw-r--r--src/schemes/view-source.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/schemes/view-source.c b/src/schemes/view-source.c
index 28c38ca..4124b8a 100644
--- a/src/schemes/view-source.c
+++ b/src/schemes/view-source.c
@@ -27,6 +27,7 @@
#include <webkit2/webkit2.h>
#include "../application.h"
+#include "../i18n.h"
#include "../utils/resources.h"
#include "../utils/string.h"
@@ -145,6 +146,7 @@ mq_view_source_request(WebKitURISchemeRequest *request,
/* TODO: Handling reloads by newly requesting the resource
* should obviate this. */
respond(request, uri,
- (guchar *) g_strdup("Viewed tab no longer open"), -1);
+ (guchar *) g_strdup(_("Viewed tab no longer open")),
+ -1);
}
}