summaryrefslogtreecommitdiff
path: root/wizards/com
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-11-25 22:05:13 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-11-25 22:05:13 +0100
commit983e0332737c9bdb114ca2132f4c90d33428dbba (patch)
tree2ec31e95004e836fdc61095110cd78dc8d74f11c /wizards/com
parent396dd770eb8e12b89865b2e2b899b801e4e6bd34 (diff)
Fix different typos for "unknown"
Change-Id: Ib2ee00d4e9f4c6c05d090adfcd5fb791fcbca72c
Diffstat (limited to 'wizards/com')
-rw-r--r--wizards/com/sun/star/wizards/web/AbstractErrorHandler.py6
-rw-r--r--wizards/com/sun/star/wizards/web/FTPDialog.py8
2 files changed, 7 insertions, 7 deletions
diff --git a/wizards/com/sun/star/wizards/web/AbstractErrorHandler.py b/wizards/com/sun/star/wizards/web/AbstractErrorHandler.py
index 3f9a10263ca4..52fb229747d9 100644
--- a/wizards/com/sun/star/wizards/web/AbstractErrorHandler.py
+++ b/wizards/com/sun/star/wizards/web/AbstractErrorHandler.py
@@ -109,7 +109,7 @@ class AbstractErrorHandler(ErrorHandler):
return 2
elif (errorType in (ErrorHandler.ERROR_WARNING, ErrorHandler.ERROR_MESSAGE)):
return 1
- raise ValueError("unkonown error type")
+ raise ValueError("unknown error type")
# @param errorType
@@ -136,7 +136,7 @@ class AbstractErrorHandler(ErrorHandler):
return OK
elif (errorType == ErrorHandler.ERROR_MESSAGE):
return OK
- raise ValueError("unkonown error type")
+ raise ValueError("unknown error type")
# @deprecated
# @param errorType
@@ -163,7 +163,7 @@ class AbstractErrorHandler(ErrorHandler):
return "warningbox"
elif (errorType == ErrorHandler.ERROR_MESSAGE):
return "infobox"
- raise ValueError("unkonown error type")
+ raise ValueError("unknown error type")
# renders the error
# @param ex the exception
diff --git a/wizards/com/sun/star/wizards/web/FTPDialog.py b/wizards/com/sun/star/wizards/web/FTPDialog.py
index 17d869030166..5507adab3fa6 100644
--- a/wizards/com/sun/star/wizards/web/FTPDialog.py
+++ b/wizards/com/sun/star/wizards/web/FTPDialog.py
@@ -60,7 +60,7 @@ class FTPDialog(UnoDialog2, UIConsts):
# A Constant used for the setLabel(int) method to change the
# status-display. "unknown" is the status when the user first
# opens the dialog, or changes the servername/username/password.
- STATUS_UNKONWN = 0
+ STATUS_UNKNOWN = 0
# A Constant used for the setLabel(int) method to change the
# status-display. (connection established)
STATUS_OK = 1
@@ -216,7 +216,7 @@ class FTPDialog(UnoDialog2, UIConsts):
self.username = "" if (self.publish.cp_Username == None) else self.publish.cp_Username
self.password = "" if (self.publish.password == None) else self.publish.password
self.folder = self.extractDir(self.publish.cp_URL)
- self.setLabel(self.STATUS_UNKONWN)
+ self.setLabel(self.STATUS_UNKNOWN)
self.enableTestButton()
self.updateUI()
@@ -365,14 +365,14 @@ class FTPDialog(UnoDialog2, UIConsts):
self.enableTestButton()
self.setEnabled(self.btnOK, False)
self.setEnabled(self.btnDir, False)
- self.setLabel(self.STATUS_UNKONWN)
+ self.setLabel(self.STATUS_UNKNOWN)
# changes the status label and icon, according to the
# given status
# @param status one opf the private status-constants.
# if this param is not one of them, an "unknown error" status is displayed.
def setLabel(self, status):
- if status == self.STATUS_UNKONWN:
+ if status == self.STATUS_UNKNOWN:
# not connected yet
self.setLabel1(self.resources.resFTPDisconnected, self.ICON_UNKNOWN)
elif status == self.STATUS_OK: