未验证 提交 c4641916 编写于 作者: A anothersimulacrum 提交者: GitHub

Translate remains/max length in inventory ui (#54464)

上级 cf388bba
......@@ -143,9 +143,9 @@ struct container_data {
std::string to_formatted_string( const bool compact = true ) {
std::string string_to_format;
if( compact ) {
string_to_format = "%s/%s : %s/%s : max %s";
string_to_format = _( "%s/%s : %s/%s : max %s" );
} else {
string_to_format = "(remains %s, %s) max length %s";
string_to_format = _( "(remains %s, %s) max length %s" );
}
return string_format( string_to_format,
unit_to_string( total_capacity - actual_capacity, true, true ),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册