From c69877faa6959f71676ab0eaf194dbdb62299269 Mon Sep 17 00:00:00 2001 From: Wedge009 Date: Thu, 20 Aug 2020 11:00:58 +1000 Subject: [PATCH] Add translator notes, resolves #5081. [ci skip] --- src/serialization/string_utils.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/serialization/string_utils.cpp b/src/serialization/string_utils.cpp index 61bd511bff3..f5730e9044d 100644 --- a/src/serialization/string_utils.cpp +++ b/src/serialization/string_utils.cpp @@ -566,6 +566,7 @@ std::string si_string(double input, bool base2, const std::string& unit) { strings9 tmp { { "", (base2 ? + // TRANSLATORS: Translate the K in KiB only _("prefix_kibi^K") : _("prefix_kilo^k") ), @@ -589,6 +590,7 @@ std::string si_string(double input, bool base2, const std::string& unit) { si_string_impl_stream_write(ss, input); ss << ' ' << *prefix + // TRANSLATORS: Translate the i in (for example) KiB only << (base2 && (!(*prefix).empty()) ? _("infix_binary^i") : "") << unit; return ss.str();