xlocalize 0.7.0 → 0.7.1

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
  SHA1:
3
- metadata.gz: 7d55b509bd7c5475b9b5cc70a573ed36a87914b1
4
- data.tar.gz: aef43cb75f4ded93db5befee7e3f256f47a8c1ae
3
+ metadata.gz: e6b4d23f6600b07e648a139dac22d859da9c0b52
4
+ data.tar.gz: f27b509647905bb341a7234b3ec0d979b0ecbc7f
5
5
  SHA512:
6
- metadata.gz: 558a2654398fdf15574e9c498c4826ae6d6ef503886b850c0fdfe66a98e50c11c26ca91a6d80cf3850c9b2c33e87c97dadd5989f08f87c253bbcbd5c56a041d9
7
- data.tar.gz: 7edd77a3d0a20827ab7dac5409fefad4e5add3d36fa6bc925e7b135a89e6dd1d9c2f36dc1000c326adf760fe5798e3efa432bb55ed5eb4e5356196f45510ffec
6
+ metadata.gz: 005ec591dc7eeed1183cd2a257b618fb1a6d193ad501dc021c0fcc8f83598d766093fd0a2432ae7a8a895a84320f0aeab886df1c947715ff8029fb505d079411
7
+ data.tar.gz: bef7370336c1a2cea58eae088f642dfd235fb10439c011c15b64848ab3afe37685eed6dcccc47bb3fd41a7e6fd0902de5a1419982040f39c4a82ad23a464154c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [v0.7.1](https://github.com/viktorasl/xlocalize/releases/tag/0.7.1)
2
+
3
+ * [b95facf](https://github.com/viktorasl/xlocalize/commit/b95facf23fedefc87080f2eac9b5ad2d62bb4d86) Use different {locale}.xliff path on Xcode 9 and Xcode 10
4
+
1
5
  ## [v0.7.0](https://github.com/viktorasl/xlocalize/releases/tag/0.7.0)
2
6
 
3
7
  * [70ef86f](https://github.com/viktorasl/xlocalize/commit/70ef86f6d8b5d64e100445635a46d92080437646) Provide allowed cryptic units via config file
@@ -15,7 +15,11 @@ module Xlocalize
15
15
  end
16
16
 
17
17
  def locale_file_name(locale)
18
- return "#{locale}.xliff"
18
+ if Helper.xcode_at_least?(10)
19
+ return "#{locale}.xcloc/Localized Contents/#{locale}.xliff"
20
+ else
21
+ return "#{locale}.xliff"
22
+ end
19
23
  end
20
24
 
21
25
  def export_master(wti, project, targets, excl_prefix, master_lang, exclude_units=[], no_cryptic)
@@ -1,4 +1,4 @@
1
1
  module Xlocalize
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  DESCRIPTION = "Xcode localizations import/export helper tool"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xlocalize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Viktoras Laukevičius
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-13 00:00:00.000000000 Z
11
+ date: 2018-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri