Skip to content

Commit

Permalink
Added missing attach header task description
Browse files Browse the repository at this point in the history
  • Loading branch information
schwiti6190 committed Oct 13, 2023
1 parent 12c2b93 commit bfd0189
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/MasterTranslations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,12 @@
<Text language="en"><![CDATA[AI worker %s has stopped work unexpectedly - automatic cutter attach disabled!]]></Text>
</Translation>
</Category>
<Category name="AI fieldwork task descriptions">
<Translation name="CP_ai_taskDescriptionAttachHeader">
<Text language="de"><![CDATA[Kuppelt das Schneidwerk an]]></Text>
<Text language="en"><![CDATA[Picks the header up]]></Text>
</Translation>
</Category>
<Category name="AI bale finder task descriptions">
<Translation name="CP_ai_taskDescriptionCollectsBales">
<Text language="de"><![CDATA[Sammelt Ballen auf dem Feld]]></Text>
Expand Down
2 changes: 2 additions & 0 deletions scripts/ai/jobs/CpAIJobFieldWork.lua
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ function CpAIJobFieldWork:getDescription()
desc = desc .. " - " .. g_i18n:getText("ai_taskDescriptionDriveToField")
elseif currentTask == self.fieldWorkTask then
desc = desc .. " - " .. g_i18n:getText("ai_taskDescriptionFieldWork")
elseif currentTask == self.attachHeaderTask then
desc = desc .. " - " .. g_i18n:getText("CP_ai_taskDescriptionAttachHeader")
end
return desc
end

0 comments on commit bfd0189

Please sign in to comment.