fastlane-plugin-google_sheet_localize 0.1.97 → 0.1.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 259dd699b7047735ea31e9f9ad204de392b61c486225e14b84b0c18538502777
|
|
4
|
+
data.tar.gz: 1a82de7391a6e0df8eed11728f89726365f3820145a461fb833e801b105ec5fc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4db6ad5d013b2b5c442d6c272335a814673da43cc5978e6a860e0380305376d20ac793d966cac980cc2d34e2d9982b05b43591db7ddf291101b4f432cdec9e8c
|
|
7
|
+
data.tar.gz: a2885ebd6a84ced8676483821c8a3022f5cf4d62d4ee17ce564cbd0d9707a2f61172ca386de0b7b995e27b220814d35e15f4caf245954b3108af6fac682cc9fa
|
|
@@ -328,7 +328,7 @@ module Fastlane
|
|
|
328
328
|
end
|
|
329
329
|
|
|
330
330
|
def self.createiOSFileEndString()
|
|
331
|
-
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 }\
|
|
331
|
+
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\tif args.count == 1, let first = args.first {\n\t\t\treturn String.localizedStringWithFormat(format, first)\n\t\t}\n\t\treturn String.localizedStringWithFormat(format, args)\n\t}\n}"
|
|
332
332
|
end
|
|
333
333
|
|
|
334
334
|
def self.createiOSFunction(constantName, identifier, arguments, comment)
|