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 =