fastlane-plugin-google_sheet_localize 0.1.52 → 0.1.53
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: 2a7d528e3b37439408fac46e0ffa0b8333d96218bc1c2ee7af088c24334299ea
|
|
4
|
+
data.tar.gz: 49ebc9a48a3bbc18bcd0bdcb6fa17f4a8798f97c177a6116726553a43ca87523
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 313ca30506ecbf00d8f097b4d407c7d336189db720d5ec578bd6beb6ad5ccb22e3edcbd50bb982b7b003d28bc25cdb0781982c94ec267cf994493b4a47abbe1b
|
|
7
|
+
data.tar.gz: ebd480d82d2922db489d870d2d8f766c10184cc472adda808239083d822b7bbd39991ba2ec66ce8834e8d623a89b56c01136348892a35a245730c5d29c53dc08
|
|
@@ -138,9 +138,6 @@ module Fastlane
|
|
|
138
138
|
def self.createFileForLanguage(language, platform, destinationPath)
|
|
139
139
|
if platform == "ios"
|
|
140
140
|
|
|
141
|
-
swiftFilename = "Localization.swift"
|
|
142
|
-
swiftFilepath = "#{destinationPath}/#{swiftFilename}"
|
|
143
|
-
|
|
144
141
|
filteredItems = language["items"].select { |item|
|
|
145
142
|
iosIdentifier = item['identifierIos']
|
|
146
143
|
iosIdentifier != "NR" && iosIdentifier != ""
|
|
@@ -148,7 +145,7 @@ module Fastlane
|
|
|
148
145
|
|
|
149
146
|
filename = "Localizable.strings"
|
|
150
147
|
filepath = "#{destinationPath}/#{language['language']}.lproj/#{filename}"
|
|
151
|
-
FileUtils.mkdir_p language['language']
|
|
148
|
+
FileUtils.mkdir_p "#{destinationPath}/#{language['language']}.lproj"
|
|
152
149
|
File.open(filepath, "w") do |f|
|
|
153
150
|
filteredItems.each { |item|
|
|
154
151
|
|