From 2d46efb5390837063edc57ff67b5ef26f3822b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20Aguiar?= Date: Wed, 3 Apr 2024 11:24:49 +0100 Subject: [PATCH] Add Portuguese Portugal translation --- NearDrop.xcodeproj/project.pbxproj | 11 +++++ .../xcshareddata/swiftpm/Package.resolved | 3 +- NearDrop/pt-PT.lproj/Localizable.strings | 42 ++++++++++++++++++ NearDrop/pt-PT.lproj/Localizable.stringsdict | 22 +++++++++ .../pt-PT.lproj/Localizable.strings | Bin 0 -> 1558 bytes .../pt-PT.lproj/Localizable.stringsdict | 22 +++++++++ .../pt-PT.lproj/ShareViewController.strings | 12 +++++ 7 files changed, 111 insertions(+), 1 deletion(-) create mode 100644 NearDrop/pt-PT.lproj/Localizable.strings create mode 100644 NearDrop/pt-PT.lproj/Localizable.stringsdict create mode 100644 ShareExtension/pt-PT.lproj/Localizable.strings create mode 100644 ShareExtension/pt-PT.lproj/Localizable.stringsdict create mode 100644 ShareExtension/pt-PT.lproj/ShareViewController.strings diff --git a/NearDrop.xcodeproj/project.pbxproj b/NearDrop.xcodeproj/project.pbxproj index 1522bc6..4c6c1ab 100644 --- a/NearDrop.xcodeproj/project.pbxproj +++ b/NearDrop.xcodeproj/project.pbxproj @@ -191,6 +191,11 @@ B5AC98B72AC831F500351A5D /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Localizable.strings; sourceTree = ""; }; B670906E2A6D234D00DB8273 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = th; path = th.lproj/Localizable.stringsdict; sourceTree = ""; }; B670906F2A6D237600DB8273 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/Localizable.strings; sourceTree = ""; }; + E94E45D82BBD6464009804EF /* pt-PT */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-PT"; path = "pt-PT.lproj/ShareViewController.strings"; sourceTree = ""; }; + E94E45D92BBD6464009804EF /* pt-PT */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = "pt-PT"; path = "pt-PT.lproj/Localizable.stringsdict"; sourceTree = ""; }; + E94E45DA2BBD6464009804EF /* pt-PT */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-PT"; path = "pt-PT.lproj/Localizable.strings"; sourceTree = ""; }; + E94E45DB2BBD6464009804EF /* pt-PT */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = "pt-PT"; path = "pt-PT.lproj/Localizable.stringsdict"; sourceTree = ""; }; + E94E45DC2BBD6464009804EF /* pt-PT */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-PT"; path = "pt-PT.lproj/Localizable.strings"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -430,6 +435,7 @@ ko, ja, uk, + "pt-PT", ); mainGroup = 69DA9A0529E0BF5100A442DA; packageReferences = ( @@ -560,6 +566,7 @@ B59C7B442AC5EC0600B2CC15 /* ko */, B5AC98B72AC831F500351A5D /* ja */, 500BD5012AD09973002BAB1A /* uk */, + E94E45DC2BBD6464009804EF /* pt-PT */, ); name = Localizable.strings; sourceTree = ""; @@ -574,6 +581,7 @@ B59C7B432AC5EC0600B2CC15 /* ko */, B5AC98B62AC831F500351A5D /* ja */, 500BD5002AD09973002BAB1A /* uk */, + E94E45DB2BBD6464009804EF /* pt-PT */, ); name = Localizable.stringsdict; sourceTree = ""; @@ -588,6 +596,7 @@ B59C7B402AC5EC0600B2CC15 /* ko */, B5AC98B32AC831F500351A5D /* ja */, 500BD4FD2AD09973002BAB1A /* uk */, + E94E45D82BBD6464009804EF /* pt-PT */, ); name = ShareViewController.xib; sourceTree = ""; @@ -608,6 +617,7 @@ B59C7B422AC5EC0600B2CC15 /* ko */, B5AC98B52AC831F500351A5D /* ja */, 500BD4FF2AD09973002BAB1A /* uk */, + E94E45DA2BBD6464009804EF /* pt-PT */, ); name = Localizable.strings; sourceTree = ""; @@ -628,6 +638,7 @@ B59C7B412AC5EC0600B2CC15 /* ko */, B5AC98B42AC831F500351A5D /* ja */, 500BD4FE2AD09973002BAB1A /* uk */, + E94E45D92BBD6464009804EF /* pt-PT */, ); name = Localizable.stringsdict; sourceTree = ""; diff --git a/NearDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/NearDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 12467f6..71bb841 100644 --- a/NearDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/NearDrop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,4 +1,5 @@ { + "originHash" : "5bbb4a57a61db67d6ce8adc203fbc456a84ce246fff6c01807617c5de6a47adc", "pins" : [ { "identity" : "asn1", @@ -37,5 +38,5 @@ } } ], - "version" : 2 + "version" : 3 } diff --git a/NearDrop/pt-PT.lproj/Localizable.strings b/NearDrop/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..bfe8749 --- /dev/null +++ b/NearDrop/pt-PT.lproj/Localizable.strings @@ -0,0 +1,42 @@ +/* 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$@"; + +/* No comment provided by engineer. */ +"Error.Crypto" = "Erro de encriptação"; + +/* No comment provided by engineer. */ +"Error.Protocol" = "Erro de comunicação"; + +/* No comment provided by engineer. */ +"NFiles" = "%d ficheiros"; + +/* No comment provided by engineer. */ +"NotificationsDenied.Message" = "O NearDrop 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 NearDrop"; + +/* No comment provided by engineer. */ +"TransferError" = "Falha ao receber ficheiros de %@"; + +/* No comment provided by engineer. */ +"VisibleToEveryone" = "Visível para todos"; + diff --git a/NearDrop/pt-PT.lproj/Localizable.stringsdict b/NearDrop/pt-PT.lproj/Localizable.stringsdict new file mode 100644 index 0000000..57d2cd7 --- /dev/null +++ b/NearDrop/pt-PT.lproj/Localizable.stringsdict @@ -0,0 +1,22 @@ + + + + + NFiles + + NSStringLocalizedFormatKey + %#@files@ + files + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + d + one + %d file + other + %d files + + + + diff --git a/ShareExtension/pt-PT.lproj/Localizable.strings b/ShareExtension/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000000000000000000000000000000000000..0663d4fc3703085ba9aa42173e983ec850f5edaa GIT binary patch literal 1558 zcmchX!A`jF|76K8p5VK zGrRlk%s>12F;riP#;O@J#x=h}mG;ax+G2TDsT^C5SZot~E&RN-E{oj&|b<0UB2zLQN&+qYsC({yN>36h< zSQIsRxFHX<8t%Q+jJ&3tUIbJ#W@~a|tmZuso$%f0NLu2tniL*mkvZf$uUIVdDJN83 zPpkf^hEv_4mopf8x{Q`L%Sh$7{H-AKm@4CIXpTBkPTNrjQ~JnfRy)&G9%Lo-qAKA@=X`tf za!u&BeNfX08n>P^D(gq + + + + NFiles + + NSStringLocalizedFormatKey + %#@files@ + files + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + d + one + %d file + other + %d files + + + + diff --git a/ShareExtension/pt-PT.lproj/ShareViewController.strings b/ShareExtension/pt-PT.lproj/ShareViewController.strings new file mode 100644 index 0000000..7baba6f --- /dev/null +++ b/ShareExtension/pt-PT.lproj/ShareViewController.strings @@ -0,0 +1,12 @@ + +/* Class = "NSTextFieldCell"; title = "NearDrop"; ObjectID = "0xp-rC-2gr"; */ +"0xp-rC-2gr.title" = "NearDrop"; + +/* Class = "NSButtonCell"; title = "Cancel"; ObjectID = "6Up-t3-mwm"; */ +"6Up-t3-mwm.title" = "Cancelar"; + +/* Class = "NSTextFieldCell"; title = "Looking for devices..."; ObjectID = "NaJ-Wx-Pim"; */ +"NaJ-Wx-Pim.title" = "À procura de dispositivos..."; + +/* Class = "NSTextFieldCell"; title = "If you don't see your device, open \"Google Files\" app and tap \"Receive\" on the Nearby Share tab."; ObjectID = "vla-gF-eJo"; */ +"vla-gF-eJo.title" = "Se não vês o teu dispositivo, abre a aplicação \"Google Files\" e carrega em \"Recever\" na tab Nearby Share.";