Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
1d9d6951
Commit
1d9d6951
authored
Aug 02, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Localization of the crash log mail.
parent
47e69cf6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+8
-5
No files found.
modules/gui/macosx/intf.m
View file @
1d9d6951
...
...
@@ -1996,19 +1996,22 @@ end:
{
static
char
mail
[]
=
"From: vlcuser <vlcuser@videolan.org>
\n
"
"To:
videolan
<apple-bugreport@videolan.org>
\n
"
"Subject:
Crash Report (Type Ctrl-shift-D and hit send)
\n
"
"To:
VideoLAN Crash Report
<apple-bugreport@videolan.org>
\n
"
"Subject:
%@
\n
"
"Content-Type: text/plain; charset=ISO-8859-1; format=flowed
\n
"
"Content-Transfer-Encoding: 7bit
\n
"
"
\n
"
"
(Type Ctrl-shift-D and hit send)
\n\n
"
"
%@
\n\n
"
"User Comment:
\n
%@
\n
--------------
\n
"
"
\n
"
"Crash log:
\n
%@
\n
--------------
\n
"
"
\n
"
"
\n
"
;
NSString
*
mailPath
=
[
NSTemporaryDirectory
()
stringByAppendingPathComponent
:
@"vlc_crash_mail.eml"
];
NSString
*
mailContent
=
[
NSString
stringWithFormat
:[
NSString
stringWithUTF8String
:
mail
],
userComment
,
crashLog
];
NSString
*
mailContent
=
[
NSString
stringWithFormat
:[
NSString
stringWithUTF8String
:
mail
],
_NS
(
"Crash Report (Type Ctrl-shift-D and hit send)"
),
_NS
(
"(Type Command-shift-D (Menu 'Message'>'Send Again' and hit send)"
),
userComment
,
crashLog
];
BOOL
ret
=
[
mailContent
writeToFile
:
mailPath
atomically
:
YES
encoding
:
NSUTF8StringEncoding
error
:
nil
];
if
(
!
ret
)
{
...
...
@@ -2094,7 +2097,7 @@ end:
_NS
(
"Send"
),
_NS
(
"Don't Send"
),
nil
,
nil
);
if
(
ret
==
NSAlertDefaultReturn
)
{
[
self
mailCrashLog
:
crashLog
withUserComment
:
@"<Explain here what you were doing when VLC crashed>"
];
[
self
mailCrashLog
:
crashLog
withUserComment
:
_NS
(
"<Explain here what you were doing when VLC crashed, with possibly a link to the failing video>"
)
];
}
}
...
...
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