An open-source cross-platform alternative to AirDrop
i18n: use correct wording in tray
Tien Do Namb24117f7e770
diff --git a/assets/i18n/strings.i18n.json b/assets/i18n/strings.i18n.jsonindex e0a75168..a5ecb365 100644--- a/assets/i18n/strings.i18n.json+++ b/assets/i18n/strings.i18n.json@@ -248,5 +248,10 @@"title": "@:general.quickSave","content": "File requests are automatically accepted. Be aware that everyone in the local network can send you files."}+ },+ "tray": {+ "@info": "Apple Guidelines are very strict about the 'close' wording.",+ "open": "@:general.open",+ "close": "Quit LocalSend"}}diff --git a/assets/i18n/strings_de.i18n.json b/assets/i18n/strings_de.i18n.jsonindex 74f01b11..b9d3ab00 100644--- a/assets/i18n/strings_de.i18n.json+++ b/assets/i18n/strings_de.i18n.json@@ -180,5 +180,9 @@"title": "@:general.quickSave","content": "Dateianfragen werden automatisch akzeptiert. Beachte, dass jeder im lokalen Netzwerk dir Dateien senden kann."}+ },+ "tray": {+ "open": "@:general.open",+ "close": "LocalSend beenden"}}diff --git a/lib/util/tray_helper.dart b/lib/util/tray_helper.dartindex 346da68d..9cf1a49f 100644--- a/lib/util/tray_helper.dart+++ b/lib/util/tray_helper.dart@@ -26,11 +26,11 @@ Future<void> initTray() async {final items = [MenuItem(key: TrayEntry.open.name,- label: t.general.open,+ label: t.tray.open,),MenuItem(key: TrayEntry.close.name,- label: t.general.close,+ label: t.tray.close,),];await trayManager.setContextMenu(Menu(items: items));