Skip to content

Commit

Permalink
Merge pull request #240 from b4n/fix-missing-translations
Browse files Browse the repository at this point in the history
Fix missing translations
  • Loading branch information
frlan committed Jun 23, 2015
2 parents 62a3337 + 6b43351 commit 5c2740d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions addons/src/ao_wrapwords.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
* MA 02110-1301, USA.
*/

#include "geanyplugin.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include <geanyplugin.h>

#include "addons.h"
#include "ao_wrapwords.h"
Expand Down Expand Up @@ -247,8 +251,8 @@ void ao_enclose_words_config (GtkButton *button, GtkWidget *config_window)
gint i;

dialog = gtk_dialog_new_with_buttons(_("Enclose Characters"), GTK_WINDOW(config_window),
GTK_DIALOG_DESTROY_WITH_PARENT, "Accept", GTK_RESPONSE_ACCEPT,
"Cancel", GTK_RESPONSE_CANCEL, "OK", GTK_RESPONSE_OK, NULL);
GTK_DIALOG_DESTROY_WITH_PARENT, _("Accept"), GTK_RESPONSE_ACCEPT,
_("Cancel"), GTK_RESPONSE_CANCEL, _("OK"), GTK_RESPONSE_OK, NULL);

vbox = ui_dialog_vbox_new (GTK_DIALOG (dialog));
chars_list = gtk_list_store_new (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);
Expand Down
6 changes: 3 additions & 3 deletions projectorganizer/src/prjorg-sidebar.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,9 @@ static void create_dialog_find_tag(void)
gtk_size_group_add_widget(size_group, label);

s_ft_dialog.combo_match = gtk_combo_box_text_new();
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(s_ft_dialog.combo_match), "exact");
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(s_ft_dialog.combo_match), "prefix");
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(s_ft_dialog.combo_match), "pattern");
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(s_ft_dialog.combo_match), _("exact"));
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(s_ft_dialog.combo_match), _("prefix"));
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(s_ft_dialog.combo_match), _("pattern"));
gtk_combo_box_set_active(GTK_COMBO_BOX(s_ft_dialog.combo_match), 1);
gtk_label_set_mnemonic_widget(GTK_LABEL(label), s_ft_dialog.combo_match);

Expand Down
4 changes: 4 additions & 0 deletions tableconvert/src/tableconvert_ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
*
*/

#ifdef HAVE_CONFIG_H
#include "config.h" /* for the gettext domain */
#endif

#include "tableconvert_ui.h"

GtkWidget *main_menu_item = NULL;
Expand Down

0 comments on commit 5c2740d

Please sign in to comment.