TQStringtext=i18n("The file you're trying to view may be an executable. Running untrusted executables may compromise your system's security.\nAre you sure you want to run that file?");
TQStringtext=i18n("The file you're trying to view may be an executable. Running untrusted executables may compromise your system's security.\nAre you sure you want to run that file?");
setAboutData(newKAboutData("kcmlirc",I18N_NOOP("KDE Lirc"),VERSION,I18N_NOOP("The KDE IR Remote Control System"),KAboutData::License_GPL_V2,"Copyright (c)2003 Gav Wood",I18N_NOOP("Use this to configure KDE's infrared remote control system in order to control any KDE application with your infrared remote control."),"http://www.kde.org"));
setAboutData(newKAboutData("kcmlirc",I18N_NOOP("KDE Lirc"),VERSION,I18N_NOOP("The KDE IR Remote Control System"),KAboutData::License_GPL_V2,"Copyright (c)2003 Gav Wood",I18N_NOOP("Use this to configure KDE's infrared remote control system in order to control any KDE application with your infrared remote control."),"http://www.kde.org"));
if(KMessageBox::warningContinueCancel(this,i18n("Are you sure you want to remove %1 and all its actions?").tqarg(theKCMLircBase->theModes->selectedItem()->text(0)),i18n("Erase Actions?"))==KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("Are you sure you want to remove %1 and all its actions?").tqarg(theKCMLircBase->theModes->selectedItem()->text(0)),i18n("Erase Actions?"))==KMessageBox::Continue)
newTQListViewItem(theKCMLircBase->theInformation,i18n("Number of Remote Controls"),TQString().setNum(theKCMLircBase->theExtensions->selectedItem()->childCount()));
newTQListViewItem(theKCMLircBase->theInformation,i18n("Number of Remote Controls"),TQString().setNum(theKCMLircBase->theExtensions->selectedItem()->childCount()));
KPassivePopup::message(i18n("KGpg Error"),i18n("Process halted, not all files were shredded."),KGlobal::iconLoader()->loadIcon("kgpg",KIcon::Desktop),panel,"kgpg_error",0);
KPassivePopup::message(i18n("KGpg Error"),i18n("Process halted, not all files were shredded."),KGlobal::iconLoader()->loadIcon("kgpg",KIcon::Desktop),panel,"kgpg_error",0);
if(KMessageBox::warningContinueCancel(this,i18n("<qt>Are you sure you want to delete Photo id <b>%1</b><br>from key <b>%2 <%3></b> ?</qt>").tqarg(keysList2->currentItem()->text(6)).tqarg(keysList2->currentItem()->tqparent()->text(0)).tqarg(keysList2->currentItem()->tqparent()->text(1)),i18n("Warning"),KGuiItem(i18n("Delete"),"editdelete"))!=KMessageBox::Continue)
if(KMessageBox::warningContinueCancel(this,i18n("<qt>Are you sure you want to delete Photo id <b>%1</b><br>from key <b>%2 <%3></b> ?</qt>").tqarg(keysList2->currentItem()->text(6)).tqarg(keysList2->currentItem()->parent()->text(0)).tqarg(keysList2->currentItem()->parent()->text(1)),i18n("Warning"),KGuiItem(i18n("Delete"),"editdelete"))!=KMessageBox::Continue)
KGlobal::locale()->insertCatalogue("klaptopdaemon");// For translation of klaptopdaemon messages
KGlobal::locale()->insertCatalogue("klaptopdaemon");// For translation of klaptopdaemon messages
@ -173,7 +173,7 @@ void ApmConfig::setupHelper()
KMessageBox::sorry(0,i18n("%1 cannot be enabled because kdesu cannot be found. Please make sure that it is installed correctly.").tqarg(TQString(apm_name)),
KMessageBox::sorry(0,i18n("%1 cannot be enabled because kdesu cannot be found. Please make sure that it is installed correctly.").tqarg(TQString(apm_name)),
boolcan_enable=laptop_portable::has_apm(1);// is helper ready
boolcan_enable=laptop_portable::has_apm(1);// is helper ready
enableStandby->setEnabled(can_enable);
enableStandby->setEnabled(can_enable);
enableSuspend->setEnabled(can_enable);
enableSuspend->setEnabled(can_enable);
@ -207,7 +207,7 @@ void ApmConfig::setupHelper2() // we use the acpi helper to do software suspend
KMessageBox::sorry(0,i18n("The Software Suspend helper cannot be enabled because kdesu cannot be found. Please make sure that it is installed correctly."),
KMessageBox::sorry(0,i18n("The Software Suspend helper cannot be enabled because kdesu cannot be found. Please make sure that it is installed correctly."),
if(access("/proc/acpi",F_OK)==0){// probably has default kernel ACPI installed
if(access("/proc/acpi",F_OK)==0){// probably has default kernel ACPI installed
KActiveLabel*explain=newKActiveLabel(i18n("Your computer seems to have a partial ACPI installation. ACPI was probably enabled, but some of the sub-options were not - you need to enable at least 'AC Adaptor' and 'Control Method Battery' and then rebuild your kernel."),tqparent);
KActiveLabel*explain=newKActiveLabel(i18n("Your computer seems to have a partial ACPI installation. ACPI was probably enabled, but some of the sub-options were not - you need to enable at least 'AC Adaptor' and 'Control Method Battery' and then rebuild your kernel."), parent);
return(explain);
return(explain);
}
}
KActiveLabel*explain=newKActiveLabel(i18n("Your computer doesn't have the Linux APM (Advanced Power Management) or ACPI software installed, or doesn't have the APM kernel drivers installed - check out the <a href=\"http://www.linuxdoc.org/HOWTO/Laptop-HOWTO.html\">Linux Laptop-HOWTO</a> document for information on how to install APM."),tqparent);
KActiveLabel*explain=newKActiveLabel(i18n("Your computer doesn't have the Linux APM (Advanced Power Management) or ACPI software installed, or doesn't have the APM kernel drivers installed - check out the <a href=\"http://www.linuxdoc.org/HOWTO/Laptop-HOWTO.html\">Linux Laptop-HOWTO</a> document for information on how to install APM."), parent);
explain=newKActiveLabel(i18n("There is no /dev/apm file on this system. Please review the FreeBSD handbook on how to create a device node for the APM device driver (man 4 apm)."),tqparent);
explain=newKActiveLabel(i18n("There is no /dev/apm file on this system. Please review the FreeBSD handbook on how to create a device node for the APM device driver (man 4 apm)."), parent);
break;
break;
caseEACCES:
caseEACCES:
explain=newKActiveLabel(i18n("Your system has the proper device node for APM support, however you cannot access it. If you are logged in as root right now, you have a problem, otherwise contact your local sysadmin and ask for read/write access to /dev/apm."),tqparent);
explain=newKActiveLabel(i18n("Your system has the proper device node for APM support, however you cannot access it. If you are logged in as root right now, you have a problem, otherwise contact your local sysadmin and ask for read/write access to /dev/apm."), parent);
break;
break;
caseENXIO:
caseENXIO:
explain=newKActiveLabel(i18n("Your kernel lacks support for Advanced Power Management."),tqparent);
explain=newKActiveLabel(i18n("Your kernel lacks support for Advanced Power Management."), parent);
break;
break;
break;
break;
default:
default:
explain=newKActiveLabel(i18n("There was a generic error while opening /dev/apm."),tqparent);
explain=newKActiveLabel(i18n("There was a generic error while opening /dev/apm."), parent);
break;
break;
}
}
}else{
}else{
close(fd);
close(fd);
explain=newKActiveLabel(i18n("APM has most likely been disabled."),tqparent);
explain=newKActiveLabel(i18n("APM has most likely been disabled."), parent);
explain=newKActiveLabel(i18n("There is no /dev/apm file on this system. Please review the NetBSD documentation on how to create a device node for the APM device driver (man 4 apm)."),tqparent);
explain=newKActiveLabel(i18n("There is no /dev/apm file on this system. Please review the NetBSD documentation on how to create a device node for the APM device driver (man 4 apm)."), parent);
break;
break;
caseEACCES:
caseEACCES:
explain=newKActiveLabel(i18n("Your system has the proper device node for APM support, however you cannot access it. If you have APM compiled into the kernel this should not happen."),tqparent);
explain=newKActiveLabel(i18n("Your system has the proper device node for APM support, however you cannot access it. If you have APM compiled into the kernel this should not happen."), parent);
break;
break;
caseENXIO:
caseENXIO:
explain=newKActiveLabel(i18n("Your kernel lacks support for Advanced Power Management."),tqparent);
explain=newKActiveLabel(i18n("Your kernel lacks support for Advanced Power Management."), parent);
break;
break;
break;
break;
default:
default:
explain=newKActiveLabel(i18n("There was a generic error while opening /dev/apm."),tqparent);
explain=newKActiveLabel(i18n("There was a generic error while opening /dev/apm."), parent);
break;
break;
}
}
}else{
}else{
close(fd);
close(fd);
explain=newKActiveLabel(i18n("APM has most likely been disabled."),tqparent);
explain=newKActiveLabel(i18n("APM has most likely been disabled."), parent);
KActiveLabel*explain=newKActiveLabel(i18n("Your computer or operating system is not supported by the current version of the\nKDE laptop control panels. If you want help porting these panels to work with it\nplease contact paul@taniwha.com."),tqparent);
KActiveLabel*explain=newKActiveLabel(i18n("Your computer or operating system is not supported by the current version of the\nKDE laptop control panels. If you want help porting these panels to work with it\nplease contact paul@taniwha.com."), parent);