mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
Fix typos discovered by codespell
This commit is contained in:
@@ -85,7 +85,7 @@ class SoftwareUpdate(object):
|
||||
base URL (with a trailing '/') for the location of the update
|
||||
packages, or an instance of a class derived from the
|
||||
esky.finder.VersionFinder class is required. A custom VersionFinder
|
||||
can be used to find and fetch the newer verison of the software in
|
||||
can be used to find and fetch the newer version of the software in
|
||||
some other way, if desired.
|
||||
|
||||
Call this method from the app's OnInit method.
|
||||
@@ -188,7 +188,7 @@ class SoftwareUpdate(object):
|
||||
newest, chLogTxt = result
|
||||
if newest is None:
|
||||
if not silentUnlessUpdate:
|
||||
MultiMessageBox("You are already running the newest verison of %s." %
|
||||
MultiMessageBox("You are already running the newest version of %s." %
|
||||
self.GetAppDisplayName(),
|
||||
self._caption, parent=parentWindow, icon=self._icon,
|
||||
style=wx.OK|SOT)
|
||||
@@ -196,7 +196,7 @@ class SoftwareUpdate(object):
|
||||
self._parentWindow = parentWindow
|
||||
|
||||
resp = MultiMessageBox("A new version of %s is available.\n\n"
|
||||
"You are currently running verison %s; version %s is now "
|
||||
"You are currently running version %s; version %s is now "
|
||||
"available for download. Do you wish to install it now?"
|
||||
% (self.GetAppDisplayName(), active, newest),
|
||||
self._caption, msg2=chLogTxt, style=wx.YES_NO|SOT,
|
||||
@@ -226,9 +226,9 @@ class SoftwareUpdate(object):
|
||||
|
||||
try:
|
||||
# Let Esky handle all the rest of the update process so we can
|
||||
# take advantage of the error checking and priviledge elevation
|
||||
# (if neccessary) that they have done so we don't have to worry
|
||||
# about that ourselves like we would if we broke down the proccess
|
||||
# take advantage of the error checking and privilege elevation
|
||||
# (if necessary) that they have done so we don't have to worry
|
||||
# about that ourselves like we would if we broke down the process
|
||||
# into component steps.
|
||||
self._esky.auto_update(self._updateProgress)
|
||||
|
||||
@@ -268,7 +268,7 @@ class SoftwareUpdate(object):
|
||||
info.exe = exe
|
||||
|
||||
# Make sure the CWD not in the current version's appdir, so it can
|
||||
# hopefully be cleaned up either as we exit or as the next verison
|
||||
# hopefully be cleaned up either as we exit or as the next version
|
||||
# is starting.
|
||||
os.chdir(os.path.dirname(exe))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user