From 077f62dba4b4de97401cfc119105ff6005d80270 Mon Sep 17 00:00:00 2001 From: Adimgar Date: Sat, 16 May 2015 17:08:39 -0600 Subject: [PATCH] Added missing translations --- mods/farming/api.lua | 4 ++-- mods/farming/locale/es.txt | 3 +++ mods/farming/locale/template.txt | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/mods/farming/api.lua b/mods/farming/api.lua index 8c27233f..a6e82f3e 100644 --- a/mods/farming/api.lua +++ b/mods/farming/api.lua @@ -59,7 +59,7 @@ farming.register_hoe = function(name, def) end -- Check def table if def.description == nil then - def.description = "Hoe" + def.description = S("Hoe") end if def.inventory_image == nil then def.inventory_image = "unknown_item.png" @@ -161,7 +161,7 @@ farming.register_plant = function(name, def) -- Check def table if not def.description then - def.description = "Seed" + def.description = S("Seed") end if not def.inventory_image then def.inventory_image = "unknown_item.png" diff --git a/mods/farming/locale/es.txt b/mods/farming/locale/es.txt index da49ee8d..ec124129 100755 --- a/mods/farming/locale/es.txt +++ b/mods/farming/locale/es.txt @@ -19,3 +19,6 @@ Desert Sand Soil = Suelo de desierto Wet Desert Sand Soil = Suelo de desierto húmedo Straw = Paja +#api.lua +Hoe = Azada +Seed = Semilla diff --git a/mods/farming/locale/template.txt b/mods/farming/locale/template.txt index 1992fb92..4f2fd4e4 100755 --- a/mods/farming/locale/template.txt +++ b/mods/farming/locale/template.txt @@ -19,3 +19,6 @@ Desert Sand Soil = Wet Desert Sand Soil = Straw = +#api.lua +Hoe = +Seed =