From e695196df6e48da48a7a4d99e55481c0a6b1d8fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 24 Jul 2020 01:50:03 +0200 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- sessionapplet/CMakeL10n.txt | 2 +- sessionapplet/usermanager.cpp | 4 ++-- sessionapplet/usermanager.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sessionapplet') 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 * -- cgit v1.2.1