Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
069f969f
Commit
069f969f
authored
May 31, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: CAS: added i18n support
parent
e71a3e33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
modules/gui/macosx/ConvertAndSave.m
modules/gui/macosx/ConvertAndSave.m
+12
-2
No files found.
modules/gui/macosx/ConvertAndSave.m
View file @
069f969f
...
...
@@ -22,6 +22,7 @@
*****************************************************************************/
#import "ConvertAndSave.h"
#import "intf.h"
#import <vlc_common.h>
#import <vlc_url.h>
...
...
@@ -49,7 +50,16 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
-
(
void
)
awakeFromNib
{
// i18n, bla
[
_window
setTitle
:
_NS
(
"Convert & Save"
)];
[
_cancel_btn
setTitle
:
_NS
(
"Cancel"
)];
[
_ok_btn
setTitle
:
_NS
(
"Save"
)];
[
_drop_lbl
setStringValue
:
_NS
(
"Drop Media here"
)];
[
_drop_btn
setTitle
:
_NS
(
"Open Media..."
)];
[
_profile_lbl
setStringValue
:
_NS
(
"Choose Profile"
)];
[
_profile_btn
setTitle
:
_NS
(
"Customize"
)];
[
_destination_lbl
setStringValue
:
_NS
(
"Choose Destination"
)];
[
_destination_filename_stub_lbl
setStringValue
:
_NS
(
"Choose an output location"
)];
[
_destination_filename_lbl
setHidden
:
YES
];
}
-
(
void
)
toggleWindow
...
...
@@ -110,7 +120,7 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
if
(
carried_data
)
{
if
(
[
desired_type
isEqualToString
:
NSFilenamesPboardType
]
)
{
NSArray
*
values
=
[[
o_
paste
propertyListForType
:
NSFilenamesPboardType
]
sortedArrayUsingSelector
:
@selector
(
caseInsensitiveCompare
:)];
NSArray
*
values
=
[[
paste
propertyListForType
:
NSFilenamesPboardType
]
sortedArrayUsingSelector
:
@selector
(
caseInsensitiveCompare
:)];
if
([
values
count
]
>
0
)
{
[
self
setMRL
:
[
NSString
stringWithUTF8String
:
make_URI
([[
values
objectAtIndex
:
0
]
UTF8String
],
NULL
)]];
...
...
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