Simplified translation text handling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35775 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a9611382fa
commit
6b862e027c
@ -199,9 +199,12 @@ BootManagerController::_RestoreMBR()
|
||||
fSettings.FindString("file", &path);
|
||||
|
||||
BString message;
|
||||
message << TR("About to restore the Master Boot Record (MBR) of")
|
||||
<< " " << disk << " " << TR("from") << " " << path << ". " <<
|
||||
TR("Do you wish to continue?");
|
||||
message << TR_CMT("About to restore the Master Boot Record (MBR) of"
|
||||
" %disk from %file. Do you wish to continue?",
|
||||
"Don't translate the place holders: %disk and %file");
|
||||
message.ReplaceFirst("%disk", disk);
|
||||
message.ReplaceFirst("%file", path);
|
||||
|
||||
BAlert* alert = new BAlert("confirm", message.String(),
|
||||
TR("Restore MBR"), TR("Back"),
|
||||
NULL, B_WIDTH_AS_USUAL, B_WARNING_ALERT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user