From dbf24f70c221e26fa0f40a75180fe2a053cd0384 Mon Sep 17 00:00:00 2001 From: david-swift Date: Sat, 18 May 2024 18:31:42 +0200 Subject: [PATCH] Localize Main Menu --- Sources/Localized.yml | 6 +++++- Sources/ToolbarView.swift | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Sources/Localized.yml b/Sources/Localized.yml index ae0dfcf..8b4e301 100644 --- a/Sources/Localized.yml +++ b/Sources/Localized.yml @@ -14,4 +14,8 @@ closeWindow: quit: en: Quit - de: Verlassen \ No newline at end of file + de: Verlassen + +mainMenu: + en: Main Menu + de: Hauptmenü \ No newline at end of file diff --git a/Sources/ToolbarView.swift b/Sources/ToolbarView.swift index ec9144b..231694a 100644 --- a/Sources/ToolbarView.swift +++ b/Sources/ToolbarView.swift @@ -24,7 +24,7 @@ struct ToolbarView: View { } } .primary() - .tooltip("Main Menu") + .tooltip(Loc.mainMenu) } }