fastlane-plugin-google_sheet_localize 0.2.06 → 0.2.07

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: c4375d552c52ecf14e9406f7b965857354fe368a43a249d31192b11c040c1ff0
4
- data.tar.gz: 57c9738138633aa934b6accf4aef9eb93f437c6743ef5e12174015e82dc6c26f
3
+ metadata.gz: a52b64aade6414fcadefc0531632010a1d9b8f704815883020fa76ebd53444c1
4
+ data.tar.gz: 496bcfe26b1720da5a550565d5eb129b4f48bc0084705eca842f57b12ff29c9b
5
5
  SHA512:
6
- metadata.gz: d6bad2631bd16342a04bec0a7e37780f42801a56b8ff08e65bb1cf174ab7492febbb21d6c8225b9f973a2c4ab0a003ec9aefb7e7d87f90254bc15c408af395a7
7
- data.tar.gz: 85b80a30c4fb50595def1096631ad5aaf9eb501cfb7244ddebd3dab8a795619314c0163fb55aabd4552d447e3ba10440334295ec1d25cfc488c9fb3320cb5e7d
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>#{arrayItem}</item>\n"
330
+ line = line + "\t\t<item><![CDATA[#{arrayItem}]]></item>\n"
331
331
  }
332
332
 
333
333
  line = line + "\t</string-array>\n"
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GoogleSheetLocalize
3
- VERSION = "0.2.06"
3
+ VERSION = "0.2.07"
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.2.06
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-19 00:00:00.000000000 Z
11
+ date: 2019-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google_drive