diff --git a/ElvUI_SLE/locales/english.lua b/ElvUI_SLE/locales/english.lua
index 3b788e9..bcf44cb 100644
--- a/ElvUI_SLE/locales/english.lua
+++ b/ElvUI_SLE/locales/english.lua
@@ -128,6 +128,12 @@ L['Farm'] = true
L["FARM_DESC"] = true
L['Only active buttons'] = true
L['Only show the buttons for the seeds, portals, tools you have in your bags.'] = true
+L["Seed Bars"] = true
+L["Auto Planting"] = true
+L["Automatically plant seeds to the nearest tilled soil if one is not already selected."] = true
+L["Farm Seed Bars"] = true
+L["Farm Tool Bar"] = true
+L["Farm Portal Bar"] = true
L["Tilled Soil"] = true
--Marks--
diff --git a/ElvUI_SLE/locales/russian.lua b/ElvUI_SLE/locales/russian.lua
index ca7634b..10d4578 100644
--- a/ElvUI_SLE/locales/russian.lua
+++ b/ElvUI_SLE/locales/russian.lua
@@ -132,7 +132,13 @@ L["Changes the way text is shown on rep bar."] = "Изменяет отобра
L['Farm'] = "Ферма"
L["FARM_DESC"] = true
L['Only active buttons'] = "Только активные"
-L['Only show the buttons for the seeds, portals, tools you have in your bags.'] = "Отображать только кнопки для тех семян/инструментов/деревьев, которые есть у Вас в сумках."
+L['Only show the buttons for the seeds, portals, tools you have in your bags.'] = "Отображать только кнопки для тех семян/инструментов/порталов, которые есть у Вас в сумках."
+L["Seed Bars"] = "Панели семян"
+L["Auto Planting"] = "Автоматическая посадка"
+L["Automatically plant seeds to the nearest tilled soil if one is not already selected."] = "Автоматически высаживать указанное растение на ближайшую возделанную змелю, если не выбрана другая."
+L["Farm Seed Bars"] = "Панели семян"
+L["Farm Tool Bar"] = "Панель инструментов"
+L["Farm Portal Bar"] = "Панель порталов"
L["Tilled Soil"] = "Возделанная земля"
--Marks--
diff --git a/ElvUI_SLE/modules/farm/farm.lua b/ElvUI_SLE/modules/farm/farm.lua
index 7f50139..a6f69ca 100644
--- a/ElvUI_SLE/modules/farm/farm.lua
+++ b/ElvUI_SLE/modules/farm/farm.lua
@@ -288,9 +288,9 @@ function F:CreateFrames()
F:ResizeFrames()
F:FramesPosition()
- E:CreateMover(SeedAnchor, "FarmSeedAnchor", "Farmer Seed Bar")
- E:CreateMover(ToolAnchor, "FarmToolAnchor", "Farmer Tool Bar")
- E:CreateMover(PortalAnchor, "FarmPortalAnchor", "Farmer Portal Bar")
+ E:CreateMover(SeedAnchor, "FarmSeedAnchor", L["Farm Seed Bars"])
+ E:CreateMover(ToolAnchor, "FarmToolAnchor", L["Farm Tool Bar"])
+ E:CreateMover(PortalAnchor, "FarmPortalAnchor", L["Farm Portal Bar"])
for id, v in pairs(seeds) do
seeds[id] = { v[1], GetItemInfo(id) }
diff --git a/ElvUI_SLE/modules/farm/options.lua b/ElvUI_SLE/modules/farm/options.lua
index c39aa2b..8eda393 100644
--- a/ElvUI_SLE/modules/farm/options.lua
+++ b/ElvUI_SLE/modules/farm/options.lua
@@ -1,40 +1,56 @@
-local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
-local F = E:GetModule('Farm')
-
-E.Options.args.sle.args.farm = {
- type = 'group',
- order = 7,
- name = L['Farm'],
- args = {
- intro = {
- order = 1,
- type = 'description',
- name = L["FARM_DESC"],
- },
- enable = {
- type = "toggle",
- order = 2,
- name = L['Enable'],
- get = function(info) return E.private.sle.farm end,
- set = function(info, value) E.private.sle.farm = value; E:StaticPopup_Show("PRIVATE_RL") end
- },
- active = {
- order = 3,
- type = 'toggle',
- name = L['Only active buttons'],
- desc = L['Only show the buttons for the seeds, portals, tools you have in your bags.'],
- disabled = function() return not E.private.sle.farm end,
- get = function(info) return E.db.sle.farm.active end,
- set = function(info, value) E.db.sle.farm.active = value F:UpdateLayout() end,
- },
- size = {
- order = 4,
- type = "range",
- name = L["Button Size"],
- disabled = function() return not E.private.sle.farm end,
- min = 15, max = 60, step = 1,
- get = function(info) return E.db.sle.farm.size end,
- set = function(info, value) E.db.sle.farm.size = value; F:UpdateLayout() end,
- },
- },
+local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
+local F = E:GetModule('Farm')
+
+E.Options.args.sle.args.farm = {
+ type = 'group',
+ order = 7,
+ name = L['Farm'],
+ args = {
+ intro = {
+ order = 1,
+ type = 'description',
+ name = L["FARM_DESC"],
+ },
+ enable = {
+ type = "toggle",
+ order = 2,
+ name = L['Enable'],
+ get = function(info) return E.private.sle.farm end,
+ set = function(info, value) E.private.sle.farm = value; E:StaticPopup_Show("PRIVATE_RL") end
+ },
+ active = {
+ order = 3,
+ type = 'toggle',
+ name = L['Only active buttons'],
+ desc = L['Only show the buttons for the seeds, portals, tools you have in your bags.'],
+ disabled = function() return not E.private.sle.farm end,
+ get = function(info) return E.db.sle.farm.active end,
+ set = function(info, value) E.db.sle.farm.active = value F:UpdateLayout() end,
+ },
+ size = {
+ order = 4,
+ type = "range",
+ name = L["Button Size"],
+ disabled = function() return not E.private.sle.farm end,
+ min = 15, max = 60, step = 1,
+ get = function(info) return E.db.sle.farm.size end,
+ set = function(info, value) E.db.sle.farm.size = value; F:UpdateLayout() end,
+ },
+ seedbar = {
+ type = "group",
+ order = 5,
+ name = L["Seed Bars"],
+ guiInline = true,
+ args = {
+ autotarget = {
+ type = "toggle",
+ order = 1,
+ name = L["Auto Planting"],
+ desc = L["Automatically plant seeds to the nearest tilled soil if one is not already selected."],
+ get = function(info) return E.db.sle.farm.autotarget end,
+ set = function(info, value) E.db.sle.farm.autotarget = value; end
+ },
+ },
+ },
+ },
}
\ No newline at end of file