Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creates Ability to Purchase Translations in Localization Editor Window #783

Open
wants to merge 48 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
76a3633
Created a new translation window. Will commit more frequently in the …
Jun 18, 2014
7b4560d
Merge branch 'develop' of https://github.com/spritebuilder/SpriteBuil…
Jun 18, 2014
157ff6a
Small project change
Jun 19, 2014
1aef6b9
Merge branch 'develop' of https://github.com/spritebuilder/SpriteBuil…
Jun 20, 2014
1319546
Moved the numerous items and messages that overlapped under the 'tran…
Jun 20, 2014
3d8fbbb
Translate window changes that I forgot to put in last commit (whoops)…
Jun 20, 2014
a062ac2
Made it so that clicking elsewhere in the window closes the translate…
Jun 23, 2014
c4e0658
just the project file from the pref commit
Jun 23, 2014
61b30dd
Coordinated with the server to get language downloading and estimatio…
Jun 24, 2014
005161f
Reorganized a bunch of code and added pragma marks, along with adding…
Jun 24, 2014
e2a1b30
Stylized the window better (read: more compactly). Also got receipt v…
Jun 25, 2014
bafbf72
Started working on putting translation progress in the Language Windo…
Jun 25, 2014
d4fcefe
Finally got the translate window to be key and modal. Also did a bunc…
Jun 25, 2014
a6ca5a2
A couple compiler errors/warnings in the last commit, fixed.
Jun 25, 2014
cc3264d
Continued working on cancel functionality. Created window, set up the…
Jun 26, 2014
715dba8
Got rid of (in my opinion) a lot of cool functionality, but functiona…
Jun 26, 2014
17ef128
Fixed payment mechanism even on edge cases
Jun 27, 2014
41dea2c
fixed receipt uploading and parsing issues, and received the first va…
Jun 27, 2014
4071009
Implemented more functionality for dealing with the server. Get trans…
Jun 28, 2014
1649ada
Cached and serialized the data about downloading languages and update…
Jul 1, 2014
c205603
More caching and state-saving, better use of project settings to do s…
Jul 2, 2014
b7d1d93
Add more error handling and working parsing for translations (though …
Jul 3, 2014
9738133
Error handling for payment errors, fixed small bugs with project sett…
Jul 7, 2014
f3fe986
Smarter error handling for server timeouts and receipt validation fix…
Jul 8, 2014
97192d2
Some very small code changes and error stuff
Jul 8, 2014
c2b0f47
Merge branch 'temp' into develop
Jul 8, 2014
f13b3aa
Fixed compile errors
Jul 8, 2014
3b29b56
Merge branch 'develop' of https://github.com/spritebuilder/SpriteBuil…
Jul 8, 2014
2bb1c2b
Redid payment queue logic so it works, redid project setting and loca…
Jul 11, 2014
16bb9e2
small changes to make reloading and background translations work seam…
Jul 11, 2014
76dc3b4
Just changed some error checking stuff
Jul 14, 2014
65f556c
Merge branch 'develop' of https://github.com/spritebuilder/SpriteBuil…
Jul 14, 2014
2d38731
Improved the refresh mechanism for translation window after editor wi…
Jul 17, 2014
3ce8dd4
Fixed product requests to only ask for the products needed. Also adde…
Jul 18, 2014
c9617b1
Commiting merge
Jul 18, 2014
e8e4072
Moved In App PID plist into resources folder of project
Jul 18, 2014
96238b2
Starts downloads on app start and disables the "Localize" check butto…
Jul 22, 2014
1a707c1
Made small changes to UI for clarity of text and layout
Aug 5, 2014
b1061da
Merge branch 'develop' of https://github.com/spritebuilder/SpriteBuil…
Aug 11, 2014
5d076a2
A bunch of stylistic and comment changes in preparation for pull request
Aug 14, 2014
63638fb
Added all 85 sprite builder translation tiers
Aug 14, 2014
d96e40c
Merge branch 'develop' of https://github.com/spritebuilder/SpriteBuil…
Aug 14, 2014
de05d39
Add pragma mark to app delegate for restarting project translation do…
Aug 14, 2014
f2fdc42
Add ifdefs to handle the appropriate behavior for sprite builder v sp…
Aug 14, 2014
b43ac93
Change properties from strong to copy and weak where needed
Aug 14, 2014
de1eacb
Deal with localization editor window state for closed v open projects…
Aug 15, 2014
726726e
Updates process for parsing translations into background translation …
Aug 15, 2014
dad94b5
Merge branch 'develop' of https://github.com/spritebuilder/SpriteBuil…
Aug 15, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions SpriteBuilder/Resources/LocalizationInAppPurchasesPIDs.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<string>com.spritebuilder.translationstier1</string>
<string>com.spritebuilder.translationstier2</string>
<string>com.spritebuilder.translationstier3</string>
<string>com.spritebuilder.translationstier4</string>
<string>com.spritebuilder.translationstier5</string>
<string>com.spritebuilder.translationstier6</string>
<string>com.spritebuilder.translationstier7</string>
<string>com.spritebuilder.translationstier8</string>
<string>com.spritebuilder.translationstier9</string>
<string>com.spritebuilder.translationstier10</string>
<string>com.spritebuilder.translationstier11</string>
<string>com.spritebuilder.translationstier12</string>
<string>com.spritebuilder.translationstier13</string>
<string>com.spritebuilder.translationstier14</string>
<string>com.spritebuilder.translationstier15</string>
<string>com.spritebuilder.translationstier16</string>
<string>com.spritebuilder.translationstier17</string>
<string>com.spritebuilder.translationstier18</string>
<string>com.spritebuilder.translationstier19</string>
<string>com.spritebuilder.translationstier20</string>
<string>com.spritebuilder.translationstier21</string>
<string>com.spritebuilder.translationstier22</string>
<string>com.spritebuilder.translationstier23</string>
<string>com.spritebuilder.translationstier24</string>
<string>com.spritebuilder.translationstier25</string>
<string>com.spritebuilder.translationstier26</string>
<string>com.spritebuilder.translationstier27</string>
<string>com.spritebuilder.translationstier28</string>
<string>com.spritebuilder.translationstier29</string>
<string>com.spritebuilder.translationstier30</string>
<string>com.spritebuilder.translationstier31</string>
<string>com.spritebuilder.translationstier32</string>
<string>com.spritebuilder.translationstier33</string>
<string>com.spritebuilder.translationstier34</string>
<string>com.spritebuilder.translationstier35</string>
<string>com.spritebuilder.translationstier36</string>
<string>com.spritebuilder.translationstier37</string>
<string>com.spritebuilder.translationstier38</string>
<string>com.spritebuilder.translationstier39</string>
<string>com.spritebuilder.translationstier40</string>
<string>com.spritebuilder.translationstier41</string>
<string>com.spritebuilder.translationstier42</string>
<string>com.spritebuilder.translationstier43</string>
<string>com.spritebuilder.translationstier44</string>
<string>com.spritebuilder.translationstier45</string>
<string>com.spritebuilder.translationstier46</string>
<string>com.spritebuilder.translationstier47</string>
<string>com.spritebuilder.translationstier48</string>
<string>com.spritebuilder.translationstier49</string>
<string>com.spritebuilder.translationstier50</string>
<string>com.spritebuilder.translationstier51</string>
<string>com.spritebuilder.translationstier52</string>
<string>com.spritebuilder.translationstier53</string>
<string>com.spritebuilder.translationstier54</string>
<string>com.spritebuilder.translationstier55</string>
<string>com.spritebuilder.translationstier56</string>
<string>com.spritebuilder.translationstier57</string>
<string>com.spritebuilder.translationstier58</string>
<string>com.spritebuilder.translationstier59</string>
<string>com.spritebuilder.translationstier60</string>
<string>com.spritebuilder.translationstier61</string>
<string>com.spritebuilder.translationstier62</string>
<string>com.spritebuilder.translationstier63</string>
<string>com.spritebuilder.translationstier64</string>
<string>com.spritebuilder.translationstier65</string>
<string>com.spritebuilder.translationstier66</string>
<string>com.spritebuilder.translationstier67</string>
<string>com.spritebuilder.translationstier68</string>
<string>com.spritebuilder.translationstier69</string>
<string>com.spritebuilder.translationstier70</string>
<string>com.spritebuilder.translationstier71</string>
<string>com.spritebuilder.translationstier72</string>
<string>com.spritebuilder.translationstier73</string>
<string>com.spritebuilder.translationstier74</string>
<string>com.spritebuilder.translationstier75</string>
<string>com.spritebuilder.translationstier76</string>
<string>com.spritebuilder.translationstier77</string>
<string>com.spritebuilder.translationstier78</string>
<string>com.spritebuilder.translationstier79</string>
<string>com.spritebuilder.translationstier80</string>
<string>com.spritebuilder.translationstier81</string>
<string>com.spritebuilder.translationstier82</string>
<string>com.spritebuilder.translationstier83</string>
<string>com.spritebuilder.translationstier84</string>
<string>com.spritebuilder.translationstier85</string>
</array>
</plist>
42 changes: 42 additions & 0 deletions SpriteBuilder/SpriteBuilder.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@
77E1995D13858DE0006C361B /* TabNewMetalRollover.png in Resources */ = {isa = PBXBuildFile; fileRef = 77E1995113858DE0006C361B /* TabNewMetalRollover.png */; };
77E7D04B138F777A00E8EE67 /* CCBModalSheetController.m in Sources */ = {isa = PBXBuildFile; fileRef = 77E7D04A138F777A00E8EE67 /* CCBModalSheetController.m */; };
77E7D04F138F78F600E8EE67 /* StageSizeWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = 77E7D04E138F78F600E8EE67 /* StageSizeWindow.m */; };
7B300A971990570F00AFF762 /* LocalizationTranslateWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 7BF55302193F8A7500183F09 /* LocalizationTranslateWindow.xib */; };
7B3EF5DB195885F20023C169 /* LocalizationTranslateWindowHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B3EF5DA195885F20023C169 /* LocalizationTranslateWindowHandler.m */; };
7B88AD47195A4846001BF73C /* LocalizationEditorTextFieldCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B88AD46195A4846001BF73C /* LocalizationEditorTextFieldCell.m */; };
7BD26ED31979C1320003FEF4 /* LocalizationInAppPurchasesPIDs.plist in Resources */ = {isa = PBXBuildFile; fileRef = 7BD26ED21979C1320003FEF4 /* LocalizationInAppPurchasesPIDs.plist */; };
7BD26EF1197E1D640003FEF4 /* TranslationSettings.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BD26EF0197E1D640003FEF4 /* TranslationSettings.m */; };
7BDECCD1196CBA2400F3EB11 /* LocalizationTranslateWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BF55306193F912200183F09 /* LocalizationTranslateWindow.m */; };
7BDECCD4196CBA6100F3EB11 /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7BDECCD3196CBA6100F3EB11 /* StoreKit.framework */; };
7BDECCE1197047EE00F3EB11 /* LocalizationTransactionObserver.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BDECCE0197047EE00F3EB11 /* LocalizationTransactionObserver.m */; };
80271CCC1862478D00917BC0 /* InspectorStringSimple.m in Sources */ = {isa = PBXBuildFile; fileRef = 8076F94D18624318003C4153 /* InspectorStringSimple.m */; };
80279C7F183A8EAB005C6050 /* WarningCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 80E97F6318370F400052647D /* WarningCell.m */; };
8045F136183ADA900082BD94 /* seq-visible.png in Resources */ = {isa = PBXBuildFile; fileRef = 8045F12C183AD6D30082BD94 /* seq-visible.png */; };
Expand Down Expand Up @@ -1345,6 +1353,19 @@
77E7D04A138F777A00E8EE67 /* CCBModalSheetController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCBModalSheetController.m; sourceTree = "<group>"; };
77E7D04D138F78F600E8EE67 /* StageSizeWindow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StageSizeWindow.h; sourceTree = "<group>"; };
77E7D04E138F78F600E8EE67 /* StageSizeWindow.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = StageSizeWindow.m; sourceTree = "<group>"; };
7B3EF5D9195885F20023C169 /* LocalizationTranslateWindowHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LocalizationTranslateWindowHandler.h; sourceTree = "<group>"; };
7B3EF5DA195885F20023C169 /* LocalizationTranslateWindowHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LocalizationTranslateWindowHandler.m; sourceTree = "<group>"; };
7B88AD45195A4846001BF73C /* LocalizationEditorTextFieldCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LocalizationEditorTextFieldCell.h; sourceTree = "<group>"; };
7B88AD46195A4846001BF73C /* LocalizationEditorTextFieldCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LocalizationEditorTextFieldCell.m; sourceTree = "<group>"; };
7BD26ED21979C1320003FEF4 /* LocalizationInAppPurchasesPIDs.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = LocalizationInAppPurchasesPIDs.plist; sourceTree = "<group>"; };
7BD26EEF197E1D640003FEF4 /* TranslationSettings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TranslationSettings.h; sourceTree = "<group>"; };
7BD26EF0197E1D640003FEF4 /* TranslationSettings.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TranslationSettings.m; sourceTree = "<group>"; };
7BDECCD3196CBA6100F3EB11 /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; };
7BDECCDF197047EE00F3EB11 /* LocalizationTransactionObserver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LocalizationTransactionObserver.h; sourceTree = "<group>"; };
7BDECCE0197047EE00F3EB11 /* LocalizationTransactionObserver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LocalizationTransactionObserver.m; sourceTree = "<group>"; };
7BF55302193F8A7500183F09 /* LocalizationTranslateWindow.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LocalizationTranslateWindow.xib; sourceTree = "<group>"; };
7BF55305193F912100183F09 /* LocalizationTranslateWindow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LocalizationTranslateWindow.h; sourceTree = "<group>"; };
7BF55306193F912200183F09 /* LocalizationTranslateWindow.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LocalizationTranslateWindow.m; sourceTree = "<group>"; };
800C005E1846A40D00544BD2 /* select-scale.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "select-scale.png"; sourceTree = "<group>"; };
800C006F1848178D00544BD2 /* select-crosshair.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "select-crosshair.png"; sourceTree = "<group>"; };
8045F12C183AD6D30082BD94 /* seq-visible.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "seq-visible.png"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -2488,6 +2509,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
7BDECCD4196CBA6100F3EB11 /* StoreKit.framework in Frameworks */,
D35E589E18E391DA008571EC /* GLKit.framework in Frameworks */,
80AD79A21863878B00B653B7 /* libPVRTexLib.a in Frameworks */,
B7E1EFDD185F8D3D00C9E6E0 /* WebKit.framework in Frameworks */,
Expand Down Expand Up @@ -2790,6 +2812,8 @@
92FFB84E195DEA0300E9C96F /* AndroidPluginInstallerWindow.xib */,
92FFB852195DEA2800E9C96F /* AndroidPluginInstaller.h */,
92FFB853195DEA2800E9C96F /* AndroidPluginInstaller.m */,
7BD26EEF197E1D640003FEF4 /* TranslationSettings.h */,
7BD26EF0197E1D640003FEF4 /* TranslationSettings.m */,
);
name = "Application Settings & Globals";
sourceTree = "<group>";
Expand Down Expand Up @@ -3297,6 +3321,7 @@
7789ABC1133AA82000CEFCC7 /* Frameworks */ = {
isa = PBXGroup;
children = (
7BDECCD3196CBA6100F3EB11 /* StoreKit.framework */,
830F4EB019347032002B832D /* OCMock.framework */,
D35E589D18E391DA008571EC /* GLKit.framework */,
D2E0168418D783C900927430 /* AppleScriptKit.framework */,
Expand Down Expand Up @@ -3418,6 +3443,7 @@
7789ACEB133AB6A700CEFCC7 /* Resources */ = {
isa = PBXGroup;
children = (
7BD26ED21979C1320003FEF4 /* LocalizationInAppPurchasesPIDs.plist */,
DC0A8D3E18C8C274009A619D /* SpriteKitTextureAtlasToolPath.txt */,
B7AC69DB17A9D9700041B8BD /* defaultTemplates.zip */,
E390C780170A371E003E9E92 /* Generated */,
Expand Down Expand Up @@ -3837,6 +3863,13 @@
children = (
B7083DF717B1CBC8006628C7 /* LocalizationEditorHandler.h */,
B7083DF817B1CBC8006628C7 /* LocalizationEditorHandler.m */,
7B3EF5D9195885F20023C169 /* LocalizationTranslateWindowHandler.h */,
7B3EF5DA195885F20023C169 /* LocalizationTranslateWindowHandler.m */,
7BF55302193F8A7500183F09 /* LocalizationTranslateWindow.xib */,
7BF55305193F912100183F09 /* LocalizationTranslateWindow.h */,
7BF55306193F912200183F09 /* LocalizationTranslateWindow.m */,
7BDECCDF197047EE00F3EB11 /* LocalizationTransactionObserver.h */,
7BDECCE0197047EE00F3EB11 /* LocalizationTransactionObserver.m */,
B7083DF217B1C363006628C7 /* LocalizationEditorWindow.xib */,
B7083DF417B1CB88006628C7 /* LocalizationEditorWindow.h */,
B7083DF517B1CB88006628C7 /* LocalizationEditorWindow.m */,
Expand All @@ -3849,6 +3882,8 @@
B7083E0317B32623006628C7 /* LocalizationEditorLanguageTableView.m */,
B7083E0517B32DAD006628C7 /* LocalizationEditorTranslationTableView.h */,
B7083E0617B32DAD006628C7 /* LocalizationEditorTranslationTableView.m */,
7B88AD45195A4846001BF73C /* LocalizationEditorTextFieldCell.h */,
7B88AD46195A4846001BF73C /* LocalizationEditorTextFieldCell.m */,
);
name = "Localization Editor";
sourceTree = "<group>";
Expand Down Expand Up @@ -6004,6 +6039,7 @@
E3C65128151C7B9000D639C0 /* InspectorBlockCCControl.xib in Resources */,
E34E5D6A153585EC000201FB /* ruler-bg-horizontal.png in Resources */,
E34E5D6B153585EC000201FB /* ruler-bg-vertical.png in Resources */,
7B300A971990570F00AFF762 /* LocalizationTranslateWindow.xib in Resources */,
B7096E2B180CD98E00164A8A /* doc-scene.png in Resources */,
E34E5D6E1535AA78000201FB /* ruler-mark-major.png in Resources */,
E34E5D6F1535AA78000201FB /* ruler-mark-minor.png in Resources */,
Expand Down Expand Up @@ -6165,6 +6201,7 @@
B7096E2A180CD98E00164A8A /* doc-particlesystem.png in Resources */,
E334A4DE170CF475001604F7 /* seq-btn-end.png in Resources */,
E334A4DF170CF475001604F7 /* toolbar-bottom-noborder.png in Resources */,
7BD26ED31979C1320003FEF4 /* LocalizationInAppPurchasesPIDs.plist in Resources */,
921EEADB18A5760700D864C2 /* [email protected] in Resources */,
E334A4E6170D0020001604F7 /* debugger-bug.png in Resources */,
E3D839DC171356EC004F6127 /* pngquant in Resources */,
Expand Down Expand Up @@ -6545,6 +6582,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7BDECCD1196CBA2400F3EB11 /* LocalizationTranslateWindow.m in Sources */,
92B792D318C92FEF007DF895 /* CCBPhysicsTwoBodyJoint.m in Sources */,
92B792D218C92FE7007DF895 /* CCBPhysicsSpringJoint.m in Sources */,
9294EC8E18C65EC10059014C /* CCBPhysicsPinJoint.m in Sources */,
Expand Down Expand Up @@ -6615,6 +6653,7 @@
E3B4222A14E59F5D004547D6 /* InspectorFlip.m in Sources */,
5BA3DC35192110B90055DD96 /* GuideGridSizeWindow.m in Sources */,
E3B4222F14E5A849004547D6 /* InspectorBlendmode.m in Sources */,
7B88AD47195A4846001BF73C /* LocalizationEditorTextFieldCell.m in Sources */,
E3B4223214E5CF97004547D6 /* NodeInfo.m in Sources */,
E3B4223714E5E6AD004547D6 /* InspectorSeparator.m in Sources */,
83DC65EA18D898D50028EF72 /* SBUserDefaultsKeys.m in Sources */,
Expand Down Expand Up @@ -6707,6 +6746,7 @@
E3B7BCA015E3BCFE00CF95EF /* MainToolbarDelegate.m in Sources */,
E3AF6CDB15F0A9BC0048DB2A /* HelpWindow.m in Sources */,
E3AF6CE415F0DBA90048DB2A /* HelpPage.m in Sources */,
7BDECCE1197047EE00F3EB11 /* LocalizationTransactionObserver.m in Sources */,
E3C9CCBB161D0BBF008A3784 /* InspectorCodeConnectionsJS.m in Sources */,
E34039BE1624BF610067C7B8 /* CCBDocumentController.m in Sources */,
581BCFE8162DADE7007DE600 /* CCBSplitHorizontalView.m in Sources */,
Expand Down Expand Up @@ -6741,6 +6781,7 @@
B7AC6982179F50850041B8BD /* BFPopoverColorWell.m in Sources */,
B7AC6983179F50850041B8BD /* NSColor+BFColorPickerPopover.m in Sources */,
B7AC6984179F50850041B8BD /* NSColorPanel+BFColorPickerPopover.m in Sources */,
7B3EF5DB195885F20023C169 /* LocalizationTranslateWindowHandler.m in Sources */,
B7AC6985179F50850041B8BD /* NSColorWell+BFColorPickerPopover.m in Sources */,
B7AC6986179F50850041B8BD /* BFColorPickerPopoverView.m in Sources */,
B7AC6987179F50850041B8BD /* BFColorPickerViewController.m in Sources */,
Expand Down Expand Up @@ -6777,6 +6818,7 @@
E525FBA4E26414A8E6EBA77C /* PublishCCBOperation.m in Sources */,
E525F2C0B3311DCAEC86C6B0 /* PublishImageOperation.m in Sources */,
E525F3B510C25EE6D73F2C68 /* DateCache.m in Sources */,
7BD26EF1197E1D640003FEF4 /* TranslationSettings.m in Sources */,
E525F4E581031BFDE7E6DC9A /* NSString+Publishing.m in Sources */,
9248BD20199A8BB2009C154F /* SemanticVersioning.m in Sources */,
E525FA5D4791EB730859BF2C /* ProjectSettings+Convenience.m in Sources */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@
ReferencedContainer = "container:SpriteBuilder.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<EnvironmentVariables>
<EnvironmentVariable
key = "CA_DEBUG_TRANSACTIONS"
value = "1"
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
<AdditionalOptions>
<AdditionalOption
key = "OBJC_PRINT_EXCEPTIONS"
Expand Down
7 changes: 7 additions & 0 deletions SpriteBuilder/ccBuilder/AppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#import <HockeySDK/HockeySDK.h>
#import "ProjectSettings.h"
#import "CCNode+NodeInfo.h"
#import "LocalizationTransactionObserver.h"
#import "PublishingFinishedDelegate.h"
#import "TaskStatusWindow.h"

Expand Down Expand Up @@ -299,6 +300,9 @@ enum {
// Physics editor
IBOutlet PhysicsHandler* __weak physicsHandler;

// Transaction Observer for Translation Downloads
LocalizationTransactionObserver* lto;

@private
MainWindow *__weak window;
BOOL _applicationLaunchComplete;
Expand Down Expand Up @@ -372,6 +376,8 @@ enum {
// Sequencer
@property (nonatomic, readonly) BOOL playingBack;

//Transaction Observer for Translation Observer
@property (nonatomic,strong) LocalizationTransactionObserver* lto;

// Methods
+ (AppDelegate*) appDelegate;
Expand Down Expand Up @@ -401,6 +407,7 @@ enum {
- (IBAction) menuSelectBehind:(id)sender;
- (IBAction) menuDeselect:(id)sender;

- (BOOL) openProject:(NSString*) fileName;
- (void) closeProject;
- (IBAction) performClose:(id)sender;
- (void) removedDocumentWithPath:(NSString*)path;
Expand Down
Loading