Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
0c4a6077
Commit
0c4a6077
authored
May 20, 2013
by
Felix Paul Kühne
Browse files
display code name in the about panel
parent
4bbd7211
Changes
2
Hide whitespace changes
Inline
Side-by-side
AspenProject/VLCAboutViewController.m
View file @
0c4a6077
...
...
@@ -27,7 +27,7 @@
self
.
dismissButton
.
title
=
NSLocalizedString
(
@"BUTTON_DONE"
,
@""
);
self
.
textContents
.
text
=
[
NSString
stringWithContentsOfFile
:[[
NSBundle
mainBundle
]
pathForResource
:
@"About Contents"
ofType
:
@"txt"
]
encoding
:
NSUTF8StringEncoding
error
:
nil
];
self
.
aspenVersion
.
text
=
[
NSString
stringWithFormat
:
NSLocalizedString
(
@"VERSION_FORMAT"
,
@""
),
[[
NSBundle
mainBundle
]
objectForInfoDictionaryKey
:
@"CFBundleVersion"
]];
self
.
aspenVersion
.
text
=
[
[
NSString
stringWithFormat
:
NSLocalizedString
(
@"VERSION_FORMAT"
,
@""
),
[[
NSBundle
mainBundle
]
objectForInfoDictionaryKey
:
@"CFBundleVersion"
]]
stringByAppendingFormat
:
@" %@"
,
kVLCVersionCodename
]
;
self
.
vlckitVersion
.
text
=
[
NSString
stringWithFormat
:
NSLocalizedString
(
@"BASED_ON_FORMAT"
,
@""
),[[
VLCLibrary
sharedLibrary
]
version
]];
}
...
...
AspenProject/VLCConstants.h
View file @
0c4a6077
...
...
@@ -6,6 +6,8 @@
// Copyright (c) 2013 VideoLAN. All rights reserved.
//
#define kVLCVersionCodename @"Aspen"
#define kVLCSettingPasscodeKey @"Passcode"
#define kVLCSettingPasscodeOnKey @"PasscodeProtection"
#define kVLCSettingContinueAudioInBackgroundKey @"BackgroundAudioPlayback"
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment