diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 01:30:58 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 01:30:58 -0600 |
commit | fae65940e8688806b47020f41410540d3caa9bdf (patch) | |
tree | 4914864c8d2f0279f34ffb45fb7a289a623f85a6 /kbabel/datatools | |
parent | af10979845a8766fbd1383775776a3d7a85efb27 (diff) | |
download | tdesdk-fae65940e8688806b47020f41410540d3caa9bdf.tar.gz tdesdk-fae65940e8688806b47020f41410540d3caa9bdf.zip |
Fix references to user profile directory.
Diffstat (limited to 'kbabel/datatools')
-rw-r--r-- | kbabel/datatools/regexp/main.cc | 2 | ||||
-rw-r--r-- | kbabel/datatools/regexp/regexplist.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kbabel/datatools/regexp/main.cc b/kbabel/datatools/regexp/main.cc index eca0be81..7d3c3120 100644 --- a/kbabel/datatools/regexp/main.cc +++ b/kbabel/datatools/regexp/main.cc @@ -110,7 +110,7 @@ bool RegExpTool::run( const TQString& command, void* data, const TQString& datat void RegExpTool::loadExpressions() { // TODO: Change file path - TQFile file( TQDir::homeDirPath() + "/.kde/share/apps/kbabel/regexplist.xml" ); + TQFile file( TQDir::homeDirPath() + "/.trinity/share/apps/kbabel/regexplist.xml" ); TQDomDocument doc; if ( ! file.open( IO_ReadOnly ) ) { diff --git a/kbabel/datatools/regexp/regexplist.xml b/kbabel/datatools/regexp/regexplist.xml index 1cd0b23d..72f647cb 100644 --- a/kbabel/datatools/regexp/regexplist.xml +++ b/kbabel/datatools/regexp/regexplist.xml @@ -10,7 +10,7 @@ ... </regexplist> - Right now the file should be copied to ~/.kde/share/apps/kbabel/regexplist.xml. I'm sorry this cannot be configured but hope it will in the future. By the time if you need another location you have to modify the source code (main.cc) + Right now the file should be copied to ~/.trinity/share/apps/kbabel/regexplist.xml. I'm sorry this cannot be configured but hope it will in the future. By the time if you need another location you have to modify the source code (main.cc) You'll see in the example that most expressions start with '(^| |\\t)+' and then a word. This is to ensure it _is_ a word. Using the usual expressions to ensure we pick up a whole word doesn't work for the catalan language. Anyway, if you need to match a tab be sure you use the '\\t' expression. |