deesmateen / jquery-spellchecker

Automatically exported from code.google.com/p/jquery-spellchecker
0 stars 0 forks source link

Custom messages and l10n #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The messages like "Ignore all" are for English-speaking users.
Here is a quick patch to allow to customize messages.

Then one can translate the interface to French with:
.spellchecker({
  [...]
  messages: {
    ignoreWord: '<a href="#">Ignorer ce mot</a>',
    ignoreAll: '<a href="#">Ignorer tout </a>',
    ignoreForever: '<a href="#" title="Toujours ignorer ce mot (l\'ajouter 
au dictionnaire)">Toujours ignorer ce mot</a>',
    addToDictionary: 'Etes-vous certain de vouloir ajouter "{word}"  au 
dictionnaire ?'
}

Original issue reported on code.google.com by mytskine on 26 Apr 2010 at 11:04

Attachments:

GoogleCodeExporter commented 8 years ago
Localisations strings are now accepted with the new version of the plugin, 
which can be found here: https://github.com/badsyntax/jquery-spellchecker

If you find any issues please create a ticket in the new issue tracker here: 
https://github.com/badsyntax/jquery-spellchecker/issues

Original comment by willis...@gmail.com on 20 Oct 2012 at 4:48