From 9d543261b01e3237317d33ecd849a4bc28b39d2b Mon Sep 17 00:00:00 2001 From: Avi0n <14863961+Avi0n@users.noreply.github.com> Date: Sun, 30 Aug 2026 09:57:11 -0700 Subject: [PATCH] feat(whats-new): add 1.4.0 notes - Translation, channel avatars, and failed-send badges - GitHub link labeled See all new changes - Canvas preview reads from the catalog --- MC1/Models/WhatsNew/WhatsNewCatalog.swift | 22 ++++++------ MC1/Resources/Generated/L10n.swift | 36 +++++++++---------- .../Localization/de.lproj/WhatsNew.strings | 26 +++++++------- .../Localization/en.lproj/WhatsNew.strings | 26 +++++++------- .../Localization/es.lproj/WhatsNew.strings | 26 +++++++------- .../Localization/fr.lproj/WhatsNew.strings | 26 +++++++------- .../Localization/it.lproj/WhatsNew.strings | 26 +++++++------- .../Localization/nl.lproj/WhatsNew.strings | 26 +++++++------- .../Localization/pl.lproj/WhatsNew.strings | 26 +++++++------- .../Localization/pt.lproj/WhatsNew.strings | 26 +++++++------- .../Localization/ru.lproj/WhatsNew.strings | 26 +++++++------- .../Localization/uk.lproj/WhatsNew.strings | 26 +++++++------- .../zh-Hans.lproj/WhatsNew.strings | 26 +++++++------- MC1/Views/WhatsNew/WhatsNewSheet.swift | 31 +++------------- 14 files changed, 177 insertions(+), 198 deletions(-) diff --git a/MC1/Models/WhatsNew/WhatsNewCatalog.swift b/MC1/Models/WhatsNew/WhatsNewCatalog.swift index 717959de5..e716a7733 100644 --- a/MC1/Models/WhatsNew/WhatsNewCatalog.swift +++ b/MC1/Models/WhatsNew/WhatsNewCatalog.swift @@ -5,25 +5,25 @@ import Foundation enum WhatsNewCatalog { static let releases: [WhatsNewRelease] = [ WhatsNewRelease( - version: WhatsNewVersion(major: 1, minor: 3), + version: WhatsNewVersion(major: 1, minor: 4), items: [ WhatsNewItem( - symbol: "bubble.left.and.bubble.right", - title: L10n.WhatsNew.WhatsNew.FasterChats.title, - description: L10n.WhatsNew.WhatsNew.FasterChats.description + symbol: "translate", + title: L10n.WhatsNew.WhatsNew.MessageTranslation.title, + description: L10n.WhatsNew.WhatsNew.MessageTranslation.description ), WhatsNewItem( - symbol: "person.crop.circle.badge.plus", - title: L10n.WhatsNew.WhatsNew.ContactPhotos.title, - description: L10n.WhatsNew.WhatsNew.ContactPhotos.description + symbol: "person.crop.circle", + title: L10n.WhatsNew.WhatsNew.SenderAvatars.title, + description: L10n.WhatsNew.WhatsNew.SenderAvatars.description ), WhatsNewItem( - symbol: "map", - title: L10n.WhatsNew.WhatsNew.MapFilters.title, - description: L10n.WhatsNew.WhatsNew.MapFilters.description + symbol: "arrow.clockwise", + title: L10n.WhatsNew.WhatsNew.FailedSends.title, + description: L10n.WhatsNew.WhatsNew.FailedSends.description ) ], - releaseNotesURL: URL(string: "https://github.com/Avi0n/MeshCoreOne/releases/tag/v1.3.0")! + releaseNotesURL: URL(string: "https://github.com/Avi0n/MeshCoreOne/releases/tag/v1.4.0")! ) ] } diff --git a/MC1/Resources/Generated/L10n.swift b/MC1/Resources/Generated/L10n.swift index d0b4c5947..32aae1750 100644 --- a/MC1/Resources/Generated/L10n.swift +++ b/MC1/Resources/Generated/L10n.swift @@ -6117,26 +6117,26 @@ public enum L10n { /// Button to dismiss the What's New sheet public static let continueButton = L10n.tr("WhatsNew", "whatsNew.continueButton", fallback: "Continue") /// Link on the What's New sheet to the full GitHub release notes - public static let fullReleaseNotes = L10n.tr("WhatsNew", "whatsNew.fullReleaseNotes", fallback: "Full release notes") + public static let fullReleaseNotes = L10n.tr("WhatsNew", "whatsNew.fullReleaseNotes", fallback: "See all new changes") /// Title of the What's New sheet shown once after an app update public static let title = L10n.tr("WhatsNew", "whatsNew.title", fallback: "What's New") - public enum ContactPhotos { - /// What's New v1.3 - Contact photos feature, description - public static let description = L10n.tr("WhatsNew", "whatsNew.contactPhotos.description", fallback: "Set an avatar on any contact so people are easier to spot in lists and conversations.") - /// What's New v1.3 - Contact photos feature, title - public static let title = L10n.tr("WhatsNew", "whatsNew.contactPhotos.title", fallback: "Contact photos") - } - public enum FasterChats { - /// What's New v1.3 - Improved chats feature, description - public static let description = L10n.tr("WhatsNew", "whatsNew.fasterChats.description", fallback: "Opening a chat lands you at new messages instead of the bottom. Times show on every bubble, and history and link previews load faster.") - /// What's New v1.3 - Improved chats feature, title - public static let title = L10n.tr("WhatsNew", "whatsNew.fasterChats.title", fallback: "Improved chats") - } - public enum MapFilters { - /// What's New v1.3 - Map filters feature, description - public static let description = L10n.tr("WhatsNew", "whatsNew.mapFilters.description", fallback: "Filter pins by favorites, discovered nodes, and node type.") - /// What's New v1.3 - Map filters feature, title - public static let title = L10n.tr("WhatsNew", "whatsNew.mapFilters.title", fallback: "Map filters") + public enum FailedSends { + /// What's New v1.4 - Failed-send badges on the Chats list, description + public static let description = L10n.tr("WhatsNew", "whatsNew.failedSends.description", fallback: "The Chats list marks a conversation when a message fails to send.") + /// What's New v1.4 - Failed-send badges on the Chats list, title + public static let title = L10n.tr("WhatsNew", "whatsNew.failedSends.title", fallback: "Failed sends in Chats") + } + public enum MessageTranslation { + /// What's New v1.4 - Incoming message translation feature, description + public static let description = L10n.tr("WhatsNew", "whatsNew.messageTranslation.description", fallback: "Translate incoming messages into your device's language. On iOS 26.4+, Apple Intelligence is used first, then Translate language packs.") + /// What's New v1.4 - Incoming message translation feature, title + public static let title = L10n.tr("WhatsNew", "whatsNew.messageTranslation.title", fallback: "Incoming message translation") + } + public enum SenderAvatars { + /// What's New v1.4 - Sender avatars in channels and rooms, description + public static let description = L10n.tr("WhatsNew", "whatsNew.senderAvatars.description", fallback: "Incoming messages in channels and rooms show the sender's avatar.") + /// What's New v1.4 - Sender avatars in channels and rooms, title + public static let title = L10n.tr("WhatsNew", "whatsNew.senderAvatars.title", fallback: "Channel & room avatars") } } } diff --git a/MC1/Resources/Localization/de.lproj/WhatsNew.strings b/MC1/Resources/Localization/de.lproj/WhatsNew.strings index 89b5580d0..c83012d5f 100644 --- a/MC1/Resources/Localization/de.lproj/WhatsNew.strings +++ b/MC1/Resources/Localization/de.lproj/WhatsNew.strings @@ -14,19 +14,19 @@ "whatsNew.continueButton" = "Weiter"; /* Link on the What's New sheet to the full GitHub release notes */ -"whatsNew.fullReleaseNotes" = "Vollständige Versionshinweise"; +"whatsNew.fullReleaseNotes" = "Alle neuen Änderungen anzeigen"; -/* What's New v1.3 - Improved chats feature, title */ -"whatsNew.fasterChats.title" = "Verbesserte Chats"; -/* What's New v1.3 - Improved chats feature, description */ -"whatsNew.fasterChats.description" = "Beim Öffnen eines Chats landest du bei neuen Nachrichten statt am Ende. Zeiten werden auf jeder Nachrichtenblase angezeigt, und Verlauf sowie Link-Vorschauen laden schneller."; +/* What's New v1.4 - Incoming message translation feature, title */ +"whatsNew.messageTranslation.title" = "Übersetzung eingehender Nachrichten"; +/* What's New v1.4 - Incoming message translation feature, description */ +"whatsNew.messageTranslation.description" = "Übersetze eingehende Nachrichten in die Sprache deines Geräts. Ab iOS 26.4 wird zuerst Apple Intelligence verwendet, danach die Sprachpakete von Übersetzen."; -/* What's New v1.3 - Contact photos feature, title */ -"whatsNew.contactPhotos.title" = "Kontaktfotos"; -/* What's New v1.3 - Contact photos feature, description */ -"whatsNew.contactPhotos.description" = "Lege ein Avatar-Bild für jeden Kontakt fest, damit Personen in Listen und Unterhaltungen leichter zu erkennen sind."; +/* What's New v1.4 - Sender avatars in channels and rooms, title */ +"whatsNew.senderAvatars.title" = "Avatare in Kanälen und Räumen"; +/* What's New v1.4 - Sender avatars in channels and rooms, description */ +"whatsNew.senderAvatars.description" = "Eingehende Nachrichten in Kanälen und Räumen zeigen den Avatar des Absenders."; -/* What's New v1.3 - Map filters feature, title */ -"whatsNew.mapFilters.title" = "Kartenfilter"; -/* What's New v1.3 - Map filters feature, description */ -"whatsNew.mapFilters.description" = "Filtere Pins nach Favoriten, entdeckten Knoten und Knotentyp."; +/* What's New v1.4 - Failed-send badges on the Chats list, title */ +"whatsNew.failedSends.title" = "Sende-Fehler in Chats"; +/* What's New v1.4 - Failed-send badges on the Chats list, description */ +"whatsNew.failedSends.description" = "Die Chat-Liste markiert eine Unterhaltung, wenn das Senden einer Nachricht fehlschlägt."; diff --git a/MC1/Resources/Localization/en.lproj/WhatsNew.strings b/MC1/Resources/Localization/en.lproj/WhatsNew.strings index c2c029dff..0d11bba6f 100644 --- a/MC1/Resources/Localization/en.lproj/WhatsNew.strings +++ b/MC1/Resources/Localization/en.lproj/WhatsNew.strings @@ -14,19 +14,19 @@ "whatsNew.continueButton" = "Continue"; /* Link on the What's New sheet to the full GitHub release notes */ -"whatsNew.fullReleaseNotes" = "Full release notes"; +"whatsNew.fullReleaseNotes" = "See all new changes"; -/* What's New v1.3 - Improved chats feature, title */ -"whatsNew.fasterChats.title" = "Improved chats"; -/* What's New v1.3 - Improved chats feature, description */ -"whatsNew.fasterChats.description" = "Opening a chat lands you at new messages instead of the bottom. Times show on every bubble, and history and link previews load faster."; +/* What's New v1.4 - Incoming message translation feature, title */ +"whatsNew.messageTranslation.title" = "Incoming message translation"; +/* What's New v1.4 - Incoming message translation feature, description */ +"whatsNew.messageTranslation.description" = "Translate incoming messages into your device's language. On iOS 26.4+, Apple Intelligence is used first, then Translate language packs."; -/* What's New v1.3 - Contact photos feature, title */ -"whatsNew.contactPhotos.title" = "Contact photos"; -/* What's New v1.3 - Contact photos feature, description */ -"whatsNew.contactPhotos.description" = "Set an avatar on any contact so people are easier to spot in lists and conversations."; +/* What's New v1.4 - Sender avatars in channels and rooms, title */ +"whatsNew.senderAvatars.title" = "Channel & room avatars"; +/* What's New v1.4 - Sender avatars in channels and rooms, description */ +"whatsNew.senderAvatars.description" = "Incoming messages in channels and rooms show the sender's avatar."; -/* What's New v1.3 - Map filters feature, title */ -"whatsNew.mapFilters.title" = "Map filters"; -/* What's New v1.3 - Map filters feature, description */ -"whatsNew.mapFilters.description" = "Filter pins by favorites, discovered nodes, and node type."; +/* What's New v1.4 - Failed-send badges on the Chats list, title */ +"whatsNew.failedSends.title" = "Failed sends in Chats"; +/* What's New v1.4 - Failed-send badges on the Chats list, description */ +"whatsNew.failedSends.description" = "The Chats list marks a conversation when a message fails to send."; diff --git a/MC1/Resources/Localization/es.lproj/WhatsNew.strings b/MC1/Resources/Localization/es.lproj/WhatsNew.strings index 81ec2de73..8a1705329 100644 --- a/MC1/Resources/Localization/es.lproj/WhatsNew.strings +++ b/MC1/Resources/Localization/es.lproj/WhatsNew.strings @@ -14,19 +14,19 @@ "whatsNew.continueButton" = "Continuar"; /* Link on the What's New sheet to the full GitHub release notes */ -"whatsNew.fullReleaseNotes" = "Notas completas de la versión"; +"whatsNew.fullReleaseNotes" = "Ver todos los cambios nuevos"; -/* What's New v1.3 - Improved chats feature, title */ -"whatsNew.fasterChats.title" = "Chats mejorados"; -/* What's New v1.3 - Improved chats feature, description */ -"whatsNew.fasterChats.description" = "Al abrir un chat, vas a los mensajes nuevos en lugar del final. La hora se muestra en cada burbuja, y el historial y las vistas previas de enlaces cargan más rápido."; +/* What's New v1.4 - Incoming message translation feature, title */ +"whatsNew.messageTranslation.title" = "Traducción de mensajes recibidos"; +/* What's New v1.4 - Incoming message translation feature, description */ +"whatsNew.messageTranslation.description" = "Traduce los mensajes recibidos al idioma del dispositivo. En iOS 26.4 o posterior, se usa primero Apple Intelligence y después los paquetes de idioma de Traducir."; -/* What's New v1.3 - Contact photos feature, title */ -"whatsNew.contactPhotos.title" = "Fotos de contactos"; -/* What's New v1.3 - Contact photos feature, description */ -"whatsNew.contactPhotos.description" = "Asigna un avatar a cualquier contacto para localizar personas más fácilmente en listas y conversaciones."; +/* What's New v1.4 - Sender avatars in channels and rooms, title */ +"whatsNew.senderAvatars.title" = "Avatares en canales y salas"; +/* What's New v1.4 - Sender avatars in channels and rooms, description */ +"whatsNew.senderAvatars.description" = "Los mensajes recibidos en canales y salas muestran el avatar del remitente."; -/* What's New v1.3 - Map filters feature, title */ -"whatsNew.mapFilters.title" = "Filtros de mapa"; -/* What's New v1.3 - Map filters feature, description */ -"whatsNew.mapFilters.description" = "Filtra pines por favoritos, nodos descubiertos y tipo de nodo."; +/* What's New v1.4 - Failed-send badges on the Chats list, title */ +"whatsNew.failedSends.title" = "Envíos fallidos en Chats"; +/* What's New v1.4 - Failed-send badges on the Chats list, description */ +"whatsNew.failedSends.description" = "La lista de Chats marca una conversación cuando un mensaje no se envía."; diff --git a/MC1/Resources/Localization/fr.lproj/WhatsNew.strings b/MC1/Resources/Localization/fr.lproj/WhatsNew.strings index 0071c714c..9b1ef4cd8 100644 --- a/MC1/Resources/Localization/fr.lproj/WhatsNew.strings +++ b/MC1/Resources/Localization/fr.lproj/WhatsNew.strings @@ -14,19 +14,19 @@ "whatsNew.continueButton" = "Continuer"; /* Link on the What's New sheet to the full GitHub release notes */ -"whatsNew.fullReleaseNotes" = "Notes de version complètes"; +"whatsNew.fullReleaseNotes" = "Voir tous les nouveaux changements"; -/* What's New v1.3 - Improved chats feature, title */ -"whatsNew.fasterChats.title" = "Discussions améliorées"; -/* What's New v1.3 - Improved chats feature, description */ -"whatsNew.fasterChats.description" = "Ouvrir une discussion vous place sur les nouveaux messages plutôt qu'en bas. L'heure s'affiche sur chaque bulle, et l'historique ainsi que les aperçus de liens se chargent plus vite."; +/* What's New v1.4 - Incoming message translation feature, title */ +"whatsNew.messageTranslation.title" = "Traduction des messages reçus"; +/* What's New v1.4 - Incoming message translation feature, description */ +"whatsNew.messageTranslation.description" = "Traduisez les messages reçus dans la langue de votre appareil. Sur iOS 26.4 ou version ultérieure, Apple Intelligence est utilisé en premier, puis les packs linguistiques de Traduire."; -/* What's New v1.3 - Contact photos feature, title */ -"whatsNew.contactPhotos.title" = "Photos de contacts"; -/* What's New v1.3 - Contact photos feature, description */ -"whatsNew.contactPhotos.description" = "Ajoutez un avatar à n'importe quel contact pour repérer plus facilement les personnes dans les listes et les conversations."; +/* What's New v1.4 - Sender avatars in channels and rooms, title */ +"whatsNew.senderAvatars.title" = "Avatars des canaux et salons"; +/* What's New v1.4 - Sender avatars in channels and rooms, description */ +"whatsNew.senderAvatars.description" = "Les messages reçus dans les canaux et les salons affichent l’avatar de l’expéditeur."; -/* What's New v1.3 - Map filters feature, title */ -"whatsNew.mapFilters.title" = "Filtres de carte"; -/* What's New v1.3 - Map filters feature, description */ -"whatsNew.mapFilters.description" = "Filtrez les repères par favoris, nœuds découverts et type de nœud."; +/* What's New v1.4 - Failed-send badges on the Chats list, title */ +"whatsNew.failedSends.title" = "Échecs d’envoi dans Messages"; +/* What's New v1.4 - Failed-send badges on the Chats list, description */ +"whatsNew.failedSends.description" = "La liste Messages signale une conversation lorsqu’un envoi échoue."; diff --git a/MC1/Resources/Localization/it.lproj/WhatsNew.strings b/MC1/Resources/Localization/it.lproj/WhatsNew.strings index 8d9a679d5..ccf41c133 100644 --- a/MC1/Resources/Localization/it.lproj/WhatsNew.strings +++ b/MC1/Resources/Localization/it.lproj/WhatsNew.strings @@ -14,19 +14,19 @@ "whatsNew.continueButton" = "Continua"; /* Link on the What's New sheet to the full GitHub release notes */ -"whatsNew.fullReleaseNotes" = "Note di rilascio complete"; +"whatsNew.fullReleaseNotes" = "Vedi tutte le nuove modifiche"; -/* What's New v1.3 - Improved chats feature, title */ -"whatsNew.fasterChats.title" = "Chat migliorate"; -/* What's New v1.3 - Improved chats feature, description */ -"whatsNew.fasterChats.description" = "Aprendo una chat arrivi ai nuovi messaggi invece che in fondo. L'ora compare su ogni bolla, e cronologia e anteprime dei link si caricano più in fretta."; +/* What's New v1.4 - Incoming message translation feature, title */ +"whatsNew.messageTranslation.title" = "Traduzione dei messaggi in arrivo"; +/* What's New v1.4 - Incoming message translation feature, description */ +"whatsNew.messageTranslation.description" = "Traduci i messaggi in arrivo nella lingua del dispositivo. Su iOS 26.4 o successivo, viene usato prima Apple Intelligence, poi i pacchetti lingua di Traduci."; -/* What's New v1.3 - Contact photos feature, title */ -"whatsNew.contactPhotos.title" = "Foto dei contatti"; -/* What's New v1.3 - Contact photos feature, description */ -"whatsNew.contactPhotos.description" = "Imposta un avatar su qualsiasi contatto per riconoscere le persone più facilmente in elenchi e conversazioni."; +/* What's New v1.4 - Sender avatars in channels and rooms, title */ +"whatsNew.senderAvatars.title" = "Avatar in canali e stanze"; +/* What's New v1.4 - Sender avatars in channels and rooms, description */ +"whatsNew.senderAvatars.description" = "I messaggi in arrivo nei canali e nelle stanze mostrano l’avatar del mittente."; -/* What's New v1.3 - Map filters feature, title */ -"whatsNew.mapFilters.title" = "Filtri mappa"; -/* What's New v1.3 - Map filters feature, description */ -"whatsNew.mapFilters.description" = "Filtra i pin per preferiti, nodi scoperti e tipo di nodo."; +/* What's New v1.4 - Failed-send badges on the Chats list, title */ +"whatsNew.failedSends.title" = "Invii non riusciti in Chat"; +/* What's New v1.4 - Failed-send badges on the Chats list, description */ +"whatsNew.failedSends.description" = "L’elenco Chat segnala una conversazione quando l’invio di un messaggio non riesce."; diff --git a/MC1/Resources/Localization/nl.lproj/WhatsNew.strings b/MC1/Resources/Localization/nl.lproj/WhatsNew.strings index 1d77a65fb..7a224d992 100644 --- a/MC1/Resources/Localization/nl.lproj/WhatsNew.strings +++ b/MC1/Resources/Localization/nl.lproj/WhatsNew.strings @@ -14,19 +14,19 @@ "whatsNew.continueButton" = "Doorgaan"; /* Link on the What's New sheet to the full GitHub release notes */ -"whatsNew.fullReleaseNotes" = "Volledige release notes"; +"whatsNew.fullReleaseNotes" = "Bekijk alle nieuwe wijzigingen"; -/* What's New v1.3 - Improved chats feature, title */ -"whatsNew.fasterChats.title" = "Verbeterde chats"; -/* What's New v1.3 - Improved chats feature, description */ -"whatsNew.fasterChats.description" = "Als je een chat opent, kom je bij nieuwe berichten terecht in plaats van onderaan. Tijden staan op elke bubbel, en geschiedenis en linkvoorbeelden laden sneller."; +/* What's New v1.4 - Incoming message translation feature, title */ +"whatsNew.messageTranslation.title" = "Vertaling van inkomende berichten"; +/* What's New v1.4 - Incoming message translation feature, description */ +"whatsNew.messageTranslation.description" = "Vertaal inkomende berichten naar de taal van je apparaat. Op iOS 26.4+ wordt eerst Apple Intelligence gebruikt, daarna de taalpakketten van Vertalen."; -/* What's New v1.3 - Contact photos feature, title */ -"whatsNew.contactPhotos.title" = "Contactfoto's"; -/* What's New v1.3 - Contact photos feature, description */ -"whatsNew.contactPhotos.description" = "Stel een avatar in voor elk contact zodat mensen makkelijker te herkennen zijn in lijsten en gesprekken."; +/* What's New v1.4 - Sender avatars in channels and rooms, title */ +"whatsNew.senderAvatars.title" = "Avatars in kanalen en kamers"; +/* What's New v1.4 - Sender avatars in channels and rooms, description */ +"whatsNew.senderAvatars.description" = "Inkomende berichten in kanalen en kamers tonen de avatar van de afzender."; -/* What's New v1.3 - Map filters feature, title */ -"whatsNew.mapFilters.title" = "Kaartfilters"; -/* What's New v1.3 - Map filters feature, description */ -"whatsNew.mapFilters.description" = "Filter pins op favorieten, ontdekte knooppunten en type knooppunt."; +/* What's New v1.4 - Failed-send badges on the Chats list, title */ +"whatsNew.failedSends.title" = "Mislukte verzendingen in Chats"; +/* What's New v1.4 - Failed-send badges on the Chats list, description */ +"whatsNew.failedSends.description" = "De Chatlijst markeert een gesprek als het verzenden van een bericht mislukt."; diff --git a/MC1/Resources/Localization/pl.lproj/WhatsNew.strings b/MC1/Resources/Localization/pl.lproj/WhatsNew.strings index 4e07c187b..a67d1e3c7 100644 --- a/MC1/Resources/Localization/pl.lproj/WhatsNew.strings +++ b/MC1/Resources/Localization/pl.lproj/WhatsNew.strings @@ -14,19 +14,19 @@ "whatsNew.continueButton" = "Dalej"; /* Link on the What's New sheet to the full GitHub release notes */ -"whatsNew.fullReleaseNotes" = "Pełne informacje o wydaniu"; +"whatsNew.fullReleaseNotes" = "Zobacz wszystkie nowe zmiany"; -/* What's New v1.3 - Improved chats feature, title */ -"whatsNew.fasterChats.title" = "Ulepszone czaty"; -/* What's New v1.3 - Improved chats feature, description */ -"whatsNew.fasterChats.description" = "Otwarcie czatu przenosi Cię do nowych wiadomości zamiast na sam dół. Godzina jest widoczna na każdym dymku, a historia i podglądy linków ładują się szybciej."; +/* What's New v1.4 - Incoming message translation feature, title */ +"whatsNew.messageTranslation.title" = "Tłumaczenie przychodzących wiadomości"; +/* What's New v1.4 - Incoming message translation feature, description */ +"whatsNew.messageTranslation.description" = "Tłumacz przychodzące wiadomości na język Twojego urządzenia. W iOS 26.4+ najpierw używane jest Apple Intelligence, a potem pakiety językowe Tłumacza."; -/* What's New v1.3 - Contact photos feature, title */ -"whatsNew.contactPhotos.title" = "Zdjęcia kontaktów"; -/* What's New v1.3 - Contact photos feature, description */ -"whatsNew.contactPhotos.description" = "Ustaw awatar dla dowolnego kontaktu, aby łatwiej rozpoznawać osoby na listach i w rozmowach."; +/* What's New v1.4 - Sender avatars in channels and rooms, title */ +"whatsNew.senderAvatars.title" = "Awatary w kanałach i pokojach"; +/* What's New v1.4 - Sender avatars in channels and rooms, description */ +"whatsNew.senderAvatars.description" = "Przychodzące wiadomości w kanałach i pokojach pokazują awatar nadawcy."; -/* What's New v1.3 - Map filters feature, title */ -"whatsNew.mapFilters.title" = "Filtry mapy"; -/* What's New v1.3 - Map filters feature, description */ -"whatsNew.mapFilters.description" = "Filtruj pinezki według ulubionych, odkrytych węzłów i typu węzła."; +/* What's New v1.4 - Failed-send badges on the Chats list, title */ +"whatsNew.failedSends.title" = "Nieudane wysyłki w Czatach"; +/* What's New v1.4 - Failed-send badges on the Chats list, description */ +"whatsNew.failedSends.description" = "Lista Czatów oznacza rozmowę, gdy wysyłanie wiadomości się nie powiedzie."; diff --git a/MC1/Resources/Localization/pt.lproj/WhatsNew.strings b/MC1/Resources/Localization/pt.lproj/WhatsNew.strings index a512038ef..43e82149d 100644 --- a/MC1/Resources/Localization/pt.lproj/WhatsNew.strings +++ b/MC1/Resources/Localization/pt.lproj/WhatsNew.strings @@ -13,19 +13,19 @@ "whatsNew.continueButton" = "Continuar"; /* Link on the What's New sheet to the full GitHub release notes */ -"whatsNew.fullReleaseNotes" = "Ver as notas de versão completas"; +"whatsNew.fullReleaseNotes" = "Ver todas as novas alterações"; -/* What's New v1.3 - Improved chats feature, title */ -"whatsNew.fasterChats.title" = "Conversas melhoradas"; -/* What's New v1.3 - Improved chats feature, description */ -"whatsNew.fasterChats.description" = "Ao abrir uma conversa, o ecrã salta para as mensagens novas em vez de ir para o fim. A hora aparece em cada balão, e o histórico e as pré-visualizações de links carregam mais depressa."; +/* What's New v1.4 - Incoming message translation feature, title */ +"whatsNew.messageTranslation.title" = "Tradução de mensagens recebidas"; +/* What's New v1.4 - Incoming message translation feature, description */ +"whatsNew.messageTranslation.description" = "Traduza as mensagens recebidas para o idioma do dispositivo. No iOS 26.4 ou posterior, usa-se primeiro o Apple Intelligence e depois os pacotes de idioma do Traduzir."; -/* What's New v1.3 - Contact photos feature, title */ -"whatsNew.contactPhotos.title" = "Fotos de contactos"; -/* What's New v1.3 - Contact photos feature, description */ -"whatsNew.contactPhotos.description" = "Defina um avatar em qualquer contacto para reconhecer pessoas mais facilmente em listas e conversas."; +/* What's New v1.4 - Sender avatars in channels and rooms, title */ +"whatsNew.senderAvatars.title" = "Avatares em canais e salas"; +/* What's New v1.4 - Sender avatars in channels and rooms, description */ +"whatsNew.senderAvatars.description" = "As mensagens recebidas em canais e salas mostram o avatar do remetente."; -/* What's New v1.3 - Map filters feature, title */ -"whatsNew.mapFilters.title" = "Filtros do mapa"; -/* What's New v1.3 - Map filters feature, description */ -"whatsNew.mapFilters.description" = "Filtre os pontos por favoritos, nós descobertos e tipo de nó."; +/* What's New v1.4 - Failed-send badges on the Chats list, title */ +"whatsNew.failedSends.title" = "Falhas de envio nas Conversas"; +/* What's New v1.4 - Failed-send badges on the Chats list, description */ +"whatsNew.failedSends.description" = "A lista de Conversas assinala uma conversa quando o envio de uma mensagem falha."; diff --git a/MC1/Resources/Localization/ru.lproj/WhatsNew.strings b/MC1/Resources/Localization/ru.lproj/WhatsNew.strings index 93837d12c..a306facbd 100644 --- a/MC1/Resources/Localization/ru.lproj/WhatsNew.strings +++ b/MC1/Resources/Localization/ru.lproj/WhatsNew.strings @@ -14,19 +14,19 @@ "whatsNew.continueButton" = "Продолжить"; /* Link on the What's New sheet to the full GitHub release notes */ -"whatsNew.fullReleaseNotes" = "Полные примечания к выпуску"; +"whatsNew.fullReleaseNotes" = "Смотреть все новые изменения"; -/* What's New v1.3 - Improved chats feature, title */ -"whatsNew.fasterChats.title" = "Улучшенные чаты"; -/* What's New v1.3 - Improved chats feature, description */ -"whatsNew.fasterChats.description" = "Открытие чата переносит вас к новым сообщениям, а не в самый низ. Время отображается на каждом пузыре, а история и превью ссылок загружаются быстрее."; +/* What's New v1.4 - Incoming message translation feature, title */ +"whatsNew.messageTranslation.title" = "Перевод входящих сообщений"; +/* What's New v1.4 - Incoming message translation feature, description */ +"whatsNew.messageTranslation.description" = "Переводите входящие сообщения на язык устройства. В iOS 26.4 и новее сначала используется Apple Intelligence, затем языковые пакеты «Перевод»."; -/* What's New v1.3 - Contact photos feature, title */ -"whatsNew.contactPhotos.title" = "Фото контактов"; -/* What's New v1.3 - Contact photos feature, description */ -"whatsNew.contactPhotos.description" = "Задайте аватар любому контакту, чтобы легче узнавать людей в списках и переписках."; +/* What's New v1.4 - Sender avatars in channels and rooms, title */ +"whatsNew.senderAvatars.title" = "Аватары в каналах и комнатах"; +/* What's New v1.4 - Sender avatars in channels and rooms, description */ +"whatsNew.senderAvatars.description" = "Входящие сообщения в каналах и комнатах показывают аватар отправителя."; -/* What's New v1.3 - Map filters feature, title */ -"whatsNew.mapFilters.title" = "Фильтры карты"; -/* What's New v1.3 - Map filters feature, description */ -"whatsNew.mapFilters.description" = "Фильтруйте метки по избранным, обнаруженным узлам и типу узла."; +/* What's New v1.4 - Failed-send badges on the Chats list, title */ +"whatsNew.failedSends.title" = "Ошибки отправки в Чатах"; +/* What's New v1.4 - Failed-send badges on the Chats list, description */ +"whatsNew.failedSends.description" = "Список Чатов отмечает переписку, если отправка сообщения не удаётся."; diff --git a/MC1/Resources/Localization/uk.lproj/WhatsNew.strings b/MC1/Resources/Localization/uk.lproj/WhatsNew.strings index 0507474ab..e4de6ccff 100644 --- a/MC1/Resources/Localization/uk.lproj/WhatsNew.strings +++ b/MC1/Resources/Localization/uk.lproj/WhatsNew.strings @@ -14,19 +14,19 @@ "whatsNew.continueButton" = "Продовжити"; /* Link on the What's New sheet to the full GitHub release notes */ -"whatsNew.fullReleaseNotes" = "Повні примітки до випуску"; +"whatsNew.fullReleaseNotes" = "Переглянути всі нові зміни"; -/* What's New v1.3 - Improved chats feature, title */ -"whatsNew.fasterChats.title" = "Покращені чати"; -/* What's New v1.3 - Improved chats feature, description */ -"whatsNew.fasterChats.description" = "Відкриття чату переносить вас до нових повідомлень, а не в самий низ. Час видно на кожній бульбашці, а історія та попередній перегляд посилань завантажуються швидше."; +/* What's New v1.4 - Incoming message translation feature, title */ +"whatsNew.messageTranslation.title" = "Переклад вхідних повідомлень"; +/* What's New v1.4 - Incoming message translation feature, description */ +"whatsNew.messageTranslation.description" = "Перекладайте вхідні повідомлення мовою пристрою. У iOS 26.4 і новіших спочатку використовується Apple Intelligence, потім мовні пакети «Перекладач»."; -/* What's New v1.3 - Contact photos feature, title */ -"whatsNew.contactPhotos.title" = "Фото контактів"; -/* What's New v1.3 - Contact photos feature, description */ -"whatsNew.contactPhotos.description" = "Встановіть аватар для будь-якого контакту, щоб легше впізнавати людей у списках і розмовах."; +/* What's New v1.4 - Sender avatars in channels and rooms, title */ +"whatsNew.senderAvatars.title" = "Аватари в каналах і кімнатах"; +/* What's New v1.4 - Sender avatars in channels and rooms, description */ +"whatsNew.senderAvatars.description" = "Вхідні повідомлення в каналах і кімнатах показують аватар відправника."; -/* What's New v1.3 - Map filters feature, title */ -"whatsNew.mapFilters.title" = "Фільтри карти"; -/* What's New v1.3 - Map filters feature, description */ -"whatsNew.mapFilters.description" = "Фільтруйте позначки за обраними, виявленими вузлами та типом вузла."; +/* What's New v1.4 - Failed-send badges on the Chats list, title */ +"whatsNew.failedSends.title" = "Помилки надсилання в Чатах"; +/* What's New v1.4 - Failed-send badges on the Chats list, description */ +"whatsNew.failedSends.description" = "Список Чатів позначає розмову, якщо надсилання повідомлення не вдається."; diff --git a/MC1/Resources/Localization/zh-Hans.lproj/WhatsNew.strings b/MC1/Resources/Localization/zh-Hans.lproj/WhatsNew.strings index df76a92ac..9313e65e2 100644 --- a/MC1/Resources/Localization/zh-Hans.lproj/WhatsNew.strings +++ b/MC1/Resources/Localization/zh-Hans.lproj/WhatsNew.strings @@ -14,19 +14,19 @@ "whatsNew.continueButton" = "继续"; /* Link on the What's New sheet to the full GitHub release notes */ -"whatsNew.fullReleaseNotes" = "完整发布说明"; +"whatsNew.fullReleaseNotes" = "查看全部新变化"; -/* What's New v1.3 - Improved chats feature, title */ -"whatsNew.fasterChats.title" = "聊天体验改进"; -/* What's New v1.3 - Improved chats feature, description */ -"whatsNew.fasterChats.description" = "打开聊天会定位到新消息,而不是滚到最底部。每条气泡都会显示时间,历史记录和链接预览加载也更快。"; +/* What's New v1.4 - Incoming message translation feature, title */ +"whatsNew.messageTranslation.title" = "收到消息翻译"; +/* What's New v1.4 - Incoming message translation feature, description */ +"whatsNew.messageTranslation.description" = "可将收到的消息翻译成设备语言。iOS 26.4 及以上会先使用 Apple Intelligence,再使用“翻译”语言包。"; -/* What's New v1.3 - Contact photos feature, title */ -"whatsNew.contactPhotos.title" = "联系人照片"; -/* What's New v1.3 - Contact photos feature, description */ -"whatsNew.contactPhotos.description" = "为任意联系人设置头像,方便在列表和对话中快速认出对方。"; +/* What's New v1.4 - Sender avatars in channels and rooms, title */ +"whatsNew.senderAvatars.title" = "频道和房间头像"; +/* What's New v1.4 - Sender avatars in channels and rooms, description */ +"whatsNew.senderAvatars.description" = "频道和房间中的收到消息会显示发送者头像。"; -/* What's New v1.3 - Map filters feature, title */ -"whatsNew.mapFilters.title" = "地图筛选"; -/* What's New v1.3 - Map filters feature, description */ -"whatsNew.mapFilters.description" = "按收藏、发现的节点和节点类型筛选地图标记。"; +/* What's New v1.4 - Failed-send badges on the Chats list, title */ +"whatsNew.failedSends.title" = "聊天列表发送失败"; +/* What's New v1.4 - Failed-send badges on the Chats list, description */ +"whatsNew.failedSends.description" = "消息发送失败时,聊天列表会标记该对话。"; diff --git a/MC1/Views/WhatsNew/WhatsNewSheet.swift b/MC1/Views/WhatsNew/WhatsNewSheet.swift index 05fcbaf44..44fc088b7 100644 --- a/MC1/Views/WhatsNew/WhatsNewSheet.swift +++ b/MC1/Views/WhatsNew/WhatsNewSheet.swift @@ -116,31 +116,10 @@ private struct WhatsNewRow: View { } #Preview { - Color.clear.sheet(isPresented: .constant(true)) { - WhatsNewSheet(release: .preview) + if let release = WhatsNewCatalog.releases.first { + Color.clear.sheet(isPresented: .constant(true)) { + WhatsNewSheet(release: release) + } + .environment(\.appState, AppState()) } } - -private extension WhatsNewRelease { - static let preview = WhatsNewRelease( - version: WhatsNewVersion(major: 1, minor: 1), - items: [ - WhatsNewItem( - symbol: "sparkles", - title: "Faster Messaging", - description: "Messages now send and sync more quickly across your mesh." - ), - WhatsNewItem( - symbol: "antenna.radiowaves.left.and.right", - title: "Stronger Multi-Hop Routing", - description: "Improved route handling keeps distant nodes connected." - ), - WhatsNewItem( - symbol: "lock.shield", - title: "Private by Default", - description: "Your messages stay encrypted end to end, on device." - ) - ], - releaseNotesURL: URL(string: "https://github.com/Avi0n/MeshCoreOne/releases/tag/v1.3.0")! - ) -}