summaryrefslogtreecommitdiffstats
path: root/kdecore/kcatalogue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kcatalogue.cpp')
-rw-r--r--kdecore/kcatalogue.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/kdecore/kcatalogue.cpp b/kdecore/kcatalogue.cpp
index 8bc81125e..3669b40b4 100644
--- a/kdecore/kcatalogue.cpp
+++ b/kdecore/kcatalogue.cpp
@@ -66,7 +66,11 @@ KCatalogue::KCatalogue(const TQString & name, const TQString & language )
.arg( d->language )
.arg( d->name );
- setFileName( locate( "locale", path ) );
+ TQString fileName = locate( "locale", path );
+ if (fileName.isEmpty())
+ fileName = locate( "locale-bundle", path );
+
+ setFileName( fileName );
}