fastlane-plugin-google_sheet_localize 0.2.03 → 0.2.04

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: c293797a2d7b4d50aff7ae09f431669f87500160f578109ad16c837c6427e8be
4
- data.tar.gz: d3d5d71ff085954cb017bf78a76d91fa50791fc9c8c97b922ab195a546eab9f2
3
+ metadata.gz: a12521dbf39622a29b3d01016dbfc34e52d4e09c7e9a4254918302b30c7acad6
4
+ data.tar.gz: b5199d2ce6be86cf7506d714c26bf998de84a056e7d49b1b20ca32e6f13e3c87
5
5
  SHA512:
6
- metadata.gz: ad875e47226d4eaa899631dc2a8b0da2604e7d240691607ab1f412c577b470ec758e800e66479e5763a56944c1861881caa700b8d18bccee5d4080652fdb2db1
7
- data.tar.gz: d619f9f28657c240dcbad538b74b738e1d0093fd752ebae5b74b1bae91699dc97f2931c4c1b2b0798a4e687d62f91f43edc927668c807abf9566669527545001
6
+ metadata.gz: 4db2eb28c24aac68a48b0b96f4cf2a6f3a4586ad49b80dcd5b704a0624acd4c6b5a6850f9f6a3d687a322a50089ad81b13cd58b0073ccd461ce47c4491cbaaf9
7
+ data.tar.gz: eb580b92e8997c7f5a25a2808e2fd097b7a1b6b62d5989003e3c3448585b6639638af4e2aeb531b7618ac584c6255cf84e0115d34f003d3a062693d5c5df7433
@@ -183,7 +183,7 @@ module Fastlane
183
183
 
184
184
  if !text.include?("one|")
185
185
 
186
- if text == "" || text == "TBD"
186
+ if (text == "" || text == "TBD") && !defaultLanguage.to_s.empty?
187
187
  default_language_object = languages.select { |languageItem| languageItem['language'] == defaultLanguage }.first["items"]
188
188
  default_language_object = self.filterUnusedRows(default_language_object,'identifierIos')
189
189
 
@@ -217,7 +217,7 @@ module Fastlane
217
217
  identifier = item['identifierIos']
218
218
 
219
219
  if !identifier.include?('//') && text.include?("one|")
220
- if text == "" || text == "TBD"
220
+ if (text == "" || text == "TBD") && !defaultLanguage.to_s.empty?
221
221
  default_language_object = languages.select { |languageItem| languageItem['language'] == defaultLanguage }.first["items"]
222
222
  default_language_object = self.filterUnusedRows(default_language_object,'identifierIos')
223
223
 
@@ -285,7 +285,7 @@ module Fastlane
285
285
  line = line + "\t<!--#{comment}-->\n"
286
286
  end
287
287
 
288
- if text == "" || text == "TBD"
288
+ if (text == "" || text == "TBD") && !defaultLanguage.to_s.empty?
289
289
  default_language_object = languages.select { |languageItem| languageItem['language'] == defaultLanguage }.first["items"]
290
290
  default_language_object = self.filterUnusedRows(default_language_object,'identifierAndroid')
291
291
 
@@ -441,7 +441,7 @@ module Fastlane
441
441
  FastlaneCore::ConfigItem.new(key: :default_language,
442
442
  env_name: "DEFAULT_LANGUAGE",
443
443
  description: "Default Language",
444
- optional: false,
444
+ optional: true,
445
445
  type: String),
446
446
  FastlaneCore::ConfigItem.new(key: :base_language,
447
447
  env_name: "BASE_LANGUAGE",
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GoogleSheetLocalize
3
- VERSION = "0.2.03"
3
+ VERSION = "0.2.04"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-google_sheet_localize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.03
4
+ version: 0.2.04
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Hahn