ibtoolTranslation 0.0.3 → 0.0.4

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: 9d2fd40a0017588e7a8e388aceb636bd56c37f57
4
- data.tar.gz: 76f9474a03b09315182ed06ed3e5d01b0394668f
3
+ metadata.gz: b765884f068211d4e6c91d49868716f618ebd6de
4
+ data.tar.gz: 3e8f8b8eaf19eceb2ee8ae155ff9e37040c339ea
5
5
  SHA512:
6
- metadata.gz: 0a64428aa0ecb838b4fea24a237c5b98bf966f903e9ce883f2ae86dd97e9598bd77b16af2be2ac908942fbb0f318d872e9621793b1bd51f016f7eb30b01311d9
7
- data.tar.gz: 70d3975a181473639a74329c60f39f94f59920782329a513f6932806c8ed2cac7bb6c65a2a5b962135ed46ad96884cd0f9185bc37e9f2b2e5787ee38c9914466
6
+ metadata.gz: 6e5132a41eb3a273c2d428ee34b0cba63013415a06944a847e229c45d9e9af8192168d4fba8a17324af2d080faa9c3c77c783030f3be82fdb54147b232fbb260
7
+ data.tar.gz: 99b2f7fe1394390e4d0b79afdc63afd4b5d15fa917987b1cf7e97588bc993e17ef7f1c485d8ebb453ddf56b3163c1fd8ba1d4bac52825ae85884cf5a5a4346c7
@@ -1,3 +1,3 @@
1
1
  module IbtoolTranslation
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -6,17 +6,19 @@ module IbtoolTranslation
6
6
  class Core
7
7
  def create(dirName, sourceDir, lps)
8
8
  self.func(dirName, dirName + sourceDir + ".lproj", lps)
9
+ self.deleteStringsFile(dirName, dirName + sourceDir + ".lproj", lps)
9
10
  end
10
11
  def update(dirName, sourceDir, lps)
11
12
  self.func(dirName, dirName + sourceDir + ".lproj", lps)
12
13
  self.func2(dirName, dirName + sourceDir + ".lproj", lps)
14
+ self.deleteStringsFile(dirName, dirName + sourceDir + ".lproj", lps)
13
15
  end
14
16
  def func(dirName, sourceDir, lps)
15
17
  storyboards = self.storyboards sourceDir
16
18
 
17
19
  lps.each {|lp|
18
20
  lproj = dirName + lp + ".lproj"
19
- FileUtils.mkdir_p(lproj) unless FileTest.exist?(lproj)
21
+ FileUtils.mkdir_p(lproj)
20
22
 
21
23
  transText = self.transText("#{lproj}/Translation.strings")
22
24
  baseData = self.baseDataForTransText(transText)
@@ -25,7 +27,6 @@ module IbtoolTranslation
25
27
  addtionData = self.addtionData("#{lproj}/#{fileName}.strings")
26
28
  aData = addtionData.select{|f| baseData.include?(f) == false}
27
29
  transText = transText + aData.map{|f| "\"#{f}\";\n"}.join("")
28
- File::delete("#{lproj}/#{fileName}.strings")
29
30
  }
30
31
  self.writeTransText("#{lproj}/Translation.strings", transText)
31
32
  }
@@ -39,11 +40,20 @@ module IbtoolTranslation
39
40
  storyboards.each { |fileName|
40
41
  self.fun2(lproj, fileName, transText)
41
42
  `ibtool --write #{lproj}/#{fileName}.storyboard -d #{lproj}/#{fileName}.strings #{sourceDir}/#{fileName}.storyboard`
42
- File::delete("#{lproj}/#{fileName}.strings")
43
43
  puts fileName
44
44
  }
45
45
  }
46
46
  end
47
+ def deleteStringsFile(dirName, sourceDir, lps)
48
+ storyboards = self.storyboards sourceDir
49
+
50
+ lps.each {|lp|
51
+ lproj = dirName + lp + ".lproj"
52
+ storyboards.each { |fileName|
53
+ File::delete("#{lproj}/#{fileName}.strings")
54
+ }
55
+ }
56
+ end
47
57
 
48
58
  def fun2(lproj, fileName, transText)
