ibtoolTranslation 0.0.7 → 0.0.8

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: 081b9bef8d09869402f1bbda4ee8f220fe3a9200
4
- data.tar.gz: 42c6d6d0824138def15b2ce07800ac4a5bba36e9
3
+ metadata.gz: f212a50e88e5031ad42ecc816bce4177d6f29a25
4
+ data.tar.gz: 713b2ab555e6179ababca801541091f31c5a76b6
5
5
  SHA512:
6
- metadata.gz: bd0b36c009fb62490d0524f16ded5f4684aa054efde7932dc4c81b745080011876d9267f9f5d50e6fd7b5428361f87a83ef71b075fc5496da21ef3f5acee21fc
7
- data.tar.gz: a8b76c697aa0736a1d288e0ee109d490cd0d5b4834e2ac130cc8553b6100b36f28a4d3caa46b691a973b6f1a6dcf22e65b6366a296c86c93bdc95560a7462696
6
+ metadata.gz: 8847a86cf6f93fe0921caac32ada90dd87d5ba27b4e1d58ab0598fa773b371da3fed04d05f929043cf700c41bb96cac4d5ba7f742a9f7b5d376a252496c23597
7
+ data.tar.gz: 4de708ae5c4997d371f588b985aa22d1fd42812f4ff04b0b19e3a5a07e842eb810a6142ca27e2e8524b8bd8151ecece0590fc97b677139dd4874b558862bc701
@@ -1,3 +1,3 @@
1
1
  module IbtoolTranslation
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -12,6 +12,9 @@ module IbtoolTranslation
12
12
  sourceLproj = dirName + sourceDir + ".lproj"
13
13
  storyboards = self.storyboards sourceLproj
14
14
 
15
+ if (string)
16
+ self.deleteStringsFile(sourceLproj, lprojs)
17
+ end
15
18
  self.makeDirectory(lprojs)
16
19
  self.createTranslation(sourceLproj, lprojs, storyboards)
17
20
  unless (string)
@@ -23,6 +26,9 @@ module IbtoolTranslation
23
26
  sourceLproj = dirName + sourceDir + ".lproj"
24
27
  storyboards = self.storyboards sourceLproj
25
28
 
29
+ if (string)
30
+ self.deleteStringsFile(sourceLproj, lprojs)
31
+ end
26
32
  self.makeDirectory(lprojs)
27
33
  self.createTranslation(sourceLproj, lprojs, storyboards)
28
34
  self.translateStrings(sourceLproj, lprojs, storyboards)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibtoolTranslation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - akuraru