[geany/geany-plugins] 64745d: SpellCheck: Rename "Toggle spell check" setting
Enrico Tröger
git-noreply at geany.org
Sun Apr 3 12:10:48 UTC 2022
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Sun, 13 Feb 2022 16:45:28 UTC
Commit: 64745d48fa3f93c013e28e8e4496190fd8a6638c
https://github.com/geany/geany-plugins/commit/64745d48fa3f93c013e28e8e4496190fd8a6638c
Log Message:
-----------
SpellCheck: Rename "Toggle spell check" setting
Modified Paths:
--------------
spellcheck/src/gui.c
spellcheck/src/scplugin.c
Modified: spellcheck/src/gui.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -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);
Modified: spellcheck/src/scplugin.c
6 lines changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -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);
}
@@ -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"));
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list