summaryrefslogtreecommitdiffstats
path: root/gtk/src/audiohandler.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/audiohandler.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/audiohandler.c')
-rw-r--r--gtk/src/audiohandler.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c
index c90e67239..cdf1d16e3 100644
--- a/gtk/src/audiohandler.c
+++ b/gtk/src/audiohandler.c
@@ -11,6 +11,7 @@
* any later version.
*/
+#include <glib/gi18n.h>
#include "ghbcompat.h"
#include "hb.h"
#include "settings.h"
@@ -553,7 +554,7 @@ ghb_audio_list_refresh_selected(signal_user_data_t *ud)
drc = ghb_settings_get_double(asettings, "AudioTrackDRCSlider");
if (drc < 1.0)
- s_drc = g_strdup("Off");
+ s_drc = g_strdup(_("Off"));
else
s_drc = g_strdup_printf("%.1f", drc);
@@ -620,7 +621,7 @@ ghb_audio_list_refresh(signal_user_data_t *ud)
drc = ghb_settings_get_double(asettings, "AudioTrackDRCSlider");
if (drc < 1.0)
- s_drc = g_strdup("Off");
+ s_drc = g_strdup(_("Off"));
else
s_drc = g_strdup_printf("%.1f", drc);
@@ -851,7 +852,7 @@ G_MODULE_EXPORT gchar*
format_drc_cb(GtkScale *scale, gdouble val, signal_user_data_t *ud)
{
if (val < 1.0)
- return g_strdup_printf("%-7s", "Off");
+ return g_strdup_printf("%-7s", _("Off"));
else
return g_strdup_printf("%-7.1f", val);
}
@@ -925,7 +926,7 @@ drc_widget_changed_cb(GtkWidget *widget, gdouble drc, signal_user_data_t *ud)
char *s_drc;
if (drc < 0.99)
- s_drc = g_strdup("Off");
+ s_drc = g_strdup(_("Off"));
else
s_drc = g_strdup_printf("%.1f", drc);
ghb_ui_update( ud, "AudioTrackDRCValue", ghb_string_value(s_drc));
@@ -1040,7 +1041,7 @@ ghb_add_audio_to_ui(GtkBuilder *builder, const GValue *settings)
drc = ghb_settings_get_double(settings, "AudioTrackDRCSlider");
if (drc < 1.0)
- s_drc = g_strdup("Off");
+ s_drc = g_strdup(_("Off"));
else
s_drc = g_strdup_printf("%.1f", drc);