Added support to change the spell-checking language.

Bug 720335

* src/client/composer/spell-check-popover.vala
  Implemented a GtkPopover allowing the user to select a
  subset of the currently installed dictionaries for the spell
  checking in the composer widget.

* src/client/util/util-international-vala
  Added detection of installed dictionaries and proper
  translation of the available languages. This requires
  Enchant as an additional dependency.

* src/client/application/geary-config.vala
  Added keys spell-check-visible-languages and
  spell-check-languages in GSettings.
This commit is contained in:
Leonardo Robol 2016-05-16 19:10:24 +02:00 committed by Michael James Gratton
parent 32a7f76360
commit cae4b443c6
10 changed files with 651 additions and 16 deletions

View file

@ -73,6 +73,18 @@
<summary>enable inline spell checking</summary>
<description>True to spell check while typing.</description>
</key>
<key name="spell-check-languages" type="as">
<default>[]</default>
<summary>Languages that shall be used in the spell checker</summary>
<description>List of the languages to use in the spell checker</description>
</key>
<key name="spell-check-visible-languages" type="as">
<default>[]</default>
<summary>Languages that are displayed in the spell checker popover.</summary>
<description>List of languages that are always displayed in the popover of the spell checker.</description>
</key>
<key name="play-sounds" type="b">
<default>true</default>
<summary>enable notification sounds</summary>