diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-24 01:50:03 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-26 11:33:25 +0200 |
commit | ebcfca6def3541ee7d302fb4669ed969b596e0be (patch) | |
tree | 71d8caaec3ac05c4e21f84cb93891cf60b96d72f /sessionapplet | |
parent | 3fc75f4d0a82dd095d40d38f5fe79684249b101d (diff) | |
download | tde-style-baghira-ebcfca6def3541ee7d302fb4669ed969b596e0be.tar.gz tde-style-baghira-ebcfca6def3541ee7d302fb4669ed969b596e0be.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>
(cherry picked from commit e695196df6e48da48a7a4d99e55481c0a6b1d8fb)
Diffstat (limited to 'sessionapplet')
-rw-r--r-- | sessionapplet/CMakeL10n.txt | 2 | ||||
-rw-r--r-- | sessionapplet/usermanager.cpp | 4 | ||||
-rw-r--r-- | sessionapplet/usermanager.h | 2 |
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 * |