From ebcfca6def3541ee7d302fb4669ed969b596e0be 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 (cherry picked from commit e695196df6e48da48a7a4d99e55481c0a6b1d8fb) --- config/CMakeL10n.txt | 2 +- config/tdestyle_baghira_config.cpp | 10 +++++----- config/tdestyle_baghira_config.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'config') diff --git a/config/CMakeL10n.txt b/config/CMakeL10n.txt index 1996c28..d3181b7 100644 --- a/config/CMakeL10n.txt +++ b/config/CMakeL10n.txt @@ -1,3 +1,3 @@ ##### create translation templates ############## -tde_l10n_create_template( "tdestyle_baghira_config" ) +tde_l10n_create_template( "messages/tdestyle_baghira_config/" ) diff --git a/config/tdestyle_baghira_config.cpp b/config/tdestyle_baghira_config.cpp index be70da4..7c627c5 100644 --- a/config/tdestyle_baghira_config.cpp +++ b/config/tdestyle_baghira_config.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2004 by Thomas Lübking * + * Copyright (C) 2004 by Thomas Lübking * * thomas@home * * * * This program is free software; you can redistribute it and/or modify * @@ -259,7 +259,7 @@ int presetColor[NUMBEROFCOLORS][3] = {{84,144,218},{130,170,190},{103,118,134},{ // -------------------------------- typedef KGenericFactory tdestyle_baghira_configFactory; -K_EXPORT_COMPONENT_FACTORY( tdecm_tdestyle_baghira_config, tdestyle_baghira_configFactory("tdecmtdestyle_baghira_config")) +K_EXPORT_COMPONENT_FACTORY( tdecm_tdestyle_baghira_config, tdestyle_baghira_configFactory("tdestyle_baghira_config")) //extern TQImage uic_findImage(const TQString& name); //extern void qInitImages_baghira(); @@ -356,9 +356,9 @@ tdestyle_baghira_config::tdestyle_baghira_config(TQWidget *parent, const char *n about_->versionLabel->setText(VERSION); about_->kdeLabel->setText(TDE_VERSION_STRING); crCurrent = 0; - crNotes[0] = "© 2003-2005 by Thomas Lübking
http://baghira.SourceForge.net
"; - crNotes[1] = "© \"Design\" 2001-2005 by Apple inc.
http://www.apple.com"; - crNotes[2] = "© \"Milk\" 2002-2005 by Max Rudberg
http://www.maxthemes.com
"; + crNotes[0] = "© 2003-2005 by Thomas Lübking
http://baghira.SourceForge.net
"; + crNotes[1] = "© \"Design\" 2001-2005 by Apple inc.
http://www.apple.com"; + crNotes[2] = "© \"Milk\" 2002-2005 by Max Rudberg
http://www.maxthemes.com
"; timer = new TQTimer(); connect( timer, SIGNAL(timeout()), this, SLOT(updateCR()) ); TQString tmpString(TQT_BUILD_KEY); diff --git a/config/tdestyle_baghira_config.h b/config/tdestyle_baghira_config.h index 0fb6b93..5d014dd 100644 --- a/config/tdestyle_baghira_config.h +++ b/config/tdestyle_baghira_config.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2004 by Thomas Lübking * + * Copyright (C) 2004 by Thomas Lübking * * thomas@home * * * * This program is free software; you can redistribute it and/or modify * -- cgit v1.2.1