From 2feb1dbf938190ad5b180b193935078ec194c5ce Mon Sep 17 00:00:00 2001 From: PapaDocta Date: Sun, 26 May 2024 11:07:28 +0300 Subject: [PATCH 1/8] Add Arabic translation: Localizable.strings --- NearDrop/ar.lproj/Localizable.strings | 1 + 1 file changed, 1 insertion(+) create mode 100644 NearDrop/ar.lproj/Localizable.strings diff --git a/NearDrop/ar.lproj/Localizable.strings b/NearDrop/ar.lproj/Localizable.strings new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/NearDrop/ar.lproj/Localizable.strings @@ -0,0 +1 @@ + From 0d47ae99ca60723c26e3d214710b846910374948 Mon Sep 17 00:00:00 2001 From: PapaDocta Date: Sun, 26 May 2024 11:09:38 +0300 Subject: [PATCH 2/8] Update Localizable.strings --- NearDrop/ar.lproj/Localizable.strings | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/NearDrop/ar.lproj/Localizable.strings b/NearDrop/ar.lproj/Localizable.strings index 8b13789..fa5c01a 100644 --- a/NearDrop/ar.lproj/Localizable.strings +++ b/NearDrop/ar.lproj/Localizable.strings @@ -1 +1,42 @@ +/* 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$@"; + +/* No comment provided by engineer. */ +"Error.Crypto" = "خطأ في التشفير"; + +/* No comment provided by engineer. */ +"Error.Protocol" = "خطأ في الاتصال"; + +/* No comment provided by engineer. */ +"NFiles" = "%d ملفات"; + +/* No comment provided by engineer. */ +"NotificationsDenied.Message" = "يحتاج NearDrop إلى القدرة على عرض الإشعارات لنقل الملفات الواردة. يرجى السماح بالإشعارات في إعدادات النظام."; + +/* 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" = "إنهاء NearDrop"; + +/* No comment provided by engineer. */ +"TransferError" = "فشل في استقبال الملفات من %@"; + +/* No comment provided by engineer. */ +"VisibleToEveryone" = "مرئي للجميع"; From 6532aa5216c8041591b85288eab9c1b7249ab6c0 Mon Sep 17 00:00:00 2001 From: PapaDocta Date: Sun, 26 May 2024 11:10:18 +0300 Subject: [PATCH 3/8] Add files via upload --- NearDrop/ar.lproj/Localizable.stringsdict | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 NearDrop/ar.lproj/Localizable.stringsdict diff --git a/NearDrop/ar.lproj/Localizable.stringsdict b/NearDrop/ar.lproj/Localizable.stringsdict new file mode 100644 index 0000000..57d2cd7 --- /dev/null +++ b/NearDrop/ar.lproj/Localizable.stringsdict @@ -0,0 +1,22 @@ + + + + + NFiles + + NSStringLocalizedFormatKey + %#@files@ + files + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + d + one + %d file + other + %d files + + + + From 856fe4507fd67475cb0c59e323d124ec01ca6118 Mon Sep 17 00:00:00 2001 From: PapaDocta Date: Sun, 26 May 2024 11:11:09 +0300 Subject: [PATCH 4/8] Update Localizable.stringsdict --- NearDrop/ar.lproj/Localizable.stringsdict | 32 +++++++++++------------ 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/NearDrop/ar.lproj/Localizable.stringsdict b/NearDrop/ar.lproj/Localizable.stringsdict index 57d2cd7..8aafe09 100644 --- a/NearDrop/ar.lproj/Localizable.stringsdict +++ b/NearDrop/ar.lproj/Localizable.stringsdict @@ -2,21 +2,21 @@ - NFiles - - NSStringLocalizedFormatKey - %#@files@ - files - - NSStringFormatSpecTypeKey - NSStringPluralRuleType - NSStringFormatValueTypeKey - d - one - %d file - other - %d files - - + NFiles + + NSStringLocalizedFormatKey + %#@files@ + files + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + d + one + %d ملف + other + %d ملفات + + From c10db4e566ae14a19c848cc38b89f179446e95a0 Mon Sep 17 00:00:00 2001 From: PapaDocta Date: Sun, 26 May 2024 16:39:51 +0300 Subject: [PATCH 5/8] Add Arabic translations for Localizable.strings --- ShareExtension/ar.lpro/Localizable.strings | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ShareExtension/ar.lpro/Localizable.strings diff --git a/ShareExtension/ar.lpro/Localizable.strings b/ShareExtension/ar.lpro/Localizable.strings new file mode 100644 index 0000000..1c90e46 --- /dev/null +++ b/ShareExtension/ar.lpro/Localizable.strings @@ -0,0 +1,29 @@ +/* No comment provided by engineer. */ +"Connecting" = "جارٍ الاتصال..."; + +/* No comment provided by engineer. */ +"NFiles" = "%d ملفات"; + +/* No comment provided by engineer. */ +"NotEnoughSpace" = "لا توجد مساحة كافية على القرص"; + +/* No comment provided by engineer. */ +"PinCode" = "الرمز السري: %@"; + +/* No comment provided by engineer. */ +"Sending" = "جارٍ الإرسال..."; + +/* No comment provided by engineer. */ +"TransferCanceled" = "تم الإلغاء"; + +/* No comment provided by engineer. */ +"TransferDeclined" = "مرفوض"; + +/* No comment provided by engineer. */ +"TransferFinished" = "تم النقل"; + +/* No comment provided by engineer. */ +"TransferTimedOut" = "انتهت المهلة"; + +/* No comment provided by engineer. */ +"UnsupportedType" = "نوع المرفق غير مدعوم"; From 062f9018613868bdcb2ccf3daa579999e577b00a Mon Sep 17 00:00:00 2001 From: PapaDocta Date: Sun, 26 May 2024 16:41:34 +0300 Subject: [PATCH 6/8] Add Arabic translations for ShareExtension --- .../ar.lpro/Localizable.stringsdict | 22 +++++++++++++++++++ .../ar.lpro/ShareViewController.xib | 11 ++++++++++ 2 files changed, 33 insertions(+) create mode 100644 ShareExtension/ar.lpro/Localizable.stringsdict create mode 100644 ShareExtension/ar.lpro/ShareViewController.xib diff --git a/ShareExtension/ar.lpro/Localizable.stringsdict b/ShareExtension/ar.lpro/Localizable.stringsdict new file mode 100644 index 0000000..8aafe09 --- /dev/null +++ b/ShareExtension/ar.lpro/Localizable.stringsdict @@ -0,0 +1,22 @@ + + + + + NFiles + + NSStringLocalizedFormatKey + %#@files@ + files + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + d + one + %d ملف + other + %d ملفات + + + + diff --git a/ShareExtension/ar.lpro/ShareViewController.xib b/ShareExtension/ar.lpro/ShareViewController.xib new file mode 100644 index 0000000..fc89940 --- /dev/null +++ b/ShareExtension/ar.lpro/ShareViewController.xib @@ -0,0 +1,11 @@ +/* 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" = "إلغاء"; + +/* Class = "NSTextFieldCell"; title = "Looking for devices..."; ObjectID = "NaJ-Wx-Pim"; */ +"NaJ-Wx-Pim.title" = "البحث عن الأجهزة..."; + +/* 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" = "إذا لم تر جهازك، افتح تطبيق \"Google Files\" واضغط على \"استلام\" في علامة التبويب مشاركة قريبة."; From 6b95b74a0a19d5a0d68ad5cd953105bd2b0f7a5d Mon Sep 17 00:00:00 2001 From: Grishka Date: Sun, 26 May 2024 16:55:49 +0300 Subject: [PATCH 7/8] Fix folder name --- ShareExtension/{ar.lpro => ar.lproj}/Localizable.strings | 0 ShareExtension/{ar.lpro => ar.lproj}/Localizable.stringsdict | 0 ShareExtension/{ar.lpro => ar.lproj}/ShareViewController.xib | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename ShareExtension/{ar.lpro => ar.lproj}/Localizable.strings (100%) rename ShareExtension/{ar.lpro => ar.lproj}/Localizable.stringsdict (100%) rename ShareExtension/{ar.lpro => ar.lproj}/ShareViewController.xib (100%) diff --git a/ShareExtension/ar.lpro/Localizable.strings b/ShareExtension/ar.lproj/Localizable.strings similarity index 100% rename from ShareExtension/ar.lpro/Localizable.strings rename to ShareExtension/ar.lproj/Localizable.strings diff --git a/ShareExtension/ar.lpro/Localizable.stringsdict b/ShareExtension/ar.lproj/Localizable.stringsdict similarity index 100% rename from ShareExtension/ar.lpro/Localizable.stringsdict rename to ShareExtension/ar.lproj/Localizable.stringsdict diff --git a/ShareExtension/ar.lpro/ShareViewController.xib b/ShareExtension/ar.lproj/ShareViewController.xib similarity index 100% rename from ShareExtension/ar.lpro/ShareViewController.xib rename to ShareExtension/ar.lproj/ShareViewController.xib From 091411233c281146d41908ddf078ddca9972c422 Mon Sep 17 00:00:00 2001 From: Grishka Date: Sun, 26 May 2024 17:01:41 +0300 Subject: [PATCH 8/8] Add Arabic to xcode project --- NearDrop.xcodeproj/project.pbxproj | 11 +++++++++++ ...ViewController.xib => ShareViewController.strings} | 0 2 files changed, 11 insertions(+) rename ShareExtension/ar.lproj/{ShareViewController.xib => ShareViewController.strings} (100%) diff --git a/NearDrop.xcodeproj/project.pbxproj b/NearDrop.xcodeproj/project.pbxproj index 46b2e29..ac70347 100644 --- a/NearDrop.xcodeproj/project.pbxproj +++ b/NearDrop.xcodeproj/project.pbxproj @@ -177,6 +177,11 @@ 69DA9A2C29E18CB500A442DA /* securegcm.pb.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = securegcm.pb.swift; sourceTree = ""; }; 69DA9A2D29E18CB500A442DA /* securemessage.pb.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = securemessage.pb.swift; sourceTree = ""; }; 69DCF4812AB70D0600CBE2CC /* libNearbyShare.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libNearbyShare.dylib; sourceTree = BUILT_PRODUCTS_DIR; }; + 69FE60212C03775D0082D326 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Localizable.strings; sourceTree = ""; }; + 69FE60222C0377630082D326 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = ar; path = ar.lproj/Localizable.stringsdict; sourceTree = ""; }; + 69FE60232C03778C0082D326 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Localizable.strings; sourceTree = ""; }; + 69FE60242C03778C0082D326 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = ar; path = ar.lproj/Localizable.stringsdict; sourceTree = ""; }; + 69FE602B2C0378020082D326 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/ShareViewController.strings; sourceTree = ""; }; A3930F0529EAB2D1008F891D /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = it; path = it.lproj/Localizable.stringsdict; sourceTree = ""; }; A3930F0629EAB2D1008F891D /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Localizable.strings; sourceTree = ""; }; AE37AC272ABB62E400F0FF91 /* hu */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = hu; path = hu.lproj/Localizable.stringsdict; sourceTree = ""; }; @@ -439,6 +444,7 @@ uk, "pt-PT", fr, + ar, ); mainGroup = 69DA9A0529E0BF5100A442DA; packageReferences = ( @@ -570,6 +576,7 @@ B5AC98B72AC831F500351A5D /* ja */, 500BD5012AD09973002BAB1A /* uk */, E94E45DC2BBD6464009804EF /* pt-PT */, + 69FE60232C03778C0082D326 /* ar */, ); name = Localizable.strings; sourceTree = ""; @@ -585,6 +592,7 @@ B5AC98B62AC831F500351A5D /* ja */, 500BD5002AD09973002BAB1A /* uk */, E94E45DB2BBD6464009804EF /* pt-PT */, + 69FE60242C03778C0082D326 /* ar */, ); name = Localizable.stringsdict; sourceTree = ""; @@ -600,6 +608,7 @@ B5AC98B32AC831F500351A5D /* ja */, 500BD4FD2AD09973002BAB1A /* uk */, E94E45D82BBD6464009804EF /* pt-PT */, + 69FE602B2C0378020082D326 /* ar */, ); name = ShareViewController.xib; sourceTree = ""; @@ -622,6 +631,7 @@ 500BD4FF2AD09973002BAB1A /* uk */, E94E45DA2BBD6464009804EF /* pt-PT */, 6978D53A2BFE97E900A6100C /* fr */, + 69FE60212C03775D0082D326 /* ar */, ); name = Localizable.strings; sourceTree = ""; @@ -644,6 +654,7 @@ 500BD4FE2AD09973002BAB1A /* uk */, E94E45D92BBD6464009804EF /* pt-PT */, 6978D5392BFE97E100A6100C /* fr */, + 69FE60222C0377630082D326 /* ar */, ); name = Localizable.stringsdict; sourceTree = ""; diff --git a/ShareExtension/ar.lproj/ShareViewController.xib b/ShareExtension/ar.lproj/ShareViewController.strings similarity index 100% rename from ShareExtension/ar.lproj/ShareViewController.xib rename to ShareExtension/ar.lproj/ShareViewController.strings