From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.zx2c4.com (lists.zx2c4.com [165.227.139.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2F168C433EF for ; Fri, 22 Apr 2022 00:21:20 +0000 (UTC) Received: by lists.zx2c4.com (OpenSMTPD) with ESMTP id 16f79ef6; Thu, 21 Apr 2022 23:48:54 +0000 (UTC) Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [2607:f8b0:4864:20::102a]) by lists.zx2c4.com (OpenSMTPD) with ESMTPS id ac476fce (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Wed, 6 Apr 2022 08:02:01 +0000 (UTC) Received: by mail-pj1-x102a.google.com with SMTP id s14-20020a17090a880e00b001caaf6d3dd1so5050311pjn.3 for ; Wed, 06 Apr 2022 01:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SZFgE2uqsqFDUu4WIbx3hB3IrPvhrgJXJlrglImZkbo=; b=CJ9qucAirktkGyEX6C9df3+swg6YJm5ZA4jRBGI1mZfWXveoy75jCjTAL4wHdYRUrh kXydZ0iTxcQo2BKEkHVyqqLdmMGJem+PYKW78DYa0Gw1oHj3elM430RUHZbxzAQolb+Y bxmVKxktiVETfkKOuuL6eoPqCYz/FIgTA3q7BaGvd23ueMrovYPDZupv4ZNPeQ0M3c5Q hF5WZ4pepeNCtXEvmKOniS4UJFLsfUa1vUJ60FayMYhvpR+2PcbiX0O+wgj/XtMB198O CltKtrJzvOn4TomEn3rz90fginwDQxNOpe6VOR0vI3mDBZLdigcrPpbkPeAr3s7mQm7q Ybew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SZFgE2uqsqFDUu4WIbx3hB3IrPvhrgJXJlrglImZkbo=; b=ai7OByhRUqEOD1Pimfkp/gl85sab9x65CxjsXDYxa3hK2KQ6TeUegi0eTGvUW/g/EE QMZoR84LEDRdPjVxL7/xZjaVly17pcY+YJuguoPal7XUtTU+s4t5usv+iaDwdw2sryn1 LjDaxN6lAWSZlY3K+vNvbq1BhNahJZjq8VpIEFXi+be4RtQXELCFvFEwfYqoto1stheo tJuFcDNFMqE3V0zyBE3tWyKqkkefHVEy4UlkYH1FLthYaxZsjcbcr8rnMQeRAvX9bhk3 iwELVMgX/tVtW4y4sj8MwMCNGnEIXVKiALrWLphnrCwF0SAkeEFTwfCLOBqm/KtzRY9t 559w== X-Gm-Message-State: AOAM533x1LjPrcm8SsQJr3o3qO+BITm0JBHafjBWlZTPJLD5wcTuHizE OsBuxgSZxMjAP9L2N+sz0ZN5xr92H5w= X-Google-Smtp-Source: ABdhPJxjEP84poudd4gB4cL2HwM9gywTq6ttnzqhADAJDIQ302NZGGOvZ4zp9xjYBteZxlK28HhUpA== X-Received: by 2002:a17:90a:b307:b0:1bd:37f3:f0fc with SMTP id d7-20020a17090ab30700b001bd37f3f0fcmr8645804pjr.132.1649232118939; Wed, 06 Apr 2022 01:01:58 -0700 (PDT) Received: from localhost.localdomain ([123.129.124.220]) by smtp.gmail.com with ESMTPSA id u126-20020a637984000000b0038147b4f53esm15400075pgc.93.2022.04.06.01.01.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 01:01:58 -0700 (PDT) From: Brook Q To: wireguard@lists.zx2c4.com Cc: Brook Q Subject: [PATCH 0/1] Convert network ip string to submenu list Date: Wed, 6 Apr 2022 16:01:09 +0800 Message-Id: <20220406080110.8705-1-brook.qin@gmail.com> X-Mailer: git-send-email 2.32.0 (Apple Git-132) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 21 Apr 2022 23:48:42 +0000 X-BeenThere: wireguard@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: wireguard-bounces@lists.zx2c4.com Sender: "WireGuard" Hi, Wireguard been a great help to me for working from home, many thanks to wiredguard team. In my situation, allowedIPs contains many IP addresses, and as a string is too long in menu title, maybe convert it to submenu list is better. https://imgur.com/a/bKdxeG8 Sincerely Brook Q (1): UI: macOS: move tunnel peers ip to submenus Sources/WireGuardApp/Base.lproj/Localizable.strings | 1 + Sources/WireGuardApp/UI/macOS/StatusMenu.swift | 13 ++++++++++--- Sources/WireGuardApp/de.lproj/Localizable.strings | 1 + Sources/WireGuardApp/fa.lproj/Localizable.strings | 1 + Sources/WireGuardApp/fi.lproj/Localizable.strings | 1 + Sources/WireGuardApp/fr.lproj/Localizable.strings | 1 + Sources/WireGuardApp/it.lproj/Localizable.strings | 1 + Sources/WireGuardApp/ja.lproj/Localizable.strings | 1 + Sources/WireGuardApp/pa.lproj/Localizable.strings | 1 + Sources/WireGuardApp/pl.lproj/Localizable.strings | 1 + Sources/WireGuardApp/ro.lproj/Localizable.strings | 1 + Sources/WireGuardApp/ru.lproj/Localizable.strings | 1 + Sources/WireGuardApp/sl.lproj/Localizable.strings | 1 + Sources/WireGuardApp/tr.lproj/Localizable.strings | 1 + .../WireGuardApp/zh-Hans.lproj/Localizable.strings | 1 + .../WireGuardApp/zh-Hant.lproj/Localizable.strings | 1 + 16 files changed, 25 insertions(+), 3 deletions(-) -- 2.32.0 (Apple Git-132)