Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC-iOS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
311
Issues
311
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
VLC-iOS
Commits
da5915b9
Commit
da5915b9
authored
Oct 26, 2015
by
Felix Paul Kühne
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATV: add basic l10n
parent
978bd9e7
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
33 deletions
+16
-33
Resources/VLCCloudServiceCell.xib
Resources/VLCCloudServiceCell.xib
+4
-4
Resources/en.lproj/Localizable.strings
Resources/en.lproj/Localizable.strings
+0
-0
VLC for Apple TV/AppleTVAppDelegate.m
VLC for Apple TV/AppleTVAppDelegate.m
+1
-1
VLC for Apple TV/VLCAppSharesTVViewController.m
VLC for Apple TV/VLCAppSharesTVViewController.m
+1
-11
VLC for Apple TV/VLCCloudServicesTVViewController.m
VLC for Apple TV/VLCCloudServicesTVViewController.m
+3
-3
VLC for Apple TV/VLCLocalNetworkTVViewController.m
VLC for Apple TV/VLCLocalNetworkTVViewController.m
+1
-11
VLC for Apple TV/VLCLocalNetworkTVViewController.xib
VLC for Apple TV/VLCLocalNetworkTVViewController.xib
+2
-2
VLC for Apple TV/VLCOpenNetworkStreamTVViewController.m
VLC for Apple TV/VLCOpenNetworkStreamTVViewController.m
+2
-1
VLC for iOS.xcodeproj/project.pbxproj
VLC for iOS.xcodeproj/project.pbxproj
+2
-0
No files found.
Resources/VLCCloudServiceCell.xib
View file @
da5915b9
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"905
8"
systemVersion=
"15B30a
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"905
9"
systemVersion=
"15B42
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"904
8
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"904
9
"
/>
<capability
name=
"Aspect ratio constraints"
minToolsVersion=
"5.1"
/>
<capability
name=
"Constraints to layout margins"
minToolsVersion=
"6.0"
/>
</dependencies>
...
...
@@ -12,7 +12,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"320"
height=
"66"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"jmV-7P-Ob0"
id=
"P7G-Z3-wQa"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"320"
height=
"65
.5
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"320"
height=
"65"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"Label"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"O6V-Qc-Q8x"
userLabel=
"ServiceName"
>
...
...
@@ -32,7 +32,7 @@
<color
key=
"textColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"center"
horizontalHuggingPriority=
"749"
verticalHuggingPriority=
"749"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"k9V-qn-xQh"
>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"center"
horizontalHuggingPriority=
"749"
verticalHuggingPriority=
"749"
misplaced=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"k9V-qn-xQh"
>
<rect
key=
"frame"
x=
"13"
y=
"13"
width=
"40"
height=
"40"
/>
<animations/>
<constraints>
...
...
Resources/en.lproj/Localizable.strings
View file @
da5915b9
B
"CHOOSE_AUDIO_TRACK"="Choose Audio Track";
...
...
VLC for Apple TV/AppleTVAppDelegate.m
View file @
da5915b9
...
...
@@ -65,7 +65,7 @@
_aboutSettingsVC
=
[[
UISplitViewController
alloc
]
init
];
_aboutSettingsTableVC
=
[[
VLCSettingsAboutTableViewController
alloc
]
initWithNibName
:
nil
bundle
:
nil
];
_aboutSettingsVC
.
viewControllers
=
@[
_aboutSettingsTableVC
];
_aboutSettingsVC
.
title
=
@"
Settings & About
"
;
_aboutSettingsVC
.
title
=
@"
\u2699
"
;
_mainViewController
=
[[
UITabBarController
alloc
]
init
];
_mainViewController
.
tabBar
.
backgroundColor
=
[
UIColor
VLCOrangeTintColor
];
...
...
VLC for Apple TV/VLCAppSharesTVViewController.m
View file @
da5915b9
...
...
@@ -28,17 +28,7 @@
}
-
(
NSString
*
)
title
{
return
@"VLC shares"
;
return
NSLocalizedString
(
@"VLC_SHARES"
,
nil
)
;
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end
VLC for Apple TV/VLCCloudServicesTVViewController.m
View file @
da5915b9
...
...
@@ -38,7 +38,7 @@
-
(
NSString
*
)
title
{
return
@"Cloud Services"
;
return
NSLocalizedString
(
@"CLOUD_SERVICES"
,
nil
)
;
}
-
(
IBAction
)
dropbox
:(
id
)
sender
...
...
@@ -48,8 +48,8 @@
return
;
}
UIAlertController
*
alert
=
[
UIAlertController
alertControllerWithTitle
:
@"Login failure"
message:
@"To use Dropbox, you need to login to iCloud with the same ID to both this Apple TV and an iOS device.
\n
Afterwards, login to Dropbox using the VLC app on your iOS device and try again."
UIAlertController
*
alert
=
[
UIAlertController
alertControllerWithTitle
:
NSLocalizedString
(
@"LOGIN_FAIL"
,
nil
)
message:
[
NSString
stringWithFormat
:
NSLocalizedString
(
@"CLOUD_LOGIN_FAIL_LONG"
,
nil
),
@"Dropbox"
,
@"Dropbox"
]
preferredStyle:
UIAlertControllerStyleAlert
];
UIAlertAction
*
defaultAction
=
[
UIAlertAction
actionWithTitle
:
NSLocalizedString
(
@"BUTTON_OK"
,
nil
)
...
...
VLC for Apple TV/VLCLocalNetworkTVViewController.m
View file @
da5915b9
...
...
@@ -28,17 +28,7 @@
}
-
(
NSString
*
)
title
{
return
@"Local Network"
;
return
NSLocalizedString
(
@"LOCAL_NETWORK"
,
nil
)
;
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
}
*/
@end
VLC for Apple TV/VLCLocalNetworkTVViewController.xib
View file @
da5915b9
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder.AppleTV.XIB"
version=
"3.0"
toolsVersion=
"905
8"
systemVersion=
"14F1017
"
targetRuntime=
"AppleTV"
propertyAccessControl=
"none"
useAutolayout=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder.AppleTV.XIB"
version=
"3.0"
toolsVersion=
"905
9"
systemVersion=
"15B42
"
targetRuntime=
"AppleTV"
propertyAccessControl=
"none"
useAutolayout=
"YES"
>
<dependencies>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"904
8
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"904
9
"
/>
</dependencies>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
customClass=
"VLCLocalNetworkTVViewController"
>
...
...
VLC for Apple TV/VLCOpenNetworkStreamTVViewController.m
View file @
da5915b9
...
...
@@ -23,7 +23,7 @@
-
(
NSString
*
)
title
{
return
@"Open Network Stream"
;
return
NSLocalizedString
(
@"OPEN_NETWORK"
,
nil
)
;
}
-
(
void
)
viewDidLoad
{
...
...
@@ -47,6 +47,7 @@
}
[
self
.
previouslyPlayedStreamsTableView
reloadData
];
self
.
noURLsToShowLabel
.
hidden
=
_recentURLs
.
count
!=
0
;
self
.
playURLField
.
placeholder
=
NSLocalizedString
(
@"ENTER_URL"
,
nil
);
}
-
(
void
)
ubiquitousKeyValueStoreDidChange
:(
NSNotification
*
)
notification
...
...
VLC for iOS.xcodeproj/project.pbxproj
View file @
da5915b9
...
...
@@ -134,6 +134,7 @@
7D4408591BDA8DCA0080FB42
/* VLCBoxController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
41CD69591A29D72600E60BCE
/* VLCBoxController.m */
;
};
7D44085A1BDA8DCE0080FB42
/* VLCBoxTableViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
41CD695B1A29D72600E60BCE
/* VLCBoxTableViewController.m */
;
};
7D4625881A5614A1001A80B4
/* VLCEqualizerView.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
7D4625871A5614A1001A80B4
/* VLCEqualizerView.m */
;
};
7D4CAAFC1BDE548A00A08EF5
/* Localizable.strings in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A79246C6170F11DF0036AAF2
/* Localizable.strings */
;
};
7D4DF2181B55209200739326
/* CoreSpotlight.framework in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
7D4DF2171B55209200739326
/* CoreSpotlight.framework */
;
settings
=
{
ATTRIBUTES
=
(
Weak
,
);
};
};
7D50903218F41C7900180139
/* VLCAlertView.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
7D50903118F41C7900180139
/* VLCAlertView.m */
;
};
7D5278D81BD7DEF600D0CA0E
/* DropboxTVSDK.framework in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
7D5278D11BD7DE3D00D0CA0E
/* DropboxTVSDK.framework */
;
};
...
...
@@ -2291,6 +2292,7 @@
files
=
(
7D6069721BD94AD600AB765C
/* VLCCloudStorageTableViewCell.xib in Resources */
,
7DEC8BDF1BD67899006E1093
/* VLCFullscreenMovieTVViewController.xib in Resources */
,
7D4CAAFC1BDE548A00A08EF5
/* Localizable.strings in Resources */
,
7DC71D271BC830A5001FACAA
/* VLCLocalNetworkTVViewController.xib in Resources */
,
7DC71D221BC83058001FACAA
/* VLCAppSharesTVViewController.xib in Resources */
,
7DEC8C1E1BD69710006E1093
/* About Contents.html in Resources */
,
...
...
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