From 443831c17916e4bab7c9c0a17316539e8c76ee13 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Thu, 10 Dec 2020 19:12:50 +0100 Subject: [PATCH] Improve strings --- init.lua | 3 ++- locale/craftguide.fr.tr | 3 ++- locale/template | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 9e1da03..168c5ad 100644 --- a/init.lua +++ b/init.lua @@ -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) diff --git a/locale/craftguide.fr.tr b/locale/craftguide.fr.tr index b961635..c5f79e0 100644 --- a/locale/craftguide.fr.tr +++ b/locale/craftguide.fr.tr @@ -62,6 +62,7 @@ Unmark this item=Enlever des favoris. Cannot mark this item. Limit of bookmarks reached.=Impossible de mettre cet item en favori. Limite des favoris atteinte. Only drop if using one of these tools: @1=Tombe seulement si détruit avec un de ces outils : @1 Only drop if using this tool: @1=Tombe seulement si détruit avec cet outil : @1 -Craft @1 stack(s)=Fabriquer @1 objet(s) +Craft @1 stack=Fabriquer @1 objet +Craft @1 stacks=Fabriquer @1 objets @1 added in your inventory=@1 mis dans votre inventaire @1 crafted=@1 fabriqué(s) diff --git a/locale/template b/locale/template index 34dba47..4dcdd68 100644 --- a/locale/template +++ b/locale/template @@ -62,6 +62,7 @@ Unmark this item= Cannot mark this item. Limit of bookmarks reached.= Only drop if using one of these tools: @1= Only drop if using this tool: @1= -Craft @1 stack(s)= +Craft @1 stack= +Craft @1 stacks= @1 added in your inventory= @1 crafted=