Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
7c458c99
Commit
7c458c99
authored
May 13, 2013
by
Felix Paul Kühne
Browse files
Mooaar l10n
parent
55a4b222
Changes
4
Hide whitespace changes
Inline
Side-by-side
AspenProject/VLCAboutViewController.m
View file @
7c458c99
...
...
@@ -26,8 +26,8 @@
[
super
viewDidLoad
];
self
.
textContents
.
text
=
[
NSString
stringWithContentsOfFile
:[[
NSBundle
mainBundle
]
pathForResource
:
@"About Contents"
ofType
:
@"txt"
]
encoding
:
NSUTF8StringEncoding
error
:
nil
];
self
.
aspenVersion
.
text
=
[
NSString
stringWithFormat
:
@"Version: %@"
,
[[
NSBundle
mainBundle
]
objectForInfoDictionaryKey
:
@"CFBundleVersion"
]];
self
.
vlckitVersion
.
text
=
[
NSString
stringWithFormat
:
@"Based on:
\n
%@"
,[[
VLCLibrary
sharedLibrary
]
version
]];
self
.
aspenVersion
.
text
=
[
NSString
stringWithFormat
:
NSLocalizedString
(
@"Version: %@"
,
@""
),
[[
NSBundle
mainBundle
]
objectForInfoDictionaryKey
:
@"CFBundleVersion"
]];
self
.
vlckitVersion
.
text
=
[
NSString
stringWithFormat
:
NSLocalizedString
(
@"Based on:
\n
%@"
,
@""
),
[[
VLCLibrary
sharedLibrary
]
version
]];
}
-
(
void
)
viewWillAppear
:(
BOOL
)
animated
...
...
AspenProject/VLCMovieViewController.m
View file @
7c458c99
...
...
@@ -43,6 +43,11 @@
self
.
videoFilterView
.
hidden
=
YES
;
_videoFiltersHidden
=
YES
;
_hueLabel
.
text
=
NSLocalizedString
(
@"Hue"
,
@""
);
_contrastLabel
.
text
=
NSLocalizedString
(
@"Contrast"
,
@""
);
_brightnessLabel
.
text
=
NSLocalizedString
(
@"Brightness"
,
@""
);
_saturationLabel
.
text
=
NSLocalizedString
(
@"Saturation"
,
@""
);
_gammaLabel
.
text
=
NSLocalizedString
(
@"Gamma"
,
@""
);
NSNotificationCenter
*
center
=
[
NSNotificationCenter
defaultCenter
];
[
center
addObserver
:
self
selector
:
@selector
(
handleExternalScreenDidConnect
:
)
...
...
AspenProject/VLCPlaylistViewController.m
View file @
7c458c99
...
...
@@ -34,7 +34,7 @@
self
.
tableView
.
separatorColor
=
[
UIColor
colorWithWhite
:.
2
alpha
:
1
.];
[
super
viewDidLoad
];
UIBarButtonItem
*
addButton
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
@"About"
style
:
UIBarButtonItemStyleBordered
target
:
self
action
:
@selector
(
showAboutView
:
)];
UIBarButtonItem
*
addButton
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
NSLocalizedString
(
@"About"
,
@""
)
style
:
UIBarButtonItemStyleBordered
target
:
self
action
:
@selector
(
showAboutView
:
)];
self
.
navigationItem
.
leftBarButtonItem
=
addButton
;
self
.
navigationItem
.
rightBarButtonItem
=
self
.
editButtonItem
;
...
...
@@ -43,8 +43,10 @@
_gridView
.
separatorStyle
=
AQGridViewCellSeparatorStyleEmptySpace
;
_gridView
.
alwaysBounceVertical
=
YES
;
_gridView
.
indicatorStyle
=
UIScrollViewIndicatorStyleWhite
;
}
else
}
else
{
self
.
tabBar
.
selectedItem
=
self
.
localFilesBarItem
;
self
.
networkStreamsBarItem
.
title
=
NSLocalizedString
(
@"Network"
,
@""
);
}
}
-
(
void
)
viewDidAppear
:(
BOOL
)
animated
...
...
@@ -177,11 +179,11 @@
{
if
(
self
.
tableView
.
editing
)
{
self
.
editButtonItem
.
style
=
UIBarButtonItemStylePlain
;
self
.
editButtonItem
.
title
=
NSLocalizedString
(
@"Edit"
,
@"
edit bar button item
"
);
self
.
editButtonItem
.
title
=
NSLocalizedString
(
@"Edit"
,
@""
);
[
self
.
tableView
setEditing
:
NO
animated
:
YES
];
}
else
{
self
.
editButtonItem
.
style
=
UIBarButtonItemStyleDone
;
self
.
editButtonItem
.
title
=
NSLocalizedString
(
@"Done"
,
@"
edit bar button item
"
);
self
.
editButtonItem
.
title
=
NSLocalizedString
(
@"Done"
,
@""
);
[
self
.
tableView
setEditing
:
YES
animated
:
YES
];
}
}
...
...
Resources/en.lproj/Localizable.strings
View file @
7c458c99
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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