Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Version: 3.0.45
Date: ???
Changes:
- Updated German locale courtesy of CarstenG
- Fixed AM/FM text in beacon GUI not being localizable, again. Resolves https://github.com/pyanodon/pybugreports/issues/1337
- Fixed Dutch locale translating two fluids to the same name. Resolves https://github.com/pyanodon/pybugreports/issues/1305
---------------------------------------------------------------------------------------------------
Version: 3.0.44
Expand Down
10 changes: 4 additions & 6 deletions scripts/beacons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -285,15 +285,14 @@ Beacons.events.on_gui_opened = function(event)
}
local AM = dial.add {type = "flow", name = "AM_flow"}
AM.style.vertical_align = "center"
AM.add {type = "label", name = "AM_label", caption = "AM"}
AM.add {type = "label", name = "AM_label", caption = { "beacon-modifier.am" }}
AM.add {
type = "slider",
name = "AM",
minimum_value = 1,
maximum_value = 5,
value = name:match("%d+"),
discrete_slider = true,
caption = { "beacon-modifier.am" }
discrete_slider = true
}
AM.add {
type = "textfield",
Expand All @@ -305,15 +304,14 @@ Beacons.events.on_gui_opened = function(event)

local FM = dial.add {type = "flow", name = "FM_flow"}
FM.style.vertical_align = "center"
FM.add {type = "label", name = "FM_label", caption = "FM"}
FM.add {type = "label", name = "FM_label", caption = { "beacon-modifier.fm" }}
FM.add {
type = "slider",
name = "FM",
minimum_value = 1,
maximum_value = 5,
value = name:match("%d+$"),
discrete_slider = true,
caption = { "beacon-modifier.fm" }
discrete_slider = true
}
FM.add {
type = "textfield",
Expand Down