Fix string interpolation bugs
This commit is contained in:
parent
7575736991
commit
bce44b6f6d
6 changed files with 22 additions and 8 deletions
|
|
@ -109,7 +109,8 @@ namespace LibationWinForms.GridView
|
|||
var libraryBooks = selectedBooks.Select(rge => rge.LibraryBook).ToList();
|
||||
var result = MessageBoxLib.ShowConfirmationDialog(
|
||||
libraryBooks,
|
||||
$"Are you sure you want to remove {selectedBooks.Count} books from Libation's library?",
|
||||
// do not use `$` string interpolation. See impl.
|
||||
"Are you sure you want to remove {0} from Libation's library?",
|
||||
"Remove books from Libation?");
|
||||
|
||||
if (result != DialogResult.Yes)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue