fastlane-plugin-simple_loco 2.2.0 → 2.3.0
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: f80cc692304dcb89fd8adb3b1cc4a8605697d73cc265d1adfdbb03061c63c250
|
4
|
+
data.tar.gz: c2423f6a00b7999c4e5a321ebd6b8d492c250e8f3ebea347cc8143c67aff0fcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bb21251d7499fb49b6eb9d211cca1d332e7507d18e0906fc52beb9034a7fdc196241ce16504ba148c825511758ac16f8bd97c14d9e1688823e7ce51d25360d3
|
7
|
+
data.tar.gz: 741c52245e96729e7e47c9e25674abdad0d90b4139553c24f7efc783134a847f8a54160b91aaf3e165b815136c45ac7e31a4ddd513ab57f87616ce84352c66a4
|
@@ -29,6 +29,7 @@ module Fastlane
|
|
29
29
|
breaks: "",
|
30
30
|
no_comments: "",
|
31
31
|
no_folding: "",
|
32
|
+
mapping: nil,
|
32
33
|
custom_extension: "",
|
33
34
|
custom_file_name: "")
|
34
35
|
|
@@ -68,6 +69,7 @@ module Fastlane
|
|
68
69
|
@breaks = breaks
|
69
70
|
@no_comments = no_comments
|
70
71
|
@no_folding = no_folding
|
72
|
+
@mapping = mapping
|
71
73
|
|
72
74
|
if platform == PLATFORM_ANDROID
|
73
75
|
@adapter = AndroidAdapter.new
|
@@ -104,6 +106,7 @@ module Fastlane
|
|
104
106
|
attr_reader :breaks
|
105
107
|
attr_reader :no_comments
|
106
108
|
attr_reader :no_folding
|
109
|
+
attr_reader :mapping
|
107
110
|
|
108
111
|
def export_locales
|
109
112
|
|
@@ -215,8 +218,10 @@ module Fastlane
|
|
215
218
|
end
|
216
219
|
|
217
220
|
def locale_directory(locale, is_default)
|
221
|
+
mapped_locale = @mapping && @mapping[locale] || locale
|
222
|
+
|
218
223
|
return File.join(@directory,
|
219
|
-
|
224
|
+
@adapter.directory(mapped_locale, is_default))
|
220
225
|
end
|
221
226
|
|
222
227
|
# Static method used to read a config file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-simple_loco
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yves Delcoigne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|