[vlc-devel] commit: macosx: localise the update panel correctly ( Felix Paul Kühne )
git version control
git at videolan.org
Mon Jul 20 23:56:33 CEST 2009
vlc | branch: 0.9-bugfix | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jul 20 23:51:08 2009 +0200| [d0fbd04ce361f9dbc16d44dae09c168db708b3a3] | committer: Felix Paul Kühne
macosx: localise the update panel correctly
Needs forward-ports
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d0fbd04ce361f9dbc16d44dae09c168db708b3a3
---
modules/gui/macosx/update.m | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/modules/gui/macosx/update.m b/modules/gui/macosx/update.m
index cb52484..ac34d51 100644
--- a/modules/gui/macosx/update.m
+++ b/modules/gui/macosx/update.m
@@ -55,15 +55,6 @@ static VLCUpdate *_o_sharedInstance = nil;
} else {
_o_sharedInstance = [super init];
b_checked = false;
-
- /* clean the interface */
- [o_fld_releaseNote setString: @""];
- [o_fld_currentVersion setString: @""];
- /* translate strings to the user's language */
- [o_update_window setTitle: _NS("Check for Updates")];
- [o_btn_DownloadNow setTitle: _NS("Download now")];
- [o_btn_okay setTitle: _NS("OK")];
- [o_chk_updateOnStartup setTitle: _NS("Automatically check for updates")];
}
return _o_sharedInstance;
@@ -71,6 +62,15 @@ static VLCUpdate *_o_sharedInstance = nil;
- (void)awakeFromNib
{
+ /* clean the interface */
+ [o_fld_releaseNote setString: @""];
+ [o_fld_currentVersion setStringValue: @""];
+ /* translate strings to the user's language */
+ [o_update_window setTitle: _NS("Check for Updates")];
+ [o_btn_DownloadNow setTitle: _NS("Download now")];
+ [o_btn_okay setTitle: _NS("OK")];
+ [o_chk_updateOnStartup setTitle: _NS("Automatically check for updates")];
+
/* we don't use - (BOOL)shouldCheckUpdateOnStartup because we don't want
* the Alert panel to pop up at this time */
[o_chk_updateOnStartup setState: [[NSUserDefaults standardUserDefaults] boolForKey: kPrefUpdateOnStartup]];
More information about the vlc-devel
mailing list