F4BDEB6F187252F30069D0CE /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = F4BDEB6D187252F30069D0CE /* InfoPlist.strings */; };
F4BDEB71187252F30069D0CE /* KCDTests.m in Sources */ = {isa = PBXBuildFile; fileRef = F4BDEB70187252F30069D0CE /* KCDTests.m */; };
F4BDEB7B187253130069D0CE /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F4BDEB7A187253130069D0CE /* WebKit.framework */; };
+ F4BEEE9F18D211280006F70C /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = F4BEEE9D18D211280006F70C /* Localizable.strings */; };
F4C041BA1875CAF5009273EB /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F4C041B91875CAF5009273EB /* JavaScriptCore.framework */; };
F4C118FA18A67B1C005D5B25 /* CacheStoragePolicy.m in Sources */ = {isa = PBXBuildFile; fileRef = F4C118F518A67B1C005D5B25 /* CacheStoragePolicy.m */; };
F4C118FB18A67B1C005D5B25 /* CanonicalRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = F4C118F718A67B1C005D5B25 /* CanonicalRequest.m */; };
F4BDEB6C187252F30069D0CE /* KCDTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "KCDTests-Info.plist"; sourceTree = "<group>"; };
F4BDEB70187252F30069D0CE /* KCDTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KCDTests.m; sourceTree = "<group>"; };
F4BDEB7A187253130069D0CE /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
+ F4BEEE9E18D211280006F70C /* ja */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/Localizable.strings; sourceTree = "<group>"; };
+ F4BEEEA118D211360006F70C /* ja */ = {isa = PBXFileReference; lastKnownFileType = text; name = ja; path = ja.lproj/Localizable.strings.sed; sourceTree = "<group>"; };
+ F4BEEEA418D211500006F70C /* ja */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.make; name = ja; path = ja.lproj/Makefile; sourceTree = "<group>"; };
+ F4BEEEA718D323520006F70C /* Makefile */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.make; path = Makefile; sourceTree = SOURCE_ROOT; };
F4C041B91875CAF5009273EB /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
F4C118F418A67B1C005D5B25 /* CacheStoragePolicy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CacheStoragePolicy.h; sourceTree = "<group>"; };
F4C118F518A67B1C005D5B25 /* CacheStoragePolicy.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CacheStoragePolicy.m; sourceTree = "<group>"; };
F4BDEB4D187252F30069D0CE /* Supporting Files */ = {
isa = PBXGroup;
children = (
+ F4BEEEA718D323520006F70C /* Makefile */,
+ F4BEEEA318D211500006F70C /* Makefile */,
+ F4BEEEA018D211360006F70C /* Localizable.strings.sed */,
+ F4BEEE9D18D211280006F70C /* Localizable.strings */,
F4513EEF18B96C6C00073552 /* Links.rtf */,
F4BDEB4E187252F30069D0CE /* KCD-Info.plist */,
F4BDEB4F187252F30069D0CE /* InfoPlist.strings */,
F494DC6418C608C100AE97E4 /* HMShipViewController.xib in Resources */,
F43E67B718BE02A10087E5B6 /* STypeShortName.plist in Resources */,
F4BDEB5F187252F30069D0CE /* Images.xcassets in Resources */,
+ F4BEEE9F18D211280006F70C /* Localizable.strings in Resources */,
F4513EF018B96C6C00073552 /* Links.rtf in Resources */,
F4BDEB5D187252F30069D0CE /* MainMenu.xib in Resources */,
F46F104618AA50730063E503 /* HMBroserWindowController.xib in Resources */,
name = InfoPlist.strings;
sourceTree = "<group>";
};
+ F4BEEE9D18D211280006F70C /* Localizable.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ F4BEEE9E18D211280006F70C /* ja */,
+ );
+ name = Localizable.strings;
+ sourceTree = "<group>";
+ };
+ F4BEEEA018D211360006F70C /* Localizable.strings.sed */ = {
+ isa = PBXVariantGroup;
+ children = (
+ F4BEEEA118D211360006F70C /* ja */,
+ );
+ name = Localizable.strings.sed;
+ sourceTree = "<group>";
+ };
+ F4BEEEA318D211500006F70C /* Makefile */ = {
+ isa = PBXVariantGroup;
+ children = (
+ F4BEEEA418D211500006F70C /* ja */,
+ );
+ name = Makefile;
+ sourceTree = "<group>";
+ };
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0500"
- version = "1.3">
+ version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
+ <PreActions>
+ <ExecutionAction
+ ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
+ <ActionContent
+ title = "Run Script"
+ scriptText = "cd ${PROJECT_DIR} make Localizable make updateRevision ">
+ <EnvironmentBuildable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "F4BDEB42187252F30069D0CE"
+ BuildableName = "KCD.app"
+ BlueprintName = "KCD"
+ ReferencedContainer = "container:KCD.xcodeproj">
+ </BuildableReference>
+ </EnvironmentBuildable>
+ </ActionContent>
+ </ExecutionAction>
+ </PreActions>
+ <PostActions>
+ <ExecutionAction
+ ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
+ <ActionContent
+ title = "Run Script"
+ scriptText = "cd ${PROJECT_DIR} make restorInfoPlist ">
+ <EnvironmentBuildable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "F4BDEB42187252F30069D0CE"
+ BuildableName = "KCD.app"
+ BlueprintName = "KCD"
+ ReferencedContainer = "container:KCD.xcodeproj">
+ </BuildableReference>
+ </EnvironmentBuildable>
+ </ActionContent>
+ </ExecutionAction>
+ </PostActions>
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="4514" systemVersion="13C64" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5053" systemVersion="13C64" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment defaultVersion="1080" identifier="macosx"/>
- <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="4514"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="5053"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="HMShipWindowController">
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application"/>
- <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" wantsToBeColor="NO" animationBehavior="default" id="1">
+ <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" animationBehavior="default" id="1">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="196" y="240" width="1014" height="604"/>
</connections>
</segmentedControl>
<scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="ucT-Vn-913">
- <rect key="frame" x="20" y="20" width="974" height="515"/>
+ <rect key="frame" x="20" y="221" width="974" height="314"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<clipView key="contentView" id="s0g-IF-1fh">
- <rect key="frame" x="1" y="17" width="972" height="497"/>
+ <rect key="frame" x="1" y="17" width="972" height="296"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" headerView="KQp-2J-tvF" id="C8O-23-ZZY">
- <rect key="frame" x="0.0" y="0.0" width="972" height="497"/>
+ <rect key="frame" x="0.0" y="0.0" width="972" height="296"/>
<autoresizingMask key="autoresizingMask"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
+ <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="dlN-63-KSb">
+ <rect key="frame" x="20" y="78" width="240" height="135"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+ <clipView key="contentView" id="dka-vs-np3">
+ <rect key="frame" x="1" y="17" width="238" height="117"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <subviews>
+ <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" headerView="Nk8-sd-bZU" id="huX-G6-4gE">
+ <rect key="frame" x="0.0" y="0.0" width="238" height="117"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <size key="intercellSpacing" width="3" height="2"/>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
+ <tableColumns>
+ <tableColumn width="116" minWidth="40" maxWidth="1000" id="ZCx-vz-7SS">
+ <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
+ <font key="font" metaFont="smallSystem"/>
+ <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
+ </tableHeaderCell>
+ <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="ifd-02-uP0">
+ <font key="font" metaFont="system"/>
+ <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
+ <connections>
+ <binding destination="m6H-jV-wsG" name="value" keyPath="arrangedObjects.name" id="6LL-bE-kv3"/>
+ </connections>
+ </tableColumn>
+ <tableColumn width="116" minWidth="40" maxWidth="1000" id="M4f-ts-URu">
+ <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
+ <font key="font" metaFont="smallSystem"/>
+ <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
+ </tableHeaderCell>
+ <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="uhv-r5-cjO">
+ <font key="font" metaFont="system"/>
+ <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
+ <connections>
+ <binding destination="m6H-jV-wsG" name="value" keyPath="arrangedObjects.ship_0" id="yMa-Oz-U18"/>
+ </connections>
+ </tableColumn>
+ </tableColumns>
+ </tableView>
+ </subviews>
+ <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+ </clipView>
+ <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="NAw-Jy-VXU">
+ <rect key="frame" x="1" y="119" width="223" height="15"/>
+ <autoresizingMask key="autoresizingMask"/>
+ </scroller>
+ <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="37" horizontal="NO" id="ZT9-vT-5XJ">
+ <rect key="frame" x="224" y="17" width="15" height="102"/>
+ <autoresizingMask key="autoresizingMask"/>
+ </scroller>
+ <tableHeaderView key="headerView" id="Nk8-sd-bZU">
+ <rect key="frame" x="0.0" y="0.0" width="238" height="17"/>
+ <autoresizingMask key="autoresizingMask"/>
+ </tableHeaderView>
+ </scrollView>
</subviews>
</view>
<connections>
<binding destination="-2" name="managedObjectContext" keyPath="managedObjectContext" id="f84-5u-HZe"/>
</connections>
</arrayController>
- <arrayController mode="entity" entityName="MasterSType" editable="NO" automaticallyPreparesContent="YES" id="m6H-jV-wsG" userLabel="SType">
+ <arrayController mode="entity" entityName="Deck" editable="NO" automaticallyPreparesContent="YES" id="m6H-jV-wsG" userLabel="SType">
<connections>
<binding destination="-2" name="managedObjectContext" keyPath="managedObjectContext" id="5xs-hk-pIo"/>
</connections>
</arrayController>
</objects>
-</document>
\ No newline at end of file
+</document>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1</string>
+ <string>%%%%REVISION%%%%</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
--- /dev/null
+s/%@ Will Finish Docking\./まもなく%@の修復が完了します/2
+s/%1$@ Will Return From %2$@\./まもなく%1$@が%2$@から帰投します/
+s/%@ Will Return From Mission\./まもなく%@が遠征から帰投します/2
+s/Cancel/キャンセル/2
+s/It Will Finish Build at No\.%@\./第%@ドックでの建造が完了しました/2
+s/Reload interval is too short\.\\nWait until %@\./リロード間隔が短すぎます\\n%@までお待ちください/2
+s/Reload interval is too short/リロードしすぎ!/2
--- /dev/null
+
+RM=/bin/rm
+SED=/usr/local/bin/sed
+ICONV=/usr/bin/iconv
+
+Localize_template=Localizable.strings.sed
+temp_file=l.text
+working_enc=utf-8
+
+Localizable: Localizable.strings
+ ${ICONV} -f utf-16 -t ${working_enc} $< | ${SED} -f ${Localize_template} > ${temp_file}
+ ${ICONV} -f ${working_enc} -t utf-16 ${temp_file} > $<
+ ${RM} ${temp_file}
+
+checkLocalizable:
+ plutil Localizable.strings
+
--- /dev/null
+// encoding=utf-8
+PRODUCT_NAME=KCD
+PRODUCT_EXTENSION=app
+BUILD_PATH=./build
+DEPLOYMENT=Release
+APP_BUNDLE=$(PRODUCT_NAME).$(PRODUCT_EXTENSION)
+APP=$(BUILD_PATH)/$(DEPLOYMENT)/$(APP_BUNDLE)
+APP_NAME=$(BUILD_PATH)/$(DEPLOYMENT)/$(PRODUCT_NAME)
+SCHEME=KCD
+INFO_PLIST=KCD/KCD-Info.plist
+
+LOCALIZE_FILES=KCD/HMBroserWindowController.m KCD/HMCoreDataManager.m KCD/HMKenzoDockStatus.m \
+KCD/HMMissionStatus.m KCD/HMNyukyoDockStatus.m
+
+VER_CMD=grep -A1 'CFBundleShortVersionString' $(INFO_PLIST) | tail -1 | tr -d "'\t</string>"
+VERSION=$(shell $(VER_CMD))
+
+all: release
+
+Localizable: $(LOCALIZE_FILES)
+ genstrings -o KCD/ja.lproj $^
+ (cd KCD/ja.lproj; ${MAKE} $@;)
+# genstrings -o KCD/en.lproj $^
+# (cd KCD/en.lproj; ${MAKE} $@;)
+
+checkLocalizable:
+# (cd KCD/en.lproj; ${MAKE} $@;)
+ (cd KCD/ja.lproj; ${MAKE} $@;)
+
+release: updateRevision
+ xcodebuild -scheme $(SCHEME) -configuration $(DEPLOYMENT)
+ $(MAKE) restorInfoPlist
+
+package: release
+ REV=`git show | head -1 | awk '{printf("%.7s\n", $$2)}'`; \
+ ditto -ck -rsrc --keepParent $(APP) $(APP_NAME)-$(VERSION)-$${REV}.zip
+
+updateRevision:
+ if [ ! -f $(INFO_PLIST).bak ] ; then cp $(INFO_PLIST) $(INFO_PLIST).bak ; fi ; \
+ REV=`git show | head -1 | awk '{printf("%.7s\n", $$2)}'` ; \
+ sed -e "s/%%%%REVISION%%%%/$${REV}/" $(INFO_PLIST) > $(INFO_PLIST).r ; \
+ mv -f $(INFO_PLIST).r $(INFO_PLIST) ; \
+
+restorInfoPlist:
+ if [ -f $(INFO_PLIST).bak ] ; then mv -f $(INFO_PLIST).bak $(INFO_PLIST) ; fi
+
+