local Texts = {}

Texts.en = {
	hudLoading = "Loading...",
	placementHint = "Arrows: select cell | 1/2/3: place token",
	conveyorHint = "Conveyor (animated offers): click egg to buy",
	noOffer = "No offer",
	buyFailed = "Buy failed: %s",
	boughtToken = "Bought %s token=%d",
	upgradeConveyorFailed = "Upgrade conveyor failed: %s",
	upgradePlotFailed = "Upgrade plot failed: %s",
	sellFailed = "Sell failed: %s",
	errorPrefix = "Error: %s",
	statusTemplate = "Coins: %.1f | Plot %d | Conv %d | Selected: %d,%d | Tokens: %d",
}

Texts.defaultLocale = "en"

function Texts.Get(locale)
	local bucket = Texts[locale]
	if bucket == nil then
		error("Texts.Get: unsupported locale")
	end
	return bucket
end

return Texts
