diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/CMakeL10n.txt | 8 | ||||
-rw-r--r-- | client/config/crystalconfig.cpp | 4 | ||||
-rw-r--r-- | client/crystalclient.cpp | 3 |
3 files changed, 14 insertions, 1 deletions
diff --git a/client/CMakeL10n.txt b/client/CMakeL10n.txt new file mode 100644 index 0000000..2ef5a48 --- /dev/null +++ b/client/CMakeL10n.txt @@ -0,0 +1,8 @@ +##### create translation templates ############## + +tde_l10n_create_template( "messages/twin-style-crystal" ) + +tde_l10n_create_template( + CATALOG "desktop_files/twin-style-crystal-desktops" + SOURCES *.desktop +) diff --git a/client/config/crystalconfig.cpp b/client/config/crystalconfig.cpp index 85f0d9d..abc37c2 100644 --- a/client/config/crystalconfig.cpp +++ b/client/config/crystalconfig.cpp @@ -48,8 +48,10 @@ CrystalConfig::CrystalConfig(TDEConfig*, TQWidget* parent) : TQObject(parent), config_(0), dialog_(0) { + TDEGlobal::locale()->insertCatalogue("twin_clients"); + TDEGlobal::locale()->insertCatalogue("twin-style-crystal"); + config_ = new TDEConfig("twincrystalrc"); - dialog_ = new ConfigDialog(parent); dialog_->show(); diff --git a/client/crystalclient.cpp b/client/crystalclient.cpp index 08483fd..41d2e6c 100644 --- a/client/crystalclient.cpp +++ b/client/crystalclient.cpp @@ -86,6 +86,9 @@ public: CrystalFactory::CrystalFactory() { + TDEGlobal::locale()->insertCatalogue("twin_clients"); + TDEGlobal::locale()->insertCatalogue("twin-style-crystal"); + for (int i=0;i<ButtonImageCount;i++) buttonImages[i]=NULL; |