mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 13:43:44 +00:00
parent
cef77a51df
commit
c69877faa6
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user