Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f7016207
Commit
f7016207
authored
Feb 12, 2014
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/addons: add missing l10n and ignore skins
parent
d3b37a82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
modules/gui/macosx/AddonManager.m
modules/gui/macosx/AddonManager.m
+11
-7
No files found.
modules/gui/macosx/AddonManager.m
View file @
f7016207
...
...
@@ -89,8 +89,9 @@ static VLCAddonManager *_o_sharedInstance = nil;
[
_typeSwitcher
removeAllItems
];
[
_typeSwitcher
addItemWithTitle
:
_NS
(
"All"
)];
[[
_typeSwitcher
lastItem
]
setTag
:
-
1
];
/* no skins on OS X so far
[_typeSwitcher addItemWithTitle:_NS("Skins")];
[[
_typeSwitcher
lastItem
]
setTag
:
ADDON_SKIN2
];
[[_typeSwitcher lastItem] setTag:ADDON_SKIN2];
*/
[
_typeSwitcher
addItemWithTitle
:
_NS
(
"Playlist parsers"
)];
[[
_typeSwitcher
lastItem
]
setTag
:
ADDON_PLAYLIST_PARSER
];
[
_typeSwitcher
addItemWithTitle
:
_NS
(
"Service discovery"
)];
...
...
@@ -188,7 +189,10 @@ static VLCAddonManager *_o_sharedInstance = nil;
[
NSNumber
numberWithInt
:
p_entry
->
e_type
],
@"type"
,
[
NSValue
valueWithPointer
:
&
p_entry
->
uuid
],
@"uuid"
,
nil
];
[
_addons
addObject
:
addonProperties
];
/* no skin support on OS X so far */
if
([[
addonProperties
objectForKey
:
@"type"
]
intValue
]
!=
ADDON_SKIN2
)
[
_addons
addObject
:
addonProperties
];
}
}
...
...
@@ -271,15 +275,15 @@ static VLCAddonManager *_o_sharedInstance = nil;
switch
(
i_type
)
{
case
ADDON_SKIN2
:
return
@"Skins"
;
return
_NS
(
"Skins"
)
;
case
ADDON_PLAYLIST_PARSER
:
return
@"Playlist parsers"
;
return
_NS
(
"Playlist parsers"
)
;
case
ADDON_SERVICE_DISCOVERY
:
return
@"Service Discovery"
;
return
_NS
(
"Service Discovery"
)
;
case
ADDON_EXTENSION
:
return
@"Extensions"
;
return
_NS
(
"Extensions"
)
;
default:
return
@"Unknown"
;
return
_NS
(
"Unknown"
)
;
}
}
...
...
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