[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeutils/klaptopdaemon
From: Stephan Kulow <coolo () kde ! org>
Date: 2004-01-11 10:42:35
Message-ID: 20040111104235.BFB0E8FF9 () office ! kde ! org
[Download RAW message or body]
CVS commit by coolo:
adding tons of insertCatalog calls (patch by Stefan Asserhäll)
I'm not really convinced that these masses are needed, but I doubt
they hurt and the POT split hurted several times before already ;(
M +2 -0 acpi.cpp 1.20
M +2 -0 apm.cpp 1.13
M +2 -0 battery.cpp 1.38
M +4 -0 buttons.cpp 1.11
M +3 -0 pcmcia.cpp 1.10
M +3 -0 power.cpp 1.29
M +2 -0 profile.cpp 1.10
M +2 -0 sony.cpp 1.10
M +2 -0 warning.cpp 1.29
--- kdeutils/klaptopdaemon/acpi.cpp #1.19:1.20
@@ -55,4 +55,6 @@ AcpiConfig::AcpiConfig (QWidget * parent
: KCModule(parent, name)
{
+ KGlobal::locale()->insertCatalogue("klaptopdaemon"); // For translation of klaptopdaemon messages
+
config = new KConfig("kcmlaptoprc");
--- kdeutils/klaptopdaemon/apm.cpp #1.12:1.13
@@ -55,4 +55,6 @@ ApmConfig::ApmConfig (QWidget * parent,
: KCModule(parent, name)
{
+ KGlobal::locale()->insertCatalogue("klaptopdaemon"); // For translation of klaptopdaemon messages
+
config = new KConfig("kcmlaptoprc");
--- kdeutils/klaptopdaemon/battery.cpp #1.37:1.38
@@ -58,4 +58,6 @@ BatteryConfig::BatteryConfig (QWidget *
buttonCharge(0)
{
+ KGlobal::locale()->insertCatalogue("klaptopdaemon"); // For translation of klaptopdaemon messages
+
apm = laptop_portable::has_power_management();
config = new KConfig("kcmlaptoprc");
--- kdeutils/klaptopdaemon/buttons.cpp #1.10:1.11
@@ -27,4 +27,5 @@
#include "version.h"
+#include <kglobal.h>
#include <klocale.h>
#include <kconfig.h>
@@ -76,4 +77,7 @@ ButtonsConfig::ButtonsConfig (QWidget *
int can_shutdown = 1; // fix me
int can_logout = 1; // fix me
+
+ KGlobal::locale()->insertCatalogue("klaptopdaemon"); // For translation of klaptopdaemon messages
+
apm = laptop_portable::has_power_management();
config = new KConfig("kcmlaptoprc");
--- kdeutils/klaptopdaemon/pcmcia.cpp #1.9:1.10
@@ -30,4 +30,5 @@
#include <qlayout.h>
+#include <kglobal.h>
#include <klocale.h>
#include <stdio.h>
@@ -40,4 +41,6 @@ PcmciaConfig::PcmciaConfig (QWidget * pa
: KCModule(parent, name)
{
+ KGlobal::locale()->insertCatalogue("klaptopdaemon"); // For translation of klaptopdaemon messages
+
label0 = laptop_portable::pcmcia_info(0, this);
label0_text = laptop_portable::pcmcia_info(1, this);
--- kdeutils/klaptopdaemon/power.cpp #1.28:1.29
@@ -27,4 +27,5 @@
#include "version.h"
+#include <kglobal.h>
#include <klocale.h>
#include <kconfig.h>
@@ -79,4 +80,6 @@ PowerConfig::PowerConfig (QWidget * pare
editlav(0)
{
+ KGlobal::locale()->insertCatalogue("klaptopdaemon"); // For translation of klaptopdaemon messages
+
apm = laptop_portable::has_power_management();
config = new KConfig("kcmlaptoprc");
--- kdeutils/klaptopdaemon/profile.cpp #1.9:1.10
@@ -65,4 +65,6 @@ ProfileConfig::ProfileConfig(QWidget * p
bool has_throttle = laptop_portable::get_system_throttling(0, current_throttle, throttle_list, active_list);
+ KGlobal::locale()->insertCatalogue("klaptopdaemon"); // For translation of klaptopdaemon messages
+
config = new KConfig("kcmlaptoprc");
--- kdeutils/klaptopdaemon/sony.cpp #1.9:1.10
@@ -58,4 +58,6 @@ SonyConfig::SonyConfig(QWidget * parent,
: KCModule(parent, name)
{
+ KGlobal::locale()->insertCatalogue("klaptopdaemon"); // For translation of klaptopdaemon messages
+
config = new KConfig("kcmlaptoprc");
--- kdeutils/klaptopdaemon/warning.cpp #1.28:1.29
@@ -51,4 +51,6 @@ WarningConfig::WarningConfig (int t, QWi
checkHibernate(0)
{
+ KGlobal::locale()->insertCatalogue("klaptopdaemon"); // For translation of klaptopdaemon messages
+
type = t;
apm = laptop_portable::has_power_management();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic