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: e212c4364acd3ce209bcb89e3bf988c1dcc4b0fccd984a02b3c8daf2d1a3f4bd
4
- data.tar.gz: ef896141f5fd95cc775f511dc7904a5ba3d8f858c56431c281f213897ccd8cff
3
+ metadata.gz: 1e04803161feae7160efc0cf2a6ede75d3da00289aff36c8e62ab039575ddd9a
4
+ data.tar.gz: 6b5aca1a35a1aa1c7c6db035db442d863d3c08bcdadfd21a9d132c9f10f82e14
5
5
  SHA512:
6
- metadata.gz: 0eb92e7d0ef452b6ad3f522b86cb5adafc6877e7b304059ad0e7826a6675056e4af4e4210b64245c591c8b21f51d8fb695401790d5b424b8a4dc6ea196f8d0d8
7
- data.tar.gz: 0ae0c1f89d48a4317c1c5bc84bba7ed21b90aae48d6c50a714fb01bd2020abc13f1bf01a611dbfc9d433422c77129d74721421e8a733205bf7f4d51280dd9bff
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(".", "")
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GoogleSheetLocalize
3
- VERSION = "0.3.04"
3
+ VERSION = "0.3.05"
4
4
  end
5
5
  end
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.04
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-06-13 00:00:00.000000000 Z
11
+ date: 2019-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google_drive