Compare commits

..
1 Commits
Author SHA1 Message Date
Sebastian Unterschütz 66a49786c9 Translate remaining German text to English
Release / release (push) Successful in 5m32s
2026-10-27 18:27:21 +01:00
3 changed files with 3 additions and 3 deletions

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ func TestLocalNotesPersistAndStayIsolated(t *testing.T) {
ctx := context.Background() ctx := context.Background()
s := &Service{Dir: t.TempDir(), Namespace: "https://netbox.example"} s := &Service{Dir: t.TempDir(), Namespace: "https://netbox.example"}
host := netbox.HostEntry{Name: "web01", Kind: "device"} host := netbox.HostEntry{Name: "web01", Kind: "device"}
n := Note{Host: host, Text: "Wartung\nGrüße 🔧"} n := Note{Host: host, Text: "Maintenance\nReady 🔧"}
if err := s.Write(ctx, n, false); err != nil { if err := s.Write(ctx, n, false); err != nil {
t.Fatal(err) t.Fatal(err)
} }
+1 -1
View File
@@ -146,7 +146,7 @@ func RunWizard(cfg *config.Config) error {
strategies := parseStrategies(strategiesRaw) strategies := parseStrategies(strategiesRaw)
tokenVersion := netbox.TokenVersion(token) tokenVersion := netbox.TokenVersion(token)
if tokenVersion == 1 { if tokenVersion == 1 {
fmt.Fprintln(os.Stderr, "\nHinweis: Du verwendest einen Legacy-Token (v1). Erstelle in NetBox einen v2-Token (beginnt mit nbt_) für bessere Kompatibilität.") fmt.Fprintln(os.Stderr, "\nNote: You are using a legacy token (v1). Create a v2 token in NetBox (starting with nbt_) for better compatibility.")
fmt.Fprintln(os.Stderr, " NetBox → Admin → API Tokens → Add Token") fmt.Fprintln(os.Stderr, " NetBox → Admin → API Tokens → Add Token")
} }
+1 -1
View File
@@ -158,7 +158,7 @@ type Model struct {
height int height int
recentMode bool // true when showing recent hosts (empty search, initial state) recentMode bool // true when showing recent hosts (empty search, initial state)
filterOpen bool // Ctrl+F toggles filterOpen bool // Ctrl+F toggles
editMode bool // 'e' on selected item editMode bool // Ctrl+E on the selected item
} }
func New(client *netbox.Client, c *cache.Cache, defaultUser string, defaultPorts ...int) *Model { func New(client *netbox.Client, c *cache.Cache, defaultUser string, defaultPorts ...int) *Model {