Improve strings

This commit is contained in:
Jean-Patrick Guerrero
2020-12-10 19:12:50 +01:00
parent 37a01cc836
commit 443831c179
3 changed files with 6 additions and 3 deletions

View File

@ -1417,7 +1417,8 @@ local function get_export_fs(fs, data, panel, is_recipe, is_usage, max_stacks_rc
fmt("scrollbar",
data.xoffset + 8.1, data.yoffset, 3, 0.35, sprintf("scrbar_%s", name), stack_fs),
fmt("button", data.xoffset + 8.1, data.yoffset + 0.4, 3, 0.7, sprintf("craft_%s", name),
sprintf("%s", sprintf(ES"Craft %u stack(s)", stack_fs))))
sprintf("%s", sprintf(stack_fs > 1 and ES"Craft %u stacks" or ES"Craft %u stack",
stack_fs))))
end
local function get_rcp_extra(fs, data, panel, is_recipe, is_usage)