By looking at the source of the spellchecking plugin, we can see it relied on Hunspell dictionaries.
Let's find all the interesting occurrences of hunspell:
~/.atom/.node-gyp/.atom/.apm/spellchecker/0.9.0/package/vendor/hunspell
~/.atom/.node-gyp/.atom/.apm/spellchecker/0.9.0/package/vendor/hunspell_dictionaries
/usr/local/share/atom/resources/app/node_modules/spell-check/node_modules/spellchecker/src/spellchecker_hunspell.cc
/usr/local/share/atom/resources/app/node_modules/spell-check/node_modules/spellchecker/vendor/hunspell_dictionaries
Now, let's find other dictionaries installed: find / 2>/dev/null | grep ".aff$"
You might get interesting stuff in those directories:
/usr/share/hunspell/[LANGUAGE-SPECIFIC].aff
/usr/share/ispell/[LANGUAGE-SPECIFIC].aff
/usr/share/myspell/dicts/[LANGUAGE-SPECIFIC].aff
/opt/libreoffice4.1/share/extensions/dict-[LANGUAGE-SPECIFIC]/[LANGUAGE-SPECIFIC].aff
~/.mozilla/firefox/[RANDOM-STUFF]/extensions/[LANGUAGE-SPECIFIC]@dictionaries.addons.mozilla.org/dictionaries/
~/.config/libreoffice/3/user/extensions/tmp/extensions/[RANDOM-STUFF].tmp_/[LANGUAGE-SPECIFIC-PLUGIN].oxt/dictionaries/
And now, instead of editing /usr/local/share/atom/resources/app/node_modules/spell-check/node_modules/spellchecker/src/spellchecker_hunspell.cc, backup those files :
/usr/local/share/atom/resources/app/node_modules/spell-check/node_modules/spellchecker/vendor/hunspell_dictionaries/en_US.aff
/usr/local/share/atom/resources/app/node_modules/spell-check/node_modules/spellchecker/vendor/hunspell_dictionaries/en_US.dic
And replace them with some other dictionary. I took the following files, renamed in order to overwrite the two above:
/opt/libreoffice4.1/share/extensions/dict-fr/fr.aff
/opt/libreoffice4.1/share/extensions/dict-fr/fr.dic
Initially, I thought that tweaking ~/.atom/.node-gyp/.atom/.apm/spellchecker/0.9.0/package/vendor/hunspell_dictionaries would do the trick, but actually no.
Not perfect, but better than nothing!
Encore du GIT, avec une bonne synthèse de tout un tas de liens vers des ressources utiles.
Son CV généré à partir de son profil GitHub. Intéressant...ou flippant ?
J'ai commencé à me mettre à Git, et je me suis appuyé sur ces 3 documents pour appréhender le truc :
- Une cheatsheet, parceque c'est toujours bien : http://www.cheat-sheets.org/saved-copy/git-cheat-sheet.pdf
- Une explication pleine de schémas : http://gitolite.com/gcs/index.html
-
- Nouvelle URL, en slideshow : http://gitolite.com/gcs.html#%283%29
- Une explication avec des schémas animés : http://www.miximum.fr/tutos/1546-enfin-comprendre-git