diff --git a/NearbyShare/Connection/NearbyConnectionManager.swift b/NearbyShare/Connection/NearbyConnectionManager.swift index fb20124..3586fd9 100644 --- a/NearbyShare/Connection/NearbyConnectionManager.swift +++ b/NearbyShare/Connection/NearbyConnectionManager.swift @@ -199,7 +199,7 @@ public class NearbyConnectionManager: NSObject, NetServiceDelegate, InboundNearb incomingConnections.removeValue(forKey: connection.id) if !connection.wasUserRejected { - mainAppDelegate?.connectionWasTerminated(from: connection.remoteDeviceInfo ?? RemoteDeviceInfo(name: "??", type: .unknown), wasPlainTextTransfer: connection.isPlainTextTransfer, error: error) + mainAppDelegate?.connectionWasTerminated(from: connection.remoteDeviceInfo ?? RemoteDeviceInfo(name: "UnknownDevice".localized(), type: .unknown), wasPlainTextTransfer: connection.isPlainTextTransfer, error: error) } } diff --git a/QuickDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/QuickDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index e8ef1c6..ac685d3 100644 --- a/QuickDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/QuickDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -52,7 +52,7 @@ "location" : "https://github.com/leonboe1/LUI.git", "state" : { "branch" : "main", - "revision" : "123192312165c23271cd49492ae7e4fc676d7711" + "revision" : "5aeb4ccc20cd29728f44182e182998c1033d03e8" } }, { @@ -87,8 +87,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-protobuf.git", "state" : { - "revision" : "e3f69fd321d0c9fcdc16fb576a0cdd956675face", - "version" : "1.31.0" + "revision" : "2547102afd04fe49f1b286090f13ebce07284980", + "version" : "1.31.1" } }, { @@ -124,7 +124,7 @@ "location" : "https://github.com/siteline/swiftui-introspect", "state" : { "branch" : "main", - "revision" : "d620dacd1423d9545635eee3fc42c1fa1ab2f665" + "revision" : "717a725e3fcd1877896a0584098395bf9e9d852e" } } ], diff --git a/QuickDrop/Localizable.xcstrings b/QuickDrop/Localizable.xcstrings index 1cb2372..dc5dbbe 100644 --- a/QuickDrop/Localizable.xcstrings +++ b/QuickDrop/Localizable.xcstrings @@ -26319,6 +26319,239 @@ } } }, + "UnknownDevice" : { + "extractionState" : "manual", + "localizations" : { + "ar" : { + "stringUnit" : { + "state" : "translated", + "value" : "جهاز غير معروف" + } + }, + "ca" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dispositiu desconegut" + } + }, + "cs" : { + "stringUnit" : { + "state" : "translated", + "value" : "Neznámé zařízení" + } + }, + "da" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ukendt enhed" + } + }, + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unbekanntes Gerät" + } + }, + "el" : { + "stringUnit" : { + "state" : "translated", + "value" : "Άγνωστη συσκευή" + } + }, + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unknown Device" + } + }, + "en-AU" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unknown Device" + } + }, + "en-CA" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unknown Device" + } + }, + "en-GB" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unknown Device" + } + }, + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dispositivo desconocido" + } + }, + "es-419" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dispositivo desconocido" + } + }, + "fi" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tuntematon laite" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Appareil inconnu" + } + }, + "fr-CA" : { + "stringUnit" : { + "state" : "translated", + "value" : "Appareil inconnu" + } + }, + "he" : { + "stringUnit" : { + "state" : "translated", + "value" : "מכשיר לא מזוהה" + } + }, + "hi" : { + "stringUnit" : { + "state" : "translated", + "value" : "अज्ञात डिवाइस" + } + }, + "hr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nepoznat uređaj" + } + }, + "hu" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ismeretlen eszköz" + } + }, + "id" : { + "stringUnit" : { + "state" : "translated", + "value" : "Perangkat Tidak Dikenal" + } + }, + "it" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dispositivo sconosciuto" + } + }, + "ja" : { + "stringUnit" : { + "state" : "translated", + "value" : "不明なデバイス" + } + }, + "ko" : { + "stringUnit" : { + "state" : "translated", + "value" : "알 수 없는 기기" + } + }, + "ms" : { + "stringUnit" : { + "state" : "translated", + "value" : "Peranti Tidak Dikenali" + } + }, + "nb" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ukjent enhet" + } + }, + "nl" : { + "stringUnit" : { + "state" : "translated", + "value" : "Onbekend apparaat" + } + }, + "pl" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nieznane urządzenie" + } + }, + "pt-BR" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dispositivo desconhecido" + } + }, + "pt-PT" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dispositivo desconhecido" + } + }, + "ro" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dispozitiv necunoscut" + } + }, + "ru" : { + "stringUnit" : { + "state" : "translated", + "value" : "Неизвестное устройство" + } + }, + "sv" : { + "stringUnit" : { + "state" : "translated", + "value" : "Okänd enhet" + } + }, + "th" : { + "stringUnit" : { + "state" : "translated", + "value" : "อุปกรณ์ที่ไม่รู้จัก" + } + }, + "tr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Bilinmeyen Cihaz" + } + }, + "uk" : { + "stringUnit" : { + "state" : "translated", + "value" : "Невідомий пристрій" + } + }, + "vi" : { + "stringUnit" : { + "state" : "translated", + "value" : "Thiết bị không xác định" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "未知设备" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "translated", + "value" : "未知裝置" + } + } + } + }, "UnsupportedType" : { "extractionState" : "manual", "localizations" : {