Commit c82be797 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* show the platform the in the about panel to make end-user-support a bit easier

parent 507cb45e
......@@ -55,8 +55,8 @@ static VLAboutBox *_o_sharedInstance = nil;
if (!o_credits_path)
{
NSString *o_name;
NSString *o_version;
NSString *o_thanks_path;
NSString *o_platform;
/* Get the info dictionary (Info.plist) */
o_info_dict = [[NSBundle mainBundle] infoDictionary];
......@@ -72,20 +72,21 @@ static VLAboutBox *_o_sharedInstance = nil;
/* Set the about box title */
[o_about_window setTitle:_NS("About VLC media player")];
/* Setup the version field */
o_version = [o_info_dict objectForKey:@"CFBundleVersion"];
#ifdef __powerpc__ || __ppc__ || __ppc64__
o_platform = @"PowerPC";
#else
o_platform = @"Intel";
#endif
/* setup the creator / revision field */
if( VLC_Changeset() != "exported" )
[o_revision_field setStringValue: [NSString stringWithFormat: \
_NS("Compiled by %s, based on SVN revision %s"), VLC_CompileBy(), \
VLC_Changeset()]];
[o_revision_field setStringValue:
[NSString stringWithFormat: _NS("Compiled by %s, based on SVN revision %s"), VLC_CompileBy(), VLC_Changeset()]];
else
[o_revision_field setStringValue: [NSString stringWithFormat: \
_NS("Compiled by %s"), VLC_CompileBy()]];
[o_revision_field setStringValue: [NSString stringWithFormat: _NS("Compiled by %s"), VLC_CompileBy()]];
/* Setup the nameversion field */
o_name_version = [NSString stringWithFormat:@"Version %@", o_version];
o_name_version = [NSString stringWithFormat:@"Version %s (%@)", VLC_Version(), o_platform];
[o_name_version_field setStringValue: o_name_version];
/* Setup our credits */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment