From c06e3b59e413b11bafe7faf77b745f45deb3f14c Mon Sep 17 00:00:00 2001 From: David Whetstone Date: Sat, 1 Jun 2024 04:55:06 -0700 Subject: [PATCH] =?UTF-8?q?Add=20"Settings=20..."=20menu=20and=20=E2=8C=98?= =?UTF-8?q?,=20hotkey=20(#2079)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IceCubesApp/App/Main/IceCubesApp+Menu.swift | 6 + .../Localization/Localizable.xcstrings | 119 ++++++++++++++++++ 2 files changed, 125 insertions(+) diff --git a/IceCubesApp/App/Main/IceCubesApp+Menu.swift b/IceCubesApp/App/Main/IceCubesApp+Menu.swift index d8a1e1bf..953d4e2c 100644 --- a/IceCubesApp/App/Main/IceCubesApp+Menu.swift +++ b/IceCubesApp/App/Main/IceCubesApp+Menu.swift @@ -4,6 +4,12 @@ import SwiftUI extension IceCubesApp { @CommandsBuilder var appMenu: some Commands { + CommandGroup(replacing: .appSettings) { + Button("menu.settings") { + appRouterPath.presentedSheet = .settings + } + .keyboardShortcut(",", modifiers: .command) + } CommandGroup(replacing: .newItem) { Button("menu.new-window") { openWindow(id: "MainWindow") diff --git a/IceCubesApp/Resources/Localization/Localizable.xcstrings b/IceCubesApp/Resources/Localization/Localizable.xcstrings index b029bc25..fd878ebc 100644 --- a/IceCubesApp/Resources/Localization/Localizable.xcstrings +++ b/IceCubesApp/Resources/Localization/Localizable.xcstrings @@ -35188,6 +35188,125 @@ } } }, + "menu.settings" : { + "extractionState" : "manual", + "localizations" : { + "be" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Налады ..." + } + }, + "ca" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Configuració ..." + } + }, + "de" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Einstellungen ..." + } + }, + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Settings ..." + } + }, + "en-GB" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Settings ..." + } + }, + "es" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Ajustes ..." + } + }, + "eu" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Ezarpenak ..." + } + }, + "fr" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Réglages ..." + } + }, + "it" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Impostazioni ..." + } + }, + "ja" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "設定 ..." + } + }, + "ko" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "앱 설정 ..." + } + }, + "nb" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Innstillinger ..." + } + }, + "nl" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Instellingen ..." + } + }, + "pl" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Ustawienia ..." + } + }, + "pt-BR" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Configurações ..." + } + }, + "tr" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Ayarlar ..." + } + }, + "uk" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Налаштування ..." + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "设置 ..." + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "設定 ..." + } + } + } + }, "New post" : { "localizations" : { "de" : {