Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
c906621c
Commit
c906621c
authored
Apr 07, 2007
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* re-worded the GUI strings a bit and removed a useless warning (it's a feature, no bug...)
parent
2671fb50
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
11 deletions
+10
-11
modules/gui/macosx/update.h
modules/gui/macosx/update.h
+1
-1
modules/gui/macosx/update.m
modules/gui/macosx/update.m
+9
-10
No files found.
modules/gui/macosx/update.h
View file @
c906621c
/*****************************************************************************
* update.h: MacOS X Check-For-Update window
*****************************************************************************
* Copyright (C) 2005-200
6
the VideoLAN team
* Copyright (C) 2005-200
7
the VideoLAN team
* $Id$
*
* Authors: Felix Khne <fkuehne@users.sf.net>
...
...
modules/gui/macosx/update.m
View file @
c906621c
/*****************************************************************************
* update.m: MacOS X Check-For-Update window
*****************************************************************************
* Copyright (C) 2005-200
6
the VideoLAN team
* Copyright (C) 2005-200
7
the VideoLAN team
* $Id$
*
* Authors: Felix Khne <fkuehne@users.sf.net>
...
...
@@ -52,7 +52,7 @@ static VLCUpdate *_o_sharedInstance = nil;
-
(
id
)
init
{
if
(
_o_sharedInstance
)
{
if
(
_o_sharedInstance
)
{
[
self
dealloc
];
}
else
{
_o_sharedInstance
=
[
super
init
];
...
...
@@ -86,8 +86,8 @@ static VLCUpdate *_o_sharedInstance = nil;
[
o_update_window
setTitle
:
_NS
(
"Check for Updates"
)];
[
o_btn_DownloadNow
setTitle
:
_NS
(
"Download now"
)];
[
o_btn_okay
setTitle
:
_NS
(
"OK"
)];
[
o_chk_updateOnStartup
setTitle
:
_NS
(
"
Check for VLC update automatically
"
)];
/* we don't use - (BOOL)shouldCheckUpdateOnStartup bec
c
ause we don't want the Alert
[
o_chk_updateOnStartup
setTitle
:
_NS
(
"
Automatically check for updates
"
)];
/* we don't use - (BOOL)shouldCheckUpdateOnStartup because we don't want the Alert
* panel to pop up at this time */
[
o_chk_updateOnStartup
setState
:
[[
NSUserDefaults
standardUserDefaults
]
boolForKey
:
kPrefUpdateOnStartup
]];
}
...
...
@@ -103,11 +103,11 @@ static VLCUpdate *_o_sharedInstance = nil;
NSDate
*
o_last_update
;
NSDate
*
o_next_update
;
if
(
!
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
kPrefUpdateOnStartup
]
)
if
(
!
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
kPrefUpdateOnStartup
]
)
{
/* We don't have any preferences stored, ask the user. */
int
res
=
NSRunInformationalAlertPanel
(
_NS
(
"Do you want VLC to check for update automatically?"
),
_NS
(
"You can change this option
later in the VLC update window
."
),
_NS
(
"Yes"
),
_NS
(
"No"
),
nil
);
int
res
=
NSRunInformationalAlertPanel
(
_NS
(
"Do you want VLC to check for update
s
automatically?"
),
_NS
(
"You can change this option
in VLC's update window later on
."
),
_NS
(
"Yes"
),
_NS
(
"No"
),
nil
);
[
self
setShouldCheckUpdate
:
res
];
}
...
...
@@ -159,7 +159,7 @@ static VLCUpdate *_o_sharedInstance = nil;
-
(
void
)
getLocationForSaving
:
(
NSSavePanel
*
)
sheet
returnCode
:
\
(
int
)
returnCode
contextInfo
:
(
void
*
)
contextInfo
{
if
(
returnCode
==
NSOKButton
)
if
(
returnCode
==
NSOKButton
)
{
/* perform download and pass the selected path */
[
self
performDownload
:
[
sheet
filename
]];
...
...
@@ -310,10 +310,9 @@ static VLCUpdate *_o_sharedInstance = nil;
{
/* don't confuse the user, but make her happy */
[
o_fld_status
setStringValue
:
_NS
(
"This version of VLC "
\
"is latest available."
)];
"is
the
latest available."
)];
[
o_btn_DownloadNow
setEnabled
:
NO
];
msg_Dbg
(
p_intf
,
"current version is up-to-date"
);
msg_Warn
(
p_intf
,
"retrieving current release notes failed!"
);
}
}
[
pool
release
];
...
...
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