fastlane-plugin-google_sheet_localize 0.2.06 → 0.2.07
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: a52b64aade6414fcadefc0531632010a1d9b8f704815883020fa76ebd53444c1
|
4
|
+
data.tar.gz: 496bcfe26b1720da5a550565d5eb129b4f48bc0084705eca842f57b12ff29c9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a27daa868decf15d291a3258f27cee24ab67dfe075ebefc0cff398b9c6e7cb88d5a7da2c91c189341639fac4b4c659e3cb4c543e70164f8dff8f0cd4805ab71a
|
7
|
+
data.tar.gz: 5322c1dc7cb45a0148122e38b8147cc5c712b2ba3ce2ccf3bae04ad0302bd3e46332c19432822d849e983e8d79999693c089913456216bc130f344da948e9ea1
|
data/README.md
CHANGED
@@ -14,15 +14,23 @@ fastlane add_plugin google_sheet_localize
|
|
14
14
|
|
15
15
|
Creates .strings files for iOS and strings.xml files for Android
|
16
16
|
|
17
|
-
to use our plugin you have to duplicate this google sheet: https://docs.google.com/spreadsheets/d/1fwRj1ZFPu2XlrDqkaqmIpJulqR5OVFEZnN35a9v37yc/edit?usp=sharing
|
17
|
+
to use our plugin you have to duplicate this google sheet: [_Example_](https://docs.google.com/spreadsheets/d/1fwRj1ZFPu2XlrDqkaqmIpJulqR5OVFEZnN35a9v37yc/edit?usp=sharing)
|
18
18
|
|
19
|
-
Google Drive access token:
|
20
|
-
https://medium.com/@osanda.deshan/getting-google-oauth-access-token-using-google-apis-18b2ba11a11a
|
19
|
+
Google Drive access token: [_Guide_](https://medium.com/@osanda.deshan/getting-google-oauth-access-token-using-google-apis-18b2ba11a11a)
|
21
20
|
|
22
21
|
* The language_titles (the columns which should be exported)
|
23
22
|
* The default_language (If a string is not present in a specific language, this is the fallback)
|
24
23
|
* The base_language (The language which is placed in the base values folder)
|
25
24
|
|
25
|
+
## Sheet Language
|
26
|
+
|
27
|
+
#### Plurals: (Android + iOS)
|
28
|
+
one|%d artist
|
29
|
+
other|%d artists
|
30
|
+
|
31
|
+
#### String Array: (Android)
|
32
|
+
["Monday", "Tuesday", "Wednesday"]
|
33
|
+
|
26
34
|
## Example
|
27
35
|
|
28
36
|
```ruby
|
@@ -327,7 +327,7 @@ module Fastlane
|
|
327
327
|
line = line + "\t<string-array name=\"#{identifier}\">\n"
|
328
328
|
|
329
329
|
JSON.parse(text).each { |arrayItem|
|
330
|
-
line = line + "\t\t<item
|
330
|
+
line = line + "\t\t<item><![CDATA[#{arrayItem}]]></item>\n"
|
331
331
|
}
|
332
332
|
|
333
333
|
line = line + "\t</string-array>\n"
|
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.2.
|
4
|
+
version: 0.2.07
|
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-02-
|
11
|
+
date: 2019-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google_drive
|