summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-20 11:02:53 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-20 11:02:53 (EST)
commit442ad4ec92ff9d3339925ed600076f5c18a5cf2b (patch)
tree70633f900ca4fc0faaaa08cb93e3fe91469137fd /src
parent0b94e4a7bd0c6f941cb36967aa9959f6327fd4fc (diff)
downloadmarquee-442ad4ec92ff9d3339925ed600076f5c18a5cf2b.zip
marquee-442ad4ec92ff9d3339925ed600076f5c18a5cf2b.tar.gz
marquee-442ad4ec92ff9d3339925ed600076f5c18a5cf2b.tar.bz2
MqDownload: Internationalize
Diffstat (limited to 'src')
-rw-r--r--src/download.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/download.c b/src/download.c
index dd74487..c97a592 100644
--- a/src/download.c
+++ b/src/download.c
@@ -25,6 +25,7 @@
#include <webkit2/webkit2.h>
#include "config/config.h"
+#include "i18n.h"
struct _MqDownload {
MqConfig *config;
@@ -67,12 +68,12 @@ decide_destination_cb(WebKitDownload *wk_download,
GtkFileChooser *chooser;
gchar *dir;
- dialog = gtk_file_chooser_dialog_new("Save File",
+ dialog = gtk_file_chooser_dialog_new(_("Save File"),
GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(
webkit_download_get_web_view(wk_download)))),
GTK_FILE_CHOOSER_ACTION_SAVE,
- "_Cancel", GTK_RESPONSE_CANCEL,
- "_Save", GTK_RESPONSE_ACCEPT,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("_Save"), GTK_RESPONSE_ACCEPT,
NULL);
chooser = GTK_FILE_CHOOSER(dialog);