mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-08-27 11:40:03 +00:00
Make OperationDetail no_more_children bug message translatable (#790842)
To be consistent with all previous bug messages being translatable. Also only mark the bug as a warning instead of an error because the bug doesn't cause any disk drive operations to fail. Bug 790842 - Report libparted messages into operation details at the point at which they occur
This commit is contained in:
parent
675760d3af
commit
c7ee9934f1
|
@ -30,6 +30,7 @@ src/OperationCopy.cc
|
|||
src/OperationCheck.cc
|
||||
src/OperationCreate.cc
|
||||
src/OperationDelete.cc
|
||||
src/OperationDetail.cc
|
||||
src/OperationFormat.cc
|
||||
src/OperationLabelFileSystem.cc
|
||||
src/OperationNamePartition.cc
|
||||
|
|
|
@ -143,9 +143,17 @@ void OperationDetail::add_child( const OperationDetail & operationdetail )
|
|||
// a programming bug. However the best way to report it is by adding yet
|
||||
// another child containing the bug report, and allowing the child to be
|
||||
// added anyway.
|
||||
add_child_implement( OperationDetail( "GParted Bug: Adding another child after no_more_children set "
|
||||
"on this OperationDetail",
|
||||
STATUS_ERROR, FONT_ITALIC ) );
|
||||
add_child_implement( OperationDetail( Glib::ustring( _("GParted Bug") ) + ": " +
|
||||
/* TO TRANSLATORS:
|
||||
* means that GParted has encountered a programming bug. More
|
||||
* information about a step is being added after the step was
|
||||
* marked as complete. This bug description as well as the
|
||||
* information being added will be visible in the details of the
|
||||
* applied operations.
|
||||
*/
|
||||
_("Adding more information to the results of this step after it "
|
||||
"has been marked as completed"),
|
||||
STATUS_WARNING, FONT_ITALIC ) );
|
||||
add_child_implement( operationdetail );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue