diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2015-12-15 18:13:26 +0100 |
|---|---|---|
| committer | Markus Wick <degasus@users.noreply.github.com> | 2015-12-15 18:13:26 +0100 |
| commit | e4b83d17bf5e79351d3ceddb2f856bb048a52afc (patch) | |
| tree | b84791bb83b29865cea8e15d02de89770209a5d6 /Source/Core/DiscIO/CompressedBlob.cpp | |
| parent | 3e2ac3df43f057fdbbdfa2bd1466e5390d850a81 (diff) | |
| parent | 74ea765427ad499dd16667d8939cb67d83dcdf04 (diff) | |
Merge pull request #3270 from JosJuice/more-translations
Mark more strings for translation
Diffstat (limited to 'Source/Core/DiscIO/CompressedBlob.cpp')
| -rw-r--r-- | Source/Core/DiscIO/CompressedBlob.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/Core/DiscIO/CompressedBlob.cpp b/Source/Core/DiscIO/CompressedBlob.cpp index a947f944e4..e41642d483 100644 --- a/Source/Core/DiscIO/CompressedBlob.cpp +++ b/Source/Core/DiscIO/CompressedBlob.cpp @@ -182,7 +182,7 @@ bool CompressFileToBlob(const std::string& infile, const std::string& outfile, u return false; } - callback("Files opened, ready to compress.", 0, arg); + callback(GetStringT("Files opened, ready to compress."), 0, arg); CompressedBlobHeader header; header.magic_cookie = kBlobCookie; @@ -219,7 +219,8 @@ bool CompressFileToBlob(const std::string& infile, const std::string& outfile, u if (inpos != 0) ratio = (int)(100 * position / inpos); - std::string temp = StringFromFormat("%i of %i blocks. Compression ratio %i%%", i, header.num_blocks, ratio); + std::string temp = StringFromFormat(GetStringT("%i of %i blocks. Compression ratio %i%%").c_str(), + i, header.num_blocks, ratio); bool was_cancelled = !callback(temp, (float)i / (float)header.num_blocks, arg); if (was_cancelled) { @@ -312,7 +313,7 @@ bool CompressFileToBlob(const std::string& infile, const std::string& outfile, u if (success) { - callback("Done compressing disc image.", 1.0f, arg); + callback(GetStringT("Done compressing disc image."), 1.0f, arg); } return success; } @@ -355,7 +356,7 @@ bool DecompressBlobToFile(const std::string& infile, const std::string& outfile, { if (i % progress_monitor == 0) { - bool was_cancelled = !callback("Unpacking", (float)i / (float)num_buffers, arg); + bool was_cancelled = !callback(GetStringT("Unpacking"), (float)i / (float)num_buffers, arg); if (was_cancelled) { success = false; |
