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
261d8a33
Commit
261d8a33
authored
Jul 03, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fix rendering issue in the about panel when running in non-Western locales
parent
e7d57cfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
modules/gui/macosx/about.m
modules/gui/macosx/about.m
+10
-7
No files found.
modules/gui/macosx/about.m
View file @
261d8a33
...
...
@@ -129,13 +129,16 @@ static VLAboutBox *_o_sharedInstance = nil;
[
o_authors
retain
];
/* setup join us! */
NSString
*
joinus
=
[
NSString
stringWithString
:
_NS
(
"<p>VLC media player is a free and open source media player, encoder, and streamer made by the volunteers of the "
"<a href=
\"
http://www.videolan.org/
\"
><span style=
\"
text-decoration: underline; color:#0057ae;
\"
>VideoLAN</span>"
"</a> community.</p><p>VLC uses its internal codecs, works on essentially every popular platform, and can read "
"almost all files, CDs, DVDs, network streams, capture cards and other media formats!</p><p>"
"<a href=
\"
http://www.videolan.org/contribute/
\"
><span style=
\"
text-decoration: underline; color:#0057ae;
\"
>Help "
"and join us!</span></a>"
)];
NSAttributedString
*
joinus_readytorender
=
[[
NSAttributedString
alloc
]
initWithHTML
:[
joinus
dataUsingEncoding
:
NSUTF8StringEncoding
allowLossyConversion
:
YES
]
documentAttributes
:
NULL
];
NSString
*
joinus
=
[
NSString
stringWithUTF8String
:
_
(
""
"<p>VLC media player is a free and open source media player, encoder, and "
"streamer made by the volunteers of the <a href=
\"
http://www.videolan.org/"
"
\"
><span style=
\"
text-decoration: underline; color:#0057ae;
\"
>VideoLAN</"
"span></a> community.</p><p>VLC uses its internal codecs, works on "
"essentially every popular platform, and can read almost all files, CDs, "
"DVDs, network streams, capture cards and other media formats!</p><p><a href="
"
\"
http://www.videolan.org/contribute/
\"
><span style=
\"
text-decoration: "
"underline; color:#0057ae;
\"
>Help and join us!</span></a>"
)];
NSAttributedString
*
joinus_readytorender
=
[[
NSAttributedString
alloc
]
initWithHTML
:[
joinus
dataUsingEncoding
:
NSUTF8StringEncoding
allowLossyConversion
:
YES
]
options
:
[
NSDictionary
dictionaryWithObject
:
@
(
NSUTF8StringEncoding
)
forKey
:
NSCharacterEncodingDocumentOption
]
documentAttributes
:
NULL
];
[
o_joinus_txt
setAllowsEditingTextAttributes
:
YES
];
[
o_joinus_txt
setSelectable
:
YES
];
[
o_joinus_txt
setAttributedStringValue
:
joinus_readytorender
];
...
...
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