Am 16.02.2011 um 01:33 schrieb jo...@lyx.org:

> Author: joost
> Date: Wed Feb 16 01:33:18 2011
> New Revision: 37687
> URL: http://www.lyx.org/trac/changeset/37687
> 
> Log:
> create subdirectories for dictionaries and thesaurus
> 
> Added:
>   dictionaries/trunk/dicts/
>   dictionaries/trunk/thes/

Sorry, I was offline for two days...

The name for the subdirectory in the LyX package below the system directory
where LyX is doing the dictionary lookup is "dict".
In general I don't like directory renaming on install so much.
I propose to change LyX default lookup accordingly to avoid the SVN move.

Stephan

Index: src/HunspellChecker.cpp
===================================================================
--- src/HunspellChecker.cpp     (Revision 37706)
+++ src/HunspellChecker.cpp     (Arbeitskopie)
@@ -77,7 +77,7 @@
 
        /// the location below system/user directory
        /// there the aff+dic files lookup will happen
-       const string dictDirectory(void) const { return "dict"; }
+       const string dictDirectory(void) const { return "dicts"; }
        int maxLookupSelector(void) const { return 3; }
 };
 
Index: src/AspellChecker.cpp
===================================================================
--- src/AspellChecker.cpp       (Revision 37706)
+++ src/AspellChecker.cpp       (Arbeitskopie)
@@ -88,7 +88,7 @@
 
        /// the location below system/user directory
        /// there the rws files lookup will happen
-       const string dictDirectory(void) { return "dict"; }
+       const string dictDirectory(void) { return "dicts"; }
        /// there the dat+cmap files lookup will happen
        const string dataDirectory(void) { return "data"; }
        /// os package directory constants

Reply via email to