summaryrefslogtreecommitdiffstats
path: root/gtk/src/preview.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2013-08-01 00:23:58 +0000
committerjstebbins <[email protected]>2013-08-01 00:23:58 +0000
commit7cb083b6bb9d63a29104a6726c9d683c3e8b0b72 (patch)
tree17120506450345b225c39913bb12dc2c38e444ea /gtk/src/preview.c
parent1ccc3bb50f1776015612f100e7d4fec6993dc052 (diff)
LinGui: mark more strings as translation candidates
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5678 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/preview.c')
-rw-r--r--gtk/src/preview.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/gtk/src/preview.c b/gtk/src/preview.c
index 126943a54..561deb15a 100644
--- a/gtk/src/preview.c
+++ b/gtk/src/preview.c
@@ -14,6 +14,7 @@
#include <unistd.h>
#include <glib.h>
#include <glib/gstdio.h>
+#include <glib/gi18n.h>
#include <glib-object.h>
#include "ghbcompat.h"
@@ -558,8 +559,8 @@ live_preview_cb(GstBus *bus, GstMessage *msg, gpointer data)
gchar *message, *desc;
desc = gst_missing_plugin_message_get_description(msg);
message = g_strdup_printf(
- "Missing GStreamer plugin\n"
- "Audio or Video may not play as expected\n\n%s",
+ _("Missing GStreamer plugin\n"
+ "Audio or Video may not play as expected\n\n%s"),
desc);
ghb_message_dialog(GTK_MESSAGE_WARNING, message, "Ok", NULL);
g_free(message);
@@ -1286,16 +1287,16 @@ picture_settings_alt2_clicked_cb(GtkWidget *xwidget, signal_user_data_t *ud)
window = GHB_WIDGET(ud->builder, "settings_window");
if (!active)
{
- gtk_button_set_label(GTK_BUTTON(toggle), "Hide Settings");
+ gtk_button_set_label(GTK_BUTTON(toggle), _("Hide Settings"));
gtk_widget_set_tooltip_text(toggle,
- "Hide the picture settings window while "
- "leaving the preview visible.");
+ _("Hide the picture settings window while "
+ "leaving the preview visible."));
gtk_widget_show(window);
}
else
{
- gtk_button_set_label(GTK_BUTTON(toggle), "Show Settings");
- gtk_widget_set_tooltip_text(toggle, "Show picture settings.");
+ gtk_button_set_label(GTK_BUTTON(toggle), _("Show Settings"));
+ gtk_widget_set_tooltip_text(toggle, _("Show picture settings."));
gtk_widget_hide(window);
}
}