49
59
  translationData = self.translationData("#{lproj}/#{fileName}.strings")
@@ -22,7 +22,16 @@ describe IbtoolTranslation::Core, "load" do
22
22
  @i.update("./storyboards/", "en", ["ja"])
23
23
  end
24
24
  it "ja transText is " do
25
- IbtoolTranslation::Core.new.transText("./storyboards/ja.lproj/Translation.strings").should == baseDataText
25
+ @i.transText("./storyboards/ja.lproj/Translation.strings").should == baseDataText
26
+ end
27
+ end
28
+ context "update" do
29
+ before do
30
+ @i = IbtoolTranslation::Core.new
31
+ @i.update("./storyboards/", "en", ["dd"])
32
+ end
33
+ it "storyboard not same" do
34
+ @i.transText("./storyboards/en.lproj/Main.storyboard").should_not == @i.transText("./storyboards/dd.lproj/Main.storyboard")
26
35
  end
27
36
  end
28
37
  it "storyboards" do
@@ -0,0 +1,279 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4514" systemVersion="13B3116" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="W4H-FJ-WP2">
3
+ <dependencies>
4
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3747"/>
5
+ </dependencies>
6
+ <scenes>
7
+ <!--Table View Controller - Root View Controller-->
8
+ <scene sceneID="G8d-y9-IpG">
9
+ <objects>
10
+ <tableViewController id="qKe-kL-ggu" sceneMemberID="viewController">
11
+ <tableView key="view" opaque="NO" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="YPE-tX-y7Y">
12
+ <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
13
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
14
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
15
+ <sections>
16
+ <tableViewSection id="OJ2-Vk-BEm">
17
+ <cells>
18
+ <tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" textLabel="i4d-Fw-rmD" style="IBUITableViewCellStyleDefault" id="3bf-ye-zyF">
19
+ <rect key="frame" x="0.0" y="64" width="320" height="44"/>
20
+ <autoresizingMask key="autoresizingMask"/>
21
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="3bf-ye-zyF" id="K53-sk-I1T">
22
+ <rect key="frame" x="0.0" y="0.0" width="287" height="43"/>
23
+ <autoresizingMask key="autoresizingMask"/>
24
+ <subviews>
25
+ <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="NumberOfLines" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="i4d-Fw-rmD">
26
+ <rect key="frame" x="15" y="0.0" width="270" height="43"/>
27
+ <autoresizingMask key="autoresizingMask"/>
28
+ <fontDescription key="fontDescription" type="system" pointSize="18"/>
29
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
30
+ <nil key="highlightedColor"/>
31
+ </label>
32
+ </subviews>
33
+ </tableViewCellContentView>
34
+ <connections>
35
+ <segue destination="dPf-DS-gFX" kind="push" id="dJ9-i2-EHa"/>
36
+ </connections>
37
+ </tableViewCell>
38
+ <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" indentationWidth="10" textLabel="qNj-A8-wwY" style="IBUITableViewCellStyleDefault" id="Sjg-KH-mCr">
39
+ <rect key="frame" x="0.0" y="108" width="320" height="44"/>
40
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
41
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Sjg-KH-mCr" id="Kg4-k8-nYF">
42
+ <rect key="frame" x="0.0" y="0.0" width="287" height="43"/>
43
+ <autoresizingMask key="autoresizingMask"/>
44
+ <subviews>
45
+ <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Beyond Segue" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="qNj-A8-wwY">
46
+ <rect key="frame" x="15" y="0.0" width="270" height="43"/>
47
+ <autoresizingMask key="autoresizingMask"/>
48
+ <fontDescription key="fontDescription" type="system" pointSize="18"/>
49
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
50
+ <nil key="highlightedColor"/>
51
+ </label>
52
+ </subviews>
53
+ </tableViewCellContentView>
54
+ <connections>
55
+ <segue destination="Bbu-Ps-kCX" kind="push" id="DGv-Aj-UFH"/>
56
+ </connections>
57
+ </tableViewCell>
58
+ </cells>
59
+ </tableViewSection>
60
+ </sections>
61
+ </tableView>
62
+ <navigationItem key="navigationItem" title="Root View Controller" id="j2k-px-61e"/>
63
+ <connections>
64
+ <segue destination="8NF-7x-eCV" kind="push" id="IUM-ey-N7Z"/>
65
+ </connections>
66
+ </tableViewController>
67
+ <placeholder placeholderIdentifier="IBFirstResponder" id="Vlp-dO-GoL" userLabel="First Responder" sceneMemberID="firstResponder"/>
68
+ </objects>
69
+ <point key="canvasLocation" x="-52" y="91"/>
70
+ </scene>
71
+ <!--View Controller-->
72
+ <scene sceneID="7IZ-5y-tjp">
73
+ <objects>
74
+ <viewController id="dPf-DS-gFX" customClass="ViewController" sceneMemberID="viewController">
75
+ <layoutGuides>
76
+ <viewControllerLayoutGuide type="top" id="r8f-2z-uKL"/>
77
+ <viewControllerLayoutGuide type="bottom" id="pS5-GB-VdP"/>
78
+ </layoutGuides>
79
+ <view key="view" contentMode="scaleToFill" id="d9m-UX-XY2">
80
+ <rect key="frame" x="0.0" y="64" width="320" height="416"/>
81
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
82
+ <subviews>
83
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BYa-F5-6Bd">
84
+ <rect key="frame" x="20" y="41" width="285" height="66"/>
85
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
86
+ <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="calibratedRGB"/>
87
+ <string key="text">hoge
88
+ piyo
89
+ fuga</string>
90
+ <fontDescription key="fontDescription" type="system" pointSize="17"/>
91
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
92
+ <nil key="highlightedColor"/>
93
+ </label>
94
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="285" translatesAutoresizingMaskIntoConstraints="NO" id="Q7j-JV-BS6">
95
+ <rect key="frame" x="20" y="148" width="285" height="66"/>
96
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
97
+ <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="calibratedRGB"/>
98
+ <string key="text">hoge
99
+ piyo
100
+ fuga</string>
101
+ <fontDescription key="fontDescription" type="system" pointSize="17"/>
102
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
103
+ <nil key="highlightedColor"/>
104
+ </label>
105
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="285" translatesAutoresizingMaskIntoConstraints="NO" id="cfA-L8-XId">
106
+ <rect key="frame" x="20" y="251" width="285" height="66"/>
107
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
108
+ <color key="backgroundColor" red="0.84705882349999995" green="0.84705882349999995" blue="0.84705882349999995" alpha="1" colorSpace="calibratedRGB"/>
109
+ <string key="text">hoge
110
+ piyo
111
+ fuga</string>
112
+ <fontDescription key="fontDescription" type="system" pointSize="17"/>
113
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
114
+ <nil key="highlightedColor"/>
115
+ </label>
116
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="numberOfLines : 1" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qHq-IC-lJQ">
117
+ <rect key="frame" x="10" y="12" width="142" height="21"/>
118
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
119
+ <fontDescription key="fontDescription" type="system" pointSize="17"/>
120
+ <nil key="highlightedColor"/>
121
+ </label>
122
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="numberOfLines : 2" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="R5Y-km-7IB">
123
+ <rect key="frame" x="10" y="119" width="142" height="21"/>
124
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
125
+ <fontDescription key="fontDescription" type="system" pointSize="17"/>
126
+ <nil key="highlightedColor"/>
127
+ </label>
128
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="numberOfLines : 0" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zg1-nu-NGb">
129
+ <rect key="frame" x="10" y="222" width="142" height="21"/>
130
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
131
+ <fontDescription key="fontDescription" type="system" pointSize="17"/>
132
+ <nil key="highlightedColor"/>
133
+ </label>
134
+ <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bbl-KF-HsK">
135
+ <rect key="frame" x="0.0" y="300" width="320" height="116"/>
136
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
137
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
138
+ </view>
139
+ </subviews>
140
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
141
+ <constraints>
142
+ <constraint firstItem="bbl-KF-HsK" firstAttribute="leading" secondItem="d9m-UX-XY2" secondAttribute="leading" id="9dH-oS-Dmv"/>
143
+ <constraint firstItem="bbl-KF-HsK" firstAttribute="top" secondItem="r8f-2z-uKL" secondAttribute="bottom" constant="300" id="M4C-y9-7N6"/>
144
+ <constraint firstAttribute="trailing" secondItem="bbl-KF-HsK" secondAttribute="trailing" id="Tf6-sB-Mnd"/>
145
+ <constraint firstItem="pS5-GB-VdP" firstAttribute="top" secondItem="bbl-KF-HsK" secondAttribute="bottom" id="yhJ-nl-YsL"/>
146
+ </constraints>
147
+ </view>
148
+ <extendedEdge key="edgesForExtendedLayout"/>
149
+ <navigationItem key="navigationItem" id="zZU-Xt-F9r"/>
150
+ <connections>
151
+ <outlet property="checkView" destination="bbl-KF-HsK" id="Orm-ax-r9q"/>
152
+ </connections>
153
+ </viewController>
154
+ <placeholder placeholderIdentifier="IBFirstResponder" id="LRy-mU-KHy" userLabel="First Responder" sceneMemberID="firstResponder"/>
155
+ </objects>
156
+ <point key="canvasLocation" x="494" y="-968"/>
157
+ </scene>
158
+ <!--Navigation Controller-->
159
+ <scene sceneID="EJJ-XS-yT5">
160
+ <objects>
161
+ <navigationController definesPresentationContext="YES" id="W4H-FJ-WP2" sceneMemberID="viewController">
162
+ <navigationBar key="navigationBar" contentMode="scaleToFill" id="R4K-wl-pTU">
163
+ <autoresizingMask key="autoresizingMask"/>
164
+ </navigationBar>
165
+ <connections>
166
+ <segue destination="qKe-kL-ggu" kind="relationship" relationship="rootViewController" id="ujK-qc-HeL"/>
167
+ </connections>
168
+ </navigationController>
169
+ <placeholder placeholderIdentifier="IBFirstResponder" id="ZwO-hp-HaM" userLabel="First Responder" sceneMemberID="firstResponder"/>
170
+ </objects>
171
+ <point key="canvasLocation" x="-586" y="91"/>
172
+ </scene>
173
+ <!--View Controller-->
174
+ <scene sceneID="sfR-ie-obi">
175
+ <objects>
176
+ <viewController storyboardIdentifier="C" useStoryboardIdentifierAsRestorationIdentifier="YES" id="8NF-7x-eCV" sceneMemberID="viewController">
177
+ <layoutGuides>
178
+ <viewControllerLayoutGuide type="top" id="Ub0-eC-d3R"/>
179
+ <viewControllerLayoutGuide type="bottom" id="mCe-xR-ycg"/>
180
+ </layoutGuides>
181
+ <view key="view" contentMode="scaleToFill" id="A9M-n0-kvA">
182
+ <rect key="frame" x="0.0" y="64" width="320" height="416"/>
183
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
184
+ <subviews>
185
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="C" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pIG-ob-jFS">
186
+ <rect key="frame" x="0.0" y="0.0" width="320" height="220"/>
187
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
188
+ <fontDescription key="fontDescription" type="system" pointSize="100"/>
189
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
190
+ <nil key="highlightedColor"/>
191
+ </label>
192
+ </subviews>
193
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
194
+ </view>
195
+ <extendedEdge key="edgesForExtendedLayout" bottom="YES"/>
196
+ <navigationItem key="navigationItem" id="gTY-qx-kty"/>
197
+ <connections>
198
+ <segue destination="73V-H2-uPu" kind="push" id="glt-uI-S6F"/>
199
+ </connections>
200
+ </viewController>
201
+ <placeholder placeholderIdentifier="IBFirstResponder" id="vsy-0K-x5d" userLabel="First Responder" sceneMemberID="firstResponder"/>
202
+ </objects>
203
+ <point key="canvasLocation" x="494" y="-288"/>
204
+ </scene>
205
+ <!--View Controller-->
206
+ <scene sceneID="839-E8-2Br">
207
+ <objects>
208
+ <viewController storyboardIdentifier="D" useStoryboardIdentifierAsRestorationIdentifier="YES" id="73V-H2-uPu" sceneMemberID="viewController">
209
+ <layoutGuides>
210
+ <viewControllerLayoutGuide type="top" id="HYe-o5-9Xc"/>
211
+ <viewControllerLayoutGuide type="bottom" id="RTJ-TJ-CiF"/>
212
+ </layoutGuides>
213
+ <view key="view" contentMode="scaleToFill" id="QHs-ip-Izx">
214
+ <rect key="frame" x="0.0" y="64" width="320" height="416"/>
215
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
216
+ <subviews>
217
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="D" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cm9-XA-eke">
218
+ <rect key="frame" x="0.0" y="0.0" width="320" height="220"/>
219
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
220
+ <fontDescription key="fontDescription" type="system" pointSize="100"/>
221
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
222
+ <nil key="highlightedColor"/>
223
+ </label>
224
+ </subviews>
225
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
226
+ </view>
227
+ <extendedEdge key="edgesForExtendedLayout" bottom="YES"/>
228
+ <navigationItem key="navigationItem" id="wCB-0e-HIF"/>
229
+ </viewController>
230
+ <placeholder placeholderIdentifier="IBFirstResponder" id="XyR-ap-ISf" userLabel="First Responder" sceneMemberID="firstResponder"/>
231
+ </objects>
232
+ <point key="canvasLocation" x="913" y="-288"/>
233
+ </scene>
234
+ <!--Beyond Segue View Controller-->
235
+ <scene sceneID="EkT-ip-QWf">
236
+ <objects>
237
+ <viewController id="Bbu-Ps-kCX" customClass="BeyondSegueViewController" sceneMemberID="viewController">
238
+ <layoutGuides>
239
+ <viewControllerLayoutGuide type="top" id="6HY-0V-q3D"/>
240
+ <viewControllerLayoutGuide type="bottom" id="Cfa-bD-G6A"/>
241
+ </layoutGuides>
242
+ <view key="view" contentMode="scaleToFill" id="bM1-RV-CNM">
243
+ <rect key="frame" x="0.0" y="64" width="320" height="416"/>
244
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
245
+ <subviews>
246
+ <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="C8a-M3-w6x">
247
+ <rect key="frame" x="145" y="256" width="30" height="30"/>
248
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
249
+ <state key="normal" title="to D">
250
+ <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
251
+ </state>
252
+ <connections>
253
+ <action selector="touchtToD:" destination="Bbu-Ps-kCX" eventType="touchUpInside" id="FlC-gE-Fbe"/>
254
+ </connections>
255
+ </button>
256
+ <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="F" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="31M-uE-y4S">
257
+ <rect key="frame" x="0.0" y="0.0" width="320" height="220"/>
258
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
259
+ <fontDescription key="fontDescription" type="system" pointSize="100"/>
260
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
261
+ <nil key="highlightedColor"/>
262
+ </label>
263
+ </subviews>
264
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
265
+ </view>
266
+ <extendedEdge key="edgesForExtendedLayout" bottom="YES"/>
267
+ <navigationItem key="navigationItem" id="Uuo-XQ-iTZ"/>
268
+ </viewController>
269
+ <placeholder placeholderIdentifier="IBFirstResponder" id="i1A-ih-j2e" userLabel="First Responder" sceneMemberID="firstResponder"/>
270
+ </objects>
271
+ <point key="canvasLocation" x="494" y="431"/>
272
+ </scene>
273
+ </scenes>
274
+ <simulatedMetricsContainer key="defaultSimulatedMetrics">
275
+ <simulatedStatusBarMetrics key="statusBar"/>
276
+ <simulatedOrientationMetrics key="orientation"/>
277
+ <simulatedScreenMetrics key="destination"/>
278
+ </simulatedMetricsContainer>
279
+ </document>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibtoolTranslation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - akuraru
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-17 00:00:00.000000000 Z
11
+ date: 2014-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -72,6 +72,8 @@ files:
72
72
  - lib/ibtoolTranslation.rb
73
73
  - lib/ibtoolTranslation/version.rb
74
74
  - spec/ibtoolTranslation_spec.rb
75
+ - storyboards/dd.lproj/Main.storyboard
76
+ - storyboards/dd.lproj/Translation.strings
75
77
  - storyboards/en.lproj/Main.storyboard
76
78
  - storyboards/en.lproj/Main.strings
77
79
  - storyboards/fr.lproj/Main.storyboard