summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/FileBlob.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-11-17 18:02:39 +0100
committerGitHub <noreply@github.com>2020-11-17 18:02:39 +0100
commit07be82d64f16d82bb99e29c84de82120eba348bf (patch)
treef4e1dde294ede8ee55901a942b8a24cf6ff81c80 /Source/Core/DiscIO/FileBlob.cpp
parent4c9b226bd623e12a8269ae869462916e385e647d (diff)
parent9a01c3fb9f137b666f27fcf8f1bfc3ac9c42346b (diff)
Merge pull request #9253 from JosJuice/positional-arguments
Use positional arguments in all translatable fmt strings
Diffstat (limited to 'Source/Core/DiscIO/FileBlob.cpp')
-rw-r--r--Source/Core/DiscIO/FileBlob.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DiscIO/FileBlob.cpp b/Source/Core/DiscIO/FileBlob.cpp
index 13439d029b..b22bb6caa6 100644
--- a/Source/Core/DiscIO/FileBlob.cpp
+++ b/Source/Core/DiscIO/FileBlob.cpp
@@ -50,7 +50,7 @@ bool ConvertToPlain(BlobReader* infile, const std::string& infile_path,
if (!outfile)
{
PanicAlertFmtT(
- "Failed to open the output file \"{}\".\n"
+ "Failed to open the output file \"{0}\".\n"
"Check that you have permissions to write the target folder and that the media can "
"be written.",
outfile_path);
@@ -90,13 +90,13 @@ bool ConvertToPlain(BlobReader* infile, const std::string& infile_path,
const u64 sz = std::min(buffer_size, infile->GetDataSize() - inpos);
if (!infile->Read(inpos, sz, buffer.data()))
{
- PanicAlertFmtT("Failed to read from the input file \"{}\".", infile_path);
+ PanicAlertFmtT("Failed to read from the input file \"{0}\".", infile_path);
success = false;
break;
}
if (!outfile.WriteBytes(buffer.data(), sz))
{
- PanicAlertFmtT("Failed to write the output file \"{}\".\n"
+ PanicAlertFmtT("Failed to write the output file \"{0}\".\n"
"Check that you have enough space available on the target drive.",
outfile_path);
success = false;