@ -186,7 +186,7 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
// 1. cdrecord, cdrdao
// 1. cdrecord, cdrdao
if ( ! k3bcore - > externalBinManager ( ) - > foundBin ( " cdrecord " ) ) {
if ( ! k3bcore - > externalBinManager ( ) - > foundBin ( " cdrecord " ) ) {
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
i18n ( " Unable to find %1 executable " ) . tq arg( " cdrecord " ) ,
i18n ( " Unable to find %1 executable " ) . arg( " cdrecord " ) ,
i18n ( " K3b uses cdrecord to actually write CDs. " ) ,
i18n ( " K3b uses cdrecord to actually write CDs. " ) ,
i18n ( " Install the cdrtools package which contains "
i18n ( " Install the cdrtools package which contains "
" cdrecord. " ) ,
" cdrecord. " ) ,
@ -195,7 +195,7 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
else {
else {
if ( k3bcore - > externalBinManager ( ) - > binObject ( " cdrecord " ) - > hasFeature ( " outdated " ) ) {
if ( k3bcore - > externalBinManager ( ) - > binObject ( " cdrecord " ) - > hasFeature ( " outdated " ) ) {
problems . append ( K3bSystemProblem ( K3bSystemProblem : : NON_CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : NON_CRITICAL ,
i18n ( " Used %1 version %2 is outdated " ) . tq arg( " cdrecord " ) . tq arg( k3bcore - > externalBinManager ( ) - > binObject ( " cdrecord " ) - > version ) ,
i18n ( " Used %1 version %2 is outdated " ) . arg( " cdrecord " ) . arg( k3bcore - > externalBinManager ( ) - > binObject ( " cdrecord " ) - > version ) ,
i18n ( " Although K3b supports all cdrtools versions since "
i18n ( " Although K3b supports all cdrtools versions since "
" 1.10 it is highly recommended to at least use "
" 1.10 it is highly recommended to at least use "
" version 2.0. " ) ,
" version 2.0. " ) ,
@ -217,16 +217,16 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
! k3bcore - > externalBinManager ( ) - > binObject ( " cdrecord " ) - > hasFeature ( " wodim " ) ) {
! k3bcore - > externalBinManager ( ) - > binObject ( " cdrecord " ) - > hasFeature ( " wodim " ) ) {
if ( k3bcore - > externalBinManager ( ) - > binObject ( " cdrecord " ) - > hasFeature ( " suidroot " ) )
if ( k3bcore - > externalBinManager ( ) - > binObject ( " cdrecord " ) - > hasFeature ( " suidroot " ) )
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
i18n ( " %1 will be run with root privileges on kernel >= 2.6.8 " ) . tq arg( " cdrecord <= 2.01.01a05 " ) ,
i18n ( " %1 will be run with root privileges on kernel >= 2.6.8 " ) . arg( " cdrecord <= 2.01.01a05 " ) ,
i18n ( " Since Linux kernel 2.6.8 %1 will not work when run suid "
i18n ( " Since Linux kernel 2.6.8 %1 will not work when run suid "
" root for security reasons anymore. " ) . tq arg( " cdrecord <= 2.01.01a05 " ) ,
" root for security reasons anymore. " ) . arg( " cdrecord <= 2.01.01a05 " ) ,
TQString ( ) ,
TQString ( ) ,
true ) ) ;
true ) ) ;
}
}
# ifdef CDRECORD_SUID_ROOT_CHECK
# ifdef CDRECORD_SUID_ROOT_CHECK
else if ( ! k3bcore - > externalBinManager ( ) - > binObject ( " cdrecord " ) - > hasFeature ( " suidroot " ) & & getuid ( ) ! = 0 ) // not root
else if ( ! k3bcore - > externalBinManager ( ) - > binObject ( " cdrecord " ) - > hasFeature ( " suidroot " ) & & getuid ( ) ! = 0 ) // not root
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
i18n ( " %1 will be run without root privileges " ) . tq arg( " cdrecord " ) ,
i18n ( " %1 will be run without root privileges " ) . arg( " cdrecord " ) ,
i18n ( " It is highly recommended to configure cdrecord "
i18n ( " It is highly recommended to configure cdrecord "
" to run with root privileges. Only then cdrecord "
" to run with root privileges. Only then cdrecord "
" runs with high priority which increases the overall "
" runs with high priority which increases the overall "
@ -242,7 +242,7 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
}
}
if ( ! k3bcore - > externalBinManager ( ) - > foundBin ( " cdrdao " ) ) {
if ( ! k3bcore - > externalBinManager ( ) - > foundBin ( " cdrdao " ) ) {
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
i18n ( " Unable to find %1 executable " ) . tq arg( " cdrdao " ) ,
i18n ( " Unable to find %1 executable " ) . arg( " cdrdao " ) ,
i18n ( " K3b uses cdrdao to actually write CDs. " ) ,
i18n ( " K3b uses cdrdao to actually write CDs. " ) ,
i18n ( " Install the cdrdao package. " ) ,
i18n ( " Install the cdrdao package. " ) ,
false ) ) ;
false ) ) ;
@ -253,7 +253,7 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
# ifdef CDRECORD_SUID_ROOT_CHECK
# ifdef CDRECORD_SUID_ROOT_CHECK
if ( ! k3bcore - > externalBinManager ( ) - > binObject ( " cdrdao " ) - > hasFeature ( " suidroot " ) & & getuid ( ) ! = 0 )
if ( ! k3bcore - > externalBinManager ( ) - > binObject ( " cdrdao " ) - > hasFeature ( " suidroot " ) & & getuid ( ) ! = 0 )
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
i18n ( " %1 will be run without root privileges " ) . tq arg( " cdrdao " ) ,
i18n ( " %1 will be run without root privileges " ) . arg( " cdrdao " ) ,
i18n ( " It is highly recommended to configure cdrdao "
i18n ( " It is highly recommended to configure cdrdao "
" to run with root privileges to increase the "
" to run with root privileges to increase the "
" overall stability of the burning process. " ) ,
" overall stability of the burning process. " ) ,
@ -268,7 +268,7 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
if ( ! k3bcore - > deviceManager ( ) - > dvdWriter ( ) . isEmpty ( ) ) {
if ( ! k3bcore - > deviceManager ( ) - > dvdWriter ( ) . isEmpty ( ) ) {
if ( ! k3bcore - > externalBinManager ( ) - > foundBin ( " growisofs " ) ) {
if ( ! k3bcore - > externalBinManager ( ) - > foundBin ( " growisofs " ) ) {
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
i18n ( " Unable to find %1 executable " ) . tq arg( " growisofs " ) ,
i18n ( " Unable to find %1 executable " ) . arg( " growisofs " ) ,
i18n ( " K3b uses growisofs to actually write dvds. "
i18n ( " K3b uses growisofs to actually write dvds. "
" Without growisofs you will not be able to write dvds. "
" Without growisofs you will not be able to write dvds. "
" Make sure to install at least version 5.10. " ) ,
" Make sure to install at least version 5.10. " ) ,
@ -278,34 +278,34 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
else {
else {
if ( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version < K3bVersion ( 5 , 10 ) ) {
if ( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version < K3bVersion ( 5 , 10 ) ) {
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
i18n ( " Used %1 version %2 is outdated " ) . tq arg( " growisofs " ) . tq arg( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version ) ,
i18n ( " Used %1 version %2 is outdated " ) . arg( " growisofs " ) . arg( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version ) ,
i18n ( " K3b needs at least growisofs version 5.10 to write dvds. "
i18n ( " K3b needs at least growisofs version 5.10 to write dvds. "
" All older versions will not work and K3b will refuse to use them. " ) ,
" All older versions will not work and K3b will refuse to use them. " ) ,
i18n ( " Install a more recent version of %1. " ) . tq arg( " growisofs " ) ,
i18n ( " Install a more recent version of %1. " ) . arg( " growisofs " ) ,
false ) ) ;
false ) ) ;
}
}
else if ( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version < K3bVersion ( 5 , 12 ) ) {
else if ( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version < K3bVersion ( 5 , 12 ) ) {
problems . append ( K3bSystemProblem ( K3bSystemProblem : : NON_CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : NON_CRITICAL ,
i18n ( " Used %1 version %2 is outdated " ) . tq arg( " growisofs " ) . tq arg( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version ) ,
i18n ( " Used %1 version %2 is outdated " ) . arg( " growisofs " ) . arg( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version ) ,
i18n ( " K3b will not be able to copy DVDs on-the-fly or write a DVD+RW in multiple "
i18n ( " K3b will not be able to copy DVDs on-the-fly or write a DVD+RW in multiple "
" sessions using a growisofs "
" sessions using a growisofs "
" version older than 5.12. " ) ,
" version older than 5.12. " ) ,
i18n ( " Install a more recent version of %1. " ) . tq arg( " growisofs " ) ,
i18n ( " Install a more recent version of %1. " ) . arg( " growisofs " ) ,
false ) ) ;
false ) ) ;
}
}
else if ( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version < K3bVersion ( 7 , 0 ) ) {
else if ( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version < K3bVersion ( 7 , 0 ) ) {
problems . append ( K3bSystemProblem ( K3bSystemProblem : : NON_CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : NON_CRITICAL ,
i18n ( " Used %1 version %2 is outdated " ) . tq arg( " growisofs " ) . tq arg( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version ) ,
i18n ( " Used %1 version %2 is outdated " ) . arg( " growisofs " ) . arg( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version ) ,
i18n ( " It is highly recommended to use growisofs 7.0 or higher. "
i18n ( " It is highly recommended to use growisofs 7.0 or higher. "
" K3b won't be able to write a DVD+RW in multiple "
" K3b won't be able to write a DVD+RW in multiple "
" sessions using a growisofs version older than 7.0. " ) ,
" sessions using a growisofs version older than 7.0. " ) ,
i18n ( " Install a more recent version of %1. " ) . tq arg( " growisofs " ) ,
i18n ( " Install a more recent version of %1. " ) . arg( " growisofs " ) ,
false ) ) ;
false ) ) ;
}
}
// for now we ignore the suid root bit becasue of the memorylocked issue
// for now we ignore the suid root bit becasue of the memorylocked issue
// else if( !k3bcore->externalBinManager()->binObject( "growisofs" )->hasFeature( "suidroot" ) ) {
// else if( !k3bcore->externalBinManager()->binObject( "growisofs" )->hasFeature( "suidroot" ) ) {
// problems.append( K3bSystemProblem( K3bSystemProblem::CRITICAL,
// problems.append( K3bSystemProblem( K3bSystemProblem::CRITICAL,
// i18n("%1 will be run without root privileges"). tq arg("growisofs"),
// i18n("%1 will be run without root privileges"). arg("growisofs"),
// i18n("It is highly recommended to configure growisofs "
// i18n("It is highly recommended to configure growisofs "
// "to run with root privileges. Only then growisofs "
// "to run with root privileges. Only then growisofs "
// "runs with high priority which increases the overall "
// "runs with high priority which increases the overall "
@ -317,7 +317,7 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
if ( ! k3bcore - > externalBinManager ( ) - > foundBin ( " dvd+rw-format " ) ) {
if ( ! k3bcore - > externalBinManager ( ) - > foundBin ( " dvd+rw-format " ) ) {
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
i18n ( " Unable to find %1 executable " ) . tq arg( " dvd+rw-format " ) ,
i18n ( " Unable to find %1 executable " ) . arg( " dvd+rw-format " ) ,
i18n ( " K3b uses dvd+rw-format to format DVD-RWs and DVD+RWs. " ) ,
i18n ( " K3b uses dvd+rw-format to format DVD-RWs and DVD+RWs. " ) ,
i18n ( " Install the dvd+rw-tools package. " ) ,
i18n ( " Install the dvd+rw-tools package. " ) ,
false ) ) ;
false ) ) ;
@ -330,11 +330,11 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
else if ( k3bcore - > externalBinManager ( ) - > binObject ( " mkisofs " ) - > hasFeature ( " outdated " ) ) {
else if ( k3bcore - > externalBinManager ( ) - > binObject ( " mkisofs " ) - > hasFeature ( " outdated " ) ) {
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
i18n ( " Used %1 version %2 is outdated " )
i18n ( " Used %1 version %2 is outdated " )
. tq arg( " mkisofs " )
. arg( " mkisofs " )
. tq arg( k3bcore - > externalBinManager ( ) - > binObject ( " mkisofs " ) - > version ) ,
. arg( k3bcore - > externalBinManager ( ) - > binObject ( " mkisofs " ) - > version ) ,
i18n ( " K3b needs at least mkisofs version 1.14. Older versions may introduce problems "
i18n ( " K3b needs at least mkisofs version 1.14. Older versions may introduce problems "
" when creating data projects. " ) ,
" when creating data projects. " ) ,
i18n ( " Install a more recent version of %1. " ) . tq arg( " mkisofs " ) ,
i18n ( " Install a more recent version of %1. " ) . arg( " mkisofs " ) ,
false ) ) ;
false ) ) ;
}
}
@ -357,7 +357,7 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
it . current ( ) ; + + it ) {
it . current ( ) ; + + it ) {
problems . append ( K3bSystemProblem ( K3bSystemProblem : : NON_CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : NON_CRITICAL ,
i18n ( " Device %1 - %2 is automounted. " )
i18n ( " Device %1 - %2 is automounted. " )
. tq arg( it . current ( ) - > vendor ( ) ) . tq arg( it . current ( ) - > description ( ) ) ,
. arg( it . current ( ) - > vendor ( ) ) . arg( it . current ( ) - > description ( ) ) ,
i18n ( " K3b is not able to unmount automounted devices. Thus, especially "
i18n ( " K3b is not able to unmount automounted devices. Thus, especially "
" DVD+RW rewriting might fail. There is no need to report this as "
" DVD+RW rewriting might fail. There is no need to report this as "
" a bug or feature wish; it is not possible to solve this problem "
" a bug or feature wish; it is not possible to solve this problem "
@ -394,16 +394,16 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
! ( k3bcore - > externalBinManager ( ) - > binObject ( " cdrecord " ) - > hasFeature ( " plain-atapi " ) & &
! ( k3bcore - > externalBinManager ( ) - > binObject ( " cdrecord " ) - > hasFeature ( " plain-atapi " ) & &
K3b : : plainAtapiSupport ( ) ) ) {
K3b : : plainAtapiSupport ( ) ) ) {
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
i18n ( " %1 %2 does not support ATAPI " ) . tq arg( " cdrecord " ) . tq arg( k3bcore - > externalBinManager ( ) - > binObject ( " cdrecord " ) - > version ) ,
i18n ( " %1 %2 does not support ATAPI " ) . arg( " cdrecord " ) . arg( k3bcore - > externalBinManager ( ) - > binObject ( " cdrecord " ) - > version ) ,
i18n ( " The configured version of %1 does not "
i18n ( " The configured version of %1 does not "
" support writing to ATAPI devices without "
" support writing to ATAPI devices without "
" SCSI emulation and there is at least one writer "
" SCSI emulation and there is at least one writer "
" in your system not configured to use "
" in your system not configured to use "
" SCSI emulation. " ) . tq arg( " cdrecord " ) ,
" SCSI emulation. " ) . arg( " cdrecord " ) ,
i18n ( " The best and recommended solution is to enable "
i18n ( " The best and recommended solution is to enable "
" ide-scsi (SCSI emulation) for all devices. "
" ide-scsi (SCSI emulation) for all devices. "
" This way you won't have any problems. Or you install "
" This way you won't have any problems. Or you install "
" (or select as the default) a more recent version of %1. " ) . tq arg( " cdrtools " ) ,
" (or select as the default) a more recent version of %1. " ) . arg( " cdrtools " ) ,
false ) ) ;
false ) ) ;
}
}
}
}
@ -415,19 +415,19 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
// FIXME: replace ">" with ">"
// FIXME: replace ">" with ">"
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
i18n ( " %1 %2 does not support ATAPI " )
i18n ( " %1 %2 does not support ATAPI " )
. tq arg( " cdrdao " ) . tq arg( k3bcore - > externalBinManager ( ) - > binObject ( " cdrdao " ) - > version ) ,
. arg( " cdrdao " ) . arg( k3bcore - > externalBinManager ( ) - > binObject ( " cdrdao " ) - > version ) ,
i18n ( " The configured version of %1 does not "
i18n ( " The configured version of %1 does not "
" support writing to ATAPI devices without "
" support writing to ATAPI devices without "
" SCSI emulation and there is at least one writer "
" SCSI emulation and there is at least one writer "
" in your system not configured to use "
" in your system not configured to use "
" SCSI emulation. " ) . tq arg( " cdrdao " ) ,
" SCSI emulation. " ) . arg( " cdrdao " ) ,
K3b : : simpleKernelVersion ( ) > K3bVersion ( 2 , 5 , 0 )
K3b : : simpleKernelVersion ( ) > K3bVersion ( 2 , 5 , 0 )
? i18n ( " Install cdrdao >= 1.1.8 which supports writing to "
? i18n ( " Install cdrdao >= 1.1.8 which supports writing to "
" ATAPI devices directly. " )
" ATAPI devices directly. " )
: i18n ( " The best, and recommended, solution is to use "
: i18n ( " The best, and recommended, solution is to use "
" ide-scsi (SCSI emulation) for all writer devices: "
" ide-scsi (SCSI emulation) for all writer devices: "
" this way you will not have any problems; or, you can install "
" this way you will not have any problems; or, you can install "
" (or select as the default) a more recent version of %1. " ) . tq arg( " cdrdao " ) ,
" (or select as the default) a more recent version of %1. " ) . arg( " cdrdao " ) ,
false ) ) ;
false ) ) ;
}
}
}
}
@ -437,7 +437,7 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
if ( dvd_r_dl & & k3bcore - > externalBinManager ( ) - > foundBin ( " growisofs " ) ) {
if ( dvd_r_dl & & k3bcore - > externalBinManager ( ) - > foundBin ( " growisofs " ) ) {
if ( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version < K3bVersion ( 6 , 0 ) )
if ( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version < K3bVersion ( 6 , 0 ) )
problems . append ( K3bSystemProblem ( K3bSystemProblem : : NON_CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : NON_CRITICAL ,
i18n ( " Used %1 version %2 is outdated " ) . tq arg( " growisofs " ) . tq arg( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version ) ,
i18n ( " Used %1 version %2 is outdated " ) . arg( " growisofs " ) . arg( k3bcore - > externalBinManager ( ) - > binObject ( " growisofs " ) - > version ) ,
i18n ( " K3b won't be able to write DVD-R Dual Layer media using a growisofs "
i18n ( " K3b won't be able to write DVD-R Dual Layer media using a growisofs "
" version older than 6.0. " ) ,
" version older than 6.0. " ) ,
i18n ( " Install a more recent version of growisofs. " ) ,
i18n ( " Install a more recent version of growisofs. " ) ,
@ -450,31 +450,31 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
if ( ! TQFileInfo ( dev - > blockDeviceName ( ) ) . isWritable ( ) )
if ( ! TQFileInfo ( dev - > blockDeviceName ( ) ) . isWritable ( ) )
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
i18n ( " No write access to device %1 " ) . tq arg( dev - > blockDeviceName ( ) ) ,
i18n ( " No write access to device %1 " ) . arg( dev - > blockDeviceName ( ) ) ,
i18n ( " K3b needs write access to all the devices to perform certain tasks. "
i18n ( " K3b needs write access to all the devices to perform certain tasks. "
" Without it you might encounter problems with %1 - %2 " ) . tq arg( dev - > vendor ( ) ) . tq arg( dev - > description ( ) ) ,
" Without it you might encounter problems with %1 - %2 " ) . arg( dev - > vendor ( ) ) . arg( dev - > description ( ) ) ,
i18n ( " Make sure you have write access to %1. In case you are not using "
i18n ( " Make sure you have write access to %1. In case you are not using "
" devfs or udev K3bSetup is able to do this for you. " ) . tq arg( dev - > blockDeviceName ( ) ) ,
" devfs or udev K3bSetup is able to do this for you. " ) . arg( dev - > blockDeviceName ( ) ) ,
false ) ) ;
false ) ) ;
if ( ! dev - > genericDevice ( ) . isEmpty ( ) & &
if ( ! dev - > genericDevice ( ) . isEmpty ( ) & &
! TQFileInfo ( dev - > genericDevice ( ) ) . isWritable ( ) )
! TQFileInfo ( dev - > genericDevice ( ) ) . isWritable ( ) )
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
i18n ( " No write access to generic SCSI device %1 " ) . tq arg( dev - > genericDevice ( ) ) ,
i18n ( " No write access to generic SCSI device %1 " ) . arg( dev - > genericDevice ( ) ) ,
i18n ( " Without write access to the generic device you might "
i18n ( " Without write access to the generic device you might "
" encounter problems with Audio CD ripping from %1 - %2 " ) . tq arg( dev - > vendor ( ) ) . tq arg( dev - > description ( ) ) ,
" encounter problems with Audio CD ripping from %1 - %2 " ) . arg( dev - > vendor ( ) ) . arg( dev - > description ( ) ) ,
i18n ( " Make sure you have write access to %1. In case you are not using "
i18n ( " Make sure you have write access to %1. In case you are not using "
" devfs or udev K3bSetup is able to do this for you. " ) . tq arg( dev - > genericDevice ( ) ) ,
" devfs or udev K3bSetup is able to do this for you. " ) . arg( dev - > genericDevice ( ) ) ,
false ) ) ;
false ) ) ;
if ( dev - > interfaceType ( ) = = K3bDevice : : IDE & & ! dmaActivated ( dev ) )
if ( dev - > interfaceType ( ) = = K3bDevice : : IDE & & ! dmaActivated ( dev ) )
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : CRITICAL ,
i18n ( " DMA disabled on device %1 - %2 " ) . tq arg( dev - > vendor ( ) ) . tq arg( dev - > description ( ) ) ,
i18n ( " DMA disabled on device %1 - %2 " ) . arg( dev - > vendor ( ) ) . arg( dev - > description ( ) ) ,
i18n ( " With most modern CD/DVD devices enabling DMA highly increases "
i18n ( " With most modern CD/DVD devices enabling DMA highly increases "
" read/write performance. If you experience very low writing speeds "
" read/write performance. If you experience very low writing speeds "
" this is probably the cause. " ) ,
" this is probably the cause. " ) ,
i18n ( " Enable DMA temporarily as root with 'hdparm -d 1 %1'. " ) . tq arg( dev - > blockDeviceName ( ) ) ) ) ;
i18n ( " Enable DMA temporarily as root with 'hdparm -d 1 %1'. " ) . arg( dev - > blockDeviceName ( ) ) ) ) ;
}
}
@ -487,13 +487,13 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* parent,
const K3bExternalProgram * p = it . data ( ) ;
const K3bExternalProgram * p = it . data ( ) ;
if ( ! p - > userParameters ( ) . isEmpty ( ) ) {
if ( ! p - > userParameters ( ) . isEmpty ( ) ) {
problems . append ( K3bSystemProblem ( K3bSystemProblem : : WARNING ,
problems . append ( K3bSystemProblem ( K3bSystemProblem : : WARNING ,
i18n ( " User parameters specified for external program %1 " ) . tq arg( p - > name ( ) ) ,
i18n ( " User parameters specified for external program %1 " ) . arg( p - > name ( ) ) ,
i18n ( " Sometimes it may be nessessary to specify user parameters in addition to "
i18n ( " Sometimes it may be nessessary to specify user parameters in addition to "
" the parameters generated by K3b. This is simply a warning to make sure that "
" the parameters generated by K3b. This is simply a warning to make sure that "
" these parameters are really wanted and won't be part of some bug report. " ) ,
" these parameters are really wanted and won't be part of some bug report. " ) ,
i18n ( " To remove the user parameters for the external program %1 open the "
i18n ( " To remove the user parameters for the external program %1 open the "
" K3b settings page 'Programs' and choose the tab 'User Parameters'. " )
" K3b settings page 'Programs' and choose the tab 'User Parameters'. " )
. tq arg( p - > name ( ) ) ,
. arg( p - > name ( ) ) ,
false ) ) ;
false ) ) ;
}
}
}
}