fastlane-plugin-google_sheet_localize 0.1.94 → 0.1.95
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 001f36a850ddf5a17f24493f71aa2832e46c9579cc2e570daa4f9401d0f03f4b
|
4
|
+
data.tar.gz: dd9ff3ebf25845ec19d88968471662e3552ef6b2c522b974b2184cdd7627cddf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5f694c17d7390b5d3f587c5c1536a9cfb262142281d6846e1f6d263ec4cf784e15e9c3a81615698e6de3eb3aad81845519ad877ea3e3082cd63a017fa07853b
|
7
|
+
data.tar.gz: ff346a2ed95706dcd1034346b0519fef831d2a664ccd7b5f2ed85e1960202e0fa4498aaff89db2e506e8c97c661662a9f5a68b16f97924519522e6646e9fdc7f
|
@@ -326,7 +326,7 @@ module Fastlane
|
|
326
326
|
end
|
327
327
|
|
328
328
|
def self.createiOSFileEndString()
|
329
|
-
return "\n\nprivate class LocalizationHelper { }\n\nextension Localization {\n\tprivate static func localized(identifier key: String, _ args: CVarArg...) -> String {\n\t\tlet format = NSLocalizedString(key, tableName: nil, bundle: Bundle(for: LocalizationHelper.self), comment: \"\")\n\n\t\tguard !args.isEmpty else { return format }\n\n\t\treturn String(format
|
329
|
+
return "\n\nprivate class LocalizationHelper { }\n\nextension Localization {\n\tprivate static func localized(identifier key: String, _ args: CVarArg...) -> String {\n\t\tlet format = NSLocalizedString(key, tableName: nil, bundle: Bundle(for: LocalizationHelper.self), comment: \"\")\n\n\t\tguard !args.isEmpty else { return format }\n\n\t\treturn String.localizedStringWithFormat(format, args)\n\t}\n}"
|
330
330
|
end
|
331
331
|
|
332
332
|
def self.createiOSFunction(constantName, identifier, arguments, comment)
|
@@ -354,6 +354,11 @@ module Fastlane
|
|
354
354
|
end
|
355
355
|
|
356
356
|
def self.findArgumentsInText(text)
|
357
|
+
|
358
|
+
if text.include?("one|")
|
359
|
+
text = text.dup.split("|")[1]
|
360
|
+
end
|
361
|
+
|
357
362
|
result = Array.new
|
358
363
|
filtered = self.mapInvalidPlaceholder(text)
|
359
364
|
|