ui fix
All checks were successful
release-tag / release-image (push) Successful in 2m16s

This commit is contained in:
2025-07-26 20:59:32 +02:00
parent ca7eadfcb2
commit b3a35f7e74

View File

@@ -44,7 +44,7 @@ var (
impressum = GetENV("KT_IMPRESSUM", "") impressum = GetENV("KT_IMPRESSUM", "")
orte = []string{} orte = []string{}
schiffe = []string{ schiffe = []string{
"100i", "125a", "135c", "Arrow", "Aurora CL", "Aurora ES", "Aurora LN", "Aurora LX", "Aurora MR", "", "100i", "125a", "135c", "Arrow", "Aurora CL", "Aurora ES", "Aurora LN", "Aurora LX", "Aurora MR",
"Avenger Stalker", "Avenger Titan", "Avenger Titan Renegade", "Avenger Warlock", "Avenger Stalker", "Avenger Titan", "Avenger Titan Renegade", "Avenger Warlock",
"Blade", "Buccaneer", "C1 Spirit", "C2 Hercules Starlifter", "C8 Pisces", "C8R Pisces Rescue", "Blade", "Buccaneer", "C1 Spirit", "C2 Hercules Starlifter", "C8 Pisces", "C8R Pisces Rescue",
"C8X Pisces Expedition", "Carrack", "Caterpillar", "Constellation Andromeda", "C8X Pisces Expedition", "Carrack", "Caterpillar", "Constellation Andromeda",
@@ -60,7 +60,7 @@ var (
"Terrapin", "Vulture", "Hull-A", "Hull-C", "Zeus ES", "Zeus CL", "Terrapin", "Vulture", "Hull-A", "Hull-C", "Zeus ES", "Zeus CL",
// …weitere Capital- und Concept-Schiffe sind ebenfalls bekannt! // …weitere Capital- und Concept-Schiffe sind ebenfalls bekannt!
} }
waren = []string{"Laranite", "Titanium", "Medical Supplies", "Gold"} waren = []string{"", "Laranite", "Titanium", "Medical Supplies", "Gold"}
) )
type POI struct { type POI struct {
@@ -216,7 +216,7 @@ func main() {
if err := json.Unmarshal(data, &pois); err != nil { if err := json.Unmarshal(data, &pois); err != nil {
panic(err) panic(err)
} }
orte = append(orte, "")
for _, poi := range pois { for _, poi := range pois {
formatted := fmt.Sprintf("%s - %s - %s (%s)", poi.System, poi.Planet, poi.PoiName, poi.Type) formatted := fmt.Sprintf("%s - %s - %s (%s)", poi.System, poi.Planet, poi.PoiName, poi.Type)
orte = append(orte, formatted) orte = append(orte, formatted)