From 5a3795ab5128e958102f023a352d04eed49c1896 Mon Sep 17 00:00:00 2001 From: Angelk90 Date: Sat, 15 Apr 2023 12:50:02 +0200 Subject: [PATCH 1/3] Add italian translation --- NearDrop.xcodeproj/project.pbxproj | 5 +++++ NearDrop/Base.lproj/Localizable.stringsdict | 4 ++-- NearDrop/it.lproj/Localizable.strings | Bin 0 -> 2560 bytes NearDrop/it.lproj/Localizable.stringsdict | 22 ++++++++++++++++++++ 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 NearDrop/it.lproj/Localizable.strings create mode 100644 NearDrop/it.lproj/Localizable.stringsdict diff --git a/NearDrop.xcodeproj/project.pbxproj b/NearDrop.xcodeproj/project.pbxproj index b780e8c..89bb907 100644 --- a/NearDrop.xcodeproj/project.pbxproj +++ b/NearDrop.xcodeproj/project.pbxproj @@ -65,6 +65,8 @@ 69DA9A2B29E18CB500A442DA /* offline_wire_formats.pb.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = offline_wire_formats.pb.swift; sourceTree = ""; }; 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 = ""; }; + 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 = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -189,6 +191,7 @@ en, Base, ru, + it, ); mainGroup = 69DA9A0529E0BF5100A442DA; packageReferences = ( @@ -246,6 +249,7 @@ children = ( 69D2C32C29E77F2200EC7E30 /* Base */, 69D2C33029E789AF00EC7E30 /* ru */, + A3930F0629EAB2D1008F891D /* it */, ); name = Localizable.strings; sourceTree = ""; @@ -255,6 +259,7 @@ children = ( 69D2C33729E78DF400EC7E30 /* Base */, 69D2C33929E78DFD00EC7E30 /* ru */, + A3930F0529EAB2D1008F891D /* it */, ); name = Localizable.stringsdict; sourceTree = ""; diff --git a/NearDrop/Base.lproj/Localizable.stringsdict b/NearDrop/Base.lproj/Localizable.stringsdict index 57d2cd7..97d6c20 100644 --- a/NearDrop/Base.lproj/Localizable.stringsdict +++ b/NearDrop/Base.lproj/Localizable.stringsdict @@ -12,9 +12,9 @@ NSStringPluralRuleType NSStringFormatValueTypeKey d - one + uno %d file - other + altro %d files diff --git a/NearDrop/it.lproj/Localizable.strings b/NearDrop/it.lproj/Localizable.strings new file mode 100644 index 0000000000000000000000000000000000000000..8c668c2f75e3adffb33b4001871d262d7f21f572 GIT binary patch literal 2560 zcmcJQK~LL25QXQ=udq;a;SkgwTU8>0AaQ6KXw{mo?xF51-7gt*Sj8%%q zgh31|QaG25KWppYsimz!R>O2_U+EdyNmh;`%3t8wfJZyIwsW2hk#2x`WS{L5XbQ(y z(5L+?SV`$KLo4l!?2C`gwYO7rCN)ZJr?gM5uy%kojR-8)psE-tZhK~~c`scD`4pHi zjBQT7)-$WFnh%jm9}lo91(o*9v*k+~%2O?~Jv**CSG7bfJ#x#RIxabrzNGGAxBE+SXr#2ED(GOmbjNsx zas5v-wDN*kLxi^;+tS|Cr};f^C4ac_Snbs<-&9}75Lt{Eg0E_psz|PRx?6MT(ain1 zrG;kKe?hk39Qsq#O3ExpQLV1LQpXuJG~{UiF8&0q)+onOH3r8SI?aR;s@2GV_OV@f2R!q literal 0 HcmV?d00001 diff --git a/NearDrop/it.lproj/Localizable.stringsdict b/NearDrop/it.lproj/Localizable.stringsdict new file mode 100644 index 0000000..57d2cd7 --- /dev/null +++ b/NearDrop/it.lproj/Localizable.stringsdict @@ -0,0 +1,22 @@ + + + + + NFiles + + NSStringLocalizedFormatKey + %#@files@ + files + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + d + one + %d file + other + %d files + + + + From e10a35672e9c249d916ab5a0c374fd20a2aad060 Mon Sep 17 00:00:00 2001 From: Angelk90 Date: Sat, 15 Apr 2023 13:02:06 +0200 Subject: [PATCH 2/3] Fix translation --- NearDrop.xcodeproj/project.pbxproj | 8 ++++---- NearDrop/Base.lproj/Localizable.stringsdict | 4 ++-- NearDrop/it.lproj/Localizable.stringsdict | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/NearDrop.xcodeproj/project.pbxproj b/NearDrop.xcodeproj/project.pbxproj index 89bb907..8edb031 100644 --- a/NearDrop.xcodeproj/project.pbxproj +++ b/NearDrop.xcodeproj/project.pbxproj @@ -188,10 +188,10 @@ developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( - en, Base, - ru, + en, it, + ru, ); mainGroup = 69DA9A0529E0BF5100A442DA; packageReferences = ( @@ -248,8 +248,8 @@ isa = PBXVariantGroup; children = ( 69D2C32C29E77F2200EC7E30 /* Base */, - 69D2C33029E789AF00EC7E30 /* ru */, A3930F0629EAB2D1008F891D /* it */, + 69D2C33029E789AF00EC7E30 /* ru */, ); name = Localizable.strings; sourceTree = ""; @@ -258,8 +258,8 @@ isa = PBXVariantGroup; children = ( 69D2C33729E78DF400EC7E30 /* Base */, - 69D2C33929E78DFD00EC7E30 /* ru */, A3930F0529EAB2D1008F891D /* it */, + 69D2C33929E78DFD00EC7E30 /* ru */, ); name = Localizable.stringsdict; sourceTree = ""; diff --git a/NearDrop/Base.lproj/Localizable.stringsdict b/NearDrop/Base.lproj/Localizable.stringsdict index 97d6c20..57d2cd7 100644 --- a/NearDrop/Base.lproj/Localizable.stringsdict +++ b/NearDrop/Base.lproj/Localizable.stringsdict @@ -12,9 +12,9 @@ NSStringPluralRuleType NSStringFormatValueTypeKey d - uno + one %d file - altro + other %d files diff --git a/NearDrop/it.lproj/Localizable.stringsdict b/NearDrop/it.lproj/Localizable.stringsdict index 57d2cd7..97d6c20 100644 --- a/NearDrop/it.lproj/Localizable.stringsdict +++ b/NearDrop/it.lproj/Localizable.stringsdict @@ -12,9 +12,9 @@ NSStringPluralRuleType NSStringFormatValueTypeKey d - one + uno %d file - other + altro %d files From 9d9d9f76beeec34d205654f68e839c2ac6fd0dfc Mon Sep 17 00:00:00 2001 From: Angelk90 Date: Sat, 15 Apr 2023 20:41:34 +0200 Subject: [PATCH 3/3] Fix key --- NearDrop/it.lproj/Localizable.stringsdict | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NearDrop/it.lproj/Localizable.stringsdict b/NearDrop/it.lproj/Localizable.stringsdict index 97d6c20..57d2cd7 100644 --- a/NearDrop/it.lproj/Localizable.stringsdict +++ b/NearDrop/it.lproj/Localizable.stringsdict @@ -12,9 +12,9 @@ NSStringPluralRuleType NSStringFormatValueTypeKey d - uno + one %d file - altro + other %d files