summaryrefslogtreecommitdiffstats
path: root/sessionapplet
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-24 01:50:03 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-24 01:50:03 +0200
commite695196df6e48da48a7a4d99e55481c0a6b1d8fb (patch)
tree439b797cf6e59ac5ca086bb214a034f7bf466211 /sessionapplet
parent90cc6ddb9083689cb8395f7188c07c9142179d1a (diff)
downloadtde-style-baghira-e695196df6e48da48a7a4d99e55481c0a6b1d8fb.tar.gz
tde-style-baghira-e695196df6e48da48a7a4d99e55481c0a6b1d8fb.zip
Move translations to a new directory layout.
Add support for LINGUAS for listing translations to install. Rename translation catalogs to avoid potential collisions. Fix UTF-8 in author name and strings. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'sessionapplet')
-rw-r--r--sessionapplet/CMakeL10n.txt2
-rw-r--r--sessionapplet/usermanager.cpp4
-rw-r--r--sessionapplet/usermanager.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/sessionapplet/CMakeL10n.txt b/sessionapplet/CMakeL10n.txt
index 7fe8a81..bd9e92c 100644
--- a/sessionapplet/CMakeL10n.txt
+++ b/sessionapplet/CMakeL10n.txt
@@ -1,3 +1,3 @@
##### create translation templates ##############
-tde_l10n_create_template( "usermanager" )
+tde_l10n_create_template( "messages/baghira-usermanager/" )
diff --git a/sessionapplet/usermanager.cpp b/sessionapplet/usermanager.cpp
index 6ccd1f4..6d712e7 100644
--- a/sessionapplet/usermanager.cpp
+++ b/sessionapplet/usermanager.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2005 by Thomas Lübking *
+ * Copyright (C) 2005 by Thomas Lübking *
* thomas.luebking@web.de *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -275,7 +275,7 @@ extern "C"
{
KDE_EXPORT KPanelApplet* init( TQWidget *parent, const TQString& configFile)
{
- TDEGlobal::locale()->insertCatalogue("usermanager");
+ TDEGlobal::locale()->insertCatalogue("baghira-usermanager");
return new UserManager(configFile, KPanelApplet::Normal, KPanelApplet::About, parent, "usermanager");
}
}
diff --git a/sessionapplet/usermanager.h b/sessionapplet/usermanager.h
index 65fe350..9fcb142 100644
--- a/sessionapplet/usermanager.h
+++ b/sessionapplet/usermanager.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2005 by Thomas Lübking *
+ * Copyright (C) 2005 by Thomas Lübking *
* thomas.luebking@web.de *
* *
* This program is free software; you can redistribute it and/or modify *