Changed thread status messages to be unique

svn path=/trunk/; revision=947
This commit is contained in:
Curtis Gedak 2008-10-31 17:15:01 +00:00
parent a8a035cbae
commit 5cb29070bf
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2008-10-31 Curtis Gedak <gedakc@gmail.com>
* src/GParted_Core.cc: Changed thread status messages to be unique
2008-10-30 Curtis Gedak <gedakc@gmail.com> 2008-10-30 Curtis Gedak <gedakc@gmail.com>
* src/GParted_Core.cc: Added translator comments * src/GParted_Core.cc: Added translator comments

View File

@ -239,8 +239,8 @@ void GParted_Core::set_devices( std::vector<Device> & devices )
char * buf = static_cast<char *>( malloc( lp_device ->sector_size ) ) ; char * buf = static_cast<char *>( malloc( lp_device ->sector_size ) ) ;
if ( buf ) if ( buf )
{ {
/*TO TRANSLATORS: looks like Reading /dev/sda */ /*TO TRANSLATORS: looks like Confirming /dev/sda */
set_thread_status_message( String::ucompose ( _("Reading %1"), lp_device ->path ) ) ; set_thread_status_message( String::ucompose ( _("Confirming %1"), lp_device ->path ) ) ;
if ( ped_device_open( lp_device ) ) if ( ped_device_open( lp_device ) )
{ {
if ( ped_device_read( lp_device, buf, 0, 1 ) ) if ( ped_device_read( lp_device, buf, 0, 1 ) )
@ -259,8 +259,8 @@ void GParted_Core::set_devices( std::vector<Device> & devices )
for ( unsigned int t = 0 ; t < device_paths .size() ; t++ ) for ( unsigned int t = 0 ; t < device_paths .size() ; t++ )
{ {
/*TO TRANSLATORS: looks like Scanning /dev/sda for partitions*/ /*TO TRANSLATORS: looks like Searching /dev/sda partitions */
set_thread_status_message( String::ucompose ( _("Scanning %1 for partitions"), device_paths[ t ] ) ) ; set_thread_status_message( String::ucompose ( _("Searching %1 partitions"), device_paths[ t ] ) ) ;
if ( open_device_and_disk( device_paths[ t ], false ) ) if ( open_device_and_disk( device_paths[ t ], false ) )
{ {
temp_device .Reset() ; temp_device .Reset() ;