Skip to content
Snippets Groups Projects
Commit 716d5830 authored by Enrico Tröger's avatar Enrico Tröger
Browse files

Fix two other tranlation related string problems.

(Old svn revision: 4654)
parent 4e4259ba
No related branches found
No related tags found
No related merge requests found
...@@ -188,7 +188,7 @@ static GtkWidget *create_web_dicts_table(GtkWidget *entry) ...@@ -188,7 +188,7 @@ static GtkWidget *create_web_dicts_table(GtkWidget *entry)
for (i = 0; web_dicts[i].label != NULL; i++) for (i = 0; web_dicts[i].label != NULL; i++)
{ {
offset = i % 2; offset = i % 2;
button = gtk_button_new_with_label(web_dicts[i].label); button = gtk_button_new_with_label(_(web_dicts[i].label));
g_signal_connect(button, "clicked", G_CALLBACK(web_dict_button_clicked), web_dicts[i].url); g_signal_connect(button, "clicked", G_CALLBACK(web_dict_button_clicked), web_dicts[i].url);
g_object_set_data(G_OBJECT(button), "web_entry", entry); g_object_set_data(G_OBJECT(button), "web_entry", entry);
gtk_widget_show(button); gtk_widget_show(button);
......
...@@ -18,18 +18,17 @@ ...@@ -18,18 +18,17 @@
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <libxfce4util/libxfce4util.h> #include <libxfce4util/libxfce4util.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#if HAVE_LOCALE_H #if HAVE_LOCALE_H
# include <locale.h> # include <locale.h>
#endif #endif
...@@ -52,7 +51,7 @@ static GOptionEntry cli_options[] = ...@@ -52,7 +51,7 @@ static GOptionEntry cli_options[] =
{ {
#if GLIB_CHECK_VERSION(2,14,0) #if GLIB_CHECK_VERSION(2,14,0)
/* Note for translators: run xfce4-dict --help and copy the help text for "--help" into this one */ /* Note for translators: run xfce4-dict --help and copy the help text for "--help" into this one */
{ "help", 'h', 0, G_OPTION_ARG_NONE, &show_help, _("Show help options"), NULL }, { "help", 'h', 0, G_OPTION_ARG_NONE, &show_help, N_("Show help options"), NULL },
#endif #endif
{ "dict", 'd', 0, G_OPTION_ARG_NONE, &mode_dict, N_("Search the given text using a Dict server(RFC 2229)"), NULL }, { "dict", 'd', 0, G_OPTION_ARG_NONE, &mode_dict, N_("Search the given text using a Dict server(RFC 2229)"), NULL },
{ "web", 'w', 0, G_OPTION_ARG_NONE, &mode_web, N_("Search the given text using a web-based search engine"), NULL }, { "web", 'w', 0, G_OPTION_ARG_NONE, &mode_web, N_("Search the given text using a web-based search engine"), NULL },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment