Skip to content
Permalink
Browse files

MD-21

  • Loading branch information...
rossetantoine committed Dec 2, 2013
1 parent 079588e commit f64de99c1a5d2856ca11cf4a5fcc0ed2b82ecda4
Showing with 26 additions and 28 deletions.
  1. +6 −28 Binaries/English.lproj/PreferencesWindow.xib
  2. +7 −0 LocalizationExtract.sh
  3. +13 −0 LocalizationGenerate.sh
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="4514" systemVersion="13B35" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="4514" systemVersion="13B35" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment defaultVersion="1070" identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="4514"/>
@@ -27,40 +27,28 @@
<rect key="frame" x="0.0" y="0.0" width="783" height="401"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<customView hidden="YES" translatesAutoresizingMaskIntoConstraints="NO" id="754" customClass="SFAuthorizationView">
<customView hidden="YES" id="754" customClass="SFAuthorizationView">
<rect key="frame" x="583" y="341" width="200" height="60"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
</customView>
<scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="715">
<scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="715">
<rect key="frame" x="0.0" y="0.0" width="783" height="401"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<clipView key="contentView" id="0tL-TD-8IP">
<rect key="frame" x="0.0" y="0.0" width="783" height="401"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<customView translatesAutoresizingMaskIntoConstraints="NO" id="718">
<customView id="718">
<rect key="frame" x="0.0" y="0.0" width="783" height="401"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<customView translatesAutoresizingMaskIntoConstraints="NO" id="757" customClass="PreferencesView">
<customView id="757" customClass="PreferencesView">
<rect key="frame" x="0.0" y="0.0" width="783" height="401"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
</customView>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="757" secondAttribute="trailing" id="D2y-9H-oPd"/>
<constraint firstAttribute="bottom" secondItem="757" secondAttribute="bottom" id="Kn9-mY-wAT"/>
<constraint firstItem="757" firstAttribute="top" secondItem="718" secondAttribute="top" id="j3Z-kK-Tgr"/>
<constraint firstItem="757" firstAttribute="leading" secondItem="718" secondAttribute="leading" id="rxB-p4-AZF"/>
</constraints>
</customView>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="718" secondAttribute="trailing" id="BP6-wr-bhK"/>
<constraint firstItem="718" firstAttribute="leading" secondItem="0tL-TD-8IP" secondAttribute="leading" id="DGV-xE-bNg"/>
<constraint firstAttribute="bottom" secondItem="718" secondAttribute="bottom" id="ScB-j2-LdK"/>
<constraint firstItem="718" firstAttribute="top" secondItem="0tL-TD-8IP" secondAttribute="top" id="fw0-xt-A58"/>
</constraints>
</clipView>
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="717">
<rect key="frame" x="0.0" y="386" width="765" height="15"/>
@@ -72,16 +60,6 @@
</scroller>
</scrollView>
</subviews>
<constraints>
<constraint firstItem="715" firstAttribute="top" secondItem="21" secondAttribute="top" id="2mm-Bl-9aM"/>
<constraint firstAttribute="bottom" secondItem="754" secondAttribute="bottom" constant="341" id="3zF-fi-lxS"/>
<constraint firstItem="715" firstAttribute="trailing" secondItem="754" secondAttribute="trailing" id="AEK-em-y6u"/>
<constraint firstItem="715" firstAttribute="leading" secondItem="21" secondAttribute="leading" id="BuE-pw-ZfM"/>
<constraint firstAttribute="bottom" secondItem="715" secondAttribute="bottom" id="C9m-W0-qsa"/>
<constraint firstItem="754" firstAttribute="leading" secondItem="21" secondAttribute="leading" constant="583" id="D8j-XW-IX4"/>
<constraint firstItem="715" firstAttribute="top" secondItem="754" secondAttribute="top" id="RHQ-uN-36j"/>
<constraint firstAttribute="trailing" secondItem="715" secondAttribute="trailing" id="qjI-20-jKX"/>
</constraints>
</view>
<toolbar key="toolbar" implicitIdentifier="95223799-629E-4BA8-B285-ED3A011B2554" autosavesConfiguration="NO" allowsUserCustomization="NO" displayMode="iconOnly" sizeMode="regular" id="600">
<allowedToolbarItems>
@@ -107,7 +85,7 @@
<toolbarItem implicitItemIdentifier="23BBC721-B7F6-47DA-B459-270759FABEDD" label="Show All" paletteLabel="Show All" id="626">
<nil key="toolTip"/>
<size key="minSize" width="80" height="25"/>
<size key="maxSize" width="80" height="25"/>
<size key="maxSize" width="160" height="25"/>
<button key="view" verticalHuggingPriority="750" id="623">
<rect key="frame" x="0.0" y="14" width="80" height="25"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
@@ -0,0 +1,7 @@
#!/bin/bash

for i in *.nib; do

ibtool --generate-strings-file ${i%.nib}.strings "$i"

done
@@ -0,0 +1,13 @@
#!/bin/bash

for i in *.nib; do

ibtool --strings-file ${i%.nib}.strings --write ${i%.nib}.nib2 "$i"

rm -R "$i"

mv ${i%.nib}.nib2 "$i"

rm ${i%.nib}.strings

done

0 comments on commit f64de99

Please sign in to comment.
You can’t perform that action at this time.