recognize all installed dictionaries and select the required ones via spell_langs

This commit is contained in:
berkeviktor@aol.com
2011-08-07 18:26:31 +02:00
parent d8cac3bcfe
commit 69aedf51ce
4 changed files with 22 additions and 7 deletions

View File

@@ -151,6 +151,8 @@ static const setting inputbox_settings[] =
{ST_TOGGLE, N_("Use the Text box font and colors"), P_OFFINTNL(style_inputbox),0,0,0},
#if defined(USE_GTKSPELL) || defined(USE_LIBSEXY)
{ST_TOGGLE, N_("Spell checking"), P_OFFINTNL(gui_input_spell),0,0,0},
{ST_ENTRY, N_("Dictionaries to use:"), P_OFFSETNL(spell_langs),0,0,sizeof prefs.spell_langs},
{ST_LABEL, N_("Use language codes (as in \"share\\locale\"). Separate multiple entries with commas.\nUsing too many dictionaries may cause performance problems.")},
#endif
{ST_HEADER, N_("Nick Completion"),0,0,0},