Translate remaining German text to English
This commit is contained in:
1 parent
4b28d441b0
commit
dabda992ed
3 files changed
+3
-3
No files matched your search
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user