Add translator comments and fix spelling mistake

svn path=/trunk/; revision=914
This commit is contained in:
Curtis Gedak 2008-09-25 15:23:52 +00:00
parent 68c43054bb
commit 3418589a45
5 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2008-09-25 Curtis Gedak <gedakc@gmail.com>
* src/GParted_Core.cc,
src/linux_swap.cc,
src/OperationResizeMove.cc,
src/xfs.cc: Add translator comments and fix spelling mistake.
2008-09-24 Curtis Gedak <gedakc@gmail.com> 2008-09-24 Curtis Gedak <gedakc@gmail.com>
* src/Dialog_Progress.cc: Added proper HTML start and finish. * src/Dialog_Progress.cc: Added proper HTML start and finish.

View File

@ -1061,6 +1061,7 @@ bool GParted_Core::create_partition( Partition & new_partition, OperationDetail
bool GParted_Core::create_filesystem( const Partition & partition, OperationDetail & operationdetail ) bool GParted_Core::create_filesystem( const Partition & partition, OperationDetail & operationdetail )
{ {
/*TO TRANSLATORS: looks like create new ext3 filesystem */
operationdetail .add_child( OperationDetail( String::ucompose( operationdetail .add_child( OperationDetail( String::ucompose(
_("create new %1 filesystem"), _("create new %1 filesystem"),
Utils::get_filesystem_string( partition .filesystem ) ) ) ) ; Utils::get_filesystem_string( partition .filesystem ) ) ) ) ;

View File

@ -84,7 +84,7 @@ void OperationResizeMove::create_description()
case NONE : case NONE :
description = String::ucompose( _("resize/move %1"), partition_original .get_path() ) ; description = String::ucompose( _("resize/move %1"), partition_original .get_path() ) ;
description += " (" ; description += " (" ;
description += _("new and old partition have the same size and positition. continuing anyway") ; description += _("new and old partition have the same size and position -- continuing anyway") ;
description += ")" ; description += ")" ;
break ; break ;
case MOVE_RIGHT : case MOVE_RIGHT :

View File

@ -74,6 +74,7 @@ bool linux_swap::create( const Partition & new_partition, OperationDetail & oper
bool linux_swap::resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition ) bool linux_swap::resize( const Partition & partition_new, OperationDetail & operationdetail, bool fill_partition )
{ {
/*TO TRANSLATORS: looks like create new linux-swap filesystem */
operationdetail .add_child( OperationDetail( operationdetail .add_child( OperationDetail(
String::ucompose( _("create new %1 filesystem"), Utils::get_filesystem_string( FS_LINUX_SWAP ) ) ) ) ; String::ucompose( _("create new %1 filesystem"), Utils::get_filesystem_string( FS_LINUX_SWAP ) ) ) ) ;
if ( create( partition_new, operationdetail .get_last_child() ) ) if ( create( partition_new, operationdetail .get_last_child() ) )

View File

@ -231,6 +231,7 @@ bool xfs::copy( const Glib::ustring & src_part_path,
Glib::ustring DST = Glib::get_tmp_dir() + "/gparted_tmp_xfs_dest_mountpoint" ; Glib::ustring DST = Glib::get_tmp_dir() + "/gparted_tmp_xfs_dest_mountpoint" ;
//create xfs filesystem on destination.. //create xfs filesystem on destination..
/*TO TRANSLATORS: looks like Create new xfs filesystem */
operationdetail .add_child( OperationDetail( operationdetail .add_child( OperationDetail(
String::ucompose( _("create new %1 filesystem"), Utils::get_filesystem_string( FS_XFS ) ) ) ) ; String::ucompose( _("create new %1 filesystem"), Utils::get_filesystem_string( FS_XFS ) ) ) ) ;