fastlane-plugin-google_sheet_localize 0.1.98 → 0.1.99
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: 1687b2bd2a17284ad02aa07d130b32b32eb7f67686db2c20f47067a8b0fa470b
|
4
|
+
data.tar.gz: fdc685a6b3d44eafd823eb305068a4578b378832575805908d98ca27ee155856
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59209bd5e5eb7d47b8b816811aa3713b7f8c231fa4409e68f9555e9a7793d4b088a12ee27736b6884c6499a60f0d6714af1eab54d0c7805990ec59bcfd919994
|
7
|
+
data.tar.gz: f7da7bcf9220a6148678be6ed43d9699fd42667c8dfb40f8343deee6b5da84219ecc58c54f4152c42909a107b250b1bc62bfc5e546bcddadff35c90d68dd5430
|
@@ -85,8 +85,8 @@ module Fastlane
|
|
85
85
|
|
86
86
|
def self.filterUnusedRows(items, identifier)
|
87
87
|
return items.select { |item|
|
88
|
-
|
89
|
-
|
88
|
+
currentIdentifier = item[identifier]
|
89
|
+
currentIdentifier != "NR" && currentIdentifier != "" && currentIdentifier != "TBD"
|
90
90
|
}
|
91
91
|
end
|
92
92
|
|
@@ -100,7 +100,7 @@ module Fastlane
|
|
100
100
|
|
101
101
|
filteredItems = languages[0]["items"].select { |item|
|
102
102
|
iosIdentifier = item['identifierIos']
|
103
|
-
iosIdentifier != "NR" && iosIdentifier != "" && !iosIdentifier.include?('//')
|
103
|
+
iosIdentifier != "NR" && iosIdentifier != "" && !iosIdentifier.include?('//') && iosIdentifier != "TBD"
|
104
104
|
}
|
105
105
|
|
106
106
|
File.open(swiftFilepath, "w") do |f|
|
@@ -279,7 +279,7 @@ module Fastlane
|
|
279
279
|
identifier = item['identifierAndroid']
|
280
280
|
text = item['text']
|
281
281
|
|
282
|
-
if !identifier.to_s.empty?
|
282
|
+
if !identifier.to_s.empty?
|
283
283
|
line = ""
|
284
284
|
|
285
285
|
if !comment.to_s.empty?
|
@@ -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 }\n\n\t\
|
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\tString(format: format, locale: .current, arguments: args)\n\t}\n}"
|
332
332
|
end
|
333
333
|
|
334
334
|
def self.createiOSFunction(constantName, identifier, arguments, comment)
|