From e30a3428137f8024d0ab58e1b40ee6a4e82c3f49 Mon Sep 17 00:00:00 2001 From: Vasileios Georgitzikis Date: Sun, 28 Aug 2011 14:59:05 +0300 Subject: [PATCH 01/18] Updated Greek translation --- .../SUAutomaticUpdateAlert.nib/designable.nib | 553 ++++++++++ .../keyedobjects.nib | Bin 0 -> 7795 bytes el.lproj/SUAutomaticUpdateAlert.strings | Bin 1064 -> 1056 bytes el.lproj/SUStatus.strings | Bin 0 -> 96 bytes el.lproj/SUUpdateAlert.nib/designable.nib | 801 ++++++++++++++ el.lproj/SUUpdateAlert.nib/keyedobjects.nib | Bin 0 -> 11014 bytes el.lproj/SUUpdateAlert.strings | Bin 1630 -> 1666 bytes .../designable.nib | 975 ++++++++++++++++++ .../keyedobjects.nib | Bin 0 -> 13660 bytes el.lproj/Sparkle.strings | Bin 7394 -> 8550 bytes 10 files changed, 2329 insertions(+) create mode 100644 el.lproj/SUAutomaticUpdateAlert.nib/designable.nib create mode 100644 el.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib create mode 100644 el.lproj/SUStatus.strings create mode 100644 el.lproj/SUUpdateAlert.nib/designable.nib create mode 100644 el.lproj/SUUpdateAlert.nib/keyedobjects.nib create mode 100644 el.lproj/SUUpdatePermissionPrompt.nib/designable.nib create mode 100644 el.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib diff --git a/el.lproj/SUAutomaticUpdateAlert.nib/designable.nib b/el.lproj/SUAutomaticUpdateAlert.nib/designable.nib new file mode 100644 index 00000000..87dc97af --- /dev/null +++ b/el.lproj/SUAutomaticUpdateAlert.nib/designable.nib @@ -0,0 +1,553 @@ + + + + 1050 + 10J869 + 1306 + 1038.35 + 461.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1306 + + + NSTextField + NSView + NSWindowTemplate + NSUserDefaultsController + NSTextFieldCell + NSImageCell + NSButtonCell + NSImageView + NSButton + NSCustomObject + + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + SUAutomaticUpdateAlert + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{114, 521}, {756, 152}} + 1886912512 + + + NSWindow + + + View + + {511, 152} + + + 256 + + + + 268 + + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + {{23, 73}, {64, 64}} + + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 268 + {{105, 120}, {389, 17}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 270 + {{105, 81}, {435, 31}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 257 + {{494, 12}, {248, 32}} + + + + YES + + 67239424 + 134217728 + Εγκατάσταση και Επανεκκίνηση + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{286, 12}, {208, 32}} + + + + YES + + 67239424 + 134217728 + Εγκατάσταση στην Έξοδο + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 256 + {{74, 12}, {212, 32}} + + + + YES + + 67239424 + 134217728 + Παράλειψη Εγκατάστασης + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 256 + {{105, 58}, {382, 18}} + + + + YES + + 67239424 + 131072 + Αυτόματη λήψη και εγκατάσταση ενημερώσεων στο μέλλον + + + 1211912703 + 2 + + NSSwitch + + + + 200 + 25 + + + + {{7, 11}, {756, 152}} + + + + + {{0, 0}, {1280, 778}} + {511, 174} + {1e+13, 1e+13} + + + YES + + + + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 10 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 14 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 19 + + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Window + + + 6 + + + + + + + + + + + + + + 7 + + + + + + + + 8 + + + + + + + + 9 + + + + + + + + 15 + + + + + + + + 16 + + + + + + + + 17 + + + + + + + + 30 + + + + + + + + 18 + + + Shared Defaults + + + 38 + + + + + 39 + + + + + 40 + + + + + 41 + + + + + 42 + + + + + 43 + + + + + 44 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + + 44 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + NSApplicationIcon + {128, 128} + + + diff --git a/el.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib b/el.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib new file mode 100644 index 0000000000000000000000000000000000000000..69ca444d3adde133d6ca5b4edd1f1ee5b837a81d GIT binary patch literal 7795 zcma)B349ZE_J6LLh&2#AQtEg*`*A|fgxxX7~0x?Xsp=qmeWCaDPO{~tchOn%2ZzwiCt?=iM6 z;EzPp(@y{a3LF@~2qyX+y)-PfK?z6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k|!+nn2-dz`O3k2sGyk2#M!PdMLmo^+mao_5(>4p*kD zn=9Lu>+0_6>FVvucNMydT%%lzTuWS!xSn#YajkVd>w3<$(e=FR1=owNmt6mJec`(3 z`U*q)Hokx_=KJ$yd<9?058;RLBluDL82(QFFn@wS%b(-V^PlsV+;+Fy-O}CBo$k(a zm$`?#?{rUb-{W5FUhdxL-s0ZjKHxs({@8s{AOa^Cg#^JOh(fZEBit$s5Jn4Cf={Rx z6d@wa7Ul?Zg?Yk!;W1&GuunKE{73jq_(HfSd@Xz{ToSG%3W=UXF)=x@dt!d#$i(r9 z3lf(mZb{sgcp~w`#BV&*)5de7r=8~}PnxHrr?aQXGsF||)O#8|Q$07E&$#h%AK z+dVryyFGh7`#c9c2R$EoE_yC|eiGY?sbYJvgV;&zB6bzi#Y{0v%n|d%9%3)Cx0o*$ zibZ0vI7loPy`oQ?Acn*#;xzFoah14Qd`4U+t`|3mo5aoH7ICY%P24W-6nBez#eL!d z@t}BAJSJWie-eKduSi7VB%_odStOg}kX({mN|Z!NmRd+RNUfzdQU|G%jdR}@#+9~ap_DHWwZ%A)S??~^;PMMbl*&|DGlH5{mB`3=%a$7l7ZZCI` zJIP(-u5!AZDQC$!a-Q5n?j`q@^W{RhNFFE;lIP0vmUMl}Zenfsueq4T1 zULmiPpO)9iYvpI<=j4s@^YRPwi}FkI%kmC+m%K-QMcyyJD!(QllHZh%$VcU4@^Sfu z{GNPLJ|&-)Ka$VN=j8M9=kk~GSMoRVck=i0ZlGgRlbCKJ>EwjDIKj{s$ysH9-IX literal 0 HcmV?d00001 diff --git a/el.lproj/SUAutomaticUpdateAlert.strings b/el.lproj/SUAutomaticUpdateAlert.strings index dda978f1d1b0718fc38ab6cb8c7832bfe4215127..8a48e7f76e254324b5e30467861ae420aa768b47 100644 GIT binary patch delta 173 zcmZXM%?ZLl7(_qvE-_adP}{Ht`>+jL2x-8B2M_)&vILVXOE7|hSd+8y=w)Vj%*;OD z=9fvfE_pEUro+i=o6&OOIi^PJCgQo0^1y++)Jap*6R5TH^nAoTFM@dLM0v+iZ!M8f eZL%=+dTBV1tKUOet%&n~zSCcivxP0Ku;L5VwK(el delta 189 zcmY+7O%4G;5QRJQZN_YzKq4;S05*LoFS7Tk0FI2pP?KmqQRgEB&~qhhM@!~Q^JtLkP776f#vdn dA}K(gDOi;j&=f8PB_LE_umxfe%Ni)c1ppVi4MYF{ literal 0 HcmV?d00001 diff --git a/el.lproj/SUUpdateAlert.nib/designable.nib b/el.lproj/SUUpdateAlert.nib/designable.nib new file mode 100644 index 00000000..584ade5f --- /dev/null +++ b/el.lproj/SUUpdateAlert.nib/designable.nib @@ -0,0 +1,801 @@ + + + + 1050 + 10J869 + 1306 + 1038.35 + 461.00 + + 1306 + 30 + + + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + + + SUUpdateAlert + + + FirstResponder + + + NSApplication + + + 15 + 2 + {{248, 468}, {687, 370}} + -260571136 + Software Update + NSWindow + + View + + {586, 370} + + + 256 + + + + 268 + + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + {{24, 291}, {64, 64}} + + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 264 + {{106, 338}, {443, 17}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 268 + {{106, 277}, {443, 17}} + + + + YES + + 67239424 + 272629760 + Σημειώσεις Έκδοσης: + + LucidaGrande-Bold + 11 + 3357 + + + + + + + + + 289 + {{276, 12}, {184, 32}} + + + + YES + + 67239424 + 134217728 + Υπενθύμιση Αργότερα + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 288 + {{103, 12}, {173, 32}} + + + + YES + + 67239424 + 134217728 + Παράλειψη Έκδοσης + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 289 + {{460, 12}, {213, 32}} + + + + YES + + -2080244224 + 134217728 + Εγκατάσταση Ενημέρωσης + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 274 + + + + 256 + + + + 274 + + Apple HTML pasteboard type + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple URL pasteboard type + Apple Web Archive pasteboard type + NSColor pasteboard type + NSFilenamesPboardType + NSStringPboardType + NeXT RTFD pasteboard type + NeXT Rich Text Format v1.0 pasteboard type + NeXT TIFF v4.0 pasteboard type + WebURLsWithTitlesPboardType + public.png + public.url + public.url-name + + {{-1, 0}, {558, 197}} + + + + + + + + + + + + + + NO + YES + + + {{1, 1}, {556, 197}} + + + + + + {{109, 76}, {558, 199}} + + + + {0, 0} + + 67239424 + 0 + + + LucidaGrande + 11 + 16 + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 3 + MCAwLjgwMDAwMDAxAA + + + + 1 + 3 + 0 + NO + + + + 266 + {{106, 302}, {463, 28}} + + + + YES + + 67239424 + 4194304 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 256 + {{106, 48}, {442, 18}} + + + + YES + + 67239424 + 131072 + Αυτόματη λήψη και εγκατάσταση ενημερώσεων στο μέλλον + + + 1211912703 + 2 + + NSSwitch + + + + 200 + 25 + + + + {{7, 11}, {687, 370}} + + + + + {{0, 0}, {1280, 778}} + {586, 392} + {1e+13, 1e+13} + + + + YES + + + + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 9 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + delegate + + + + 50 + + + + window + + + + 69 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 72 + + + + installUpdate: + + + + 77 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 103 + + + + description + + + + 105 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 135 + + + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 141 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 161 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 164 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Update Alert (release notes) + + + 6 + + + + + + + + + + + + + + + + 7 + + + + + + + + 10 + + + + + + + + 17 + + + + + + + + 22 + + + + + + + + 23 + + + + + + + + 76 + + + + + + + + 89 + + + + + + + + 101 + + + + + + + + 117 + + + + + + + + 93 + + + Shared Defaults + + + 168 + + + + + 169 + + + + + 170 + + + + + 171 + + + + + 172 + + + + + 173 + + + + + 174 + + + + + 175 + + + + + 18 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.WebKitIBPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + + 175 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + NSApplicationIcon + {128, 128} + + + diff --git a/el.lproj/SUUpdateAlert.nib/keyedobjects.nib b/el.lproj/SUUpdateAlert.nib/keyedobjects.nib new file mode 100644 index 0000000000000000000000000000000000000000..06bba98e7ce8f29a8db1e230160c0125967a32af GIT binary patch literal 11014 zcma)C349a9_n(>FBu&#Kn>%Tf>~6UP0h>}NAR;Z76(~Kq1ZrqQ8%djzq}=ErAaaO^ zpn!-_Zb1?Kd7vWqB_MJNBI1R3qT+o3|F^pdltVxN^pj+>JM-q<^L=kRtTq&k#xgRF zA&dxO5Q|hu&30t(9ME`FAQBCRYX&q94|^a`9*Yia?2nXJ1>tr{<5;-XjPN5%H<+*r zX;2bsg?uOzwMQM$T_^_?qx(=b8Vygzpoh_1^dx!)Ek@6wwdi@Y4!wk4L2sZ<=xwwO z?Lm9d0dyFhLl-c@7!%B37OSutYj6_Q;$*DDDOisU*oZWk!zS#&>9`SYjGN%5xEa13 z-+|lUEZhN?;(oY49)Jhq`(dOXSL1PbGM<8`;z#f_`~+T%m*IN69IwL9;}`IY_;vg? z-i+VDNAPL<5&jf^i@(Fakz}GH95E3)agj!(G4YX1(iUk*JJOYOBi%_J=|c)h5h)?1 zq#qeVhLK8AMMjVsGLnoZ6UcNjgUlw6ley$cGLOtBPmzUW5qXX*B`e7)@;uoR^tH&_wv6&M>W z8uCY@foMN}s4ft_FTc1)#9tj49gd9XmtR~I4#&zk*DdHP!+~6Ux$Ok6kLfp7~d}=r%(diMciS_Z< z_$vbu_$AL$XiUO{s_75#4eGwB8!sfiggJ zSr&-~WhpbHx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VRJC`_@I@da1cJ6f^be?lwawWMOF2U8t z)!ucttH4#{DslC54RHBg5m(GL$~DF{&NbaN*Y&(>qid_{u7L_JT+mqx;_UJuEkJ)4O zwDn|rI(Y8%+~v93ljG^?Dex3|NE_dzf9 zKJ1<1eZ>2ycZPSCceZzqcdmDy_bKlJ?;`JF?-K7)Z@qVg_XY0;??&$y?_Tdg?+Nco zUc+m79k1t&yotB)Hr~Oz_%zo`1pg#IpMRQP$UnnB%dg_s@Td6G{2Bf%|0(}D ze~v%Tf6af(f6xEG|HS{y|H}W)|H=Q&U*fL_SYQN|pb@l!PS6WR!6aA&o8S;!LYm+e zM4_?JOlTpr5;BA~LKmT{&_l=*dJCmOe_?>&7s`bSp;`zF?+9Ck?ZQrBx3E`uS2!TN zC%i8l5snEbgph($ delta 72 zcmV-O0Jr~w4c-i}ssWQQ0dtcT0?4!T0-6DnqXgCqkpr^>y#vexw*$kIhy~vtodc}{ eu>-;YAOna4x&yQWzXQVqw*$feA^ + + + 1050 + 10J869 + 1306 + 1038.35 + 461.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1306 + + + NSUserDefaultsController + NSScroller + NSArrayController + NSButton + NSScrollView + NSImageView + NSTextFieldCell + NSButtonCell + NSImageCell + NSTableView + NSCustomView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSTableColumn + + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + SUUpdatePermissionPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{83, 492}, {438, 168}} + 1886912512 + + + NSWindow + + + View + + {213, 107} + + + 256 + + + + 257 + {{255, 12}, {169, 32}} + + + + 1 + YES + + -2080244224 + 134217728 + Έλεγχος Αυτόματα + + LucidaGrande + 13 + 1044 + + + 1 + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{138, 12}, {117, 32}} + + + + YES + + 67239424 + 134217728 + Μή έλεγχος + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 264 + {{104, 114}, {289, 34}} + + + + YES + + 67239424 + 272629760 + Αυτόματος έλεγχος για ενημερώσεις; + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 266 + {{104, 81}, {315, 42}} + + + + YES + + 67239424 + 272629760 + DO NOT LOCALIZE + + LucidaGrande + 11 + 3100 + + + + + + + + + 264 + {{104, 53}, {278, 18}} + + + + YES + + -2080244224 + 163840 + Αποστολή ανώνυμου προφίλ συστήματος + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + + 264 + + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + {{23, 84}, {64, 64}} + + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 1 + 0 + YES + + YES + + + + 265 + {{80, 50}, {27, 26}} + + + + YES + + 67239424 + 134250496 + + + + -1194573569 + 133 + + + 200 + 25 + + + + {{7, 11}, {438, 168}} + + + + + {{0, 0}, {1280, 778}} + {213, 129} + {1e+13, 1e+13} + + + + visibleKey + visibleValue + displayValue + displayKey + + + YES + YES + YES + YES + YES + + + + 266 + + + + 274 + + + + 2304 + + + + 4352 + {353, 113} + + + YES + + + 256 + {{346, 0}, {12, 17}} + + + + 128 + 40 + 1000 + + 75628096 + 2048 + + + + 3 + MC4zMzMzMzI5OQA + + + 6 + System + headerTextColor + + + + + 69336577 + 131072 + Text Cell + + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + + 3 + YES + + + + 219 + 40 + 1000 + + 75628096 + 2048 + + + + + + + 69336577 + 131072 + Text Cell + + + + + + 3 + YES + + + + 3 + 2 + + + 6 + System + gridColor + + 3 + MC41AA + + + 14 + -759169024 + + + 4 + 15 + 0 + NO + 0 + + + {{1, 1}, {353, 113}} + + + + + + 6 + System + controlBackgroundColor + + + 4 + + + + -2147483392 + {{-22, 1}, {11, 125}} + + + 256 + + _doScroller: + 0.78125 + + + + -2147483392 + {{-100, -100}, {345, 11}} + + + 257 + + _doScroller: + 0.99047619104385376 + + + {{4, 5}, {355, 115}} + + + + 530 + + + + AAAAAAAAAABBgAAAQYAAAA + + + + 266 + {{1, 128}, {358, 70}} + + + YES + + 67239424 + 272629760 + zqTOvyDOsc69z47Ovc+FzrzOvyDPgM+Bzr/Phs6vzrsgz4PPhc+Dz4TOrs68zrHPhM6/z4Igz4fPgc63 +z4POuc68zr/PgM6/zrnOtc6vz4TOsc65IM6zzrnOsSDOvc6xIM68zrHPgiDOss6/zrfOuM6uz4POtc65 +IM+DzrUgzrzOtc67zrvOv869z4TOuc66zq4gzrHOvc6sz4DPhM+Fzr7OtyDPhM6/z4Ugz4DPgc6/zrPP +gc6szrzOvM6xz4TOv8+CLiDOoM6xz4HOsc66zrHOu8+OIM61z4DOuc66zr/Ouc69z4nOvc6uz4PPhM61 +IM68zrHOts6vIM68zrHPgiDOrM69IM6tz4fOtc+EzrUgzrXPgc+Jz4TOrs+DzrXOuc+CLgoKzpHPhc+E +zq3PgiDOtc6vzr3Osc65IM6/zrkgz4DOu863z4HOv8+Gzr/Pgc6vzrXPgiDPgM6/z4UgzrjOsSDPg8+E +zrHOu86/z43OvTo + + + + + + + + {362, 205} + + + NSView + NSResponder + + + + SUIncludeProfile + SUSendProfileInfo + + YES + + + + + + + contentArray: systemProfileInformationArray + + + + + + contentArray: systemProfileInformationArray + contentArray + systemProfileInformationArray + 2 + + + 25 + + + + window + + + + 126 + + + + moreInfoView + + + + 127 + + + + value: icon + + + + + + value: icon + value + icon + 2 + + + 130 + + + + toggleMoreInfo: + + + + 131 + + + + moreInfoButton + + + + 132 + + + + descriptionTextField + + + + 133 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 139 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 143 + + + + finishPrompt: + + + + 144 + + + + finishPrompt: + + + + 145 + + + + value: shouldSendProfile + + + + + + value: shouldSendProfile + value + shouldSendProfile + + + + + 2 + + + 148 + + + + value: promptDescription + + + + + + value: promptDescription + value + promptDescription + 2 + + + 161 + + + + value: arrangedObjects.displayValue + + + + + + value: arrangedObjects.displayValue + value + arrangedObjects.displayValue + 2 + + + 173 + + + + value: arrangedObjects.displayKey + + + + + + value: arrangedObjects.displayKey + value + arrangedObjects.displayKey + 2 + + + 174 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Profile Info + + + 6 + + + + + + + + + + + + + + 13 + + + + + + + + 14 + + + + + + + + 32 + + + + + + + + 33 + + + + + + + + 34 + + + + + + + + 37 + + + + + + + + 71 + + + + + + + + 24 + + + Array Controller + + + 39 + + + + + + + MoreInfoView + + + 40 + + + + + + + + + + 41 + + + + + + + + + 42 + + + + + + + + 43 + + + + + 44 + + + + + + + + 45 + + + + + 46 + + + + + + + + 49 + + + User Defaults Controller + + + 176 + + + + + 177 + + + + + 178 + + + + + 179 + + + + + 180 + + + + + 181 + + + + + 182 + + + + + 183 + + + + + 184 + + + + + 185 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + + 185 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + {128, 128} + {15, 15} + + + diff --git a/el.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib b/el.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib new file mode 100644 index 0000000000000000000000000000000000000000..cdf7fa2c1952cb9365b46ebd9fdd937edd87e3b9 GIT binary patch literal 13660 zcmahv2Y6Fe+vl8n(lkk%+@#PXooTZ#P@7O%mQpAbicsiakD9ij4Wvy;TBdxQ2&jky zanBDKZbd{u5JZLw4irR15k(OYMUhVt5rO}`_a;z5{o5zWy=T6Aom1Nq3`AP<^Y{XbpN5Z9tpQR`fR7 ziQYqd&|dTfI*EQpr_mqiJi356q{KSh0XuOQ+#46;I$VzfcrtFr5j-E?j_<JqeQtX(j(5bII-G4ss`XkUT_|k>%uR z@(g*FY#9`cm#AR|>oWOPBI&)pP0W*=wbRTJwlJtWAr;u)3fvsdXD}{&(jO^q5>(ff+#rjl!7W0iUfsHk*Lrp zvX=^vHlxPzTfzr6MCTAu~!t=_mtbqAZk+EGP%% zA}g{XJ8~c=av?VoP$$&6hBua1^{uP(MpV12KW943Ppg1km+zbi`x(Hwb6fvkSK~WAs z#E`gh``FY_SX`$x)Z9AM*X(QXhv7|{C9e_10!v`;vEP}3ktpuO&agkCxHG?zon?va zWA;fDyBT7i?ggsnp=(e+pf2GeuE8kdYIsxCh!HLIzE=Nmf4C_C1TO3Pqe(damWz>>0lC84^I?-H3s0D7Wcs5cN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>K`LmVLoMDi+}R;V3{9F%))E>?ZpmwV$#gL+ zbio+jZh>7Ic^5gAt9A^*i6*A4zQI*U~ut@q+|s(F-e4^vef zA4PHWw`_aK5!SS$T|bP>gZ7+b>0bP-a=*&H z%EhXN70=V)O_|4)B^s916TXaAjwNPIF!D>w+^RJl>4aHAkE{GNPc@%rcwJpqbwA3( zt@cqAyv*W!i^`@;ToV^WfTO>vtCZo(`cC=4tGt0SV*CY;)IT=o0kQK!849}Bb6ZwZ ztz{9a(W|fQ)vGkV{#oa)Eup{Aw#8K^6-W4aP_|L%(JOh!U?F_UAV*^jRjFMxF6&rz z&Ydt&M@*!Ya1n^ng`#{sE7nZQ4mn74-K1AgXe!D6SSWYp6%Cw?a-8v4XzZi& zrLgTO__S#;m7?oSwbO14Q%$X2gb*+F8XN_S}()x>3<`yOoE77A8Yznrsk#iZ5zsWQ)XEj{~*yX?^D zecofaX?64}k?(zv@fbZm8;^Dg8i&&#!fKUEV8@}7kF-Yt<`Ne8v3S9WH{p8~4V&DSIK_jxjtpPh0^?~I&VZtcxeRJqli>PiWdkDsJ3Ui!`*I|+@E z3au8kpPj|4(%`|}O39kO38*q|l1KHu<=^GAy&(-r{0`*Z^ zs%mor_Aezm&t5Tmt1p(S!|`3bntc(`+&l}7@A2ooF7J4%pS28rrY{+(3#1N;`ah~= z^c`deWL0-clyT?d(TtqzJFaK7PDJVJh3Y5oTDc^C3Q)I8RcO)8veTO?Da9U@0;`*( zs&0_Ozfw@MLLcep=@d>ha31H4&WXO0k-i(W>ay4+{Hc@0!foUm@>~tNT>`V`!zrs? oYuwG4*Z5h(y)H+MB~U}!F23WSA^WamI#Wk+9oy?WQ-K_R10o_gY5)KL From 5ef6c645689bb3ed2dcf47b2adc47df9c7227b03 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Thu, 5 Jan 2012 18:44:26 -0800 Subject: [PATCH 02/18] Fixes #129: Still need the OpenSSL license? --- License.txt | 115 ---------------------------------------------------- 1 file changed, 115 deletions(-) diff --git a/License.txt b/License.txt index 978193f9..08364c63 100644 --- a/License.txt +++ b/License.txt @@ -10,121 +10,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI EXTERNAL LICENSES ================= -This project uses software developed by the OpenSSL Project for use in the OpenSSL -Toolkit (http://www.openssl.org). This toolkit is licensed as follows: -/* ==================================================================== -* Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modiÞcation, are permitted provided that the following conditions -* are met: -* -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* -* 3. All advertising materials mentioning features or use of this -* software must display the following acknowledgment: -* ÒThis product includes software developed by the OpenSSL Project -* for use in the OpenSSL Toolkit. (http://www.openssl.org/)Ó -* -* 4. The names ÒOpenSSL ToolkitÓ and ÒOpenSSL ProjectÓ must not be used to -* endorse or promote products derived from this software without -* prior written permission. For written permission, please contact -* openssl-core@openssl.org. -* -* 5. Products derived from this software may not be called ÒOpenSSLÓ -* nor may ÒOpenSSLÓ appear in their names without prior written -* permission of the OpenSSL Project. -* -* 6. Redistributions of any form whatsoever must retain the following - -* acknowledgment: -* ÒThis product includes software developed by the OpenSSL Project -* for use in the OpenSSL Toolkit (http://www.openssl.org/)Ó -* -* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS ISÕÕ AND ANY -* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR -* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -* OF THE POSSIBILITY OF SUCH DAMAGE. -* ==================================================================== -* -* This product includes cryptographic software written by Eric Young -* (eay@cryptsoft.com). This product includes software written by Tim -* Hudson (tjh@cryptsoft.com). -* -*/ - -Original SSLeay License -/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) -* All rights reserved. -* -* This package is an SSL implementation written -* by Eric Young (eay@cryptsoft.com). -* The implementation was written so as to conform with Netscapes SSL. -* -* This library is free for commercial and non-commercial use as long as -* the following conditions are aheared to. The following conditions -* apply to all code found in this distribution, be it the RC4, RSA, -* lhash, DES, etc., code; not just the SSL code. The SSL documentation -* included with this distribution is covered by the same copyright terms -* except that the holder is Tim Hudson (tjh@cryptsoft.com). -* -* Copyright remains Eric YoungÕs, and as such any Copyright notices in -* the code are not to be removed. -* If this package is used in a product, Eric Young should be given attribution -* as the author of the parts of the library used. -* This can be in the form of a textual message at program startup or -* in documentation (online or textual) provided with the package. -* -* Redistribution and use in source and binary forms, with or without -* modiÞcation, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the copyright -* notice, this list of conditions and the following disclaimer. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. All advertising materials mentioning features or use of this software -* must display the following acknowledgement: -* ÒThis product includes cryptographic software written by -* Eric Young (eay@cryptsoft.com)Ó -* The word ÔcryptographicÕ can be left out if the rouines from the library -* being used are not cryptographic related :-). -* 4. If you include any Windows speciÞc code (or a derivative thereof) from -* the apps directory (application code) you must include an acknowledgement: -* ÒThis product includes software written by Tim Hudson (tjh@cryptsoft.com)Ó -* -* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS ISÕÕ AND -* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -* SUCH DAMAGE. -* -* The licence and distribution terms for any publically available version or -* derivative of this code cannot be changed. i.e. this code cannot simply be -* copied and put under another distribution licence -* [including the GNU Public Licence.] -*/ - License for bspatch.c and bsdiff.c, from bsdiff 4.3 (: /*- * Copyright 2003-2005 Colin Percival From 760e32c5bdb3a2b50e0a3a4fecc66ef48cbdc431 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Wed, 11 Jan 2012 09:21:24 -0800 Subject: [PATCH 03/18] Added Slovenian localization courtesy Mojca Miklavec --- Sparkle.xcodeproj/project.pbxproj | 17 + sl.lproj/SUAutomaticUpdateAlert.xib | 548 +++++++++++++++ sl.lproj/SUUpdateAlert.xib | 790 +++++++++++++++++++++ sl.lproj/SUUpdatePermissionPrompt.xib | 947 ++++++++++++++++++++++++++ sl.lproj/Sparkle.strings | 95 +++ 5 files changed, 2397 insertions(+) create mode 100644 sl.lproj/SUAutomaticUpdateAlert.xib create mode 100644 sl.lproj/SUUpdateAlert.xib create mode 100644 sl.lproj/SUUpdatePermissionPrompt.xib create mode 100644 sl.lproj/Sparkle.strings diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 939cfb39..651028b9 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -122,6 +122,10 @@ 61B93B280DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B93B260DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m */; }; 61B93C090DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B93C070DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61B93C0A0DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B93C080DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m */; }; + 61BA66D614BDFA0400D02D86 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; + 61BA66DD14BDFC5600D02D86 /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; + 61BA66DE14BDFC5600D02D86 /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; + 61BA66DF14BDFC5600D02D86 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; 61BBDF820A49220C00378739 /* Sparkle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 61BBDF810A49220C00378739 /* Sparkle.icns */; }; 61C2680A0E2DB5D000175E6C /* License.txt in Resources */ = {isa = PBXBuildFile; fileRef = 61C268090E2DB5D000175E6C /* License.txt */; }; 61CFB3290E385186007A1735 /* Sparkle.pch in Headers */ = {isa = PBXBuildFile; fileRef = 61CFB3280E385186007A1735 /* Sparkle.pch */; }; @@ -362,6 +366,10 @@ 61B93B260DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUAutomaticUpdateDriver.m; sourceTree = ""; }; 61B93C070DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUScheduledUpdateDriver.h; sourceTree = ""; }; 61B93C080DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUScheduledUpdateDriver.m; sourceTree = ""; }; + 61BA66CC14BDFA0400D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sl; path = sl.lproj/Sparkle.strings; sourceTree = ""; }; + 61BA66DA14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; + 61BA66DB14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUUpdateAlert.xib; sourceTree = ""; }; + 61BA66DC14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 61BBDF810A49220C00378739 /* Sparkle.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Sparkle.icns; sourceTree = ""; }; 61C268090E2DB5D000175E6C /* License.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = License.txt; sourceTree = ""; }; 61CFB3280E385186007A1735 /* Sparkle.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Sparkle.pch; sourceTree = ""; }; @@ -919,6 +927,7 @@ pt_PT, pt, ro, + sl, ); mainGroup = 0867D691FE84028FC02AAC07 /* Sparkle */; productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; @@ -979,6 +988,10 @@ 61DEC1191477566800931268 /* SUUpdateAlert.xib in Resources */, 61DEC11B1477567800931268 /* SUAutomaticUpdateAlert.xib in Resources */, 61DEC11D1477568300931268 /* SUStatus.xib in Resources */, + 61BA66D614BDFA0400D02D86 /* Sparkle.strings in Resources */, + 61BA66DD14BDFC5600D02D86 /* SUUpdatePermissionPrompt.xib in Resources */, + 61BA66DE14BDFC5600D02D86 /* SUUpdateAlert.xib in Resources */, + 61BA66DF14BDFC5600D02D86 /* SUAutomaticUpdateAlert.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1195,6 +1208,7 @@ 6158A1BA1378F68100487EC1 /* pt_PT */, 6158A1BE1378F8BB00487EC1 /* tr */, 61DEC11C1477568300931268 /* ro */, + 61BA66DA14BDFC5500D02D86 /* sl */, ); name = SUAutomaticUpdateAlert.xib; sourceTree = ""; @@ -1223,6 +1237,7 @@ 6158A1BB1378F68100487EC1 /* pt_PT */, 6158A1BF1378F8BB00487EC1 /* tr */, 61DEC11A1477567800931268 /* ro */, + 61BA66DB14BDFC5500D02D86 /* sl */, ); name = SUUpdateAlert.xib; sourceTree = ""; @@ -1251,6 +1266,7 @@ 6158A1B81378F64700487EC1 /* pt_PT */, 6158A1C01378F8BB00487EC1 /* tr */, 61DEC1181477566800931268 /* ro */, + 61BA66DC14BDFC5500D02D86 /* sl */, ); name = SUUpdatePermissionPrompt.xib; sourceTree = ""; @@ -1277,6 +1293,7 @@ 6186554310D7484E00B1E074 /* pt_PT */, 6160FD85134ABCD5007FFC5F /* tr */, 61DEC1161477565C00931268 /* ro */, + 61BA66CC14BDFA0400D02D86 /* sl */, ); name = Sparkle.strings; sourceTree = ""; diff --git a/sl.lproj/SUAutomaticUpdateAlert.xib b/sl.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..3244ebdf --- /dev/null +++ b/sl.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,548 @@ + + + + 1050 + 11D39 + 1938 + 1138.30 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1938 + + + NSTextField + NSView + NSWindowTemplate + NSUserDefaultsController + NSTextFieldCell + NSImageCell + NSButtonCell + NSImageView + NSButton + NSCustomObject + + + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + + SUAutomaticUpdateAlert + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{114, 521}, {657, 152}} + 1886912512 + + + NSWindow + + + View + + + {511, 152} + + + 256 + + + + 268 + + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + {{23, 73}, {64, 64}} + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 268 + {{105, 120}, {389, 17}} + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 270 + {{105, 81}, {435, 31}} + + + YES + + 67239424 + 272629760 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 257 + {{415, 12}, {228, 32}} + + YES + + 67239424 + 134217728 + Namestitev in ponoven zagon + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{244, 12}, {171, 32}} + + + YES + + 67239424 + 134217728 + Namestitev in izhod + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 256 + {{102, 12}, {116, 32}} + + + YES + + 67239424 + 134217728 + Ne namesti + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 256 + {{105, 58}, {382, 18}} + + + YES + + 67239424 + 131072 + V prihodnje samodejno nameščaj posodobitve + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + {657, 152} + + + {{0, 0}, {1280, 778}} + {511, 174} + {10000000000000, 10000000000000} + YES + + + YES + + + + + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 10 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 14 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 19 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Window + + + 6 + + + + + + + + + + + + + + 7 + + + + + + + + 8 + + + + + + + + 9 + + + + + + + + 15 + + + + + + + + 16 + + + + + + + + 17 + + + + + + + + 30 + + + + + + + + 18 + + + Shared Defaults + + + 38 + + + + + 39 + + + + + 40 + + + + + 41 + + + + + 42 + + + + + 43 + + + + + 44 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 44 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + {128, 128} + {15, 15} + + + diff --git a/sl.lproj/SUUpdateAlert.xib b/sl.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..c47762fa --- /dev/null +++ b/sl.lproj/SUUpdateAlert.xib @@ -0,0 +1,790 @@ + + + + 1050 + 11D39 + 1938 + 1138.30 + 568.00 + + 1938 + 822 + + + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + PluginDependencyRecalculationVersion + + + + + SUUpdateAlert + + + FirstResponder + + + NSApplication + + + 15 + 2 + {{248, 468}, {586, 370}} + -260571136 + Posodabljanje programske opreme + NSWindow + + View + + + {586, 370} + + + 256 + + + + 268 + + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + {{24, 291}, {64, 64}} + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 264 + {{106, 338}, {443, 17}} + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 268 + {{106, 280}, {443, 14}} + + + YES + + 67239424 + 272629760 + Opombe ob izdaji: + + LucidaGrande-Bold + 11 + 3357 + + + + + + + + + 289 + {{256, 12}, {152, 32}} + + + YES + + 67239424 + 134217728 + Spomni me kasneje + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 288 + {{103, 12}, {149, 32}} + + + YES + + 67239424 + 134217728 + Preskoči to verzijo + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 289 + {{408, 12}, {164, 32}} + + YES + + -2080244224 + 134217728 + Namesti posodobitev + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 274 + + + + 274 + + + + 274 + + Apple HTML pasteboard type + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple URL pasteboard type + Apple Web Archive pasteboard type + NSColor pasteboard type + NSFilenamesPboardType + NSStringPboardType + NeXT RTFD pasteboard type + NeXT Rich Text Format v1.0 pasteboard type + NeXT TIFF v4.0 pasteboard type + WebURLsWithTitlesPboardType + public.png + public.url + public.url-name + + {{-1, 0}, {456, 197}} + + + + + + + + + + + + + NO + YES + + + {{1, 1}, {455, 197}} + + + + + {{109, 76}, {457, 199}} + + + {0, 0} + + 67239424 + 0 + + + LucidaGrande + 11 + 16 + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 3 + MCAwLjgwMDAwMDAxAA + + + + 1 + 3 + 0 + NO + + + + 266 + {{106, 302}, {463, 28}} + + + YES + + 67239424 + 4194304 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 256 + {{106, 50}, {442, 16}} + + + YES + + 67239424 + 131072 + V prihodnje samodejno nameščaj posodobitve + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + {586, 370} + + + {{0, 0}, {1280, 778}} + {586, 392} + {10000000000000, 10000000000000} + + YES + + + YES + + + + + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + delegate + + + + 50 + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 9 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 72 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 161 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 164 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 103 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 135 + + + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 141 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Update Alert (release notes) + + + 6 + + + + + + + + + + + + + + + + 7 + + + + + + + + 10 + + + + + + + + 17 + + + + + + + + 22 + + + + + + + + 23 + + + + + + + + 76 + + + + + + + + 89 + + + + + + + + 101 + + + + + + + + 117 + + + + + + + + 93 + + + Shared Defaults + + + 168 + + + + + 169 + + + + + 170 + + + + + 171 + + + + + 172 + + + + + 173 + + + + + 174 + + + + + 175 + + + + + 18 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 175 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + {128, 128} + {15, 15} + + + diff --git a/sl.lproj/SUUpdatePermissionPrompt.xib b/sl.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..7e81d019 --- /dev/null +++ b/sl.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,947 @@ + + + + 1050 + 11D39 + 1938 + 1138.30 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1938 + + + NSUserDefaultsController + NSScroller + NSArrayController + NSButton + NSScrollView + NSImageView + NSTextFieldCell + NSButtonCell + NSImageCell + NSTableView + NSCustomView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSTableColumn + + + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + + SUUpdatePermissionPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{83, 492}, {496, 168}} + 1886912512 + + + NSWindow + + + View + + + {213, 107} + + + 256 + + + + 257 + {{313, 12}, {169, 32}} + + 1 + YES + + -2080244224 + 134217728 + Samodejno preverjaj + + LucidaGrande + 13 + 1044 + + + 1 + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{196, 12}, {117, 32}} + + + YES + + 67239424 + 134217728 + Ne preverjaj + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 264 + {{104, 114}, {375, 34}} + + + YES + + 67239424 + 272629760 + Naj občasno preverjam, če so na voljo posodobitve? + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 266 + {{104, 81}, {315, 42}} + + + YES + + 67239424 + 272629760 + DO NOT LOCALIZE + + LucidaGrande + 11 + 3100 + + + + + + + + + 264 + {{104, 53}, {278, 18}} + + + YES + + -2080244224 + 163840 + Vključi anonimni profil sistema + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + + 264 + + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + {{23, 84}, {64, 64}} + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 1 + 0 + YES + + YES + + + + 265 + {{80, 50}, {27, 26}} + + + YES + + 67239424 + 134250496 + + + + -1194573569 + 133 + + + 200 + 25 + + + + {496, 168} + + + {{0, 0}, {1280, 778}} + {213, 129} + {10000000000000, 10000000000000} + YES + + + + visibleKey + visibleValue + displayValue + displayKey + + + YES + YES + YES + YES + YES + + + + 266 + + + + 274 + + + + 2304 + + + + 4352 + {353, 113} + + YES + + + 256 + {{346, 0}, {12, 17}} + + + + 128 + 40 + 1000 + + 75628096 + 2048 + + + + 3 + MC4zMzMzMzI5OQA + + + 6 + System + headerTextColor + + + + + 69336577 + 131072 + Text Cell + + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + + 3 + YES + + + + 219 + 40 + 1000 + + 75628096 + 2048 + + + + + + + 69336577 + 131072 + Text Cell + + + + + + 3 + YES + + + + 3 + 2 + + + 6 + System + gridColor + + 3 + MC41AA + + + 14 + -759169024 + + + 4 + 15 + 0 + NO + 0 + 1 + + + {{1, 1}, {353, 113}} + + + + + 6 + System + controlBackgroundColor + + + 4 + + + + -2147483392 + {{-22, 1}, {11, 125}} + + 256 + + _doScroller: + 0.78125 + + + + 256 + {{-100, -100}, {345, 11}} + + 257 + + _doScroller: + 0.99047619104385376 + + + {{4, 5}, {355, 115}} + + + 133650 + + + + AAAAAAAAAABBgAAAQYAAAA + + + + 266 + {{1, 128}, {358, 70}} + + YES + + 67239424 + 272629760 + QW5vbmltbmkgcHJvZmlsIHNpc3RlbWEgc2UgdXBvcmFibGphIHphIG5hxI1ydG92YW5qZSBuYWRhbGpu +ZWdhIHJhenZvamEgcHJvZ3JhbWEuIFYgcHJpbWVydSB2cHJhxaFhbmogbmFzIGxhaGtvIGtvbnRha3Rp +cmF0ZS4KClBvxaFsamVqbyBzZSBzbGVkZcSNZSBpbmZvcm1hY2lqZTo + + + + + + + + {362, 205} + NSView + NSResponder + + + + SUIncludeProfile + SUSendProfileInfo + + YES + + + + + + + window + + + + 126 + + + + moreInfoView + + + + 127 + + + + toggleMoreInfo: + + + + 131 + + + + moreInfoButton + + + + 132 + + + + descriptionTextField + + + + 133 + + + + finishPrompt: + + + + 144 + + + + finishPrompt: + + + + 145 + + + + contentArray: systemProfileInformationArray + + + + + + contentArray: systemProfileInformationArray + contentArray + systemProfileInformationArray + 2 + + + 25 + + + + value: promptDescription + + + + + + value: promptDescription + value + promptDescription + 2 + + + 161 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 143 + + + + value: shouldSendProfile + + + + + + value: shouldSendProfile + value + shouldSendProfile + + + + + 2 + + + 148 + + + + value: icon + + + + + + value: icon + value + icon + 2 + + + 130 + + + + value: arrangedObjects.displayKey + + + + + + value: arrangedObjects.displayKey + value + arrangedObjects.displayKey + 2 + + + 174 + + + + value: arrangedObjects.displayValue + + + + + + value: arrangedObjects.displayValue + value + arrangedObjects.displayValue + 2 + + + 173 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 139 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Profile Info + + + 6 + + + + + + + + + + + + + + 13 + + + + + + + + 14 + + + + + + + + 32 + + + + + + + + 33 + + + + + + + + 34 + + + + + + + + 37 + + + + + + + + 71 + + + + + + + + 24 + + + Array Controller + + + 39 + + + + + + + MoreInfoView + + + 40 + + + + + + + + + + 41 + + + + + + + + + 42 + + + + + + + + 43 + + + + + 44 + + + + + + + + 45 + + + + + 46 + + + + + + + + 49 + + + User Defaults Controller + + + 176 + + + + + 177 + + + + + 178 + + + + + 179 + + + + + 180 + + + + + 181 + + + + + 182 + + + + + 183 + + + + + 184 + + + + + 185 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 185 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + {128, 128} + {15, 15} + + + diff --git a/sl.lproj/Sparkle.strings b/sl.lproj/Sparkle.strings new file mode 100644 index 00000000..47081496 --- /dev/null +++ b/sl.lproj/Sparkle.strings @@ -0,0 +1,95 @@ +/* No comment provided by engineer. */ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ je bil uspešno prenešen s spleta in je pripravljen na namestitev. Ga želite namestiti in ponovno zagnati takoj?"; + +/* No comment provided by engineer. */ +"%1$@ can't be updated when it's running from a read-only volume like a disk image or an optical drive. Move %1$@ to your Applications folder, relaunch it from there, and try again." = "Programa %1$@ ni mogoče posodobiti, ker ga poganjate iz lokacije, kamor pisanje ni dovoljeno (pogosto je to slika diska dmg ali optična enota). Poskusite %1$@ premakniti v direktorij z aplikacijami (Applications), ga ponovno zagnati in šele nato posodobiti."; + +/* No comment provided by engineer. */ +"%@ %@ is currently the newest version available." = "%1$@ %2$@ je najnovejša verzija programa."; + +/* No comment provided by engineer. */ +"%@ %@ is now available--you have %@. Would you like to download it now?" = "Na voljo je %1$@ %2$@ — vi imate %3$@. Ga želite prenesti s spleta sedaj?"; + +/* No comment provided by engineer. */ +"%@ downloaded" = "prenešenih je %@"; + +/* No comment provided by engineer. */ +"%@ of %@" = "%1$@ od %2$@"; + +/* No comment provided by engineer. */ +"A new version of %@ is available!" = "Na voljo je nova verzija programa %@."; + +/* No comment provided by engineer. */ +"A new version of %@ is ready to install!" = "Najnovejša verzija programa %@ je že nameščena."; + +/* No comment provided by engineer. */ +"An error occurred in retrieving update information. Please try again later." = "Med iskanjem posodobitev je prišlo do napake. Prosimo poskusite ponovno čez nekaj časa."; + +/* No comment provided by engineer. */ +"An error occurred while downloading the update. Please try again later." = "Med prenašanje posodobitve s spleta je prišlo do napake. Prosimo poskusite ponovno čez nekaj časa."; + +/* No comment provided by engineer. */ +"An error occurred while extracting the archive. Please try again later." = "Med odpiranjem arhiva je prišlo do napake. Prosimo poskusite ponovno čez nekaj časa."; + +/* No comment provided by engineer. */ +"An error occurred while installing the update. Please try again later." = "Med nameščanjem posodobitve je prišlo do napake. Prosimo poskusite ponovno čez nekaj časa."; + +/* No comment provided by engineer. */ +"An error occurred while parsing the update feed." = "Napaka pri interpretaciji RSS vira s posodobitvami."; + +/* No comment provided by engineer. */ +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Med ponovnim zagonom programa %1$@ je sicer prišlo do napake, vendar bo nova verzija na voljo, ko boste naslednjič pognali program."; + +/* the unit for bytes */ +"B" = "B"; + +/* No comment provided by engineer. */ +"Cancel" = "Prekliči"; + +/* No comment provided by engineer. */ +"Cancel Update" = "Prekliči posodabljanje"; + +/* No comment provided by engineer. */ +"Checking for updates..." = "Iskanje posodobitev ..."; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Prenašanje posodobitve ..."; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Razpakiranje posodobitve ..."; + +/* the unit for gigabytes */ +"GB" = "GB"; + +/* No comment provided by engineer. */ +"Install and Relaunch" = "Namesti in ponovno zaženi"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Nameščanje posodobitve ..."; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +/* No comment provided by engineer. */ +"OK" = "V redu"; + +/* No comment provided by engineer. */ +"Ready to Install" = "Pripravljen na namestitev"; + +/* No comment provided by engineer. */ +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Naj %1$@ samodejno preverja, če so na voljo posodobitve? To lahko kadarkoli preverite tudi sami iz menija za %1$@."; + +/* No comment provided by engineer. */ +"Update Error!" = "Napaka pri posodabljanju"; + +/* No comment provided by engineer. */ +"Updating %@" = "Posodabljam %@"; + +/* No comment provided by engineer. */ +"You already have the newest version of %@." = "Najnovejša verzija programa %@ je že nameščena."; + +/* No comment provided by engineer. */ +"You're up-to-date!" = "Uporabljate zadnjo verzijo."; \ No newline at end of file From 73e96cdcab3326f8ec95bc84b7a9fc56561450b8 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Tue, 17 Jan 2012 21:51:29 -0800 Subject: [PATCH 04/18] Updating project for 4.2.1; changing SDK to 10.7 --- Configurations/ConfigCommon.xcconfig | 2 +- SUAppcast.m | 2 +- SUBasicUpdateDriver.m | 2 ++ Sparkle.xcodeproj/project.pbxproj | 18 +----------------- 4 files changed, 5 insertions(+), 19 deletions(-) diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index c85fc403..b8e19339 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -3,7 +3,7 @@ PREBINDING = NO ZERO_LINK = NO CURRENT_PROJECT_VERSION = 1.5 -SDKROOT = macosx10.6 +SDKROOT = macosx10.7 MACOSX_DEPLOYMENT_TARGET[arch=ppc] = 10.4 MACOSX_DEPLOYMENT_TARGET[arch=ppc64] = 10.5 MACOSX_DEPLOYMENT_TARGET[arch=i386] = 10.4 diff --git a/SUAppcast.m b/SUAppcast.m index b12ac78f..74bc709c 100644 --- a/SUAppcast.m +++ b/SUAppcast.m @@ -32,7 +32,7 @@ } @end -@interface SUAppcast (Private) +@interface SUAppcast () - (void)reportError:(NSError *)error; - (NSXMLNode *)bestNodeInNodes:(NSArray *)nodes; @end diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index 344dbf00..405a6fda 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -20,6 +20,8 @@ #import "SUBinaryDeltaCommon.h" #import "SUUpdater_Private.h" +@interface SUBasicUpdateDriver () ; @end + @implementation SUBasicUpdateDriver diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 651028b9..df27cfb5 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -122,18 +122,10 @@ 61B93B280DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B93B260DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m */; }; 61B93C090DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61B93C070DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61B93C0A0DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B93C080DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m */; }; - 61BA66D614BDFA0400D02D86 /* Sparkle.strings in Resources */ = {isa = PBXBuildFile; fileRef = 61AAE8220A321A7F00D8810D /* Sparkle.strings */; }; - 61BA66DD14BDFC5600D02D86 /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; - 61BA66DE14BDFC5600D02D86 /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; - 61BA66DF14BDFC5600D02D86 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; 61BBDF820A49220C00378739 /* Sparkle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 61BBDF810A49220C00378739 /* Sparkle.icns */; }; 61C2680A0E2DB5D000175E6C /* License.txt in Resources */ = {isa = PBXBuildFile; fileRef = 61C268090E2DB5D000175E6C /* License.txt */; }; 61CFB3290E385186007A1735 /* Sparkle.pch in Headers */ = {isa = PBXBuildFile; fileRef = 61CFB3280E385186007A1735 /* Sparkle.pch */; }; 61D85D6D0E10B2ED00F9B4A9 /* SUPipedUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 6129C0B90E0B79810062CE76 /* SUPipedUnarchiver.m */; }; - 61DEC1171477565C00931268 /* SUUpdatePermissionPrompt.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14C05136EF2C700649790 /* SUUpdatePermissionPrompt.xib */; }; - 61DEC1191477566800931268 /* SUUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BF0136EF26100649790 /* SUUpdateAlert.xib */; }; - 61DEC11B1477567800931268 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; - 61DEC11D1477568300931268 /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; 61EF67560E25B58D00F754E0 /* SUHost.m in Sources */ = {isa = PBXBuildFile; fileRef = 61EF67550E25B58D00F754E0 /* SUHost.m */; }; 61EF67590E25C5B400F754E0 /* SUHost.h in Headers */ = {isa = PBXBuildFile; fileRef = 61EF67580E25C5B400F754E0 /* SUHost.h */; }; 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; @@ -884,7 +876,7 @@ 0867D690FE84028FC02AAC07 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0410; + LastUpgradeCheck = 0420; }; buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "Sparkle" */; compatibilityVersion = "Xcode 3.2"; @@ -984,14 +976,6 @@ 55C14C04136EF26100649790 /* SUUpdateAlert.xib in Resources */, 55C14C19136EF2C700649790 /* SUUpdatePermissionPrompt.xib in Resources */, 55C14F3B136EFCB300649790 /* finish_installation.app in Resources */, - 61DEC1171477565C00931268 /* SUUpdatePermissionPrompt.xib in Resources */, - 61DEC1191477566800931268 /* SUUpdateAlert.xib in Resources */, - 61DEC11B1477567800931268 /* SUAutomaticUpdateAlert.xib in Resources */, - 61DEC11D1477568300931268 /* SUStatus.xib in Resources */, - 61BA66D614BDFA0400D02D86 /* Sparkle.strings in Resources */, - 61BA66DD14BDFC5600D02D86 /* SUUpdatePermissionPrompt.xib in Resources */, - 61BA66DE14BDFC5600D02D86 /* SUUpdateAlert.xib in Resources */, - 61BA66DF14BDFC5600D02D86 /* SUAutomaticUpdateAlert.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; From 1bc38343458469dc77d0dd28bebd99a4a7697d22 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Tue, 17 Jan 2012 22:39:49 -0800 Subject: [PATCH 05/18] Fixing feature that normalizes installed app names and disabling it by default. Fixes #133. --- SUConstants.h | 2 +- SUHost.m | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/SUConstants.h b/SUConstants.h index 4ef1ebb4..b1d46c26 100644 --- a/SUConstants.h +++ b/SUConstants.h @@ -24,7 +24,7 @@ // If your app file on disk is named "MyApp 1.1b4", Sparkle usually updates it // in place, giving you an app named 1.1b4 that is actually 1.2. Turn the // following on to always reset the name back to "MyApp": -#define NORMALIZE_INSTALLED_APP_NAME 1 +#define NORMALIZE_INSTALLED_APP_NAME 0 #define TRY_TO_APPEND_VERSION_NUMBER 1 diff --git a/SUHost.m b/SUHost.m index 4ecfa462..a73295fc 100644 --- a/SUHost.m +++ b/SUHost.m @@ -63,10 +63,12 @@ - (NSString *)installationPath { #if NORMALIZE_INSTALLED_APP_NAME - return [[[bundle bundlePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent: [NSString stringWithFormat: @"%@.%@", [bundle objectForInfoDictionaryKey:@"CFBundleName"], [[bundle bundlePath] pathExtension]]]; -#else - return [bundle bundlePath]; + // We'll install to "#{CFBundleName}.app", but only if that path doesn't already exist. If we're "Foo 4.2.app," and there's a "Foo.app" in this directory, we don't want to overwrite it! But if there's no "Foo.app," we'll take that name. + NSString *normalizedAppPath = [[[bundle bundlePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent: [NSString stringWithFormat: @"%@.%@", [bundle objectForInfoDictionaryKey:@"CFBundleName"], [[bundle bundlePath] pathExtension]]]; + if (![[NSFileManager defaultManager] fileExistsAtPath:[[[bundle bundlePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent: [NSString stringWithFormat: @"%@.%@", [bundle objectForInfoDictionaryKey:@"CFBundleName"], [[bundle bundlePath] pathExtension]]]]) + return normalizedAppPath; #endif + return [bundle bundlePath]; } - (NSString *)name From aca8cc6fbf49ece1dcd581929363770267d74fdb Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Fri, 27 Jan 2012 08:46:46 -0800 Subject: [PATCH 06/18] Renamed GC build configuration for clarity per #135 --- Sparkle.xcodeproj/project.pbxproj | 36 +++++++++---------- .../xcshareddata/xcschemes/Sparkle.xcscheme | 30 ++++++++++++++-- 2 files changed, 46 insertions(+), 20 deletions(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index df27cfb5..609f3a02 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -1373,7 +1373,7 @@ }; name = Release; }; - 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5-only) */ = { + 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */; buildSettings = { @@ -1391,7 +1391,7 @@ ); PRODUCT_NAME = finish_installation; }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; 5D06E8D20FD68C7D005AE3F6 /* Debug */ = { isa = XCBuildConfiguration; @@ -1407,39 +1407,39 @@ }; name = Release; }; - 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5-only) */ = { + 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = 5D06E8F30FD68D21005AE3F6 /* ConfigBinaryDeltaRelease.xcconfig */; buildSettings = { }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; - 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */ = { + 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; buildSettings = { }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; - 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */ = { + 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */; buildSettings = { }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; - 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */ = { + 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = 615409A8103BA09100125AF1 /* ConfigTestAppReleaseGCSupport.xcconfig */; buildSettings = { }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; - 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */ = { + 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = FA302AFD109D13190060F891 /* ConfigUnitTestReleaseGCSupport.xcconfig */; buildSettings = { }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; 612279DB0DB5470300AB99EA /* Debug */ = { isa = XCBuildConfiguration; @@ -1477,7 +1477,7 @@ buildConfigurations = ( 1DEB91AE08733DA50010E9CD /* Debug */, 1DEB91AF08733DA50010E9CD /* Release */, - 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */, + 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1487,7 +1487,7 @@ buildConfigurations = ( 1DEB91B208733DA50010E9CD /* Debug */, 1DEB91B308733DA50010E9CD /* Release */, - 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */, + 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1497,7 +1497,7 @@ buildConfigurations = ( 55C14BBB136EEF1500649790 /* Debug */, 55C14BBC136EEF1500649790 /* Release */, - 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5-only) */, + 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1507,7 +1507,7 @@ buildConfigurations = ( 5D06E8D20FD68C7D005AE3F6 /* Debug */, 5D06E8D30FD68C7D005AE3F6 /* Release */, - 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5-only) */, + 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1517,7 +1517,7 @@ buildConfigurations = ( 612279DB0DB5470300AB99EA /* Debug */, 612279DC0DB5470300AB99EA /* Release */, - 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */, + 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1527,7 +1527,7 @@ buildConfigurations = ( 61B5F90609C4CEE300B25A18 /* Debug */, 61B5F90709C4CEE300B25A18 /* Release */, - 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */, + 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme index dc9bd945..f81adc7d 100644 --- a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme +++ b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme @@ -33,6 +33,20 @@ ReferencedContainer = "container:Sparkle.xcodeproj"> + + + + + + + + + ignoresPersistentStateOnLaunch = "YES" + debugDocumentVersioning = "YES" + allowLocationSimulation = "YES"> + ignoresPersistentStateOnLaunch = "YES" + debugDocumentVersioning = "YES"> From 515511d5e915b70ecdf7ded260116d109e724d9f Mon Sep 17 00:00:00 2001 From: Kent Sutherland Date: Wed, 1 Feb 2012 13:27:46 -0500 Subject: [PATCH 07/18] Adjusted initial window position of SUUpdateAlert for Romanian/Slovenian so Xcode doesn't show warnings. --- ro.lproj/SUUpdateAlert.xib | 2 +- sl.lproj/SUUpdateAlert.xib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ro.lproj/SUUpdateAlert.xib b/ro.lproj/SUUpdateAlert.xib index d27c5156..e40b0f1a 100644 --- a/ro.lproj/SUUpdateAlert.xib +++ b/ro.lproj/SUUpdateAlert.xib @@ -60,7 +60,7 @@ 15 2 - {{248, 468}, {612, 371}} + {{248, 400}, {612, 371}} -260571136 Software Update NSWindow diff --git a/sl.lproj/SUUpdateAlert.xib b/sl.lproj/SUUpdateAlert.xib index c47762fa..1fa30eea 100644 --- a/sl.lproj/SUUpdateAlert.xib +++ b/sl.lproj/SUUpdateAlert.xib @@ -45,7 +45,7 @@ 15 2 - {{248, 468}, {586, 370}} + {{248, 400}, {586, 370}} -260571136 Posodabljanje programske opreme NSWindow From 8b4cf14e531700db12d88f23547b458ad7809e81 Mon Sep 17 00:00:00 2001 From: Kent Sutherland Date: Wed, 1 Feb 2012 13:29:25 -0500 Subject: [PATCH 08/18] Explicitly set the file encoding of Romanian Sparkle.strings to stop Xcode warning. --- Sparkle.xcodeproj/project.pbxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 609f3a02..3981b77e 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -365,7 +365,7 @@ 61BBDF810A49220C00378739 /* Sparkle.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Sparkle.icns; sourceTree = ""; }; 61C268090E2DB5D000175E6C /* License.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = License.txt; sourceTree = ""; }; 61CFB3280E385186007A1735 /* Sparkle.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Sparkle.pch; sourceTree = ""; }; - 61DEC1161477565C00931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/Sparkle.strings; sourceTree = ""; }; + 61DEC1161477565C00931268 /* ro */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/Sparkle.strings; sourceTree = ""; }; 61DEC1181477566800931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 61DEC11A1477567800931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 61DEC11C1477568300931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; From bf07a9435beed02c607081524e646996ecf69c0c Mon Sep 17 00:00:00 2001 From: Matt Stevens Date: Mon, 6 Feb 2012 22:16:25 -0700 Subject: [PATCH 09/18] Pass both host and executable paths to finish_installation This fixes pathToRelaunchForUpdater by supporting an executable path other than the host bundle path. --- SUBasicUpdateDriver.m | 2 +- finish_installation.m | 21 ++++++++++++--------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index 405a6fda..340e7f09 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -323,7 +323,7 @@ if ([[updater delegate] respondsToSelector:@selector(pathToRelaunchForUpdater:)]) pathToRelaunch = [[updater delegate] pathToRelaunchForUpdater:updater]; NSString *relaunchToolPath = [relaunchPath stringByAppendingPathComponent: @"/Contents/MacOS/finish_installation"]; - [NSTask launchedTaskWithLaunchPath: relaunchToolPath arguments:[NSArray arrayWithObjects:pathToRelaunch, [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], tempDir, relaunch ? @"1" : @"0", nil]]; + [NSTask launchedTaskWithLaunchPath: relaunchToolPath arguments:[NSArray arrayWithObjects:[host bundlePath], pathToRelaunch, [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], tempDir, relaunch ? @"1" : @"0", nil]]; [NSApp terminate:self]; } diff --git a/finish_installation.m b/finish_installation.m index fbae37f7..87cb691f 100644 --- a/finish_installation.m +++ b/finish_installation.m @@ -14,6 +14,7 @@ @interface TerminationListener : NSObject { + const char *hostpath; const char *executablepath; pid_t parentprocessid; const char *folderpath; @@ -36,12 +37,13 @@ @implementation TerminationListener -- (id) initWithExecutablePath:(const char *)execpath parentProcessId:(pid_t)ppid folderPath: (const char*)infolderpath shouldRelaunch:(BOOL)relaunch +- (id) initWithHostPath:(const char *)inhostpath executablePath:(const char *)execpath parentProcessId:(pid_t)ppid folderPath: (const char*)infolderpath shouldRelaunch:(BOOL)relaunch selfPath: (NSString*)inSelfPath { if( !(self = [super init]) ) return nil; + hostpath = inhostpath; executablepath = execpath; parentprocessid = ppid; folderpath = infolderpath; @@ -110,7 +112,7 @@ if (shouldRelaunch) { NSString *appPath = nil; - if( !folderpath ) + if( !folderpath || strcmp(executablepath, hostpath) != 0 ) appPath = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:executablepath length:strlen(executablepath)]; else appPath = [host installationPath]; @@ -134,7 +136,7 @@ - (void) install { - NSBundle *theBundle = [NSBundle bundleWithPath: [[NSFileManager defaultManager] stringWithFileSystemRepresentation: executablepath length:strlen(executablepath)]]; + NSBundle *theBundle = [NSBundle bundleWithPath: [[NSFileManager defaultManager] stringWithFileSystemRepresentation: hostpath length:strlen(hostpath)]]; host = [[SUHost alloc] initWithBundle: theBundle]; // Perhaps a poor assumption but: if we're not relaunching, we assume we shouldn't be showing any UI either. Because non-relaunching installations are kicked off without any user interaction, we shouldn't be interrupting them. @@ -169,7 +171,7 @@ int main (int argc, const char * argv[]) { - if( argc < 4 || argc > 5 ) + if( argc < 5 || argc > 6 ) return EXIT_FAILURE; NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; @@ -192,11 +194,12 @@ int main (int argc, const char * argv[]) #endif [NSApplication sharedApplication]; - [[[TerminationListener alloc] initWithExecutablePath: (argc > 1) ? argv[1] : NULL - parentProcessId: (argc > 2) ? atoi(argv[2]) : 0 - folderPath: (argc > 3) ? argv[3] : NULL - shouldRelaunch: (argc > 4) ? atoi(argv[4]) : 1 - selfPath: selfPath] autorelease]; + [[[TerminationListener alloc] initWithHostPath: (argc > 1) ? argv[1] : NULL + executablePath: (argc > 2) ? argv[2] : NULL + parentProcessId: (argc > 3) ? atoi(argv[3]) : 0 + folderPath: (argc > 4) ? argv[4] : NULL + shouldRelaunch: (argc > 5) ? atoi(argv[5]) : 1 + selfPath: selfPath] autorelease]; [[NSApplication sharedApplication] run]; [pool drain]; From 88d4b348d9dec96c1f891a7951e2012ed9be2114 Mon Sep 17 00:00:00 2001 From: Koichi MATSUMOTO Date: Wed, 8 Feb 2012 15:37:30 +0900 Subject: [PATCH 10/18] Improved Japanese translations Improved some strange translations in Japanese --- ja.lproj/SUAutomaticUpdateAlert.strings | Bin 1082 -> 1086 bytes ja.lproj/SUAutomaticUpdateAlert.xib | 139 ++- ja.lproj/SUUpdateAlert.strings | Bin 1520 -> 1516 bytes ja.lproj/SUUpdateAlert.xib | 1266 ++++----------------- ja.lproj/SUUpdatePermissionPrompt.strings | Bin 2750 -> 2698 bytes ja.lproj/SUUpdatePermissionPrompt.xib | 261 ++--- ja.lproj/Sparkle.strings | Bin 7482 -> 7518 bytes 7 files changed, 392 insertions(+), 1274 deletions(-) diff --git a/ja.lproj/SUAutomaticUpdateAlert.strings b/ja.lproj/SUAutomaticUpdateAlert.strings index dbe4b9589abdc82d4ec842a07c5e2cb6fd71c3c2..38beb7cea14868ce8522631625205ed8a4ef03e5 100644 GIT binary patch delta 162 zcmdnRv5$l4|G&v+8NDX@c8W7BG5Bn-)8K@`AA{Eh;Rb02y@BPuSA! 1050 - 11A453 - 1553 - 1120 - 556.00 + 11D50 + 1938 + 1138.32 + 568.00 com.apple.InterfaceBuilder.CocoaPlugin - 1553 + 1938 YES @@ -28,11 +28,8 @@ com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - - + PluginDependencyRecalculationVersion + YES @@ -81,6 +78,7 @@ {{23, 73}, {64, 64}} + YES 130560 @@ -101,6 +99,7 @@ 270 {{105, 120}, {557, 17}} + YES 67239424 @@ -137,12 +136,13 @@ 270 {{105, 81}, {557, 31}} + YES 67239424 272629760 - + LucidaGrande 11 3100 @@ -157,6 +157,7 @@ 257 {{481, 12}, {183, 32}} + YES 67239424 @@ -182,12 +183,17 @@ 257 {{311, 12}, {170, 32}} + YES 67239424 134217728 - 終了次第インストール - + 終了してインストール + + AquaKana + 13 + 16 + -2038284033 1 @@ -203,6 +209,7 @@ 256 {{102, 12}, {157, 32}} + YES 67239424 @@ -226,12 +233,17 @@ 256 {{105, 58}, {619, 18}} + YES 67239424 131072 - 今後のアップデートを自動的にダウンロード/インストール - + 今後はアップデートのダウンロードとインストールを自動で行う + + AquaKana + 11 + 16 + 1211912703 2 @@ -251,8 +263,9 @@ {678, 152} + - {{0, 0}, {1920, 1178}} + {{0, 0}, {2560, 1418}} {511, 174} {10000000000000, 10000000000000} YES @@ -264,6 +277,38 @@ YES + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + value: applicationIcon @@ -328,45 +373,15 @@ 19 - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - YES 0 - + + YES + @@ -526,17 +541,11 @@ -1.IBPluginDependency -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 15.IBPluginDependency - 15.ImportedFromIB2 16.IBPluginDependency - 16.ImportedFromIB2 17.IBPluginDependency - 17.ImportedFromIB2 18.IBPluginDependency - 18.ImportedFromIB2 30.IBPluginDependency - 30.ImportedFromIB2 38.IBPluginDependency 39.IBPluginDependency 40.IBPluginDependency @@ -544,35 +553,24 @@ 42.IBPluginDependency 43.IBPluginDependency 44.IBPluginDependency - 5.IBEditorWindowLastContentRect 5.IBPluginDependency 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 6.IBPluginDependency - 6.ImportedFromIB2 7.IBPluginDependency - 7.ImportedFromIB2 8.IBPluginDependency - 8.ImportedFromIB2 9.IBPluginDependency - 9.ImportedFromIB2 YES com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -582,16 +580,9 @@ com.apple.InterfaceBuilder.CocoaPlugin {{312, 947}, {743, 152}} com.apple.InterfaceBuilder.CocoaPlugin - {{312, 947}, {743, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - diff --git a/ja.lproj/SUUpdateAlert.strings b/ja.lproj/SUUpdateAlert.strings index d7576008ae7091cc5403c34ce576513289924ee8..2b4826be8882b38a38d22e4f1bf094e2ceb8af56 100644 GIT binary patch delta 104 zcmeys{f2wPDn=$NhRJIf&#*{Mcv=o*1Wdld)W?}`u+w0z!C`~z6ECW6p1`cdWR-8Q z2*fuyZt%z8gh8Ic0fS`*pAFsuc_$4r43+@dJAvYV3|<>dGI-T^H7MP{r^C%aiNTry E02J*kDgXcg delta 96 zcmaFE{egSKDn=%$|C84+p5d-Dh&Omz-f0kR&^_6aC2;Z?ras0=o1>Y-nauJG78x8i zxNdOV;E%xxgGmOj8m|Vmlw}(nFj!{r+2Acu^rQj*|0O{7PN4iBgVzR14Au+)w6`f% diff --git a/ja.lproj/SUUpdateAlert.xib b/ja.lproj/SUUpdateAlert.xib index a5428980..043c2bb4 100644 --- a/ja.lproj/SUUpdateAlert.xib +++ b/ja.lproj/SUUpdateAlert.xib @@ -2,10 +2,10 @@ 1050 - 10J567 - 823 - 1038.35 - 462.00 + 11D50 + 1938 + 1138.32 + 568.00 YES @@ -15,12 +15,24 @@ YES - 823 - 823 + 1938 + 822 - + YES + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController YES @@ -52,10 +64,10 @@ View - {1.79769e+308, 1.79769e+308} + {575, 370} - + 256 YES @@ -76,6 +88,7 @@ {{24, 291}, {64, 64}} + YES 130560 @@ -96,6 +109,7 @@ 266 {{106, 338}, {452, 17}} + YES 67239424 @@ -130,17 +144,18 @@ 268 - {{106, 280}, {452, 14}} + {{106, 277}, {452, 17}} + YES 67239424 272629760 - リリースノート: + リリースノート: - LucidaGrande-Bold + AquaKana-Bold 11 - 3357 + 16 @@ -150,22 +165,27 @@ 289 - {{280, 12}, {146, 32}} + {{273, 12}, {92, 32}} + YES 67239424 134217728 - 後でまた知らせる - - LucidaGrande + 後で通知 + + AquaKana 13 - 1044 + 16 -2038284033 1 - + + LucidaGrande + 13 + 1044 + Gw 200 @@ -175,14 +195,15 @@ 288 - {{103, 12}, {165, 32}} + {{72, 12}, {196, 32}} + YES 67239424 134217728 - このバージョンをスキップ - + このバージョンはスキップ + -2038284033 1 @@ -198,8 +219,9 @@ 289 - {{426, 12}, {135, 32}} + {{365, 12}, {196, 32}} + YES -2080244224 @@ -223,7 +245,7 @@ YES - 256 + 274 YES @@ -252,6 +274,7 @@ {{-2, -1}, {445, 199}} + @@ -279,10 +302,12 @@ {{1, 1}, {443, 197}} + {{110, 76}, {445, 199}} + {0, 0} 67239424 @@ -318,12 +343,13 @@ 266 {{106, 302}, {452, 28}} + YES 67239424 4194304 - + LucidaGrande 11 3100 @@ -338,12 +364,17 @@ 290 {{106, 50}, {451, 18}} + YES 67239424 131072 - 今後のアップデートを自動的にダウンロード/インストール - + 今後はアップデートのダウンロードとインストールを自動で行う + + AquaKana + 11 + 16 + 1211912703 2 @@ -362,11 +393,14 @@ {575, 370} + + - {{0, 0}, {1920, 1178}} + {{0, 0}, {2560, 1418}} {575, 392} - {1.79769e+308, 1.79769e+308} + {10000000000000, 10000000000000} + YES YES @@ -375,6 +409,86 @@ YES + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + installButton + + + + 176 + + + + laterButton + + + + 177 + + + + skipButton + + + + 178 + + + + delegate + + + + 50 + value: applicationIcon @@ -407,46 +521,6 @@ 11 - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - hidden: showsReleaseNotes @@ -467,74 +541,6 @@ 72 - - - installUpdate: - - - - 77 - - - - value: descriptionText - - - - - - value: descriptionText - value - descriptionText - 2 - - - 103 - - - - description - - - - 105 - - - - value: values.SUAutomaticallyUpdate - - - - - - value: values.SUAutomaticallyUpdate - value - values.SUAutomaticallyUpdate - 2 - - - 135 - - - - hidden: allowsAutomaticUpdates - - - - - - hidden: allowsAutomaticUpdates - hidden - allowsAutomaticUpdates - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 141 - hidden: showsReleaseNotes @@ -576,28 +582,56 @@ 164 - - installButton - - + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + - 176 + 103 - - laterButton - - + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + - 177 + 135 - - skipButton - - + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + - 178 + 141 @@ -650,9 +684,9 @@ - + @@ -794,19 +828,15 @@ YES YES + -1.IBPluginDependency + -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 10.IBPluginDependency - 10.ImportedFromIB2 101.IBPluginDependency - 101.IBViewBoundsToFrameTransform - 101.ImportedFromIB2 117.IBPluginDependency - 117.ImportedFromIB2 168.IBPluginDependency 169.IBPluginDependency 17.IBPluginDependency - 17.ImportedFromIB2 170.IBPluginDependency 171.IBPluginDependency 172.IBPluginDependency @@ -814,47 +844,27 @@ 174.IBPluginDependency 175.IBPluginDependency 18.IBPluginDependency - 18.ImportedFromIB2 22.IBPluginDependency - 22.ImportedFromIB2 23.IBPluginDependency - 23.ImportedFromIB2 - 5.IBEditorWindowLastContentRect 5.IBPluginDependency - 5.IBViewEditorWindowController.showingLayoutRectangles 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 5.windowTemplate.hasMinSize - 5.windowTemplate.maxSize - 5.windowTemplate.minSize 6.IBPluginDependency - 6.ImportedFromIB2 7.IBPluginDependency - 7.ImportedFromIB2 76.IBPluginDependency - 76.ImportedFromIB2 89.IBPluginDependency - 89.ImportedFromIB2 93.IBPluginDependency - 93.ImportedFromIB2 YES com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABC1AAAw6QAAA - - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -862,45 +872,27 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin {{643, 222}, {575, 370}} com.apple.InterfaceBuilder.CocoaPlugin - - {{643, 222}, {575, 370}} - - - {1.79769e+308, 1.79769e+308} - {575, 370} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - + YES - - YES - + 178 @@ -908,209 +900,6 @@ YES - - FirstResponder - NSObject - - IBUserSource - - - - - NSApplication - NSResponder - - IBUserSource - - - - - NSObject - - IBProjectSource - SUAppcast.h - - - - NSObject - - IBProjectSource - SUAutomaticUpdateAlert.h - - - - NSObject - - IBProjectSource - SUInstaller.h - - - - NSObject - - IBProjectSource - SUUnarchiver.h - - - - NSObject - - IBProjectSource - SUUpdateAlert.h - - - - NSObject - - IBProjectSource - SUUpdatePermissionPrompt.h - - - - NSObject - - IBProjectSource - SUUpdater.h - - - - NSObject - - IBUserSource - - - - - SUUpdateAlert - SUWindowController - - YES - - YES - installUpdate: - remindMeLater: - skipThisVersion: - - - YES - id - id - id - - - - YES - - YES - installUpdate: - remindMeLater: - skipThisVersion: - - - YES - - installUpdate: - id - - - remindMeLater: - id - - - skipThisVersion: - id - - - - - YES - - YES - delegate - description - installButton - releaseNotesView - versionDisplayer - - - YES - id - NSTextField - NSButton - WebView - id - - - - YES - - YES - delegate - description - installButton - releaseNotesView - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - releaseNotesView - WebView - - - versionDisplayer - id - - - - - - - SUUpdateAlert - SUWindowController - - IBUserSource - - - - - SUWindowController - NSWindowController - - IBProjectSource - SUWindowController.h - - - - SUWindowController - NSWindowController - - IBUserSource - - - - - - YES - - NSObject - - IBDocumentRelativeSource - ../SUUpdateAlert.h - - SUUpdateAlert SUWindowController @@ -1220,663 +1009,35 @@ - - - - - YES - - NSActionCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSActionCell.h - - - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSUserInterfaceItemSearching.h - - - - NSBox - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSBox.h - - - - NSButton - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSButton.h - - - - NSButtonCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSButtonCell.h - - - - NSCell - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSCell.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSController - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSController.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSImageCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSImageCell.h - - - - NSImageView - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSImageView.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebDownload.h - - - - NSObject - IBFrameworkSource - WebKit.framework/Headers/WebEditingDelegate.h + IBProjectSource + ./Classes/SUUpdateAlert.h - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebFrameLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebJavaPlugIn.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPlugin.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPluginContainer.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPolicyDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebResourceLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebScriptObject.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebUIDelegate.h - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSTextField - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSTextField.h - - - - NSTextFieldCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSTextFieldCell.h - - - - NSUserDefaultsController - NSController - - IBFrameworkSource - AppKit.framework/Headers/NSUserDefaultsController.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSWindow - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - NSWindowController - NSResponder - - showWindow: - id - - - showWindow: - - showWindow: - id - - + SUWindowController + NSWindowController - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.h + IBProjectSource + ./Classes/SUWindowController.h WebView - NSView - YES - - YES - goBack: - goForward: - makeTextLarger: - makeTextSmaller: - makeTextStandardSize: - reload: - reloadFromOrigin: - stopLoading: - takeStringURLFrom: - toggleContinuousSpellChecking: - toggleSmartInsertDelete: - - - YES - id - id - id - id - id - id - id - id - id - id - id - + reloadFromOrigin: + id - YES - - YES - goBack: - goForward: - makeTextLarger: - makeTextSmaller: - makeTextStandardSize: - reload: - reloadFromOrigin: - stopLoading: - takeStringURLFrom: - toggleContinuousSpellChecking: - toggleSmartInsertDelete: - - - YES - - goBack: - id - - - goForward: - id - - - makeTextLarger: - id - - - makeTextSmaller: - id - - - makeTextStandardSize: - id - - - reload: - id - - - reloadFromOrigin: - id - - - stopLoading: - id - - - takeStringURLFrom: - id - - - toggleContinuousSpellChecking: - id - - - toggleSmartInsertDelete: - id - + reloadFromOrigin: + + reloadFromOrigin: + id - IBFrameworkSource - WebKit.framework/Headers/WebView.h + IBProjectSource + ./Classes/WebView.h @@ -1887,16 +1048,11 @@ com.apple.InterfaceBuilder.CocoaPlugin.macosx - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 YES - ../Sparkle.xcodeproj 3 YES diff --git a/ja.lproj/SUUpdatePermissionPrompt.strings b/ja.lproj/SUUpdatePermissionPrompt.strings index c6d2a34137098f3060977d9e4217058a6e007b88..32be6c6d92d3d0ccd0d09560c256d40be5e2438f 100644 GIT binary patch delta 229 zcmdld+9kRng^4ZQU{^(N*W?1G9V{TmW&>skM&(5YhYhY995?u5aKd1c!K=orK@er3 z2GIs}29XBd2KEyVhHpN`vVoENXo6wHBm?b`MuYCj`7Gg^@3C1i*MkJ}4Hykh`Srx- z8FWvrD!Xp*(%`c}wn1h5>8doaAxs9r26+bG{IU&F3|tJ-3|{s4hx!;e8T1$w0Ci>> zOg6{@s>m=%H)t|Yo{(4@4phVK7YbC%WDvuU#{j}l{kZ*n3>YUo^bZB<>ox${n{E)v MZeYcr#9++;0F@+BApigX delta 303 zcmeAY-6y&sg^8!7EZg9q!E%Gc2I~zb`>_U0-o=!`2NMW4$TDyN39C#FV1B3Zs_|+N zNc|$9>gxu_4gMIMFqj0_9d1x(5NY6Tzy#JXQNd{Q4wem!Le~x68eBD4Xt2cKHBhm3 zNCRB@6q^-uJ+k!C1jC4Y14e^Wem(JmNj?U4m3an?{??`4Q>)4*8E|x2mqr?N8*urh z8ypH|ZpbzWHHbDy13EC?Ai=;FY&(-dutA=|H$R{or-lRNLJVH@_=ox!I2rU96aY;Q zF;Je6Sj+7f3e?495W|qC&HyABp89e7;M1& diff --git a/ja.lproj/SUUpdatePermissionPrompt.xib b/ja.lproj/SUUpdatePermissionPrompt.xib index 91c4a46b..9eebb2e9 100644 --- a/ja.lproj/SUUpdatePermissionPrompt.xib +++ b/ja.lproj/SUUpdatePermissionPrompt.xib @@ -2,13 +2,13 @@ 1050 - 11A453 - 1553 - 1120 - 556.00 + 11D50 + 1938 + 1138.32 + 568.00 com.apple.InterfaceBuilder.CocoaPlugin - 1553 + 1938 YES @@ -34,11 +34,8 @@ com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - - + PluginDependencyRecalculationVersion + YES @@ -73,24 +70,29 @@ 257 - {{280, 12}, {144, 32}} + {{300, 12}, {105, 32}} + 1 YES -2080244224 134217728 - 自動的にチェック - - LucidaGrande + 自動で確認 + + AquaKana 13 - 1044 + 16 1 -2038284033 1 - + + LucidaGrande + 13 + 1044 + DQ 200 @@ -100,14 +102,15 @@ 257 - {{149, 12}, {131, 32}} + {{162, 12}, {105, 32}} + YES 67239424 134217728 - チェックしない - + 確認しない + -2038284033 1 @@ -123,15 +126,16 @@ 264 {{104, 114}, {289, 34}} + YES 67239424 272629760 - 自動的にアップデートをチェックしますか。 + アップデートを自動で確認させますか? - LucidaGrande-Bold + AquaKana-Bold 13 - 2072 + 16 @@ -159,6 +163,7 @@ 266 {{104, 81}, {315, 42}} + YES 67239424 @@ -179,12 +184,17 @@ 264 {{104, 53}, {278, 18}} + YES -2080244224 163840 - 匿名のシステムプロファイルを含む - + 匿名のシステム情報を含める + + AquaKana + 11 + 16 + 1211912703 2 @@ -218,6 +228,7 @@ {{23, 84}, {64, 64}} + YES 130560 @@ -238,6 +249,7 @@ 268 {{80, 50}, {27, 26}} + YES 67239424 @@ -256,8 +268,9 @@ {438, 168} + - {{0, 0}, {1440, 878}} + {{0, 0}, {2560, 1418}} {213, 129} {10000000000000, 10000000000000} YES @@ -475,22 +488,6 @@ gY/jgaDjgZXjgYTvvJo YES - - - contentArray: systemProfileInformationArray - - - - - - contentArray: systemProfileInformationArray - contentArray - systemProfileInformationArray - 2 - - - 25 - window @@ -507,22 +504,6 @@ gY/jgaDjgZXjgYTvvJo 127 - - - value: icon - - - - - - value: icon - value - icon - 2 - - - 130 - toggleMoreInfo: @@ -547,25 +528,53 @@ gY/jgaDjgZXjgYTvvJo 133 + + + finishPrompt: + + + + 144 + + + + finishPrompt: + + + + 145 + - hidden: shouldAskAboutProfile - + contentArray: systemProfileInformationArray + - + - hidden: shouldAskAboutProfile - hidden - shouldAskAboutProfile - - NSValueTransformerName - NSNegateBoolean - + contentArray: systemProfileInformationArray + contentArray + systemProfileInformationArray 2 - 139 + 25 + + + + value: promptDescription + + + + + + value: promptDescription + value + promptDescription + 2 + + + 161 @@ -587,22 +596,6 @@ gY/jgaDjgZXjgYTvvJo 143 - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - value: shouldSendProfile @@ -634,19 +627,35 @@ gY/jgaDjgZXjgYTvvJo - value: promptDescription - + value: icon + - + - value: promptDescription + value: icon value - promptDescription + icon 2 - 161 + 130 + + + + value: arrangedObjects.displayKey + + + + + + value: arrangedObjects.displayKey + value + arrangedObjects.displayKey + 2 + + + 174 @@ -666,19 +675,23 @@ gY/jgaDjgZXjgYTvvJo - value: arrangedObjects.displayKey - - + hidden: shouldAskAboutProfile + + - - - value: arrangedObjects.displayKey - value - arrangedObjects.displayKey + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + 2 - 174 + 139 @@ -686,7 +699,9 @@ gY/jgaDjgZXjgYTvvJo YES 0 - + + YES + @@ -936,11 +951,8 @@ gY/jgaDjgZXjgYTvvJo -1.IBPluginDependency -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 13.IBPluginDependency - 13.ImportedFromIB2 14.IBPluginDependency - 14.ImportedFromIB2 176.IBPluginDependency 177.IBPluginDependency 178.IBPluginDependency @@ -954,53 +966,31 @@ gY/jgaDjgZXjgYTvvJo 185.IBPluginDependency 185.IBShouldRemoveOnLegacySave 24.IBPluginDependency - 24.ImportedFromIB2 32.IBPluginDependency - 32.ImportedFromIB2 33.IBPluginDependency - 33.ImportedFromIB2 34.IBPluginDependency - 34.ImportedFromIB2 37.IBPluginDependency - 37.ImportedFromIB2 - 39.IBEditorWindowLastContentRect 39.IBPluginDependency - 39.ImportedFromIB2 40.IBPluginDependency - 40.ImportedFromIB2 41.IBPluginDependency - 41.ImportedFromIB2 42.IBPluginDependency - 42.ImportedFromIB2 43.IBPluginDependency - 43.ImportedFromIB2 44.IBPluginDependency - 44.ImportedFromIB2 45.IBPluginDependency - 45.ImportedFromIB2 46.IBPluginDependency - 46.ImportedFromIB2 49.IBPluginDependency - 49.ImportedFromIB2 - 5.IBEditorWindowLastContentRect 5.IBPluginDependency 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 6.IBPluginDependency - 6.ImportedFromIB2 71.IBPluginDependency - 71.ImportedFromIB2 YES com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -1014,42 +1004,23 @@ gY/jgaDjgZXjgYTvvJo com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{312, 917}, {362, 205}} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin {{312, 977}, {438, 168}} com.apple.InterfaceBuilder.CocoaPlugin - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - diff --git a/ja.lproj/Sparkle.strings b/ja.lproj/Sparkle.strings index 867de0b5f41e9cb24b2c6310b614b2a6772b3661..b21ea044d834951b1f87652cb20cee9a0ad9df42 100644 GIT binary patch delta 285 zcmdmGbwLF+$_3& zN!gPZ2u4lr6LR6*Rngl8F|f`ca`JrP;>mu(CX?TZ@`)mAMpm&=Xp%u_O!ri{n1PzY zzo<9w zaM9#2VUx*j90I(PkhM-;E4-0qZ_=;8&3PhQ7$@h6Xl)J?JI17vZSbn`YEVmAw!tEx r8P^St1MN9s5NZ%@P-hTn;BCNUpujLWNK!=%S$dKI%*xGGl24cc Date: Sat, 11 Feb 2012 15:31:12 -0700 Subject: [PATCH 11/18] Support a custom user defaults domain This is useful for situations like a background app that updates a parent preference pane but wants to maintain defaults in the background app's domain. --- SUConstants.h | 1 + SUConstants.m | 1 + SUHost.h | 2 ++ SUHost.m | 30 ++++++++++++++++++------------ 4 files changed, 22 insertions(+), 12 deletions(-) diff --git a/SUConstants.h b/SUConstants.h index b1d46c26..0dcc6cfb 100644 --- a/SUConstants.h +++ b/SUConstants.h @@ -59,6 +59,7 @@ extern NSString *const SULastProfileSubmitDateKey; extern NSString *const SUPromptUserOnFirstLaunchKey; extern NSString *const SUFixedHTMLDisplaySizeKey; extern NSString *const SUKeepDownloadOnFailedInstallKey; +extern NSString *const SUDefaultsDomainKey; // ----------------------------------------------------------------------------- // Errors: diff --git a/SUConstants.m b/SUConstants.m index 9150cb2a..d08b3c2a 100644 --- a/SUConstants.m +++ b/SUConstants.m @@ -35,6 +35,7 @@ NSString *const SULastProfileSubmitDateKey = @"SULastProfileSubmissionDate"; NSString *const SUPromptUserOnFirstLaunchKey = @"SUPromptUserOnFirstLaunch"; NSString *const SUFixedHTMLDisplaySizeKey = @"SUFixedHTMLDisplaySize"; NSString *const SUKeepDownloadOnFailedInstallKey = @"SUKeepDownloadOnFailedInstall"; +NSString *const SUDefaultsDomainKey = @"SUDefaultsDomain"; NSString *const SUSparkleErrorDomain = @"SUSparkleErrorDomain"; OSStatus SUAppcastParseError = 1000; diff --git a/SUHost.h b/SUHost.h index ffe98a78..58244ecf 100644 --- a/SUHost.h +++ b/SUHost.h @@ -14,6 +14,8 @@ { @private NSBundle *bundle; + NSString *defaultsDomain; + BOOL usesStandardUserDefaults; } + (NSString *)systemVersionString; diff --git a/SUHost.m b/SUHost.m index a73295fc..5016e857 100644 --- a/SUHost.m +++ b/SUHost.m @@ -23,12 +23,20 @@ bundle = [aBundle retain]; if (![bundle bundleIdentifier]) SULog(@"Sparkle Error: the bundle being updated at %@ has no CFBundleIdentifier! This will cause preference read/write to not work properly.", bundle); + + defaultsDomain = [[bundle objectForInfoDictionaryKey:SUDefaultsDomainKey] retain]; + if (!defaultsDomain) + defaultsDomain = [[bundle bundleIdentifier] retain]; + + // If we're using the main bundle's defaults we'll use the standard user defaults mechanism, otherwise we have to get CF-y. + usesStandardUserDefaults = [defaultsDomain isEqualToString:[[NSBundle mainBundle] bundleIdentifier]]; } return self; } - (void)dealloc { + [defaultsDomain release]; [bundle release]; [super dealloc]; } @@ -177,34 +185,33 @@ // Under Tiger, CFPreferencesCopyAppValue doesn't get values from NSRegistrationDomain, so anything // passed into -[NSUserDefaults registerDefaults:] is ignored. The following line falls // back to using NSUserDefaults, but only if the host bundle is the main bundle. - if (bundle == [NSBundle mainBundle]) + if (usesStandardUserDefaults) return [[NSUserDefaults standardUserDefaults] objectForKey:defaultName]; - CFPropertyListRef obj = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)[bundle bundleIdentifier]); + CFPropertyListRef obj = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)defaultsDomain); return [(id)CFMakeCollectable(obj) autorelease]; } - (void)setObject:(id)value forUserDefaultsKey:(NSString *)defaultName; { - // If we're using a .app, we'll use the standard user defaults mechanism; otherwise, we have to get CF-y. - if (bundle == [NSBundle mainBundle]) + if (usesStandardUserDefaults) { [[NSUserDefaults standardUserDefaults] setObject:value forKey:defaultName]; } else { - CFPreferencesSetValue((CFStringRef)defaultName, value, (CFStringRef)[bundle bundleIdentifier], kCFPreferencesCurrentUser, kCFPreferencesAnyHost); - CFPreferencesSynchronize((CFStringRef)[bundle bundleIdentifier], kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + CFPreferencesSetValue((CFStringRef)defaultName, value, (CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + CFPreferencesSynchronize((CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); } } - (BOOL)boolForUserDefaultsKey:(NSString *)defaultName { - if (bundle == [NSBundle mainBundle]) + if (usesStandardUserDefaults) return [[NSUserDefaults standardUserDefaults] boolForKey:defaultName]; BOOL value; - CFPropertyListRef plr = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)[bundle bundleIdentifier]); + CFPropertyListRef plr = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)defaultsDomain); if (plr == NULL) value = NO; else @@ -217,15 +224,14 @@ - (void)setBool:(BOOL)value forUserDefaultsKey:(NSString *)defaultName { - // If we're using a .app, we'll use the standard user defaults mechanism; otherwise, we have to get CF-y. - if (bundle == [NSBundle mainBundle]) + if (usesStandardUserDefaults) { [[NSUserDefaults standardUserDefaults] setBool:value forKey:defaultName]; } else { - CFPreferencesSetValue((CFStringRef)defaultName, (CFBooleanRef)[NSNumber numberWithBool:value], (CFStringRef)[bundle bundleIdentifier], kCFPreferencesCurrentUser, kCFPreferencesAnyHost); - CFPreferencesSynchronize((CFStringRef)[bundle bundleIdentifier], kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + CFPreferencesSetValue((CFStringRef)defaultName, (CFBooleanRef)[NSNumber numberWithBool:value], (CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + CFPreferencesSynchronize((CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); } } From 6be55685c885ff38f9f779d4515472bd315d8fe8 Mon Sep 17 00:00:00 2001 From: Matt Stevens Date: Sun, 12 Feb 2012 20:02:46 -0700 Subject: [PATCH 12/18] Clean up after install on quit updates --- finish_installation.m | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/finish_installation.m b/finish_installation.m index 87cb691f..c0d2cc69 100644 --- a/finish_installation.m +++ b/finish_installation.m @@ -117,19 +117,20 @@ else appPath = [host installationPath]; [[NSWorkspace sharedWorkspace] openFile: appPath]; - if( folderpath ) - { - NSError* theError = nil; - if( ![SUPlainInstaller _removeFileAtPath: [SUInstaller updateFolder] error: &theError] ) - SULog( @"Couldn't remove update folder: %@.", theError ); - } - #if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 - [[NSFileManager defaultManager] removeFileAtPath: selfPath handler: nil]; - #else - [[NSFileManager defaultManager] removeItemAtPath: selfPath error: NULL]; - #endif } - + + if (folderpath) + { + NSError *theError = nil; + if( ![SUPlainInstaller _removeFileAtPath: [SUInstaller updateFolder] error: &theError] ) + SULog( @"Couldn't remove update folder: %@.", theError ); + } +#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 + [[NSFileManager defaultManager] removeFileAtPath: selfPath handler: nil]; +#else + [[NSFileManager defaultManager] removeItemAtPath: selfPath error: NULL]; +#endif + exit(EXIT_SUCCESS); } From f341d0c3a9a5772b0ef4fedf9df1a33d542e669e Mon Sep 17 00:00:00 2001 From: Christian Zachariasen Date: Wed, 22 Feb 2012 12:35:42 +0100 Subject: [PATCH 13/18] Corrected minor spelling errors --- no.lproj/Sparkle.strings | Bin 7008 -> 7020 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/no.lproj/Sparkle.strings b/no.lproj/Sparkle.strings index 49b398bd03d2661235dbb4443052ce425b79db29..f069d45efbc6b30608d456d571ec4d900c30d845 100644 GIT binary patch delta 72 zcmaE0_Qq^OFcWhaL+0iPrp>&Q@A4#U&Je#$F@0BU?mfig4*N>B9W5|g`*+N^v#wc O{ESfH&C5lPvH}3=cokRx From 4d00e8c569933dc7576a7b501f3caea0f4d30737 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Fri, 24 Feb 2012 08:55:13 -0800 Subject: [PATCH 14/18] Fixes #157: Delayed relaunch not working --- SUBasicUpdateDriver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index 340e7f09..a53a354c 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -279,7 +279,7 @@ { NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[[self class] instanceMethodSignatureForSelector:@selector(installWithToolAndRelaunch:)]]; [invocation setSelector:@selector(installWithToolAndRelaunch:)]; - [invocation setArgument:&relaunch atIndex:0]; + [invocation setArgument:&relaunch atIndex:2]; [invocation setTarget:self]; postponedOnce = YES; if ([[updater delegate] updater:updater shouldPostponeRelaunchForUpdate:updateItem untilInvoking:invocation]) From d7dea30de62f77bd8d924d2ac5682f1da575db34 Mon Sep 17 00:00:00 2001 From: Vera Tkachenko Date: Wed, 29 Feb 2012 23:07:04 +0200 Subject: [PATCH 15/18] Added Ukrainian localization --- Sparkle.xcodeproj/project.pbxproj | 9 + uk.lproj/SUAutomaticUpdateAlert.strings | Bin 0 -> 1154 bytes uk.lproj/SUAutomaticUpdateAlert.xib | 687 ++++++++++++ uk.lproj/SUStatus.strings | Bin 0 -> 92 bytes uk.lproj/SUUpdateAlert.strings | Bin 0 -> 1664 bytes uk.lproj/SUUpdateAlert.xib | 1045 +++++++++++++++++++ uk.lproj/SUUpdatePermissionPrompt.strings | Bin 0 -> 2600 bytes uk.lproj/SUUpdatePermissionPrompt.xib | 1159 +++++++++++++++++++++ uk.lproj/Sparkle.strings | 100 ++ 9 files changed, 3000 insertions(+) create mode 100644 uk.lproj/SUAutomaticUpdateAlert.strings create mode 100644 uk.lproj/SUAutomaticUpdateAlert.xib create mode 100644 uk.lproj/SUStatus.strings create mode 100644 uk.lproj/SUUpdateAlert.strings create mode 100644 uk.lproj/SUUpdateAlert.xib create mode 100755 uk.lproj/SUUpdatePermissionPrompt.strings create mode 100644 uk.lproj/SUUpdatePermissionPrompt.xib create mode 100644 uk.lproj/Sparkle.strings diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 3981b77e..022976a5 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -178,6 +178,10 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 0263187214FEBB31005EBF43 /* uk */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/Sparkle.strings; sourceTree = ""; }; + 0263187514FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; + 0263187614FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUUpdateAlert.xib; sourceTree = ""; }; + 0263187714FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 0867D69BFE84028FC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 0867D6A5FE840307C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; 3772FEA813DE0B6B00F79537 /* SUVersionDisplayProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUVersionDisplayProtocol.h; sourceTree = ""; }; @@ -920,6 +924,7 @@ pt, ro, sl, + uk, ); mainGroup = 0867D691FE84028FC02AAC07 /* Sparkle */; productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; @@ -1193,6 +1198,7 @@ 6158A1BE1378F8BB00487EC1 /* tr */, 61DEC11C1477568300931268 /* ro */, 61BA66DA14BDFC5500D02D86 /* sl */, + 0263187514FEBB42005EBF43 /* uk */, ); name = SUAutomaticUpdateAlert.xib; sourceTree = ""; @@ -1222,6 +1228,7 @@ 6158A1BF1378F8BB00487EC1 /* tr */, 61DEC11A1477567800931268 /* ro */, 61BA66DB14BDFC5500D02D86 /* sl */, + 0263187614FEBB42005EBF43 /* uk */, ); name = SUUpdateAlert.xib; sourceTree = ""; @@ -1251,6 +1258,7 @@ 6158A1C01378F8BB00487EC1 /* tr */, 61DEC1181477566800931268 /* ro */, 61BA66DC14BDFC5500D02D86 /* sl */, + 0263187714FEBB42005EBF43 /* uk */, ); name = SUUpdatePermissionPrompt.xib; sourceTree = ""; @@ -1278,6 +1286,7 @@ 6160FD85134ABCD5007FFC5F /* tr */, 61DEC1161477565C00931268 /* ro */, 61BA66CC14BDFA0400D02D86 /* sl */, + 0263187214FEBB31005EBF43 /* uk */, ); name = Sparkle.strings; sourceTree = ""; diff --git a/uk.lproj/SUAutomaticUpdateAlert.strings b/uk.lproj/SUAutomaticUpdateAlert.strings new file mode 100644 index 0000000000000000000000000000000000000000..482c9ecf4afe9c21bac6508d70dc5ba8ed02f64c GIT binary patch literal 1154 zcmd6l&1=Fy5XIkNPC1EpVe#le>zewNMr~FQq3EH|yOthWf*!R0zWR1eB_+gEv>?mC zX7ZTX`OVw!JTy>)fJqmbasN-8&+dQX+;E&Xy?5hW zkamdv<(@!hDa9c1R6qxXJaZB>4BMqAO)=~h%8To33R$)?EL%A&?`4`>Zm2?r3i-5) Poakrh`8o9d(#gXCnOcy# literal 0 HcmV?d00001 diff --git a/uk.lproj/SUAutomaticUpdateAlert.xib b/uk.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..abca47c3 --- /dev/null +++ b/uk.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,687 @@ + + + + 1050 + 11D46 + 2177 + 1138.32 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2177 + + + YES + NSTextField + NSView + NSWindowTemplate + NSUserDefaultsController + NSTextFieldCell + NSImageCell + NSButtonCell + NSImageView + NSButton + NSCustomObject + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUAutomaticUpdateAlert + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{114, 521}, {743, 152}} + 1886912512 + + + NSWindow + + + View + + + {511, 152} + + + 256 + + YES + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{23, 73}, {64, 64}} + + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 270 + {{105, 120}, {621, 17}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 270 + {{105, 81}, {621, 31}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 257 + {{491, 12}, {248, 32}} + + + YES + + 67239424 + 134217728 + Встановити та перезавантажити + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{289, 12}, {200, 32}} + + + + YES + + 67239424 + 134217728 + Встановити при закритті + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 256 + {{102, 12}, {158, 32}} + + + + YES + + 67239424 + 134217728 + Не встановлювати + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 256 + {{105, 58}, {619, 18}} + + + + YES + + 67239424 + 131072 + Автоматично завантажувати та встановлювати оновлення у майбутньому + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + {743, 152} + + + + + {{0, 0}, {1440, 878}} + {511, 174} + {10000000000000, 10000000000000} + YES + + + YES + + + + + YES + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 10 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 14 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 19 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Window + + + 6 + + + YES + + + + + + + + + + + + 7 + + + YES + + + + + + 8 + + + YES + + + + + + 9 + + + YES + + + + + + 15 + + + YES + + + + + + 16 + + + YES + + + + + + 17 + + + YES + + + + + + 30 + + + YES + + + + + + 18 + + + Shared Defaults + + + 38 + + + + + 39 + + + + + 40 + + + + + 41 + + + + + 42 + + + + + 43 + + + + + 44 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 30.IBPluginDependency + 38.IBPluginDependency + 39.IBPluginDependency + 40.IBPluginDependency + 41.IBPluginDependency + 42.IBPluginDependency + 43.IBPluginDependency + 44.IBPluginDependency + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{312, 947}, {743, 152}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 44 + + + + YES + + SUAutomaticUpdateAlert + SUWindowController + + YES + + YES + doNotInstall: + installLater: + installNow: + + + YES + id + id + id + + + + YES + + YES + doNotInstall: + installLater: + installNow: + + + YES + + doNotInstall: + id + + + installLater: + id + + + installNow: + id + + + + + IBProjectSource + ./Classes/SUAutomaticUpdateAlert.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + YES + + YES + NSApplicationIcon + NSSwitch + + + YES + {128, 128} + {15, 15} + + + + diff --git a/uk.lproj/SUStatus.strings b/uk.lproj/SUStatus.strings new file mode 100644 index 0000000000000000000000000000000000000000..041995192728b3dc5a5ea0a47026c5fccf168452 GIT binary patch literal 92 zcmezOpFy8Ni$Q_Gk0F>LoFS7Tk0FI2pP?KmqQRgEB&~qhhM@!~Q^JtLkP776f#vdn aA}K(gDOi;j&=f8PB_LE_umxfe%NhXU!woP1 literal 0 HcmV?d00001 diff --git a/uk.lproj/SUUpdateAlert.strings b/uk.lproj/SUUpdateAlert.strings new file mode 100644 index 0000000000000000000000000000000000000000..580048f3550749da43226d474aa3f3846a2e78d7 GIT binary patch literal 1664 zcmd6n%}>HW5XIkNPCXg#YQvF(_QP7Gv|vj>69Wego>e$#2p+7_zg~UYmZI2FFg+Nu zr8}M7+4q~-`TWpugeG)EnBfjD{ORyH8W`dlw|K-H6FlRM7LWFrmYBZN+;3le3B(dl z9KQK75*;1s(q{8%NIUs%bFRbX+@zl?9X<#7igfQ0?(xK(9~j{hy*z@G#cuMf8s8lp zemh4a_p9q98l$YEa>Fye^8|gen3BbW^wj^Xl+gi6oRY*?LTT}BL5Qpqb`dQWX>{eB zK0|3`JCzYJ;lfykx=CxX-RiM%;QMpajI@RtbDvjh`Te;dGn=ku7 zwOYGCtzDvao2YfF-C=JFnca3)xr0P!+RH53e10|Lgt=F + + + 1050 + 11D46 + 2177 + 1138.32 + 568.00 + + YES + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + YES + 2177 + 1117 + + + + YES + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUUpdateAlert + + + FirstResponder + + + NSApplication + + + 15 + 2 + {{248, 468}, {612, 369}} + -260571136 + Оновлення програмного забезпечення + NSWindow + + View + + + {575, 370} + + + 256 + + YES + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{24, 290}, {64, 64}} + + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 266 + {{106, 337}, {489, 17}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 268 + {{106, 276}, {452, 17}} + + + + YES + + 67239424 + 272629760 + Примітки про нову версію: + + LucidaGrande-Bold + 11 + 3357 + + + + + + + + + 289 + {{261, 12}, {154, 32}} + + + + YES + + 67239424 + 134217728 + Нагадати пізніше + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 288 + {{65, 12}, {188, 32}} + + + + YES + + 67239424 + 134217728 + Пропустити цю версію + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 289 + {{415, 12}, {187, 32}} + + + YES + + -2080244224 + 134217728 + Встановити оновлення + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 274 + + YES + + + 274 + + YES + + + 274 + + YES + + YES + Apple HTML pasteboard type + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple URL pasteboard type + Apple Web Archive pasteboard type + NSColor pasteboard type + NSFilenamesPboardType + NSStringPboardType + NeXT RTFD pasteboard type + NeXT Rich Text Format v1.0 pasteboard type + NeXT TIFF v4.0 pasteboard type + WebURLsWithTitlesPboardType + public.png + public.url + public.url-name + + + {{-2, -1}, {482, 198}} + + + + + + + + + YES + + YES + WebKitDefaultFixedFontSize + WebKitDefaultFontSize + WebKitMinimumFontSize + + + YES + + + + + + + NO + YES + + + {{1, 1}, {480, 196}} + + + + + + {{110, 76}, {482, 198}} + + + + {0, 0} + + 67239424 + 0 + + + LucidaGrande + 11 + 16 + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 3 + MCAwLjgwMDAwMDAxMTkAA + + + + 1 + 3 + 0 + NO + + + + 266 + {{106, 301}, {489, 28}} + + + + YES + + 67239424 + 4194304 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 290 + {{106, 50}, {488, 18}} + + + + YES + + 67239424 + 131072 + Автоматично завантажувати та встановлювати оновлення у майбутньому + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + {612, 369} + + + + + {{0, 0}, {1440, 878}} + {575, 392} + {10000000000000, 10000000000000} + + YES + + + YES + + + + + YES + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + installButton + + + + 176 + + + + laterButton + + + + 177 + + + + skipButton + + + + 178 + + + + delegate + + + + 50 + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 9 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 72 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 161 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 164 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 103 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 135 + + + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 141 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Update Alert (release notes) + + + 6 + + + YES + + + + + + + + + + + + + + 7 + + + YES + + + + + + 10 + + + YES + + + + + + 17 + + + YES + + + + + + 22 + + + YES + + + + + + 23 + + + YES + + + + + + 76 + + + YES + + + + + + 89 + + + YES + + + + + + 101 + + + YES + + + + + + 117 + + + YES + + + + + + 93 + + + Shared Defaults + + + 168 + + + + + 169 + + + + + 170 + + + + + 171 + + + + + 172 + + + + + 173 + + + + + 174 + + + + + 175 + + + + + 18 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 10.IBPluginDependency + 101.IBPluginDependency + 117.IBPluginDependency + 168.IBPluginDependency + 169.IBPluginDependency + 17.IBPluginDependency + 170.IBPluginDependency + 171.IBPluginDependency + 172.IBPluginDependency + 173.IBPluginDependency + 174.IBPluginDependency + 175.IBPluginDependency + 18.IBPluginDependency + 22.IBPluginDependency + 23.IBPluginDependency + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 7.IBPluginDependency + 76.IBPluginDependency + 89.IBPluginDependency + 93.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{643, 222}, {575, 370}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 178 + + + + YES + + SUUpdateAlert + SUWindowController + + YES + + YES + installUpdate: + remindMeLater: + skipThisVersion: + + + YES + id + id + id + + + + YES + + YES + installUpdate: + remindMeLater: + skipThisVersion: + + + YES + + installUpdate: + id + + + remindMeLater: + id + + + skipThisVersion: + id + + + + + YES + + YES + description + installButton + laterButton + releaseNotesView + skipButton + + + YES + NSTextField + NSButton + NSButton + WebView + NSButton + + + + YES + + YES + description + installButton + laterButton + releaseNotesView + skipButton + + + YES + + description + NSTextField + + + installButton + NSButton + + + laterButton + NSButton + + + releaseNotesView + WebView + + + skipButton + NSButton + + + + + IBProjectSource + ./Classes/SUUpdateAlert.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + YES + + YES + NSApplicationIcon + NSSwitch + + + YES + {128, 128} + {15, 15} + + + + diff --git a/uk.lproj/SUUpdatePermissionPrompt.strings b/uk.lproj/SUUpdatePermissionPrompt.strings new file mode 100755 index 0000000000000000000000000000000000000000..6076fcdb3067947d963f9cd7ed97321fa811ca09 GIT binary patch literal 2600 zcmeHJO;6iE5PgRchn%Y35f(>OK|Znb;W&2Eph!`2Xao}Kr7aw&A~-aa`1Qb>-8c<+ z(TN-Nh;i|dk8e8*4j{Gj{@gOz+8wWX~i-lW8}?i{aKK3vJVZI`I^zcDll z7#cgpkl{BYvcMf~U&OV@z=1TR$5EAY&Qr-Gk^p7CXVR69l+DhW#C)?XZsMkb5T`GY z**!Nu+j{mfw+-rjA`Xx&vG<;#_oECQD8mg5`aJniG|u zVqp1iQ73@vcB$KDd}0|(vc&s0<|9W;q75;5s~he>(In-X|PQuR6l>s|Mo7oURPgC}V2Kz(g?Ftdf zg(&EryDRMWUcQL^dv*1eF(|V_V)jj~Fs+)HQRr4kP9v^9hD^eQQnoLCSTNr!hy1 zjB3A6_{@wSi$yi`W&wuAx?=f6Yaz2nzZWXoG#QYZjIgqL@04D@^1GvBk3I&}>=|@J rMrLZP*!$@1>$H~V+&OhE)~>X?wG|cq2~?na?ySl?&O2*w&sqsjFjh@w literal 0 HcmV?d00001 diff --git a/uk.lproj/SUUpdatePermissionPrompt.xib b/uk.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..19bb0547 --- /dev/null +++ b/uk.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,1159 @@ + + + + 1050 + 11D46 + 2177 + 1138.32 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2177 + + + YES + NSUserDefaultsController + NSScroller + NSArrayController + NSButton + NSScrollView + NSImageView + NSTextFieldCell + NSButtonCell + NSImageCell + NSTableView + NSCustomView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSTableColumn + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUUpdatePermissionPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{83, 492}, {542, 168}} + 1886912512 + + + NSWindow + + + View + + + {213, 107} + + + 256 + + YES + + + 257 + {{325, 12}, {199, 32}} + + + 1 + YES + + -2080244224 + 134217728 + Перевіряти автоматично + + LucidaGrande + 13 + 1044 + + + 1 + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{186, 12}, {140, 32}} + + + YES + + 67239424 + 134217728 + Не перервіряти + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 264 + {{104, 114}, {421, 34}} + + + YES + + 67239424 + 272629760 + Виконувати автоматичну перевірку оновлень? + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 266 + {{104, 81}, {419, 42}} + + + YES + + 67239424 + 272629760 + DO NOT LOCALIZE + + LucidaGrande + 11 + 3100 + + + + + + + + + 264 + {{104, 53}, {278, 18}} + + + YES + + -2080244224 + 163840 + Автоматично надсилати профіль системи + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + + 264 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{23, 84}, {64, 64}} + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 1 + 0 + YES + + YES + + + + 268 + {{80, 50}, {27, 26}} + + + YES + + 67239424 + 134250496 + + + + -1194573569 + 133 + + + 200 + 25 + + + + {542, 168} + + + + {{0, 0}, {1440, 878}} + {213, 129} + {10000000000000, 10000000000000} + YES + + + + YES + visibleKey + visibleValue + displayValue + displayKey + + + YES + YES + YES + YES + YES + + + + 266 + + YES + + + 274 + + YES + + + 2304 + + YES + + + 4352 + {353, 113} + + + YES + + + 256 + {{346, 0}, {12, 17}} + + + YES + + 128 + 40 + 1000 + + 75628096 + 2048 + + + + 3 + MC4zMzMzMzI5OQA + + + 6 + System + headerTextColor + + + + + 69336577 + 131072 + Text Cell + + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + + 3 + YES + + + + 219 + 40 + 1000 + + 75628096 + 2048 + + + + + + + 69336577 + 131072 + Text Cell + + + + + + 3 + YES + + + + 3 + 2 + + + 6 + System + gridColor + + 3 + MC41AA + + + 14 + -759169024 + + + 4 + 15 + 0 + NO + 0 + 1 + + + {{1, 1}, {353, 113}} + + + + + + 6 + System + controlBackgroundColor + + + 4 + + + + -2147483392 + {{-22, 1}, {11, 125}} + + + 256 + + _doScroller: + 0.78125 + + + + -2147483392 + {{-100, -100}, {345, 11}} + + + 257 + + _doScroller: + 0.99047620000000003 + + + {{4, 5}, {355, 115}} + + + + 133650 + + + + AAAAAAAAAABBgAAAQYAAAA + + + + 266 + {{1, 128}, {358, 70}} + + + YES + + 67239424 + 272629760 + 0JLQuNC60L7RgNC40YHRgtCw0L3QvdGPINCw0L3QvtC90ZbQvNC90L7Qs9C+INC/0YDQvtGE0ZbQu9GO +INGB0LjRgdGC0LXQvNC4INC00L7Qv9C+0LzQsNCz0LDRlCDQvdCw0Lwg0YMg0L/Qu9Cw0L3Rg9Cy0LDQ +vdC90Y8g0LzQsNC50LHRg9GC0L3RjNC+0Zcg0YDQvtC30YDQvtCx0LrQuC4g0K/QutGJ0L4g0YMg0LLQ +sNGBINCy0LjQvdC40LrQu9C4INC/0LjRgtCw0L3QvdGPINGJ0L7QtNC+INGG0YzQvtCz0L4sINC30LLQ +tdGA0YLQsNC50YLQtdGB0Ywg0LTQviDQvdCw0YEuCgrQhtC90YTQvtGA0LzQsNGG0ZbRjywg0YnQviDQ +sdGD0LTQtSDQvdCw0LTRltGB0LvQsNC90L46A + + + + + + + + {362, 205} + + + NSView + NSResponder + + + + YES + SUIncludeProfile + SUSendProfileInfo + + YES + + + + + YES + + + window + + + + 126 + + + + moreInfoView + + + + 127 + + + + toggleMoreInfo: + + + + 131 + + + + moreInfoButton + + + + 132 + + + + descriptionTextField + + + + 133 + + + + finishPrompt: + + + + 144 + + + + finishPrompt: + + + + 145 + + + + contentArray: systemProfileInformationArray + + + + + + contentArray: systemProfileInformationArray + contentArray + systemProfileInformationArray + 2 + + + 25 + + + + value: promptDescription + + + + + + value: promptDescription + value + promptDescription + 2 + + + 161 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 143 + + + + value: shouldSendProfile + + + + + + value: shouldSendProfile + value + shouldSendProfile + + YES + + YES + NSNullPlaceholder + NSValidatesImmediately + + + YES + + + + + 2 + + + 148 + + + + value: icon + + + + + + value: icon + value + icon + 2 + + + 130 + + + + value: arrangedObjects.displayKey + + + + + + value: arrangedObjects.displayKey + value + arrangedObjects.displayKey + 2 + + + 174 + + + + value: arrangedObjects.displayValue + + + + + + value: arrangedObjects.displayValue + value + arrangedObjects.displayValue + 2 + + + 173 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 139 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Profile Info + + + 6 + + + YES + + + + + + + + + + + + 13 + + + YES + + + + + + 14 + + + YES + + + + + + 32 + + + YES + + + + + + 33 + + + YES + + + + + + 34 + + + YES + + + + + + 37 + + + YES + + + + + + 71 + + + YES + + + + + + 24 + + + Array Controller + + + 39 + + + YES + + + + + MoreInfoView + + + 40 + + + YES + + + + + + + + 41 + + + YES + + + + + + + 42 + + + YES + + + + + + 43 + + + + + 44 + + + YES + + + + + + 45 + + + + + 46 + + + YES + + + + + + 49 + + + User Defaults Controller + + + 176 + + + + + 177 + + + + + 178 + + + + + 179 + + + + + 180 + + + + + 181 + + + + + 182 + + + + + 183 + + + + + 184 + + + + + 185 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 13.IBPluginDependency + 14.IBPluginDependency + 176.IBPluginDependency + 177.IBPluginDependency + 178.IBPluginDependency + 179.IBPluginDependency + 180.IBPluginDependency + 181.IBPluginDependency + 182.IBPluginDependency + 183.IBPluginDependency + 184.IBPluginDependency + 184.IBShouldRemoveOnLegacySave + 185.IBPluginDependency + 185.IBShouldRemoveOnLegacySave + 24.IBPluginDependency + 32.IBPluginDependency + 33.IBPluginDependency + 34.IBPluginDependency + 37.IBPluginDependency + 39.IBPluginDependency + 40.IBPluginDependency + 41.IBPluginDependency + 42.IBPluginDependency + 43.IBPluginDependency + 44.IBPluginDependency + 45.IBPluginDependency + 46.IBPluginDependency + 49.IBPluginDependency + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 71.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{312, 977}, {438, 168}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 185 + + + + YES + + SUUpdatePermissionPrompt + SUWindowController + + YES + + YES + finishPrompt: + toggleMoreInfo: + + + YES + id + id + + + + YES + + YES + finishPrompt: + toggleMoreInfo: + + + YES + + finishPrompt: + id + + + toggleMoreInfo: + id + + + + + YES + + YES + descriptionTextField + moreInfoButton + moreInfoView + + + YES + NSTextField + NSButton + NSView + + + + YES + + YES + descriptionTextField + moreInfoButton + moreInfoView + + + YES + + descriptionTextField + NSTextField + + + moreInfoButton + NSButton + + + moreInfoView + NSView + + + + + IBProjectSource + ./Classes/SUUpdatePermissionPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + YES + + YES + NSApplicationIcon + NSSwitch + + + YES + {128, 128} + {15, 15} + + + + diff --git a/uk.lproj/Sparkle.strings b/uk.lproj/Sparkle.strings new file mode 100644 index 00000000..d5412483 --- /dev/null +++ b/uk.lproj/Sparkle.strings @@ -0,0 +1,100 @@ +/* No comment provided by engineer. */ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ завантажений і готовий до використання! Бажаєте встановити і перезавантажити %1$@?"; + +/* No comment provided by engineer. */ +"%1$@ can't be updated when it's running from a read-only volume like a disk image or an optical drive. Move %1$@ to your Applications folder, relaunch it from there, and try again." = "Під час роботи з %1$@ з тому, що призначений лише для читання, наприклад, образу диска чи оптичного диску, його неможливо оновити. Перемістіть %1$@ у папку з программами, перезавантажте його звідти і спробуйте ще раз."; + +/* No comment provided by engineer. */ +"%@ %@ is currently the newest version available." = "У данний момент %1$@ %2$@ є останньою версією."; + +/* No comment provided by engineer. */ +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ доступна – ви маєте %3$@. Бажаєте завантажити її зараз?"; + +/* No comment provided by engineer. */ +"%@ downloaded" = "%@ завантажено"; + +/* No comment provided by engineer. */ +"%@ of %@" = "%1$@ із %2$@"; + +/* No comment provided by engineer. */ +"A new version of %@ is available!" = "Доступна нова версія %@!"; + +/* No comment provided by engineer. */ +"A new version of %@ is ready to install!" = "Нова версія %@ готова до встановлення!"; + +/* No comment provided by engineer. */ +"An error occurred in retrieving update information. Please try again later." = "Виникла помилка при отриманні інформації про оновлення. Спробуйте ще пізніше."; + +/* No comment provided by engineer. */ +"An error occurred while downloading the update. Please try again later." = "Виникла помилка при завантаження оновлення. Спробуйте ще пізніше."; + +/* No comment provided by engineer. */ +"An error occurred while extracting the archive. Please try again later." = "Виникла помилка при розпаковуванні архіву. Спробуйте ще пізніше."; + +/* No comment provided by engineer. */ +"An error occurred while installing the update. Please try again later." = "Виникла помилка при встановленні оновлення. Спробуйте ще пізніше."; + +/* No comment provided by engineer. */ +"An error occurred while parsing the update feed." = "Виникла помилка при розборі фіду оновлень."; + +/* No comment provided by engineer. */ +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Виникла помилка при перезавантаженні %1$@, але наступного разу при завантаження %1$@ буде доступна нова версія."; + +/* the unit for bytes */ +"B" = "Б"; + +/* No comment provided by engineer. */ +"Cancel" = "Відмінити"; + +/* No comment provided by engineer. */ +"Cancel Update" = "Відмінити оновлення"; + +/* No comment provided by engineer. */ +"Checking for updates..." = "Перевіря наявність оновлень…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Завантажую оновлення…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Розпаковую оновлення…"; + +/* the unit for gigabytes */ +"GB" = "ГБ"; + +/* No comment provided by engineer. */ +"Install and Relaunch" = "Встановити та перезавантажити"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Встановлюю оновлення…"; + +/* the unit for kilobytes */ +"KB" = "КБ"; + +/* the unit for megabytes */ +"MB" = "МБ"; + +/* No comment provided by engineer. */ +"OK" = "OK"; + +/* No comment provided by engineer. */ +"Ready to Install" = "Готовий до встановлення"; + +/* No comment provided by engineer. */ +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Чи повинен %1$@ автоматично виконувати перевірку на оновлення? Ви завжди можете самостійно перевірити оновлення у меню %1$@."; + +/* No comment provided by engineer. */ +"Update Error!" = "Помилка оновлення!"; + +/* No comment provided by engineer. */ +"Updating %@" = "Оновлюю %@"; + +/* No comment provided by engineer. */ +"You already have the newest version of %@." = "Ви вже маєте саму останню версію программи %@."; + +/* No comment provided by engineer. */ +"You're up-to-date!" = "У вас остання версія!"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ + +"Learn More..." = "Дізнатись більше…"; \ No newline at end of file From a5701918594394c130d7802a29ae01b253945f13 Mon Sep 17 00:00:00 2001 From: Vera Tkachenko Date: Wed, 29 Feb 2012 23:50:21 +0200 Subject: [PATCH 16/18] Minor improvements of Russian localization: proofing and truncated button labels. --- ru.lproj/SUAutomaticUpdateAlert.strings | Bin 1070 -> 1118 bytes ru.lproj/SUAutomaticUpdateAlert.xib | 192 +-- ru.lproj/SUUpdateAlert.strings | Bin 1680 -> 1624 bytes ru.lproj/SUUpdateAlert.xib | 1290 ++++----------------- ru.lproj/SUUpdatePermissionPrompt.strings | Bin 3152 -> 2780 bytes ru.lproj/Sparkle.strings | Bin 8674 -> 8662 bytes 6 files changed, 322 insertions(+), 1160 deletions(-) diff --git a/ru.lproj/SUAutomaticUpdateAlert.strings b/ru.lproj/SUAutomaticUpdateAlert.strings index 22e9eeec616bcff96fe513cd14b09f74bda6ddb6..19acb2f7ff60614c19ae484cb86e26fbc6eca33e 100644 GIT binary patch literal 1118 zcmc(e%}T>i5QWcTR$2K1La4hgwE0nkX&Rddr6_jc6R5aQf-bDDuYR{_f*5L4DsmaP z%$c0YIWza|)zg87@>QzRwVpY?GGd@hU8&HEmYgR&QgKI31(JdmLgaR6r^GR6Zsn@3#%r#HZu9`tEsS%WwT!WXb+;jZ>2Y_N{SUndZS8Nn zd+`3P13B8A3r_tB_j8;{IDOi~j`r|J+P~_%P1QS0yI|&H^f_fSCOt)Iqd7uzX-6xx z*@$`v+^&rHI;A#j@recN9ZF%!z!ta{5&=9hF(*In^)Kr97j5wGKNW0q61(`qOK#uc TXK(v9F77xMZ*c58ojkn*610sx literal 1070 zcmchWOHTqp5QOW{CrFS=|uIichx16$a>giT@delTiC3*ol)(P)2R@I!yTw{&!>mina4DsTSl~qm|9q~BT zFu$sRWWc|wx3!?goa&QMp%wf@PwI#I1HNOPSE9=vCU^Hcac`FpkhkDeRs2(*MUXWwz^d<&$nck7F)~8telEq zr`EKNorh=_%;Oz0+8{M7vI@D;cf4)|@Or>wRwcV;M}!rqbB0~xH|w`K12r aZJE8!D19Th?fM&=7CbIE3wb#DNqqptyrgFU diff --git a/ru.lproj/SUAutomaticUpdateAlert.xib b/ru.lproj/SUAutomaticUpdateAlert.xib index 0a5c3fe1..56ad5f99 100644 --- a/ru.lproj/SUAutomaticUpdateAlert.xib +++ b/ru.lproj/SUAutomaticUpdateAlert.xib @@ -2,13 +2,13 @@ 1050 - 11A453 - 1553 - 1120 - 556.00 + 11D46 + 2177 + 1138.32 + 568.00 com.apple.InterfaceBuilder.CocoaPlugin - 1553 + 2177 YES @@ -28,11 +28,8 @@ com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - - + PluginDependencyRecalculationVersion + YES @@ -81,6 +78,7 @@ {{23, 73}, {64, 64}} + YES 130560 @@ -101,6 +99,7 @@ 270 {{105, 120}, {621, 17}} + YES 67239424 @@ -137,6 +136,7 @@ 270 {{105, 81}, {621, 31}} + YES 67239424 @@ -157,6 +157,7 @@ 257 {{502, 12}, {226, 32}} + YES 67239424 @@ -180,13 +181,14 @@ 257 - {{267, 12}, {235, 32}} + {{290, 12}, {207, 32}} + YES 67239424 134217728 - Установить при прекращении + Установить при закрытии -2038284033 @@ -203,6 +205,7 @@ 256 {{102, 12}, {157, 32}} + YES 67239424 @@ -226,11 +229,12 @@ 256 {{105, 58}, {619, 18}} + YES 67239424 131072 - Выполнять загрузку и установку обновлений в будущем + Автоматически загружать и устанавливать обновления в будущем 1211912703 @@ -251,8 +255,9 @@ {743, 152} + - {{0, 0}, {1920, 1178}} + {{0, 0}, {1440, 878}} {511, 174} {10000000000000, 10000000000000} YES @@ -264,6 +269,38 @@ YES + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + value: applicationIcon @@ -328,45 +365,15 @@ 19 - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - YES 0 - + + YES + @@ -526,17 +533,11 @@ -1.IBPluginDependency -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 15.IBPluginDependency - 15.ImportedFromIB2 16.IBPluginDependency - 16.ImportedFromIB2 17.IBPluginDependency - 17.ImportedFromIB2 18.IBPluginDependency - 18.ImportedFromIB2 30.IBPluginDependency - 30.ImportedFromIB2 38.IBPluginDependency 39.IBPluginDependency 40.IBPluginDependency @@ -544,35 +545,24 @@ 42.IBPluginDependency 43.IBPluginDependency 44.IBPluginDependency - 5.IBEditorWindowLastContentRect 5.IBPluginDependency 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 6.IBPluginDependency - 6.ImportedFromIB2 7.IBPluginDependency - 7.ImportedFromIB2 8.IBPluginDependency - 8.ImportedFromIB2 9.IBPluginDependency - 9.ImportedFromIB2 - + YES com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -582,16 +572,9 @@ com.apple.InterfaceBuilder.CocoaPlugin {{312, 947}, {743, 152}} com.apple.InterfaceBuilder.CocoaPlugin - {{312, 947}, {743, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - @@ -608,7 +591,66 @@ 44 - + + + YES + + SUAutomaticUpdateAlert + SUWindowController + + YES + + YES + doNotInstall: + installLater: + installNow: + + + YES + id + id + id + + + + YES + + YES + doNotInstall: + installLater: + installNow: + + + YES + + doNotInstall: + id + + + installLater: + id + + + installNow: + id + + + + + IBProjectSource + ./Classes/SUAutomaticUpdateAlert.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + 0 IBCocoaFramework @@ -628,7 +670,7 @@ NSApplicationIcon NSSwitch - + YES {128, 128} {15, 15} diff --git a/ru.lproj/SUUpdateAlert.strings b/ru.lproj/SUUpdateAlert.strings index 7f75e464436421ae0e7e3060f82d4e49a284cc1b..9fce4212ad42a085a5f8381360a9eca7dba56629 100644 GIT binary patch literal 1624 zcmc(fOHYG96ot>?u2{KqrINbqLV1WKeSig{Y1FdN#I@QkG)-MtqrYA~GeBby3Qb51 znPGAn=FWHS}@i8&t=wOOl+~XNb%a?qs@FbExHBvg5aO8?Q#8jhC zCHmRFRVvu%!73<`+RD{v>amVB!aGS<%z|Ytud<5C#PiG9A`yi zmk`<&@owU+O}Yb})oH{c5~g%Fe8)PP9>0%ipElrhN;sVg&h7lRNqk72h;d9SJSSE) zT&(%}$hsxOZUymne%mD8VJC}p2CMA#b&pc@scN=IB~(v~nag=@E4!-TR3%IIL7#K} h{jXMu&J`0j&pF|kur7uTGN#xCRkc)g!vCZ&@B`xf%xwSw literal 1680 zcmchXO-~|05QgheCr|qaRwsBtFUq(hIN~6X?8f-9$)fAoD8`8j1|jO7-`%GQ;_Qqt z+ze^DyQZtVpMKx&zkjx5Qvx}Yo^)g)V}3&!5UEPr`$Kt@E261fQ$O%~|?p3AIPn*F_96y4f-*q>8p*IyHEeKcagAz zDpV=Ej%80m-`A#W$%<4yeK!?$b3m!c7Y((ei8ghcx}iTb(zeF50;v<*(L?R(u75ot zX7Mf~Iz$dAq3$y_eE*(kjd?k`YpB%=3+M#0pKV$UfvN@GtVoQ9<#G{}i9E zX<0`8{OhutJO8rG?5x(`xs9*E8Q6(@B#!3Lo#VP!9QYjv^zop1yDGoD-N(nzwCuhN zXO4~+__iz~&sdXsj|RePPpP}EWyJS3@v}Kzy_{)gZ?U 1050 - 10J567 - 823 - 1038.35 - 462.00 + 11D46 + 2177 + 1138.32 + 568.00 YES @@ -13,14 +13,26 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.WebKitIBPlugin - + YES - 823 - 823 + 2177 + 1117 - + YES + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController YES @@ -45,17 +57,17 @@ 15 2 - {{248, 468}, {575, 370}} + {{248, 468}, {643, 375}} -260571136 Обновление программного обеспечения NSWindow View - {1.79769e+308, 1.79769e+308} + {575, 370} - + 256 YES @@ -74,8 +86,9 @@ NeXT TIFF v4.0 pasteboard type - {{24, 291}, {64, 64}} + {{24, 296}, {64, 64}} + YES 130560 @@ -94,8 +107,9 @@ 266 - {{106, 338}, {452, 17}} + {{106, 343}, {520, 17}} + YES 67239424 @@ -130,8 +144,9 @@ 268 - {{106, 280}, {452, 14}} + {{106, 285}, {452, 14}} + YES 67239424 @@ -150,13 +165,14 @@ 289 - {{280, 12}, {146, 32}} + {{269, 12}, {162, 32}} + YES 67239424 134217728 - Напоминать мне позже + Напоминать позже LucidaGrande 13 @@ -175,8 +191,9 @@ 288 - {{103, 12}, {165, 32}} + {{72, 12}, {185, 32}} + YES 67239424 @@ -198,8 +215,9 @@ 289 - {{426, 12}, {135, 32}} + {{435, 12}, {194, 32}} + YES -2080244224 @@ -223,7 +241,7 @@ YES - 256 + 274 YES @@ -250,8 +268,9 @@ public.url-name - {{-2, -1}, {445, 199}} + {{-2, -1}, {513, 204}} + @@ -265,7 +284,7 @@ WebKitDefaultFontSize WebKitMinimumFontSize - + YES @@ -277,12 +296,14 @@ YES - {{1, 1}, {443, 197}} + {{1, 1}, {511, 202}} + - {{110, 76}, {445, 199}} + {{110, 76}, {513, 204}} + {0, 0} 67239424 @@ -316,8 +337,9 @@ 266 - {{106, 302}, {452, 28}} + {{106, 307}, {520, 28}} + YES 67239424 @@ -336,13 +358,14 @@ 290 - {{106, 50}, {451, 18}} + {{106, 50}, {519, 18}} + YES 67239424 131072 - Выполнять загрузку и установку обновлений в будущем + Автоматически загружать и устанавливать обновления в будущем 1211912703 @@ -361,12 +384,15 @@ - {575, 370} + {643, 375} + + - {{0, 0}, {1920, 1178}} + {{0, 0}, {1440, 878}} {575, 392} - {1.79769e+308, 1.79769e+308} + {10000000000000, 10000000000000} + YES YES @@ -375,6 +401,86 @@ YES + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + installButton + + + + 176 + + + + laterButton + + + + 177 + + + + skipButton + + + + 178 + + + + delegate + + + + 50 + value: applicationIcon @@ -407,46 +513,6 @@ 11 - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - hidden: showsReleaseNotes @@ -467,74 +533,6 @@ 72 - - - installUpdate: - - - - 77 - - - - value: descriptionText - - - - - - value: descriptionText - value - descriptionText - 2 - - - 103 - - - - description - - - - 105 - - - - value: values.SUAutomaticallyUpdate - - - - - - value: values.SUAutomaticallyUpdate - value - values.SUAutomaticallyUpdate - 2 - - - 135 - - - - hidden: allowsAutomaticUpdates - - - - - - hidden: allowsAutomaticUpdates - hidden - allowsAutomaticUpdates - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 141 - hidden: showsReleaseNotes @@ -576,28 +574,56 @@ 164 - - installButton - - + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + - 176 + 103 - - laterButton - - + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + - 177 + 135 - - skipButton - - + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + - 178 + 141 @@ -794,19 +820,15 @@ YES YES + -1.IBPluginDependency + -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 10.IBPluginDependency - 10.ImportedFromIB2 101.IBPluginDependency - 101.IBViewBoundsToFrameTransform - 101.ImportedFromIB2 117.IBPluginDependency - 117.ImportedFromIB2 168.IBPluginDependency 169.IBPluginDependency 17.IBPluginDependency - 17.ImportedFromIB2 170.IBPluginDependency 171.IBPluginDependency 172.IBPluginDependency @@ -814,47 +836,27 @@ 174.IBPluginDependency 175.IBPluginDependency 18.IBPluginDependency - 18.ImportedFromIB2 22.IBPluginDependency - 22.ImportedFromIB2 23.IBPluginDependency - 23.ImportedFromIB2 - 5.IBEditorWindowLastContentRect 5.IBPluginDependency - 5.IBViewEditorWindowController.showingLayoutRectangles 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 5.windowTemplate.hasMinSize - 5.windowTemplate.maxSize - 5.windowTemplate.minSize 6.IBPluginDependency - 6.ImportedFromIB2 7.IBPluginDependency - 7.ImportedFromIB2 76.IBPluginDependency - 76.ImportedFromIB2 89.IBPluginDependency - 89.ImportedFromIB2 93.IBPluginDependency - 93.ImportedFromIB2 - + YES com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABC1AAAw6QAAA - - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -862,45 +864,27 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin {{643, 222}, {575, 370}} com.apple.InterfaceBuilder.CocoaPlugin - - {{643, 222}, {575, 370}} - - - {1.79769e+308, 1.79769e+308} - {575, 370} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - + YES - - YES - + 178 @@ -908,78 +892,6 @@ YES - - FirstResponder - NSObject - - IBUserSource - - - - - NSApplication - NSResponder - - IBUserSource - - - - - NSObject - - IBProjectSource - SUAppcast.h - - - - NSObject - - IBProjectSource - SUAutomaticUpdateAlert.h - - - - NSObject - - IBProjectSource - SUInstaller.h - - - - NSObject - - IBProjectSource - SUUnarchiver.h - - - - NSObject - - IBProjectSource - SUUpdateAlert.h - - - - NSObject - - IBProjectSource - SUUpdatePermissionPrompt.h - - - - NSObject - - IBProjectSource - SUUpdater.h - - - - NSObject - - IBUserSource - - - SUUpdateAlert SUWindowController @@ -991,7 +903,7 @@ remindMeLater: skipThisVersion: - + YES id id @@ -1006,7 +918,7 @@ remindMeLater: skipThisVersion: - + YES installUpdate: @@ -1026,174 +938,33 @@ YES YES - delegate description installButton + laterButton releaseNotesView - versionDisplayer + skipButton - + YES - id NSTextField NSButton + NSButton WebView - id + NSButton YES YES - delegate - description - installButton - releaseNotesView - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - releaseNotesView - WebView - - - versionDisplayer - id - - - - - - - SUUpdateAlert - SUWindowController - - IBUserSource - - - - - SUWindowController - NSWindowController - - IBProjectSource - SUWindowController.h - - - - SUWindowController - NSWindowController - - IBUserSource - - - - - - YES - - NSObject - - IBDocumentRelativeSource - ../SUUpdateAlert.h - - - - SUUpdateAlert - SUWindowController - - YES - - YES - installUpdate: - remindMeLater: - skipThisVersion: - - - YES - id - id - id - - - - YES - - YES - installUpdate: - remindMeLater: - skipThisVersion: - - - YES - - installUpdate: - id - - - remindMeLater: - id - - - skipThisVersion: - id - - - - - YES - - YES - delegate description installButton laterButton releaseNotesView skipButton - versionDisplayer - + YES - id - NSTextField - NSButton - NSButton - WebView - NSButton - id - - - - YES - - YES - delegate - description - installButton - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - - delegate - id - description NSTextField @@ -1214,669 +985,19 @@ skipButton NSButton - - versionDisplayer - id - - - - - - - - YES - - NSActionCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSActionCell.h - - - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSUserInterfaceItemSearching.h - - - - NSBox - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSBox.h - - - - NSButton - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSButton.h - - - - NSButtonCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSButtonCell.h - - - - NSCell - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSCell.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSController - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSController.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSImageCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSImageCell.h - - - - NSImageView - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSImageView.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebDownload.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebEditingDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebFrameLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebJavaPlugIn.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPlugin.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPluginContainer.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPolicyDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebResourceLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebScriptObject.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebUIDelegate.h - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSTextField - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSTextField.h - - - - NSTextFieldCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSTextFieldCell.h - - - - NSUserDefaultsController - NSController - - IBFrameworkSource - AppKit.framework/Headers/NSUserDefaultsController.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSWindow - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - NSWindowController - NSResponder - - showWindow: - id - - - showWindow: - - showWindow: - id - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.h + IBProjectSource + ./Classes/SUUpdateAlert.h - WebView - NSView - - YES - - YES - goBack: - goForward: - makeTextLarger: - makeTextSmaller: - makeTextStandardSize: - reload: - reloadFromOrigin: - stopLoading: - takeStringURLFrom: - toggleContinuousSpellChecking: - toggleSmartInsertDelete: - - - YES - id - id - id - id - id - id - id - id - id - id - id - - - - YES - - YES - goBack: - goForward: - makeTextLarger: - makeTextSmaller: - makeTextStandardSize: - reload: - reloadFromOrigin: - stopLoading: - takeStringURLFrom: - toggleContinuousSpellChecking: - toggleSmartInsertDelete: - - - YES - - goBack: - id - - - goForward: - id - - - makeTextLarger: - id - - - makeTextSmaller: - id - - - makeTextStandardSize: - id - - - reload: - id - - - reloadFromOrigin: - id - - - stopLoading: - id - - - takeStringURLFrom: - id - - - toggleContinuousSpellChecking: - id - - - toggleSmartInsertDelete: - id - - - + SUWindowController + NSWindowController - IBFrameworkSource - WebKit.framework/Headers/WebView.h + IBProjectSource + ./Classes/SUWindowController.h @@ -1889,14 +1010,13 @@ com.apple.InterfaceBuilder.CocoaPlugin.macosx - + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 YES - ../Sparkle.xcodeproj 3 YES @@ -1905,7 +1025,7 @@ NSApplicationIcon NSSwitch - + YES {128, 128} {15, 15} diff --git a/ru.lproj/SUUpdatePermissionPrompt.strings b/ru.lproj/SUUpdatePermissionPrompt.strings index b6003b21f7a146aeb0572cedc79d0b62e784ad10..acf4be1013eb71075b5d63f1b11c2aa52c835073 100755 GIT binary patch delta 267 zcmca0aYuAQi=r`u5`#5^0)rNVJ_8q!ZNgy8pvO?ckO{;&45}}(Qd)#o<)2r7-`oz5 z3$<-9aiM8$=W!l0=X~ceKYuLPOIxzYYSy#1UGR&n#P`hh?VTN1*S_1(cI=p0&pyJZ zu?IbdYsmhPRrg9NNJ!&N&Xyh8XLdU9H>`fezizp)t|e}=!2CW9;ZFC_Vx;~BE2=ia zcS9RkKjquIDAeqe_w@;Wu6VhDor148JB&i`a_sj>$Yd>VuTt2|syE>E)NQ-6TXi|c zmaDp^i!8&s%I>DiFc#b{)QT%IQ%p_6avm?#y|12QwW2Y2B#GSLS)ET=JxNcn@(C71 zwsptWS?mcBJ$r^-TN2q37M^3>$j-=3;oJ2Y+@6T})(of@QuaUm#Neq#x97INK6a(4 z@lbR7DX$h?jhzy46Z^O+pd+%f%c4zD7K1|x%7#mQI#RG1DGVnj@-vbR~Q>ReJo2JEUwT(G+E@pj7Uj3^us zjmN$hOv|u>Wm0~4_=&+&i&T=B$k`;qJN2jiV!p*VE@BtM9*nirYwKH|>u#-W$d&2{JE)T}JnS}Gd< zBlWkC3R(P^Y)tw@)8&0_&-e^hpVjO-pUZBI)$NQ{SGb+gqU*&W?hIL8g+qO0lX2Bc z$E;K%lJ`n7FF?uCbJqD9NU3sc!6y zQkjbE=-rcZ%O*bQ6<-*UPNrXY%Mewj}+w>hGs_T`}pbYe)El|jb X#RsU-5NMz^kmUh1NKHYB!I}X8b@n#% delta 149 zcmccS{K$DjA0vk;i!qBGivq*u9>y59&Cl3nSSIfhblB{~rb>jh#sYXM4qusp25g7IZISz^8v|k?2{)cim<6EC^1+w004tRC~^P* From 09f0c43e7c245797023e0ca7018a064c32a58460 Mon Sep 17 00:00:00 2001 From: Vera Tkachenko Date: Thu, 1 Mar 2012 01:02:21 +0200 Subject: [PATCH 17/18] Minor fix of Ukrainian localization --- uk.lproj/Sparkle.strings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uk.lproj/Sparkle.strings b/uk.lproj/Sparkle.strings index d5412483..0f92ac4b 100644 --- a/uk.lproj/Sparkle.strings +++ b/uk.lproj/Sparkle.strings @@ -2,7 +2,7 @@ "%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ завантажений і готовий до використання! Бажаєте встановити і перезавантажити %1$@?"; /* No comment provided by engineer. */ -"%1$@ can't be updated when it's running from a read-only volume like a disk image or an optical drive. Move %1$@ to your Applications folder, relaunch it from there, and try again." = "Під час роботи з %1$@ з тому, що призначений лише для читання, наприклад, образу диска чи оптичного диску, його неможливо оновити. Перемістіть %1$@ у папку з программами, перезавантажте його звідти і спробуйте ще раз."; +"%1$@ can't be updated when it's running from a read-only volume like a disk image or an optical drive. Move %1$@ to your Applications folder, relaunch it from there, and try again." = "Під час роботи з %1$@ з тому, що призначений лише для читання, наприклад, образу диска чи оптичного диску, його неможливо оновити. Перемістіть %1$@ у папку з програмами, перезавантажте його звідти і спробуйте ще раз."; /* No comment provided by engineer. */ "%@ %@ is currently the newest version available." = "У данний момент %1$@ %2$@ є останньою версією."; From dbd2b9b30aad66296fab5cf9b980bf02020fa71a Mon Sep 17 00:00:00 2001 From: Whitney Young Date: Tue, 20 Mar 2012 10:01:21 -0500 Subject: [PATCH 18/18] Added an XPC service to deal with sandboxing. This fixes #163. It requires that you copy the XPC service into your main application bundle in Contents/XPCServices and runs the remove from quarantine step of copying the finish_installation app as well as launching finish_installation app outside of the sandbox. Sparkle will function exactly as it does now for applications that do not copy the XPC service into their application bundle. --- Configurations/ConfigService.xcconfig | 5 + Configurations/ConfigServiceDebug.xcconfig | 5 + Configurations/ConfigServiceRelease.xcconfig | 3 + SUBasicUpdateDriver.m | 18 +- SUPlainInstallerInternals.m | 5 +- SUXPC.h | 16 ++ SUXPC.m | 72 ++++++++ SandboxService.plist | 29 ++++ Sparkle.xcodeproj/project.pbxproj | 165 +++++++++++++++++++ finish_installation.m | 1 + sandbox_service.m | 91 ++++++++++ 11 files changed, 407 insertions(+), 3 deletions(-) create mode 100644 Configurations/ConfigService.xcconfig create mode 100644 Configurations/ConfigServiceDebug.xcconfig create mode 100644 Configurations/ConfigServiceRelease.xcconfig create mode 100644 SUXPC.h create mode 100644 SUXPC.m create mode 100644 SandboxService.plist create mode 100644 sandbox_service.m diff --git a/Configurations/ConfigService.xcconfig b/Configurations/ConfigService.xcconfig new file mode 100644 index 00000000..6ecc2bd1 --- /dev/null +++ b/Configurations/ConfigService.xcconfig @@ -0,0 +1,5 @@ +// Sandbox Service only + +PRODUCT_NAME = com.andymatuschak.Sparkle.SandboxService +WRAPPER_EXTENSION = xpc +MACH_O_TYPE = mh_execute diff --git a/Configurations/ConfigServiceDebug.xcconfig b/Configurations/ConfigServiceDebug.xcconfig new file mode 100644 index 00000000..68bb414d --- /dev/null +++ b/Configurations/ConfigServiceDebug.xcconfig @@ -0,0 +1,5 @@ +#include "ConfigCommon.xcconfig" +#include "ConfigCommonDebug.xcconfig" +#include "ConfigService.xcconfig" + +OTHER_CFLAGS = -fsingle-precision-constant -DDEBUG diff --git a/Configurations/ConfigServiceRelease.xcconfig b/Configurations/ConfigServiceRelease.xcconfig new file mode 100644 index 00000000..a20df8a6 --- /dev/null +++ b/Configurations/ConfigServiceRelease.xcconfig @@ -0,0 +1,3 @@ +#include "ConfigCommon.xcconfig" +#include "ConfigCommonRelease.xcconfig" +#include "ConfigService.xcconfig" diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index a53a354c..e32b9c77 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -19,6 +19,7 @@ #import "SUPlainInstallerInternals.h" #import "SUBinaryDeltaCommon.h" #import "SUUpdater_Private.h" +#import "SUXPC.h" @interface SUBasicUpdateDriver () ; @end @@ -272,6 +273,10 @@ [self abortUpdate]; return; } + + BOOL running10_7 = floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6; + BOOL useXPC = running10_7 && [[NSFileManager defaultManager] fileExistsAtPath: + [[host bundlePath] stringByAppendingPathComponent:@"Contents/XPCServices/com.andymatuschak.Sparkle.SandboxService.xpc"]]; // Give the host app an opportunity to postpone the install and relaunch. static BOOL postponedOnce = NO; @@ -302,7 +307,12 @@ #endif // Only the paranoid survive: if there's already a stray copy of relaunch there, we would have problems. - if( [SUPlainInstaller copyPathWithAuthentication: relaunchPathToCopy overPath: targetPath temporaryName: nil error: &error] ) + BOOL copiedRelaunchTool = FALSE; + if( useXPC ) + copiedRelaunchTool = [SUXPC copyPathWithAuthentication: relaunchPathToCopy overPath: targetPath temporaryName: nil error: &error]; + else + copiedRelaunchTool = [SUPlainInstaller copyPathWithAuthentication: relaunchPathToCopy overPath: targetPath temporaryName: nil error: &error]; + if( copiedRelaunchTool ) relaunchPath = [targetPath retain]; else [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURelaunchError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred while extracting the archive. Please try again later.", nil), NSLocalizedDescriptionKey, [NSString stringWithFormat:@"Couldn't copy relauncher (%@) to temporary path (%@)! %@", relaunchPathToCopy, targetPath, (error ? [error localizedDescription] : @"")], NSLocalizedFailureReasonErrorKey, nil]]]; @@ -323,7 +333,11 @@ if ([[updater delegate] respondsToSelector:@selector(pathToRelaunchForUpdater:)]) pathToRelaunch = [[updater delegate] pathToRelaunchForUpdater:updater]; NSString *relaunchToolPath = [relaunchPath stringByAppendingPathComponent: @"/Contents/MacOS/finish_installation"]; - [NSTask launchedTaskWithLaunchPath: relaunchToolPath arguments:[NSArray arrayWithObjects:[host bundlePath], pathToRelaunch, [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], tempDir, relaunch ? @"1" : @"0", nil]]; + NSArray *arguments = [NSArray arrayWithObjects:[host bundlePath], pathToRelaunch, [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], tempDir, relaunch ? @"1" : @"0", nil]; + if( useXPC ) + [SUXPC launchTaskWithLaunchPath: relaunchToolPath arguments:arguments]; + else + [NSTask launchedTaskWithLaunchPath: relaunchToolPath arguments:arguments]; [NSApp terminate:self]; } diff --git a/SUPlainInstallerInternals.m b/SUPlainInstallerInternals.m index 15eb16b4..475862a9 100644 --- a/SUPlainInstallerInternals.m +++ b/SUPlainInstallerInternals.m @@ -524,7 +524,10 @@ static BOOL AuthorizationExecuteWithPrivilegesAndWait(AuthorizationRef authoriza // new home in case it's moved across filesystems: if that // happens, the move is actually a copy, and it may result // in the application being quarantined. - [self performSelectorOnMainThread:@selector(releaseFromQuarantine:) withObject:dst waitUntilDone:YES]; + if ([NSThread isMultiThreaded]) + [self performSelectorOnMainThread:@selector(releaseFromQuarantine:) withObject:dst waitUntilDone:YES]; + else + [self releaseFromQuarantine:dst]; return YES; } diff --git a/SUXPC.h b/SUXPC.h new file mode 100644 index 00000000..ac8fb661 --- /dev/null +++ b/SUXPC.h @@ -0,0 +1,16 @@ +// +// SUXPC.h +// Sparkle +// +// Created by Whitney Young on 3/19/12. +// Copyright (c) 2012 FadingRed. All rights reserved. +// + +#import + +@interface SUXPC : NSObject + ++ (BOOL)copyPathWithAuthentication:(NSString *)src overPath:(NSString *)dst temporaryName:(NSString *)tmp error:(NSError **)error; ++ (void)launchTaskWithLaunchPath:(NSString *)path arguments:(NSArray *)arguments; + +@end diff --git a/SUXPC.m b/SUXPC.m new file mode 100644 index 00000000..ccf94de7 --- /dev/null +++ b/SUXPC.m @@ -0,0 +1,72 @@ +// +// SUXPC.m +// Sparkle +// +// Created by Whitney Young on 3/19/12. +// Copyright (c) 2012 FadingRed. All rights reserved. +// + +#import +#import "SUXPC.h" + + +@implementation SUXPC + ++ (BOOL)copyPathWithAuthentication:(NSString *)src overPath:(NSString *)dst temporaryName:(NSString *)tmp error:(NSError **)error { + xpc_connection_t connection = xpc_connection_create("com.andymatuschak.Sparkle.SandboxService", NULL); + xpc_connection_set_event_handler(connection, ^(xpc_object_t event) { + xpc_dictionary_apply(event, ^bool(const char *key, xpc_object_t value) { + NSLog(@"XPC %s: %s", key, xpc_string_get_string_ptr(value)); + return true; + }); + }); + xpc_connection_resume(connection); + + xpc_object_t message = xpc_dictionary_create(NULL, NULL, 0); + xpc_dictionary_set_string(message, "id", "copy_path"); + + if( src ) + xpc_dictionary_set_string(message, "source", [src fileSystemRepresentation]); + if( dst ) + xpc_dictionary_set_string(message, "destination", [dst fileSystemRepresentation]); + if( tmp ) + xpc_dictionary_set_string(message, "tmp", [tmp UTF8String]); + + xpc_object_t response = xpc_connection_send_message_with_reply_sync(connection, message); + xpc_type_t type = xpc_get_type(response); + return type == XPC_TYPE_DICTIONARY; +} + ++ (void)launchTaskWithLaunchPath:(NSString *)path arguments:(NSArray *)arguments { + xpc_connection_t connection = xpc_connection_create("com.andymatuschak.Sparkle.SandboxService", NULL); + xpc_connection_set_event_handler(connection, ^(xpc_object_t event) { + xpc_dictionary_apply(event, ^bool(const char *key, xpc_object_t value) { + NSLog(@"XPC %s: %s", key, xpc_string_get_string_ptr(value)); + return true; + }); + }); + xpc_connection_resume(connection); + + xpc_object_t message = xpc_dictionary_create(NULL, NULL, 0); + xpc_dictionary_set_string(message, "id", "launch_task"); + + if( path ) + xpc_dictionary_set_string(message, "path", [path fileSystemRepresentation]); + + xpc_object_t array = xpc_array_create(NULL, 0); + for (id argument in arguments) { + xpc_array_append_value(array, xpc_string_create([argument UTF8String])); + } + + xpc_dictionary_set_value(message, "arguments", array); + + xpc_object_t response = xpc_connection_send_message_with_reply_sync(connection, message); + xpc_type_t type = xpc_get_type(response); + BOOL success = (type == XPC_TYPE_DICTIONARY); + + if (!success) { + NSLog(@"XPC launch error"); + } +} + +@end diff --git a/SandboxService.plist b/SandboxService.plist new file mode 100644 index 00000000..a36bd3c4 --- /dev/null +++ b/SandboxService.plist @@ -0,0 +1,29 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${EXECUTABLE_NAME} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + XPC! + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + XPCService + + ServiceType + Application + + + diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 022976a5..1c9f051e 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -131,6 +131,20 @@ 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61FA52880E2D9EA400EF58AD /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; settings = {ATTRIBUTES = (Required, ); }; }; + 8B887B611517F3AC000BB292 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8B887B601517F3AC000BB292 /* Foundation.framework */; }; + 8B887B7E1517F888000BB292 /* SUXPC.h in Headers */ = {isa = PBXBuildFile; fileRef = 8B887B7C1517F888000BB292 /* SUXPC.h */; }; + 8B887B7F1517F888000BB292 /* SUXPC.m in Sources */ = {isa = PBXBuildFile; fileRef = 8B887B7D1517F888000BB292 /* SUXPC.m */; }; + 8B887B811517FAA3000BB292 /* SUPlainInstallerInternals.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B5F8E509C4CE3C00B25A18 /* SUPlainInstallerInternals.m */; }; + 8B887B821517FAA4000BB292 /* SUPlainInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5040DAE8AB80026945C /* SUPlainInstaller.m */; }; + 8B887B831517FAE9000BB292 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55C14F31136EFC2400649790 /* SystemConfiguration.framework */; }; + 8B887B841517FAEC000BB292 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6117796E0D1112E000749C97 /* IOKit.framework */; }; + 8B887B861517FAFE000BB292 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61B5F8F609C4CEB300B25A18 /* Security.framework */; }; + 8B887B881517FB1C000BB292 /* SUInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5000DAE88B40026945C /* SUInstaller.m */; }; + 8B887B891517FB3E000BB292 /* SULog.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14F05136EF6DB00649790 /* SULog.m */; }; + 8B887B8A1517FB43000BB292 /* SUConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 61299A5F09CA6EB100B7442F /* SUConstants.m */; }; + 8B887B8B1517FB52000BB292 /* SUPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5210DAE8E8A0026945C /* SUPackageInstaller.m */; }; + 8B887B8C1517FB5D000BB292 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; + 8B887B8E15180767000BB292 /* sandbox_service.m in Sources */ = {isa = PBXBuildFile; fileRef = 8B887B8D15180767000BB292 /* sandbox_service.m */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -162,6 +176,13 @@ remoteGlobalIDString = 8DC2EF4F0486A6940098B216; remoteInfo = Sparkle; }; + 8B887B731517F472000BB292 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 8B887B5D1517F3AB000BB292; + remoteInfo = Service; + }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -379,6 +400,15 @@ 61F614540E24A12D009F47E7 /* it */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Sparkle.strings; sourceTree = ""; }; 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUBasicUpdateDriver.h; sourceTree = ""; }; 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBasicUpdateDriver.m; sourceTree = ""; }; + 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = com.andymatuschak.Sparkle.SandboxService.xpc; sourceTree = BUILT_PRODUCTS_DIR; }; + 8B887B601517F3AC000BB292 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 8B887B701517F447000BB292 /* ConfigService.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigService.xcconfig; sourceTree = ""; }; + 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigServiceDebug.xcconfig; sourceTree = ""; }; + 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigServiceRelease.xcconfig; sourceTree = ""; }; + 8B887B7C1517F888000BB292 /* SUXPC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUXPC.h; sourceTree = SOURCE_ROOT; }; + 8B887B7D1517F888000BB292 /* SUXPC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUXPC.m; sourceTree = SOURCE_ROOT; }; + 8B887B8D15180767000BB292 /* sandbox_service.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = sandbox_service.m; sourceTree = SOURCE_ROOT; }; + 8B887B8F15180773000BB292 /* SandboxService.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = SandboxService.plist; sourceTree = SOURCE_ROOT; }; 8DC2EF5A0486A6940098B216 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 8DC2EF5B0486A6940098B216 /* Sparkle.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Sparkle.framework; sourceTree = BUILT_PRODUCTS_DIR; }; FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigFrameworkDebug.xcconfig; sourceTree = ""; }; @@ -439,6 +469,18 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 8B887B5B1517F3AB000BB292 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8B887B611517F3AC000BB292 /* Foundation.framework in Frameworks */, + 8B887B831517FAE9000BB292 /* SystemConfiguration.framework in Frameworks */, + 8B887B841517FAEC000BB292 /* IOKit.framework in Frameworks */, + 8B887B8C1517FB5D000BB292 /* AppKit.framework in Frameworks */, + 8B887B861517FAFE000BB292 /* Security.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DC2EF560486A6940098B216 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -465,6 +507,7 @@ 612279D90DB5470200AB99EA /* Sparkle Unit Tests.octest */, 5D06E8D00FD68C7C005AE3F6 /* BinaryDelta */, 55C14BB7136EEF1500649790 /* finish_installation.app */, + 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */, ); name = Products; sourceTree = ""; @@ -478,12 +521,14 @@ 55C14BD5136EEFD000649790 /* finish_installation tool */, 6101354A0DD25B7F0049ACDF /* Unarchiving */, 61299B3A09CB056100B7442F /* User Interface */, + 8B887B621517F3AC000BB292 /* Sandbox Service */, 61B5F8F309C4CE5900B25A18 /* Other Sources */, 089C1665FE841158C02AAC07 /* Framework Resources */, 61227A100DB5484000AB99EA /* Tests */, 61B5F91D09C4CF7F00B25A18 /* Test Application Sources */, 0867D69AFE84028FC02AAC07 /* Apple Frameworks and Libraries */, FA1941C40D94A6EA00DD942E /* Configurations */, + 8B887B5F1517F3AB000BB292 /* Frameworks */, 034768DFFF38A50411DB9C8B /* Products */, ); name = Sparkle; @@ -698,6 +743,42 @@ name = "Update Control"; sourceTree = ""; }; + 8B887B5F1517F3AB000BB292 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 8B887B601517F3AC000BB292 /* Foundation.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 8B887B621517F3AC000BB292 /* Sandbox Service */ = { + isa = PBXGroup; + children = ( + 8B887B801517F8B4000BB292 /* Service */, + 8B887B631517F3AC000BB292 /* Interface */, + ); + name = "Sandbox Service"; + path = Update; + sourceTree = ""; + }; + 8B887B631517F3AC000BB292 /* Interface */ = { + isa = PBXGroup; + children = ( + 8B887B7C1517F888000BB292 /* SUXPC.h */, + 8B887B7D1517F888000BB292 /* SUXPC.m */, + ); + name = Interface; + sourceTree = ""; + }; + 8B887B801517F8B4000BB292 /* Service */ = { + isa = PBXGroup; + children = ( + 8B887B8D15180767000BB292 /* sandbox_service.m */, + 8B887B8F15180773000BB292 /* SandboxService.plist */, + ); + name = Service; + sourceTree = ""; + }; FA1941C40D94A6EA00DD942E /* Configurations */ = { isa = PBXGroup; children = ( @@ -718,6 +799,9 @@ FA1941CE0D94A70100DD942E /* ConfigRelaunch.xcconfig */, FA1941D30D94A70100DD942E /* ConfigRelaunchDebug.xcconfig */, FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */, + 8B887B701517F447000BB292 /* ConfigService.xcconfig */, + 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */, + 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */, FA3AAF3B1050B273004B3130 /* ConfigUnitTest.xcconfig */, FA3AAF3A1050B273004B3130 /* ConfigUnitTestDebug.xcconfig */, FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */, @@ -772,6 +856,7 @@ 55C14F06136EF6DB00649790 /* SULog.h in Headers */, 55C14F0F136EF73600649790 /* finish_installation.pch in Headers */, 6158A1C5137904B300487EC1 /* SUUpdater_Private.h in Headers */, + 8B887B7E1517F888000BB292 /* SUXPC.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -851,6 +936,23 @@ productReference = 61B5F90209C4CEE200B25A18 /* Sparkle Test App.app */; productType = "com.apple.product-type.application"; }; + 8B887B5D1517F3AB000BB292 /* sandbox_service */ = { + isa = PBXNativeTarget; + buildConfigurationList = 8B887B6E1517F3AC000BB292 /* Build configuration list for PBXNativeTarget "sandbox_service" */; + buildPhases = ( + 8B887B5A1517F3AB000BB292 /* Sources */, + 8B887B5B1517F3AB000BB292 /* Frameworks */, + 8B887B5C1517F3AB000BB292 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = sandbox_service; + productName = Update; + productReference = 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */; + productType = "com.apple.product-type.bundle"; + }; 8DC2EF4F0486A6940098B216 /* Sparkle */ = { isa = PBXNativeTarget; buildConfigurationList = 1DEB91AD08733DA50010E9CD /* Build configuration list for PBXNativeTarget "Sparkle" */; @@ -867,6 +969,7 @@ ); dependencies = ( 55C14F97136F044100649790 /* PBXTargetDependency */, + 8B887B741517F472000BB292 /* PBXTargetDependency */, ); name = Sparkle; productInstallPath = "$(HOME)/Library/Frameworks"; @@ -936,6 +1039,7 @@ 612279D80DB5470200AB99EA /* Sparkle Unit Tests */, 5D06E8CF0FD68C7C005AE3F6 /* BinaryDelta */, 55C14BB6136EEF1500649790 /* finish_installation */, + 8B887B5D1517F3AB000BB292 /* sandbox_service */, ); }; /* End PBXProject section */ @@ -969,6 +1073,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 8B887B5C1517F3AB000BB292 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DC2EF520486A6940098B216 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -1106,6 +1217,20 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 8B887B5A1517F3AB000BB292 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8B887B881517FB1C000BB292 /* SUInstaller.m in Sources */, + 8B887B821517FAA4000BB292 /* SUPlainInstaller.m in Sources */, + 8B887B811517FAA3000BB292 /* SUPlainInstallerInternals.m in Sources */, + 8B887B8B1517FB52000BB292 /* SUPackageInstaller.m in Sources */, + 8B887B8A1517FB43000BB292 /* SUConstants.m in Sources */, + 8B887B891517FB3E000BB292 /* SULog.m in Sources */, + 8B887B8E15180767000BB292 /* sandbox_service.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DC2EF540486A6940098B216 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -1144,6 +1269,7 @@ 5D06E8ED0FD68CE4005AE3F6 /* SUBinaryDeltaCommon.m in Sources */, 5D06E93A0FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.m in Sources */, 55C14F07136EF6DB00649790 /* SULog.m in Sources */, + 8B887B7F1517F888000BB292 /* SUXPC.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1170,6 +1296,11 @@ target = 8DC2EF4F0486A6940098B216 /* Sparkle */; targetProxy = 61FA528C0E2D9EB200EF58AD /* PBXContainerItemProxy */; }; + 8B887B741517F472000BB292 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 8B887B5D1517F3AB000BB292 /* sandbox_service */; + targetProxy = 8B887B731517F472000BB292 /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -1478,6 +1609,30 @@ }; name = Release; }; + 8B887B6B1517F3AC000BB292 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */; + buildSettings = { + INFOPLIST_FILE = SandboxService.plist; + }; + name = Debug; + }; + 8B887B6C1517F3AC000BB292 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */; + buildSettings = { + INFOPLIST_FILE = SandboxService.plist; + }; + name = Release; + }; + 8B887B6D1517F3AC000BB292 /* Release (GC dual-mode; 10.5+) */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */; + buildSettings = { + INFOPLIST_FILE = SandboxService.plist; + }; + name = "Release (GC dual-mode; 10.5+)"; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -1541,6 +1696,16 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 8B887B6E1517F3AC000BB292 /* Build configuration list for PBXNativeTarget "sandbox_service" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8B887B6B1517F3AC000BB292 /* Debug */, + 8B887B6C1517F3AC000BB292 /* Release */, + 8B887B6D1517F3AC000BB292 /* Release (GC dual-mode; 10.5+) */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = 0867D690FE84028FC02AAC07 /* Project object */; diff --git a/finish_installation.m b/finish_installation.m index c0d2cc69..b3ad7643 100644 --- a/finish_installation.m +++ b/finish_installation.m @@ -116,6 +116,7 @@ appPath = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:executablepath length:strlen(executablepath)]; else appPath = [host installationPath]; + [[NSWorkspace sharedWorkspace] openFile: appPath]; } diff --git a/sandbox_service.m b/sandbox_service.m new file mode 100644 index 00000000..101c66a5 --- /dev/null +++ b/sandbox_service.m @@ -0,0 +1,91 @@ +// +// main.m +// Update +// +// Created by Whitney Young on 3/19/12. +// Copyright (c) 2012 FadingRed. All rights reserved. +// + +#include +#include +#import "SUPlainInstallerInternals.h" + +static void peer_event_handler(xpc_connection_t peer, xpc_object_t event) +{ + xpc_type_t type = xpc_get_type(event); + if (type == XPC_TYPE_ERROR) { + if (event == XPC_ERROR_CONNECTION_INVALID) { + // The client process on the other end of the connection has either + // crashed or cancelled the connection. After receiving this error, + // the connection is in an invalid state, and you do not need to + // call xpc_connection_cancel(). Just tear down any associated state + // here. + } else if (event == XPC_ERROR_TERMINATION_IMMINENT) { + // Handle per-connection termination cleanup. + } + } else { + assert(type == XPC_TYPE_DICTIONARY); + // Handle the message. + const char *identifier = xpc_dictionary_get_string(event, "id"); + BOOL copyPath = strcmp(identifier, "copy_path") == 0; + BOOL launchTask = strcmp(identifier, "launch_task") == 0; + + if( copyPath ) + { + const char *src = xpc_dictionary_get_string(event, "source"); + const char *dst = xpc_dictionary_get_string(event, "destination"); + const char *tmp = xpc_dictionary_get_string(event, "tmp"); + + NSFileManager *manager = [NSFileManager defaultManager]; + NSString *relaunchPathToCopy = src ? [manager stringWithFileSystemRepresentation:src length:strlen(src)] : nil; + NSString *targetPath = dst ? [manager stringWithFileSystemRepresentation:dst length:strlen(dst)] : nil; + NSString *temporaryName = tmp ? [NSString stringWithUTF8String:tmp] : nil; + NSError *error = nil; + [SUPlainInstaller copyPathWithAuthentication: relaunchPathToCopy overPath: targetPath temporaryName: temporaryName error: &error]; + + // send response to indicate ok + xpc_object_t reply = xpc_dictionary_create_reply(event); + xpc_connection_send_message(peer, reply); + } + else if( launchTask ) + { + const char *path = xpc_dictionary_get_string(event, "path"); + xpc_object_t array = xpc_dictionary_get_value(event, "arguments"); + + NSFileManager *manager = [NSFileManager defaultManager]; + NSString *relaunchToolPath = path ? [manager stringWithFileSystemRepresentation:path length:strlen(path)] : nil;; + NSMutableArray *arguments = [NSMutableArray array]; + + for (size_t i = 0; i < xpc_array_get_count(array); i++) { + [arguments addObject: + [NSString stringWithUTF8String:xpc_array_get_string(array, i)]]; + } + + [NSTask launchedTaskWithLaunchPath: relaunchToolPath arguments:arguments]; + + // send response to indicate ok + xpc_object_t reply = xpc_dictionary_create_reply(event); + xpc_connection_send_message(peer, reply); + } + } +} + +static void event_handler(xpc_connection_t peer) +{ + // By defaults, new connections will target the default dispatch + // concurrent queue. + xpc_connection_set_event_handler(peer, ^(xpc_object_t event) { + peer_event_handler(peer, event); + }); + + // This will tell the connection to begin listening for events. If you + // have some other initialization that must be done asynchronously, then + // you can defer this call until after that initialization is done. + xpc_connection_resume(peer); +} + +int main(int argc, const char *argv[]) +{ + xpc_main(event_handler); + return 0; +}