Skip to content

Commit

Permalink
SpellCheck: Rename "Toggle spell check" setting
Browse files Browse the repository at this point in the history
  • Loading branch information
eht16 committed Jan 29, 2022
1 parent bd8a687 commit 27d2bf7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spellcheck/src/gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ static void update_labels(void)
if (sc_info->toolbar_button != NULL)
{
gchar *text = g_strdup_printf(
_("Toggle spell check while typing (current language: %s)"),
_("Toggle spell check (current language: %s)"),
(sc_info->default_language != NULL) ? sc_info->default_language : _("unknown"));
gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(sc_info->toolbar_button), text);
g_free(text);
Expand Down
6 changes: 3 additions & 3 deletions spellcheck/src/scplugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@ void plugin_init(GeanyData *data)
/* setup keybindings */
key_group = plugin_set_key_group(geany_plugin, "spellcheck", KB_COUNT, NULL);
keybindings_set_item(key_group, KB_SPELL_CHECK, sc_gui_kb_run_activate_cb,
0, 0, "spell_check", _("Run Spell Check"), sc_info->submenu_item_default);
0, 0, "spell_check", _("Run Spell Check Once"), sc_info->submenu_item_default);
keybindings_set_item(key_group, KB_SPELL_TOOGLE_TYPING,
sc_gui_kb_toggle_typing_activate_cb, 0, 0, "spell_toggle_typing",
_("Toggle Check While Typing"), NULL);
_("Toggle Spell Check"), NULL);
}


Expand Down Expand Up @@ -330,7 +330,7 @@ GtkWidget *plugin_configure(GtkDialog *dialog)
gtk_box_pack_start(GTK_BOX(vbox), frame_interface, FALSE, FALSE, 3);


check_type = gtk_check_button_new_with_label(_("Check spelling while typing"));
check_type = gtk_check_button_new_with_label(_("Toggle spell check"));
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check_type), sc_info->check_while_typing);

check_on_open = gtk_check_button_new_with_label(_("Check spelling when opening a document"));
Expand Down

0 comments on commit 27d2bf7

Please sign in to comment.