diff --git a/NearbyShare/NearbyConnection.swift b/NearbyShare/NearbyConnection.swift index 7da9617..7de145f 100644 --- a/NearbyShare/NearbyConnection.swift +++ b/NearbyShare/NearbyConnection.swift @@ -93,7 +93,7 @@ class NearbyConnection { } if err == .posix(.ENETDOWN) { - self.lastError = NearbyError.protocolError("Error.NetworkDown") + self.lastError = NearbyError.protocolError("Error.NetworkDown".localized()) } self.handleConnectionClosure() diff --git a/QuickDrop/AppDelegate.swift b/QuickDrop/AppDelegate.swift index 228443c..531115c 100644 --- a/QuickDrop/AppDelegate.swift +++ b/QuickDrop/AppDelegate.swift @@ -50,7 +50,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele self.visibleItem = visibleItem menu.addItem(visibleItem) - menu.addItem(withTitle: String(format: NSLocalizedString("DeviceName", value: "Device name: %@", comment: ""), arguments: [Host.current().localizedName ?? "Mac"]), action: nil, keyEquivalent: "") + menu.addItem(withTitle: String(format: "DeviceName".localized(), arguments: [Host.current().localizedName ?? "Mac"]), action: nil, keyEquivalent: "") menu.addItem(NSMenuItem.separator()) @@ -59,10 +59,10 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele menu.addItem(NSMenuItem.separator()) - let userManualItem = NSMenuItem(title: NSLocalizedString("UserManual", value: "User Manual", comment: ""), action: #selector(openWelcomeScreen), keyEquivalent: "") + let userManualItem = NSMenuItem(title: "UserManual".localized(), action: #selector(openWelcomeScreen), keyEquivalent: "") menu.addItem(userManualItem) - menu.addItem(withTitle: NSLocalizedString("Quit", value: "Quit QuickDrop", comment: ""), action: #selector(NSApplication.terminate(_:)), keyEquivalent: "") + menu.addItem(withTitle: "Quit".localized(), action: #selector(NSApplication.terminate(_:)), keyEquivalent: "") statusItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength) statusItem?.button?.image = NSImage(named: "MenuBarIcon") @@ -340,7 +340,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele let alert = NSAlert() alert.alertStyle = .critical - alert.messageText = String(format: NSLocalizedString("TransferError", value: "Failed to receive files from %@", comment: ""), arguments: [device?.name ?? "??"]) + alert.messageText = String(format: "TransferError".localized(), arguments: [device?.name ?? "??"]) alert.informativeText = "UnsupportedFileType".localized() alert.addButton(withTitle: "InformDeveloper".localized()) @@ -379,7 +379,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele } else if transfer.files.count == 1 { fileStr = transfer.files[0].name } else { - fileStr = String.localizedStringWithFormat(NSLocalizedString("NFiles", value: "%d files", comment: ""), transfer.files.count) + fileStr = String.localizedStringWithFormat("NFiles".localized(), transfer.files.count) } @@ -397,7 +397,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele } - let pinCodeMessage = String(format: NSLocalizedString("PinCode", value: "PIN: %@", comment: ""), arguments: [transfer.pinCode ?? "?"]) + let pinCodeMessage = String(format: "PinCode".localized(), arguments: [transfer.pinCode ?? "?"]) let transferID = transfer.id if acceptAutomatically { @@ -427,8 +427,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele alert.messageText = "QuickDrop - \(pinCodeMessage)" alert.informativeText = mainMessage - alert.addButton(withTitle: NSLocalizedString("Accept", comment: "")) - alert.addButton(withTitle: NSLocalizedString("Decline", comment: "")) + alert.addButton(withTitle: "Accept".localized()) + alert.addButton(withTitle: "Decline".localized()) let result = alert.runModal() @@ -466,18 +466,17 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele case .inputOutput: description = "I/O Error" case .protocolError(errorMessage: let errorMessage): - log("Protocol error ") - description = NSLocalizedString("Error.Protocol", value: "Communication error", comment: "") + " (\(errorMessage))" + description = "Error.Protocol".localized() + ": \(errorMessage)" case .packetFilterError: openAlert(type: .NetworkFilter) plusWindow?.close() return case .requiredFieldMissing(errorMessage: let errorMessage): - description = NSLocalizedString("Error.Protocol", value: "Communication error", comment: "") + "(\(errorMessage))" + description = "Error.Protocol".localized() + ": \(errorMessage)" case .ukey2: - description = NSLocalizedString("Error.Crypto", value: "Encryption error", comment: "") + "(\(ne.localizedDescription))" + description = "Error.Crypto".localized() + ": \(ne.localizedDescription)" case .canceled(reason: let reason): - description = "Error.Protocol".localized() + " (\(reason))" + description = "Error.Protocol".localized() + ": \(reason)" } } else { description = error.localizedDescription @@ -485,7 +484,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele let alert = NSAlert() alert.alertStyle = .critical - alert.messageText = String(format: NSLocalizedString("TransferError", value: "Failed to receive files from %@", comment: ""), arguments: [transfer.device.name]) + alert.messageText = String(format: "TransferError".localized(), arguments: [transfer.device.name]) alert.informativeText = description alert.addButton(withTitle: "InformDeveloper".localized()) alert.addButton(withTitle: "CloseAlert".localized()) diff --git a/QuickDrop/Base.lproj/Localizable.strings b/QuickDrop/Base.lproj/Localizable.strings index 3cfda3d..fa24ec8 100644 --- a/QuickDrop/Base.lproj/Localizable.strings +++ b/QuickDrop/Base.lproj/Localizable.strings @@ -1,68 +1,31 @@ -/* No comment provided by engineer. */ "Accept" = "Accept"; - -/* No comment provided by engineer. */ "Decline" = "Decline"; - -/* No comment provided by engineer. */ "DeviceName" = "Device name: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ is sending you %2$@"; "DeviceCurrentlySendingText" = "%1$@ inserted \"%2$@\" to your clipboard."; "DeviceSendingText" = "%1$@ wants to insert \"%2$@\" to your Mac's clipboard."; - "DeviceCurrentlySendingUrl" = "%1$@ opened \"%2$@\"."; "DeviceSendingUrl" = "%1$@ wants to open \"%2$@\" on your Mac."; - "InsertedIntoClipboard" = "Inserted"; "UnsupportedFileType" = "The file you tried to send is currently not supported. Please send an error report."; - -/* No comment provided by engineer. */ "Error.Crypto" = "Encryption error"; - -/* No comment provided by engineer. */ "Error.Protocol" = "Communication error"; - "Error.ClosedByPeer" = "The connection was closed. If this happens repeatedly, please restart your phone."; - "Error.NetworkDown" = "The Wi-Fi connection was interrupted. Please check your Wi-Fi connection and try again."; - -/* No comment provided by engineer. */ "NFiles" = "%d files"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "QuickDrop needs to be able to display notifications for incoming file transfers. Please allow notifications in System Settings."; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "Open settings"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "Notification Permission Required"; - -/* No comment provided by engineer. */ "PinCode" = "PIN: %@"; - -/* No comment provided by engineer. */ "Quit" = "Close QuickDrop"; - -/* No comment provided by engineer. */ "TransferError" = "Failed to receive files from %@"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "Visible to everyone"; "NoNetworkConnection" = "No Network Connection"; - "WelcomeToQuickDrop" = "Welcome to QuickDrop"; - "Acknowledgements" = "Acknowledgements"; - "SupportQuickDrop" = "Support QuickDrop"; - "RecommendedApps" = "Recommended Apps"; - "GetSupport" = "Support"; - "ReadyToReceive" = "Ready to receive"; "PrivacyPolicy" = "Privacy Policy"; "SendClipboard" = "Send Clipboard"; diff --git a/QuickDrop/LicenseWindow.swift b/QuickDrop/LicenseWindow.swift index 13aea2c..0e9b67d 100644 --- a/QuickDrop/LicenseWindow.swift +++ b/QuickDrop/LicenseWindow.swift @@ -364,7 +364,7 @@ func openLicenseWindow() -> NSWindow { ) window.center() window.isReleasedWhenClosed = false - window.title = NSLocalizedString("Acknowledgements", value: "Acknowledgements", comment: "") + window.title = "Acknowledgements".localized() window.contentView = NSHostingView(rootView: LicensePage()) // Ensure the window is always on top diff --git a/QuickDrop/ar.lproj/Localizable.strings b/QuickDrop/ar.lproj/Localizable.strings index 065ff8b..d00cd27 100644 --- a/QuickDrop/ar.lproj/Localizable.strings +++ b/QuickDrop/ar.lproj/Localizable.strings @@ -1,58 +1,26 @@ -/* No comment provided by engineer. */ "Accept" = "قبول"; - -/* No comment provided by engineer. */ "Decline" = "رفض"; - -/* No comment provided by engineer. */ "DeviceName" = "اسم الجهاز: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ يرسل لك %2$@"; "DeviceCurrentlySendingText" = "قام %1$@ بإدراج \"%2$@\" في الحافظة الخاصة بك."; "DeviceSendingText" = "يرغب %1$@ في إدراج \"%2$@\" في حافظة جهاز Mac الخاص بك."; - "DeviceCurrentlySendingUrl" = "قام %1$@ بفتح \"%2$@\"."; "DeviceSendingUrl" = "يرغب %1$@ في فتح \"%2$@\" على جهاز Mac الخاص بك."; - "InsertedIntoClipboard" = "تم الإدراج"; "UnsupportedFileType" = "الملف الذي حاولت إرساله غير مدعوم حالياً. يُرجى إرسال تقرير بالخطأ."; - -/* No comment provided by engineer. */ "Error.Crypto" = "خطأ في التشفير"; - -/* No comment provided by engineer. */ "Error.Protocol" = "خطأ في الاتصال"; - "Error.ClosedByPeer" = "تم إغلاق الاتصال. إذا تكرر هذا الأمر، يرجى إعادة تشغيل هاتفك."; - "Error.NetworkDown" = "تم قطع اتصال Wi‑Fi. يرجى التحقق من اتصال Wi‑Fi الخاص بك والمحاولة مرة أخرى."; - -/* No comment provided by engineer. */ "NFiles" = "%d ملفات"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "يحتاج QuickDrop إلى القدرة على عرض الإشعارات لنقل الملفات الواردة. يرجى السماح بالإشعارات في إعدادات النظام."; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "افتح الإعدادات"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "مطلوب إذن الإشعارات"; - -/* No comment provided by engineer. */ "PinCode" = "الرمز السري: %@"; - -/* No comment provided by engineer. */ "Quit" = "إنهاء QuickDrop"; - -/* No comment provided by engineer. */ "TransferError" = "فشل في استقبال الملفات من %@"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "مرئي للجميع"; "NoNetworkConnection" = "لا يوجد اتصال بالشبكة"; - "RecommendedApps" = "التطبيقات الموصى بها"; "GetSupport" = "الدعم"; "PrivacyPolicy" = "سياسة الخصوصية"; diff --git a/QuickDrop/de.lproj/Localizable.strings b/QuickDrop/de.lproj/Localizable.strings index 687476c..95a144a 100644 --- a/QuickDrop/de.lproj/Localizable.strings +++ b/QuickDrop/de.lproj/Localizable.strings @@ -1,66 +1,32 @@ -/* No comment provided by engineer. */ "Accept" = "Akzeptieren"; - -/* No comment provided by engineer. */ "Decline" = "Ablehnen"; - -/* No comment provided by engineer. */ "DeviceName" = "Gerätename: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ möchte dir %2$@ senden"; "DeviceCurrentlySendingText" = "%1$@ hat \"%2$@\" in deine Zwischenablage eingefügt."; "DeviceSendingText" = "%1$@ möchte \"%2$@\" in die Zwischenablage deines Macs einfügen."; - "DeviceCurrentlySendingUrl" = "%1$@ hat \"%2$@\" geöffnet."; "DeviceSendingUrl" = "%1$@ möchte \"%2$@\" auf deinem Mac öffnen."; - "InsertedIntoClipboard" = "Eingefügt"; "UnsupportedFileType" = "Die Datei, die du senden wolltest, wird derzeit nicht unterstützt. Bitte sende einen Fehlerbericht."; - -/* No comment provided by engineer. */ "Error.Crypto" = "Verschlüsselungsfehler"; - -/* No comment provided by engineer. */ "Error.Protocol" = "Fehler bei der Datenübertragung"; - "Error.ClosedByPeer" = "Die Verbindung wurde geschlossen. Wenn das wiederholt passiert, starte bitte dein Handy neu."; - "Error.NetworkDown" = "Die WLAN‑Verbindung wurde unterbrochen. Bitte überprüfe deine WLAN‑Verbindung und versuche es erneut."; - -/* No comment provided by engineer. */ "NFiles" = "%d Dateien"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "QuickDrop benötigt die Erlaubnis, Mitteilungen für eingehende Übertragungen anzuzeigen. Bitte erlaube Mitteilungen in den Systemeinstellungen."; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "Einstellungen öffnen"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "Mitteilungsberechtigungen notwendig"; - -/* No comment provided by engineer. */ "PinCode" = "PIN: %@"; - -/* No comment provided by engineer. */ "Quit" = "QuickDrop beenden"; - -/* No comment provided by engineer. */ "TransferError" = "Die Daten von %@ konnten nicht empfangen werden"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "Für alle sichtbar"; "NoNetworkConnection" = "Keine Netzwerkverbindung"; - "RecommendedApps" = "Empfohlene Apps"; "GetSupport" = "Support"; - "PrivacyPolicy" = "Datenschutzerklärung"; "ReadyToReceive" = "Empfangsbereit"; "SendClipboard" = "Zwischenablage senden"; "Clipboard" = "Zwischenablage"; - "DeviceCurrentlySendingFiles" = "%1$@ sendet %2$@"; "UserManual" = "Benutzerhandbuch & Einstellungen"; "Settings" = "Einstellungen"; diff --git a/QuickDrop/es.lproj/Localizable.strings b/QuickDrop/es.lproj/Localizable.strings index 802cb5b..fb2587e 100644 --- a/QuickDrop/es.lproj/Localizable.strings +++ b/QuickDrop/es.lproj/Localizable.strings @@ -1,58 +1,25 @@ -/* No comment provided by engineer. */ "Accept" = "Aceptar"; - -/* No comment provided by engineer. */ "Decline" = "Rechazar"; - -/* No comment provided by engineer. */ "DeviceName" = "Nombre del dispositivo: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ te quiere enviar %2$@"; "DeviceCurrentlySendingText" = "%1$@ ha insertado \"%2$@\" en tu portapapeles."; "DeviceSendingText" = "%1$@ quiere insertar \"%2$@\" en el portapapeles de tu Mac."; - "DeviceCurrentlySendingUrl" = "%1$@ ha abierto \"%2$@\"."; "DeviceSendingUrl" = "%1$@ quiere abrir \"%2$@\" en tu Mac."; - "InsertedIntoClipboard" = "Insertado"; "UnsupportedFileType" = "El archivo que intentaste enviar no es compatible actualmente. Por favor, envía un informe de error."; - -/* No comment provided by engineer. */ "Error.Crypto" = " Error de encriptación"; - -/* No comment provided by engineer. */ "Error.Protocol" = "Error de comunicación"; - "Error.ClosedByPeer" = "La conexión se cerró. Si esto ocurre repetidamente, reinicia tu teléfono."; - "Error.NetworkDown" = "La conexión Wi‑Fi se interrumpió. Por favor, verifica tu conexión Wi‑Fi e inténtalo de nuevo."; - -/* No comment provided by engineer. */ -//"NFiles" = "%d archivos"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "QuickDrop necesita poder mostrar notificaciones para las transferencias de archivos entrantes. Permite las notificaciones en la configuración del sistema."; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "Abrir la configuración del sistema"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "Permiso de notificaciones necesario"; - -/* No comment provided by engineer. */ "PinCode" = "PIN: %@"; - -/* No comment provided by engineer. */ "Quit" = "Salir de QuickDrop"; - -/* No comment provided by engineer. */ "TransferError" = "Error al recibir archivos de %@"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "Visible para todos"; "NoNetworkConnection" = "Sin conexión de red"; - "RecommendedApps" = "Aplicaciones recomendadas"; "GetSupport" = "Soporte"; "PrivacyPolicy" = "Política de privacidad"; diff --git a/QuickDrop/fr.lproj/Localizable.strings b/QuickDrop/fr.lproj/Localizable.strings index 10dcd94..4628699 100644 --- a/QuickDrop/fr.lproj/Localizable.strings +++ b/QuickDrop/fr.lproj/Localizable.strings @@ -1,58 +1,26 @@ -/* No comment provided by engineer. */ "Accept" = "Accepter"; - -/* No comment provided by engineer. */ "Decline" = "Refuser"; - -/* No comment provided by engineer. */ "DeviceName" = "Nom de l'appareil : %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ vous envoie %2$@"; "DeviceCurrentlySendingText" = "%1$@ a inséré \"%2$@\" dans votre presse-papiers."; "DeviceSendingText" = "%1$@ souhaite insérer \"%2$@\" dans le presse-papiers de votre Mac."; - "DeviceCurrentlySendingUrl" = "%1$@ a ouvert \"%2$@\"."; "DeviceSendingUrl" = "%1$@ souhaite ouvrir \"%2$@\" sur votre Mac."; - "InsertedIntoClipboard" = "Inséré"; "UnsupportedFileType" = "Le fichier que vous avez essayé d'envoyer n'est pas pris en charge actuellement. Veuillez envoyer un rapport d'erreur."; - -/* No comment provided by engineer. */ "Error.Crypto" = "Erreur de cryptage"; - -/* No comment provided by engineer. */ "Error.Protocol" = "Erreur de communication"; - "Error.ClosedByPeer" = "La connexion a été fermée. Si cela se produit à plusieurs reprises, redémarrez votre téléphone."; - "Error.NetworkDown" = "La connexion Wi‑Fi a été interrompue. Veuillez vérifier votre connexion Wi‑Fi et réessayer."; - -/* No comment provided by engineer. */ "NFiles" = "%d fichiers"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "QuickDrop doit pouvoir afficher des notifications pour les transferts de fichiers entrants. Veuillez autoriser les notifications dans les paramètres système."; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "Ouvrir les paramètres"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "Autorisation de notification requise"; - -/* No comment provided by engineer. */ "PinCode" = "CODE PIN : %@"; - -/* No comment provided by engineer. */ "Quit" = "Quitter QuickDrop"; - -/* No comment provided by engineer. */ "TransferError" = "Échec de la réception des fichiers de %@"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "Visible par tout le monde"; "NoNetworkConnection" = "Pas de connexion réseau"; - "RecommendedApps" = "Applications recommandées"; "GetSupport" = "Support"; "PrivacyPolicy" = "Politique de confidentialité"; diff --git a/QuickDrop/hu.lproj/Localizable.strings b/QuickDrop/hu.lproj/Localizable.strings index 7e4b6bf..d6b0c2c 100644 --- a/QuickDrop/hu.lproj/Localizable.strings +++ b/QuickDrop/hu.lproj/Localizable.strings @@ -1,58 +1,26 @@ -/* No comment provided by engineer. */ "Accept" = "Elfogad"; - -/* No comment provided by engineer. */ "Decline" = "Elutasít"; - -/* No comment provided by engineer. */ "DeviceName" = "Készülék neve: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ a következőt küldi: %2$@"; "DeviceCurrentlySendingText" = "%1$@ beillesztette a(z) \"%2$@\" szöveget a vágólapodra."; "DeviceSendingText" = "%1$@ be szeretné illeszteni a(z) \"%2$@\" szöveget a Mac-ed vágólapjára."; - "DeviceCurrentlySendingUrl" = "%1$@ megnyitotta a(z) \"%2$@\" hivatkozást."; "DeviceSendingUrl" = "%1$@ meg szeretné nyitni a(z) \"%2$@\" hivatkozást a Mac-eden."; - "InsertedIntoClipboard" = "Beillesztve"; "UnsupportedFileType" = "A fájl, amelyet megpróbáltál küldeni, jelenleg nem támogatott. Kérjük, küldj hibajelentést."; - -/* No comment provided by engineer. */ "Error.Crypto" = "Titkosítási hiba"; - -/* No comment provided by engineer. */ "Error.Protocol" = "Kommunikációs hiba"; - "Error.ClosedByPeer" = "A kapcsolat megszakadt. Ha ez többször előfordul, indítsd újra a telefonodat."; - "Error.NetworkDown" = "Megszakadt a Wi‑Fi kapcsolat. Kérlek, ellenőrizd a Wi‑Fi kapcsolatodat, majd próbáld újra."; - -/* No comment provided by engineer. */ "NFiles" = "%d fájl"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "A QuickDrop-nak szüksége van értesítéseket küldeni a bejövő fájlok fogadásához. Kérlek engedélyezd az értesítésekhez való hozzáférést a Rendszerbeállításokban."; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "Beállítások megnyitása"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "Szükséges az értesítésekhez való hozzáférés"; - -/* No comment provided by engineer. */ "PinCode" = "JELKÓD: %@"; - -/* No comment provided by engineer. */ "Quit" = "QuickDrop bezárása"; - -/* No comment provided by engineer. */ "TransferError" = "Nem sikerült %@-tól/től fájlokat fogadni"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "Mindenki számára felfedezhető"; "NoNetworkConnection" = "Nincs hálózati kapcsolat"; - "RecommendedApps" = "Ajánlott alkalmazások"; "GetSupport" = "Támogatás"; "PrivacyPolicy" = "Adatvédelmi irányelvek"; diff --git a/QuickDrop/it.lproj/Localizable.strings b/QuickDrop/it.lproj/Localizable.strings index 91cc21e..6595ed9 100644 --- a/QuickDrop/it.lproj/Localizable.strings +++ b/QuickDrop/it.lproj/Localizable.strings @@ -1,58 +1,26 @@ -/* No comment provided by engineer. */ "Accept" = "Accetta"; - -/* No comment provided by engineer. */ "Decline" = "Rifiuta"; - -/* No comment provided by engineer. */ "DeviceName" = "Nome del dispositivo: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ ti sta mandando %2$@"; "DeviceCurrentlySendingText" = "%1$@ ha inserito \"%2$@\" negli appunti."; "DeviceSendingText" = "%1$@ vuole inserire \"%2$@\" negli appunti del tuo Mac."; - "DeviceCurrentlySendingUrl" = "%1$@ ha aperto \"%2$@\"."; "DeviceSendingUrl" = "%1$@ vuole aprire \"%2$@\" sul tuo Mac."; - "InsertedIntoClipboard" = "Inserito"; "UnsupportedFileType" = "Il file che hai provato a inviare non è attualmente supportato. Invia un rapporto di errore."; - -/* No comment provided by engineer. */ "Error.Crypto" = "Errore di crittografia"; - -/* No comment provided by engineer. */ "Error.Protocol" = "Errore di comunicazione"; - "Error.ClosedByPeer" = "La connessione è stata chiusa. Se ciò accade ripetutamente, riavvia il telefono."; - "Error.NetworkDown" = "La connessione Wi‑Fi è stata interrotta. Controlla la tua connessione Wi‑Fi e riprova."; - -/* No comment provided by engineer. */ "NFiles" = "%d files"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "QuickDrop deve essere in grado di visualizzare le notifiche per i trasferimenti di file in entrata. Consenti le notifiche nelle Impostazioni di sistema."; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "Apri le impostazioni"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "Autorizzazione di notifica richiesta"; - -/* No comment provided by engineer. */ "PinCode" = "PIN: %@"; - -/* No comment provided by engineer. */ "Quit" = "Esci da QuickDrop"; - -/* No comment provided by engineer. */ "TransferError" = "Impossibile ricevere i file da %@"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "Visibile a tutti"; "NoNetworkConnection" = "Nessuna connessione di rete"; - "RecommendedApps" = "App consigliate"; "GetSupport" = "Supporto"; "ReadyToReceive" = "Pronto a ricevere"; diff --git a/QuickDrop/ja.lproj/Localizable.strings b/QuickDrop/ja.lproj/Localizable.strings index 8ee7015..589e4fd 100644 --- a/QuickDrop/ja.lproj/Localizable.strings +++ b/QuickDrop/ja.lproj/Localizable.strings @@ -1,58 +1,26 @@ -/* No comment provided by engineer. */ "Accept" = "受け入れる"; - -/* No comment provided by engineer. */ "Decline" = "拒否する"; - -/* No comment provided by engineer. */ "DeviceName" = "機器名: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@が%2$@を送信しています"; "DeviceCurrentlySendingText" = "%1$@ が \"%2$@\" をクリップボードに挿入しました。"; "DeviceSendingText" = "%1$@ が \"%2$@\" をあなたの Mac のクリップボードに挿入しようとしています。"; - "DeviceCurrentlySendingUrl" = "%1$@ が \"%2$@\" を開きました。"; "DeviceSendingUrl" = "%1$@ があなたの Mac で \"%2$@\" を開こうとしています。"; - "InsertedIntoClipboard" = "挿入されました"; "UnsupportedFileType" = "送信しようとしたファイルは現在サポートされていません。エラーレポートを送信してください。"; - -/* No comment provided by engineer. */ "Error.Crypto" = "暗号化エラー"; - -/* No comment provided by engineer. */ "Error.Protocol" = "通信エラー"; - "Error.ClosedByPeer" = "接続が切断されました。これが繰り返し発生する場合は、スマートフォンを再起動してください。"; - "Error.NetworkDown" = "Wi‑Fi 接続が中断されました。Wi‑Fi 接続を確認してから、もう一度お試しください。"; - -/* No comment provided by engineer. */ "NFiles" = "%dつのファイル"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "QuickDropでファイル受信の通知を表示できる必要があります。システム設定で通知を許可してください。"; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "設定を開く"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "通知権限が必要です。"; - -/* No comment provided by engineer. */ "PinCode" = "PIN: %@"; - -/* No comment provided by engineer. */ "Quit" = "QuickDropを終了"; - -/* No comment provided by engineer. */ "TransferError" = "%@からのファイル受信に失敗しました。"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "すべてのユーザーに公開"; "NoNetworkConnection" = "ネットワークに接続されていません"; - "RecommendedApps" = "おすすめアプリ"; "GetSupport" = "サポート"; "PrivacyPolicy" = "プライバシーポリシー"; diff --git a/QuickDrop/ko.lproj/Localizable.strings b/QuickDrop/ko.lproj/Localizable.strings index aa25263..a21fc94 100644 --- a/QuickDrop/ko.lproj/Localizable.strings +++ b/QuickDrop/ko.lproj/Localizable.strings @@ -1,58 +1,26 @@ -/* No comment provided by engineer. */ "Accept" = "수락"; - -/* No comment provided by engineer. */ "Decline" = "거절"; - -/* No comment provided by engineer. */ "DeviceName" = "기기 이름: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@에서 %2$@을(를) 공유하려고 합니다."; "DeviceCurrentlySendingText" = "%1$@이(가) \"%2$@\"을(를) 클립보드에 삽입했습니다."; "DeviceSendingText" = "%1$@이(가) \"%2$@\"을(를) Mac의 클립보드에 삽입하려고 합니다."; - "DeviceCurrentlySendingUrl" = "%1$@이(가) \"%2$@\"을(를) 열었습니다."; "DeviceSendingUrl" = "%1$@이(가) Mac에서 \"%2$@\"을(를) 열려고 합니다."; - "InsertedIntoClipboard" = "삽입됨"; "UnsupportedFileType" = "보내려는 파일은 현재 지원되지 않습니다. 오류 보고서를 보내주세요."; - -/* No comment provided by engineer. */ "Error.Crypto" = "암호화 오류"; - -/* No comment provided by engineer. */ "Error.Protocol" = "통신 오류"; - "Error.ClosedByPeer" = "연결이 종료되었습니다. 이러한 문제가 반복되면 휴대전화를 재시작하세요."; - "Error.NetworkDown" = "Wi‑Fi 연결이 끊어졌습니다. Wi‑Fi 연결 상태를 확인하고 다시 시도하세요."; - -/* No comment provided by engineer. */ "NFiles" = "%d개의 파일"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "QuickDrop에서 파일 수신에 대한 알림을 표시할 수 있어야 합니다. 시스템 설정에서 알림을 허용하세요."; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "설정 열기"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "알림 권한이 필요합니다."; - -/* No comment provided by engineer. */ "PinCode" = "PIN: %@"; - -/* No comment provided by engineer. */ "Quit" = "QuickDrop 종료"; - -/* No comment provided by engineer. */ "TransferError" = "%@에서 전송한 Nearby Share가 실패했습니다."; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "모든 사용자에게 공개"; "NoNetworkConnection" = "네트워크에 연결되어 있지 않습니다"; - "RecommendedApps" = "추천 앱"; "GetSupport" = "지원"; "PrivacyPolicy" = "개인정보 처리방침"; diff --git a/QuickDrop/nl.lproj/Localizable.strings b/QuickDrop/nl.lproj/Localizable.strings index 96f15c6..b3e6d83 100644 --- a/QuickDrop/nl.lproj/Localizable.strings +++ b/QuickDrop/nl.lproj/Localizable.strings @@ -1,65 +1,32 @@ -/* No comment provided by engineer. */ "Accept" = "Accepteer"; - -/* No comment provided by engineer. */ "Decline" = "Afwijzen"; - -/* No comment provided by engineer. */ "DeviceName" = "Naam apparaat: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ stuurt je %2$@"; "DeviceCurrentlySendingText" = "%1$@ heeft \"%2$@\" in je klembord geplaatst."; "DeviceSendingText" = "%1$@ wil \"%2$@\" in het klembord van je Mac plaatsen."; - "DeviceCurrentlySendingUrl" = "%1$@ heeft \"%2$@\" geopend."; "DeviceSendingUrl" = "%1$@ wil \"%2$@\" openen op je Mac."; - "InsertedIntoClipboard" = "Ingevoerd"; "UnsupportedFileType" = "Het bestand dat je probeerde te verzenden, wordt momenteel niet ondersteund. Stuur een foutrapport."; - -/* No comment provided by engineer. */ "Error.Crypto" = "Fout bij codering"; - -/* No comment provided by engineer. */ "Error.Protocol" = "Communicatiefout"; - "Error.ClosedByPeer" = "De verbinding is verbroken. Als dit herhaaldelijk gebeurt, start dan je telefoon opnieuw op."; - "Error.NetworkDown" = "De Wi‑Fi‑verbinding is onderbroken. Controleer je Wi‑Fi‑verbinding en probeer het opnieuw."; - -/* No comment provided by engineer. */ "NFiles" = "%d bestanden"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "QuickDrop moet meldingen kunnen weergeven voor inkomende bestandsoverdrachten. Sta meldingen toe in de systeeminstellingen."; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "Instellingen openen"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "Melding Toestemming vereist"; - -/* No comment provided by engineer. */ "PinCode" = "PIN: %@"; - -/* No comment provided by engineer. */ "Quit" = "QuickDrop afsluiten"; - -/* No comment provided by engineer. */ "TransferError" = "Mislukt om bestanden te ontvangen van %@"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "Zichtbaar voor iedereen"; "NoNetworkConnection" = "Geen netwerkverbinding"; - "RecommendedApps" = "Aanbevolen apps"; "GetSupport" = "Ondersteuning"; "PrivacyPolicy" = "Privacybeleid"; "ReadyToReceive" = "Klaar om te ontvangen"; "SendClipboard" = "Klembord Verzenden"; "Clipboard" = "Klembord"; - "DeviceCurrentlySendingFiles" = "%1$@ stuurt je %2$@"; "UserManual" = "Gebruikershandleiding en Instellingen"; "Settings" = "Instellingen"; diff --git a/QuickDrop/pt-BR.lproj/Localizable.strings b/QuickDrop/pt-BR.lproj/Localizable.strings index e208b5b..62708d4 100644 --- a/QuickDrop/pt-BR.lproj/Localizable.strings +++ b/QuickDrop/pt-BR.lproj/Localizable.strings @@ -1,58 +1,26 @@ -/* No comment provided by engineer. */ "Accept" = "Aceitar"; - -/* No comment provided by engineer. */ "Decline" = "Recusar"; - -/* No comment provided by engineer. */ "DeviceName" = "Nome do dispositivo: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ está te enviando %2$@"; "DeviceCurrentlySendingText" = "%1$@ inseriu \"%2$@\" na sua área de transferência."; "DeviceSendingText" = "%1$@ deseja inserir \"%2$@\" na área de transferência do seu Mac."; - "DeviceCurrentlySendingUrl" = "%1$@ abriu \"%2$@\"."; "DeviceSendingUrl" = "%1$@ deseja abrir \"%2$@\" no seu Mac."; - "InsertedIntoClipboard" = "Inserido"; "UnsupportedFileType" = "O arquivo que você tentou enviar não é compatível no momento. Por favor, envie um relatório de erro."; - -/* No comment provided by engineer. */ "Error.Crypto" = "Erro de encriptação"; - -/* No comment provided by engineer. */ "Error.Protocol" = "Erro de comunicação"; - "Error.ClosedByPeer" = "A conexão foi encerrada. Se isso acontecer repetidamente, reinicie o seu celular."; - "Error.NetworkDown" = "A ligação Wi‑Fi foi interrompida. Verifica a tua ligação Wi‑Fi e tenta novamente."; - -/* No comment provided by engineer. */ "NFiles" = "%d arquivos"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "O QuickDrop precisa ser capaz de exibir notificações para o recebimento de arquivos. Por favor, habilite as notificações em Ajustes do Sistema."; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "Abrir configurações"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "Necessário permissão de notificações"; - -/* No comment provided by engineer. */ "PinCode" = "PIN: %@"; - -/* No comment provided by engineer. */ "Quit" = "Sair do QuickDrop"; - -/* No comment provided by engineer. */ "TransferError" = "Falha ao receber arquivos de %@"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "Visível para todos"; "NoNetworkConnection" = "Sem conexão com a rede"; - "RecommendedApps" = "Apps recomendados"; "GetSupport" = "Suporte"; "PrivacyPolicy" = "Política de Privacidade"; diff --git a/QuickDrop/pt-PT.lproj/Localizable.strings b/QuickDrop/pt-PT.lproj/Localizable.strings index 5cc596b..fc609e0 100644 --- a/QuickDrop/pt-PT.lproj/Localizable.strings +++ b/QuickDrop/pt-PT.lproj/Localizable.strings @@ -1,58 +1,26 @@ -/* No comment provided by engineer. */ "Accept" = "Aceitar"; - -/* No comment provided by engineer. */ "Decline" = "Recusar"; - -/* No comment provided by engineer. */ "DeviceName" = "Nome do dispositivo: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ está a enviar %2$@"; "DeviceCurrentlySendingText" = "%1$@ inseriu \"%2$@\" na sua área de transferência."; "DeviceSendingText" = "%1$@ pretende inserir \"%2$@\" na área de transferência do seu Mac."; - "DeviceCurrentlySendingUrl" = "%1$@ abriu \"%2$@\"."; "DeviceSendingUrl" = "%1$@ pretende abrir \"%2$@\" no seu Mac."; - "InsertedIntoClipboard" = "Inserido"; "UnsupportedFileType" = "O ficheiro que tentou enviar não é atualmente suportado. Por favor, envie um relatório de erro."; - -/* No comment provided by engineer. */ "Error.Crypto" = "Erro de encriptação"; - -/* No comment provided by engineer. */ "Error.Protocol" = "Erro de comunicação"; - "Error.ClosedByPeer" = "A ligação foi encerrada. Se isto acontecer repetidamente, reinicia o teu telemóvel."; - "Error.NetworkDown" = "A ligação Wi‑Fi foi interrompida. Verifica a tua ligação Wi‑Fi e tenta novamente."; - -/* No comment provided by engineer. */ "NFiles" = "%d ficheiros"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "O QuickDrop precisa ser capaz de mostrar notificações para receber ficheiros. Por favor, active as notificações em Definições do Sistema."; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "Abrir definições"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "Necessário permissão de notificações"; - -/* No comment provided by engineer. */ "PinCode" = "PIN: %@"; - -/* No comment provided by engineer. */ "Quit" = "Sair do QuickDrop"; - -/* No comment provided by engineer. */ "TransferError" = "Falha ao receber ficheiros de %@"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "Visível para todos"; "NoNetworkConnection" = "Sem ligação de rede"; - "RecommendedApps" = "Aplicativos recomendados"; "GetSupport" = "Suporte"; "PrivacyPolicy" = "Política de privacidade"; diff --git a/QuickDrop/ro.lproj/Localizable.strings b/QuickDrop/ro.lproj/Localizable.strings index 1a10dfb..ce93bb7 100644 --- a/QuickDrop/ro.lproj/Localizable.strings +++ b/QuickDrop/ro.lproj/Localizable.strings @@ -1,58 +1,26 @@ -/* No comment provided by engineer. */ "Accept" = "Acceptă"; - -/* No comment provided by engineer. */ "Decline" = "Refuză"; - -/* No comment provided by engineer. */ "DeviceName" = "Nume dispozitiv : %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ vă trimite %2$@"; "DeviceCurrentlySendingText" = "%1$@ a introdus \"%2$@\" în clipboard-ul tău."; "DeviceSendingText" = "%1$@ dorește să introducă \"%2$@\" în clipboard-ul Mac-ului tău."; - "DeviceCurrentlySendingUrl" = "%1$@ a deschis \"%2$@\"."; "DeviceSendingUrl" = "%1$@ dorește să deschidă \"%2$@\" pe Mac-ul tău."; - "InsertedIntoClipboard" = "Inserat"; "UnsupportedFileType" = "Fișierul pe care ai încercat să-l trimiți nu este momentan acceptat. Te rugăm să trimiți un raport de eroare."; - -/* No comment provided by engineer. */ "Error.Crypto" = "Eroare de criptare"; - -/* No comment provided by engineer. */ "Error.Protocol" = "Eroare de comunicare"; - "Error.ClosedByPeer" = "Conexiunea a fost închisă. Dacă se întâmplă în mod repetat, repornește telefonul."; - "Error.NetworkDown" = "Conexiunea Wi‑Fi a fost întreruptă. Verifică conexiunea Wi‑Fi și încearcă din nou."; - -/* No comment provided by engineer. */ "NFiles" = "%d fișiere"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "QuickDrop trebuie să poată afișa notificări pentru transferurile de fișiere primite. Vă rugăm să permiteți notificările în Setările Sistemului."; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "Deschide setările"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "Permisiunea pentru notificări este necesară"; - -/* No comment provided by engineer. */ "PinCode" = "COD PIN : %@"; - -/* No comment provided by engineer. */ "Quit" = "Închide QuickDrop"; - -/* No comment provided by engineer. */ "TransferError" = "Recepționarea fișierelor de la %@ a eșuat"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "Vizibil pentru toată lumea"; "NoNetworkConnection" = "Nicio conexiune la rețea"; - "RecommendedApps" = "Aplicații recomandate"; "GetSupport" = "Suport"; "PrivacyPolicy" = "Politica de confidențialitate"; diff --git a/QuickDrop/ru.lproj/Localizable.strings b/QuickDrop/ru.lproj/Localizable.strings index 1b9155d..d676ff7 100644 --- a/QuickDrop/ru.lproj/Localizable.strings +++ b/QuickDrop/ru.lproj/Localizable.strings @@ -1,61 +1,27 @@ -/* No comment provided by engineer. */ "Accept" = "Принять"; - -/* No comment provided by engineer. */ "Decline" = "Отклонить"; - -/* No comment provided by engineer. */ "DeviceName" = "Имя устройства: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ отправляет Вам %2$@"; "DeviceCurrentlySendingText" = "%1$@ вставил \"%2$@\" в ваш буфер обмена."; "DeviceSendingText" = "%1$@ хочет вставить \"%2$@\" в буфер обмена вашего Mac."; - "DeviceCurrentlySendingUrl" = "%1$@ открыл \"%2$@\"."; "DeviceSendingUrl" = "%1$@ хочет открыть \"%2$@\" на вашем Mac."; - "InsertedIntoClipboard" = "Вставлено"; "UnsupportedFileType" = "Файл, который вы пытались отправить, в настоящее время не поддерживается. Пожалуйста, отправьте отчет об ошибке."; - -/* No comment provided by engineer. */ "Error.Crypto" = "Ошибка шифрования"; - -/* No comment provided by engineer. */ "Error.Protocol" = "Ошибка протокола"; - "Error.ClosedByPeer" = "Соединение было закрыто. Если это происходит неоднократно, перезагрузите телефон."; - "Error.NetworkDown" = "Соединение по Wi‑Fi было прервано. Пожалуйста, проверьте соединение Wi‑Fi и попробуйте снова."; - -/* No comment provided by engineer. */ -/*"NFiles" = "%d файлов";*/ - -/* No comment provided by engineer. */ "PinCode" = "PIN: %@"; - -/* No comment provided by engineer. */ "Quit" = "Завершить QuickDrop"; - -/* No comment provided by engineer. */ "TransferError" = "Не удалость принять файлы от %@"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "Видимость: все"; "NoNetworkConnection" = "Нет сетевого подключения"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "QuickDrop необходима возможность показывать уведомления о входящих файлах. Пожалуйста, разрешите уведомления в Системных настройках."; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "Открыть настройки"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "Требуется доступ к уведомлениям"; - "RecommendedApps" = "Рекомендуемые приложения"; "GetSupport" = "Поддержка"; - "PrivacyPolicy" = "Политика конфиденциальности"; "ReadyToReceive" = "Готов к получению"; "SendClipboard" = "Отправить буфер обмена"; diff --git a/QuickDrop/th.lproj/Localizable.strings b/QuickDrop/th.lproj/Localizable.strings index 8b22a2a..256841b 100644 --- a/QuickDrop/th.lproj/Localizable.strings +++ b/QuickDrop/th.lproj/Localizable.strings @@ -1,58 +1,26 @@ -/* No comment provided by engineer. */ "Accept" = "ยอมรับ"; - -/* No comment provided by engineer. */ "Decline" = "ปฏิเสธ"; - -/* No comment provided by engineer. */ "DeviceName" = "ชื่ออุปกรณ์: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ กำลังส่งไฟล์ให้คุณ %2$@"; "DeviceCurrentlySendingText" = "%1$@ ได้แทรก \"%2$@\" ไปยังคลิปบอร์ดของคุณแล้ว"; "DeviceSendingText" = "%1$@ ต้องการแทรก \"%2$@\" ไปยังคลิปบอร์ดของ Mac ของคุณ"; - "DeviceCurrentlySendingUrl" = "%1$@ ได้เปิด \"%2$@\" แล้ว"; "DeviceSendingUrl" = "%1$@ ต้องการเปิด \"%2$@\" บน Mac ของคุณ"; - "InsertedIntoClipboard" = "แทรกแล้ว"; "UnsupportedFileType" = "ไฟล์ที่คุณพยายามส่งยังไม่รองรับในขณะนี้ โปรดส่งรายงานข้อผิดพลาด"; - -/* No comment provided by engineer. */ "Error.Crypto" = "การเข้ารหัสผิดพลาด"; - -/* No comment provided by engineer. */ "Error.Protocol" = "การสื่อสารผิดพลาด"; - "Error.ClosedByPeer" = "การเชื่อมต่อถูกปิด หากเกิดขึ้นซ้ำหลายครั้ง โปรดรีสตาร์ทโทรศัพท์ของคุณ"; - "Error.NetworkDown" = "การเชื่อมต่อ Wi‑Fi ถูกขัดจังหวะ โปรดตรวจสอบการเชื่อมต่อ Wi‑Fi ของคุณแล้วลองอีกครั้ง"; - -/* No comment provided by engineer. */ "NFiles" = "%d ไฟล์"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "QuickDrop ไม่สามารถแสดงการแจ้งเตือนไฟล์ที่เข้ามาได้ โปรดให้สิทธิ์การแจ้งเตือน ในการตั้งค่าระบบ"; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "การตั้งค่า"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "จำเป็นต้องใช้สิทธิ์การแจ้งเตือน"; - -/* No comment provided by engineer. */ "PinCode" = "PIN: %@"; - -/* No comment provided by engineer. */ "Quit" = "ออก QuickDrop"; - -/* No comment provided by engineer. */ "TransferError" = "เกิดข้อผิดพลาดในการรับไฟล์จาก %@"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "เปิดเผยต่อทุกคน"; "NoNetworkConnection" = "ไม่มีการเชื่อมต่อเครือข่าย"; - "RecommendedApps" = "แอปแนะนำ"; "GetSupport" = "การสนับสนุน"; "PrivacyPolicy" = "นโยบายความเป็นส่วนตัว"; diff --git a/QuickDrop/uk.lproj/Localizable.strings b/QuickDrop/uk.lproj/Localizable.strings index 0f2b20c..78d6de7 100644 --- a/QuickDrop/uk.lproj/Localizable.strings +++ b/QuickDrop/uk.lproj/Localizable.strings @@ -1,58 +1,26 @@ -/* No comment provided by engineer. */ "Accept" = "Прийняти"; - -/* No comment provided by engineer. */ "Decline" = "Відхилити"; - -/* No comment provided by engineer. */ "DeviceName" = "Імʼя пристрою: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ відправляє Вам %2$@"; "DeviceCurrentlySendingText" = "%1$@ вставив \"%2$@\" до вашого буфера обміну."; "DeviceSendingText" = "%1$@ хоче вставити \"%2$@\" до буфера обміну вашого Mac."; - "DeviceCurrentlySendingUrl" = "%1$@ відкрив \"%2$@\"."; "DeviceSendingUrl" = "%1$@ хоче відкрити \"%2$@\" на вашому Mac."; - "InsertedIntoClipboard" = "Вставлено"; "UnsupportedFileType" = "Файл, який ви намагалися надіслати, наразі не підтримується. Будь ласка, надішліть звіт про помилку."; - -/* No comment provided by engineer. */ "Error.Crypto" = "Помилка шифрування"; - -/* No comment provided by engineer. */ "Error.Protocol" = "Помилка протоколу"; - "Error.ClosedByPeer" = "З'єднання було закрито. Якщо це трапляється постійно, перезавантажте телефон."; - "Error.NetworkDown" = "З’єднання Wi‑Fi було перервано. Будь ласка, перевірте своє Wi‑Fi з’єднання та спробуйте ще раз."; - -/* No comment provided by engineer. */ "NFiles" = "%d files"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "QuickDrop потрібна можливість показувати сповіщення про вхідні файли. Будь ласка, дозвольте сповіщення у Системних налаштуваннях."; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "Відкрити налаштування"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "Потрібен доступ до сповіщень"; - -/* No comment provided by engineer. */ "PinCode" = "PIN: %@"; - -/* No comment provided by engineer. */ "Quit" = "Завершити QuickDrop"; - -/* No comment provided by engineer. */ "TransferError" = "Не вдалося отримати файли від %@"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "Видимість: для всіх"; "NoNetworkConnection" = "Немає мережевого підключення"; - "RecommendedApps" = "Рекомендовані додатки"; "GetSupport" = "Підтримка"; "PrivacyPolicy" = "Політика конфіденційності"; diff --git a/QuickDrop/zh-Hans.lproj/Localizable.strings b/QuickDrop/zh-Hans.lproj/Localizable.strings index 9931e77..68fd22c 100644 --- a/QuickDrop/zh-Hans.lproj/Localizable.strings +++ b/QuickDrop/zh-Hans.lproj/Localizable.strings @@ -1,58 +1,26 @@ -/* No comment provided by engineer. */ "Accept" = "接受"; - -/* No comment provided by engineer. */ "Decline" = "拒绝"; - -/* No comment provided by engineer. */ "DeviceName" = "设备名称: %@"; - -/* No comment provided by engineer. */ "DeviceSendingFiles" = "%1$@ 正向你发送 %2$@"; "DeviceCurrentlySendingText" = "%1$@ 已将 \"%2$@\" 插入到你的剪贴板。"; "DeviceSendingText" = "%1$@ 想要将 \"%2$@\" 插入到你的 Mac 剪贴板。"; - "DeviceCurrentlySendingUrl" = "%1$@ 已打开 \"%2$@\"。"; "DeviceSendingUrl" = "%1$@ 想要在你的 Mac 上打开 \"%2$@\"。"; - "InsertedIntoClipboard" = "已插入"; "UnsupportedFileType" = "您尝试发送的文件当前不受支持。请发送错误报告。"; - -/* No comment provided by engineer. */ "Error.Crypto" = "加密出错"; - -/* No comment provided by engineer. */ "Error.Protocol" = "通信出错"; - "Error.ClosedByPeer" = "连接已关闭。如果这种情况反复发生,请重启手机。"; - "Error.NetworkDown" = "Wi‑Fi 连接中断。请检查您的 Wi‑Fi 连接并重试。"; - -/* No comment provided by engineer. */ "NFiles" = "%d files"; - -/* No comment provided by engineer. */ "NotificationsDenied.Message" = "QuickDrop 需显示是否接收文件传输的通知。请在 系统设置 中允许通知。"; - -/* No comment provided by engineer. */ "NotificationsDenied.OpenSettings" = "打开设置"; - -/* No comment provided by engineer. */ "NotificationsDenied.Title" = "需要通知权限"; - -/* No comment provided by engineer. */ "PinCode" = "PIN: %@"; - -/* No comment provided by engineer. */ "Quit" = "退出 QuickDrop"; - -/* No comment provided by engineer. */ "TransferError" = "无法从 %@ 接收文件"; - -/* No comment provided by engineer. */ "VisibleToEveryone" = "对所有人可见"; "NoNetworkConnection" = "无网络连接"; - "RecommendedApps" = "推荐应用"; "GetSupport" = "支持"; "PrivacyPolicy" = "隐私政策"; diff --git a/ShareExtension/ShareViewController.swift b/ShareExtension/ShareViewController.swift index 5e68fc5..7ea6ecf 100644 --- a/ShareExtension/ShareViewController.swift +++ b/ShareExtension/ShareViewController.swift @@ -235,7 +235,7 @@ class ShareViewController: NSViewController, ShareExtensionDelegate { filesIcon!.image = NSImage(named: NSImage.networkName) } } else { - filesLabel!.stringValue = String.localizedStringWithFormat(NSLocalizedString("NFiles", value: "%d files", comment: ""), urls.count) + filesLabel!.stringValue = String.localizedStringWithFormat("NFiles".localized(), urls.count) filesIcon!.image = NSImage(named: NSImage.multipleDocumentsName) } } @@ -269,7 +269,7 @@ class ShareViewController: NSViewController, ShareExtensionDelegate { func connectionWasEstablished(pinCode: String) { connectionEstablished = true - progressState?.stringValue = String(format: NSLocalizedString("PinCode", value: "PIN: %@", comment: ""), arguments: [pinCode]) + progressState?.stringValue = String(format: "PinCode".localized(), arguments: [pinCode]) progressProgressBar?.isIndeterminate = false progressProgressBar?.maxValue = 1000 progressProgressBar?.doubleValue = 0 @@ -284,15 +284,15 @@ class ShareViewController: NSViewController, ShareExtensionDelegate { if let ne = (error as? NearbyError), case let .canceled(reason) = ne { switch reason { case .userRejected: - progressState?.stringValue = NSLocalizedString("TransferDeclined", value: "Declined", comment: "") + progressState?.stringValue = "TransferDeclined".localized() case .userCanceled: - progressState?.stringValue = NSLocalizedString("TransferCanceled", value: "Canceled", comment: "") + progressState?.stringValue = "TransferCanceled".localized() case .notEnoughSpace: - progressState?.stringValue = NSLocalizedString("NotEnoughSpace", value: "Not enough disk space", comment: "") + progressState?.stringValue = "NotEnoughSpace".localized() case .unsupportedType: - progressState?.stringValue = NSLocalizedString("UnsupportedType", value: "Attachment type not supported", comment: "") + progressState?.stringValue = "UnsupportedType".localized() case .timedOut: - progressState?.stringValue = NSLocalizedString("TransferTimedOut", value: "Timed out", comment: "") + progressState?.stringValue = "TransferTimedOut".localized() } progressDeviceSecondaryIcon?.isHidden = false dismissDelayed() @@ -306,7 +306,7 @@ class ShareViewController: NSViewController, ShareExtensionDelegate { } func transferAccepted() { - progressState?.stringValue = NSLocalizedString("Sending", value: "Sending...", comment: "") + progressState?.stringValue = "Sending".localized() } func transferProgress(progress: Double) { @@ -314,7 +314,7 @@ class ShareViewController: NSViewController, ShareExtensionDelegate { } func transferFinished() { - progressState?.stringValue = NSLocalizedString("TransferFinished", value: "Transfer finished", comment: "") + progressState?.stringValue = "TransferFinished".localized() dismissDelayed() } @@ -327,7 +327,7 @@ class ShareViewController: NSViewController, ShareExtensionDelegate { progressDeviceName?.stringValue = getDeviceName(device: device) progressDeviceIcon?.image = imageForDeviceType(type: device.type) progressProgressBar?.startAnimation(nil) - progressState?.stringValue = NSLocalizedString("Connecting", value: "Connecting...", comment: "") + progressState?.stringValue = "Connecting".localized() chosenDevice = device NearbyConnectionManager.shared.startOutgoingTransfer(deviceID: device.id!, delegate: self, urls: urls, textToSend: textToSend)