fix(marksilo): kolonneoverskrift 'En route' klippes ikke; liter vises kompakt (v1.59.10.0)

This commit is contained in:
2026-09-29 18:23:43 +02:00
parent fd3f002275
commit 9c55859853
3 changed files with 4 additions and 4 deletions
@@ -77,8 +77,8 @@ function SmartPickupFrame:fillFieldSiloRows(adEnv)
local state = i18n:getText("spu_fs_state_" .. entry.state) local state = i18n:getText("spu_fs_state_" .. entry.state)
if entry.state == "noFarmStore" then state = string.format(state, title) end if entry.state == "noFarmStore" then state = string.format(state, title) end
if entry.toProduction then state = state .. " " .. i18n:getText("spu_fs_toFactory") end if entry.toProduction then state = state .. " " .. i18n:getText("spu_fs_toFactory") end
self:addCellRow(self.fieldPrefab, {tostring(entry.siloName), title, string.format("%d", math.floor(entry.liters)), self:addCellRow(self.fieldPrefab, {tostring(entry.siloName), title, SmartPickupFrame.formatCompact(entry.liters or 0),
string.format("%d", math.floor(entry.onWay)), state, ""}) SmartPickupFrame.formatCompact(entry.onWay or 0), state, ""})
end end
end end
+1 -1
View File
@@ -527,7 +527,7 @@
<text name="spu_fs_nothing" text="No field silo has products above the minimum amount"/> <text name="spu_fs_nothing" text="No field silo has products above the minimum amount"/>
<text name="spu_fs_col_silo" text="Silo"/> <text name="spu_fs_col_silo" text="Silo"/>
<text name="spu_fs_col_liters" text="Liters"/> <text name="spu_fs_col_liters" text="Liters"/>
<text name="spu_fs_col_onWay" text="On the way"/> <text name="spu_fs_col_onWay" text="En route"/>
<text name="spu_fs_col_state" text="Status"/> <text name="spu_fs_col_state" text="Status"/>
<text name="spu_fs_state_ok" text="ok"/> <text name="spu_fs_state_ok" text="ok"/>
<text name="spu_fs_state_noMarker" text="missing marker"/> <text name="spu_fs_state_noMarker" text="missing marker"/>
+1 -1
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?> <?xml version="1.0" encoding="utf-8" standalone="no"?>
<modDesc descVersion="107"> <modDesc descVersion="107">
<author>masterdraco</author> <author>masterdraco</author>
<version>1.59.9.0</version> <version>1.59.10.0</version>
<title> <title>
<en>AD Smart Pickup</en> <en>AD Smart Pickup</en>
</title> </title>