Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
582efa4e
Commit
582efa4e
authored
Apr 11, 2013
by
Gleb Pinigin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add localization for <TV connected> placeholder
parent
567d2557
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
63 additions
and
3 deletions
+63
-3
AspenProject/VLCMovieViewController.h
AspenProject/VLCMovieViewController.h
+3
-0
AspenProject/VLCMovieViewController.m
AspenProject/VLCMovieViewController.m
+6
-1
Resources/VLCMovieViewController~ipad.xib
Resources/VLCMovieViewController~ipad.xib
+27
-1
Resources/VLCMovieViewController~iphone.xib
Resources/VLCMovieViewController~iphone.xib
+27
-1
Resources/en.lproj/Localizable.strings
Resources/en.lproj/Localizable.strings
+0
-0
Resources/ru.lproj/Localizable.strings
Resources/ru.lproj/Localizable.strings
+0
-0
No files found.
AspenProject/VLCMovieViewController.h
View file @
582efa4e
...
...
@@ -40,7 +40,10 @@
@property
(
nonatomic
,
retain
)
IBOutlet
UIButton
*
audioSwitcherButton
;
@property
(
nonatomic
,
retain
)
IBOutlet
UIToolbar
*
toolbar
;
@property
(
nonatomic
,
retain
)
IBOutlet
UIView
*
controllerPanel
;
@property
(
nonatomic
,
retain
)
IBOutlet
UIView
*
playingExternallyView
;
@property
(
nonatomic
,
retain
)
IBOutlet
UILabel
*
playingExternallyTitle
;
@property
(
nonatomic
,
retain
)
IBOutlet
UILabel
*
playingExternallyDescription
;
@property
(
strong
,
nonatomic
)
MLFile
*
mediaItem
;
...
...
AspenProject/VLCMovieViewController.m
View file @
582efa4e
...
...
@@ -16,7 +16,8 @@
@implementation
VLCMovieViewController
@synthesize
movieView
=
_movieView
,
backButton
=
_backButton
,
positionSlider
=
_positionSlider
,
timeDisplay
=
_timeDisplay
,
playPauseButton
=
_playPauseButton
,
bwdButton
=
_bwdButton
,
fwdButton
=
_fwdButton
,
subtitleSwitcherButton
=
_subtitleSwitcherButton
,
audioSwitcherButton
=
_audioSwitcherButton
;
@synthesize
toolbar
=
_toolbar
,
controllerPanel
=
_controllerPanel
,
playingExternallyView
=
_playingExternallyView
;
@synthesize
toolbar
=
_toolbar
,
controllerPanel
=
_controllerPanel
,
playingExternallyView
=
_playingExternallyView
,
playingExternallyTitle
=
_playingExternallyTitle
,
playingExternallyDescription
=
_playingExternallyDescription
;
-
(
void
)
dealloc
{
...
...
@@ -35,6 +36,8 @@
[
_audioSwitcherButton
release
];
[
_controllerPanel
release
];
[
_playingExternallyView
release
];
[
_playingExternallyTitle
release
];
[
_playingExternallyDescription
release
];
[
_mediaPlayer
stop
];
[
_mediaPlayer
release
];
...
...
@@ -71,6 +74,8 @@
name:
UIScreenDidDisconnectNotification
object
:
nil
];
[
center
addObserver
:
self
selector
:
@selector
(
appWillResign
:
)
name
:
UIApplicationWillResignActiveNotification
object
:
nil
];
_playingExternallyTitle
.
text
=
NSLocalizedString
(
@"PLAYING_EXTERNALLY_TITLE"
,
@""
);
_playingExternallyDescription
.
text
=
NSLocalizedString
(
@"PLAYING_EXTERNALLY_DESC"
,
@""
);
if
([
self
hasExternalDisplay
])
{
[
self
showOnExternalDisplay
];
}
...
...
Resources/VLCMovieViewController~ipad.xib
View file @
582efa4e
...
...
@@ -483,6 +483,22 @@
</object>
<int
key=
"connectionID"
>
131
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
playingExternallyDescription
</string>
<reference
key=
"source"
ref=
"841351856"
/>
<reference
key=
"destination"
ref=
"971492616"
/>
</object>
<int
key=
"connectionID"
>
132
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
playingExternallyTitle
</string>
<reference
key=
"source"
ref=
"841351856"
/>
<reference
key=
"destination"
ref=
"613689066"
/>
</object>
<int
key=
"connectionID"
>
133
</int>
</object>
</array>
<object
class=
"IBMutableOrderedSet"
key=
"objectRecords"
>
<array
key=
"orderedObjects"
>
...
...
@@ -648,7 +664,7 @@
<nil
key=
"activeLocalization"
/>
<dictionary
class=
"NSMutableDictionary"
key=
"localizations"
/>
<nil
key=
"sourceID"
/>
<int
key=
"maxID"
>
13
1
</int>
<int
key=
"maxID"
>
13
3
</int>
</object>
<object
class=
"IBClassDescriber"
key=
"IBDocument.Classes"
>
<array
class=
"NSMutableArray"
key=
"referencedPartialClassDescriptions"
>
...
...
@@ -710,6 +726,8 @@
<string
key=
"fwdButton"
>
UIButton
</string>
<string
key=
"movieView"
>
UIView
</string>
<string
key=
"playPauseButton"
>
UIButton
</string>
<string
key=
"playingExternallyDescription"
>
UILabel
</string>
<string
key=
"playingExternallyTitle"
>
UILabel
</string>
<string
key=
"playingExternallyView"
>
UIView
</string>
<string
key=
"positionSlider"
>
UISlider
</string>
<string
key=
"subtitleSwitcherButton"
>
UIButton
</string>
...
...
@@ -745,6 +763,14 @@
<string
key=
"name"
>
playPauseButton
</string>
<string
key=
"candidateClassName"
>
UIButton
</string>
</object>
<object
class=
"IBToOneOutletInfo"
key=
"playingExternallyDescription"
>
<string
key=
"name"
>
playingExternallyDescription
</string>
<string
key=
"candidateClassName"
>
UILabel
</string>
</object>
<object
class=
"IBToOneOutletInfo"
key=
"playingExternallyTitle"
>
<string
key=
"name"
>
playingExternallyTitle
</string>
<string
key=
"candidateClassName"
>
UILabel
</string>
</object>
<object
class=
"IBToOneOutletInfo"
key=
"playingExternallyView"
>
<string
key=
"name"
>
playingExternallyView
</string>
<string
key=
"candidateClassName"
>
UIView
</string>
...
...
Resources/VLCMovieViewController~iphone.xib
View file @
582efa4e
...
...
@@ -495,6 +495,22 @@
</object>
<int
key=
"connectionID"
>
112
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
playingExternallyDescription
</string>
<reference
key=
"source"
ref=
"372490531"
/>
<reference
key=
"destination"
ref=
"360323160"
/>
</object>
<int
key=
"connectionID"
>
113
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
playingExternallyTitle
</string>
<reference
key=
"source"
ref=
"372490531"
/>
<reference
key=
"destination"
ref=
"529141063"
/>
</object>
<int
key=
"connectionID"
>
114
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchEventConnection"
key=
"connection"
>
<string
key=
"label"
>
switchSubtitleTrack:
</string>
...
...
@@ -722,7 +738,7 @@
<nil
key=
"activeLocalization"
/>
<dictionary
class=
"NSMutableDictionary"
key=
"localizations"
/>
<nil
key=
"sourceID"
/>
<int
key=
"maxID"
>
11
2
</int>
<int
key=
"maxID"
>
11
4
</int>
</object>
<object
class=
"IBClassDescriber"
key=
"IBDocument.Classes"
>
<array
class=
"NSMutableArray"
key=
"referencedPartialClassDescriptions"
>
...
...
@@ -784,6 +800,8 @@
<string
key=
"fwdButton"
>
UIButton
</string>
<string
key=
"movieView"
>
UIView
</string>
<string
key=
"playPauseButton"
>
UIButton
</string>
<string
key=
"playingExternallyDescription"
>
UILabel
</string>
<string
key=
"playingExternallyTitle"
>
UILabel
</string>
<string
key=
"playingExternallyView"
>
UIView
</string>
<string
key=
"positionSlider"
>
UISlider
</string>
<string
key=
"subtitleSwitcherButton"
>
UIButton
</string>
...
...
@@ -819,6 +837,14 @@
<string
key=
"name"
>
playPauseButton
</string>
<string
key=
"candidateClassName"
>
UIButton
</string>
</object>
<object
class=
"IBToOneOutletInfo"
key=
"playingExternallyDescription"
>
<string
key=
"name"
>
playingExternallyDescription
</string>
<string
key=
"candidateClassName"
>
UILabel
</string>
</object>
<object
class=
"IBToOneOutletInfo"
key=
"playingExternallyTitle"
>
<string
key=
"name"
>
playingExternallyTitle
</string>
<string
key=
"candidateClassName"
>
UILabel
</string>
</object>
<object
class=
"IBToOneOutletInfo"
key=
"playingExternallyView"
>
<string
key=
"name"
>
playingExternallyView
</string>
<string
key=
"candidateClassName"
>
UIView
</string>
...
...
Resources/en.lproj/Localizable.strings
View file @
582efa4e
B
"Choose Audio Track"="Choose Audio Track";
...
...
Resources/ru.lproj/Localizable.strings
View file @
582efa4e
B
"Choose Audio Track"="Выберите аудио поток";
...
...
Write
Preview
Markdown
is supported
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