fastlane-plugin-google_sheet_localize 0.3.04 → 0.3.05
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: 1e04803161feae7160efc0cf2a6ede75d3da00289aff36c8e62ab039575ddd9a
|
4
|
+
data.tar.gz: 6b5aca1a35a1aa1c7c6db035db442d863d3c08bcdadfd21a9d132c9f10f82e14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ff4552592d4f2786b00bd3ef1d5f7b75772bce584332e34387a47b6b10ffb4075b74ea1da2a8df3f0dc017edbdc8efc1d5ec580b0f7f5611a3a57a6223cd0fa
|
7
|
+
data.tar.gz: bc45ffcc87acafbf00177d91dc4a4aa2bde9fd5c9ee1cdd99c29a7f0b51370ac28538283b5097214c83ec3dc31725a1cb210135939e04e85a216d67441da68b5
|
@@ -288,7 +288,6 @@ module Fastlane
|
|
288
288
|
line = "\n\n#{identifier}\n"
|
289
289
|
else
|
290
290
|
|
291
|
-
if !text.include?("one|")
|
292
291
|
|
293
292
|
if (text == "" || text == "TBD") && !defaultLanguage.to_s.empty?
|
294
293
|
default_language_object = languages.select { |languageItem| languageItem['language'] == defaultLanguage }.first["items"]
|
@@ -299,6 +298,8 @@ module Fastlane
|
|
299
298
|
text = self.mapInvalidPlaceholder(defaultLanguageText)
|
300
299
|
end
|
301
300
|
|
301
|
+
if !text.include?("one|")
|
302
|
+
|
302
303
|
matches = text.scan(/%[0-9][sdf]/)
|
303
304
|
|
304
305
|
matches.each { |match|
|
@@ -329,7 +330,6 @@ module Fastlane
|
|
329
330
|
text = self.mapInvalidPlaceholder(item['text'])
|
330
331
|
identifier = item['identifier']
|
331
332
|
|
332
|
-
if !identifier.include?('//') && text.include?("one|")
|
333
333
|
if (text == "" || text == "TBD") && !defaultLanguage.to_s.empty?
|
334
334
|
default_language_object = languages.select { |languageItem| languageItem['language'] == defaultLanguage }.first["items"]
|
335
335
|
default_language_object = self.filterUnusedRows(default_language_object,'identifier', "false")
|
@@ -339,6 +339,8 @@ module Fastlane
|
|
339
339
|
text = self.mapInvalidPlaceholder(defaultLanguageText)
|
340
340
|
end
|
341
341
|
|
342
|
+
if !identifier.include?('//') && text.include?("one|")
|
343
|
+
|
342
344
|
text = text.gsub("\n", "|")
|
343
345
|
|
344
346
|
formatIdentifier = identifier.gsub(".", "")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-google_sheet_localize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.05
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mario Hahn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google_drive
|