[cosmetics] - fixed typo - sucess* -> success*
authoruNiversaI <uNiversaI@users.noreply.github.com>
Tue, 17 Dec 2013 18:09:56 +0000 (19:09 +0100)
committerMemphiz <memphis@machzwo.de>
Tue, 17 Dec 2013 18:11:23 +0000 (19:11 +0100)
xbmc/dialogs/GUIDialogGamepad.cpp
xbmc/dialogs/GUIDialogNumeric.cpp
xbmc/filesystem/AFPFile.cpp
xbmc/guilib/GUIKeyboardFactory.cpp
xbmc/interfaces/json-rpc/JSONServiceDescription.h
xbmc/windows/GUIMediaWindow.h

index e28e337..8b8c675 100644 (file)
@@ -169,7 +169,7 @@ bool CGUIDialogGamepad::OnMessage(CGUIMessage& message)
 // \param aTextString String to preload into the keyboard accumulator. Overwritten with user input if return=true.
 // \param dlgHeading String shown on dialog title. Converts to localized string if contains a positive integer.
 // \param bHideUserInput Masks user input as asterisks if set as true.  Currently not yet implemented.
-// \return true if successful display and user input. false if unsucessful display, no user input, or canceled editing.
+// \return true if successful display and user input. false if unsuccessful display, no user input, or canceled editing.
 bool CGUIDialogGamepad::ShowAndGetInput(CStdString& aTextString, const CStdString &dlgHeading, bool bHideUserInput)
 {
   // Prompt user for input
@@ -192,7 +192,7 @@ bool CGUIDialogGamepad::ShowAndGetInput(CStdString& aTextString, const CStdStrin
 
 // \brief Show gamepad keypad twice to get and confirm a user-entered password string.
 // \param strNewPassword String to preload into the keyboard accumulator. Overwritten with user input if return=true.
-// \return true if successful display and user input entry/re-entry. false if unsucessful display, no user input, or canceled editing.
+// \return true if successful display and user input entry/re-entry. false if unsuccessful display, no user input, or canceled editing.
 bool CGUIDialogGamepad::ShowAndVerifyNewPassword(CStdString& strNewPassword)
 {
   // Prompt user for password input
@@ -225,7 +225,7 @@ bool CGUIDialogGamepad::ShowAndVerifyNewPassword(CStdString& strNewPassword)
 // \param strPassword Value to compare against user input.
 // \param dlgHeading String shown on dialog title. Converts to localized string if contains a positive integer.
 // \param iRetries If greater than 0, shows "Incorrect password, %d retries left" on dialog line 2, else line 2 is blank.
-// \return 0 if successful display and user input. 1 if unsucessful input. -1 if no user input or canceled editing.
+// \return 0 if successful display and user input. 1 if unsuccessful input. -1 if no user input or canceled editing.
 int CGUIDialogGamepad::ShowAndVerifyPassword(CStdString& strPassword, const CStdString& dlgHeading, int iRetries)
 {
   CStdString strLine2 = "";
@@ -259,7 +259,7 @@ int CGUIDialogGamepad::ShowAndVerifyPassword(CStdString& strPassword, const CStd
 // \param dlgLine2 String shown on dialog line 2. Converts to localized string if contains a positive integer.
 // \param bGetUserInput If set as true and return=true, strToVerify is overwritten with user input string.
 // \param bHideInputChars Masks user input as asterisks if set as true.  Currently not yet implemented.
-// \return true if successful display and user input. false if unsucessful display, no user input, or canceled editing.
+// \return true if successful display and user input. false if unsuccessful display, no user input, or canceled editing.
 bool CGUIDialogGamepad::ShowAndVerifyInput(CStdString& strToVerify, const CStdString& dlgHeading,
     const CStdString& dlgLine0, const CStdString& dlgLine1,
     const CStdString& dlgLine2, bool bGetUserInput, bool bHideInputChars)
index 6978fcc..3eed5d6 100644 (file)
@@ -693,7 +693,7 @@ bool CGUIDialogNumeric::ShowAndGetNumber(CStdString& strInput, const CStdString
 
 // \brief Show numeric keypad twice to get and confirm a user-entered password string.
 // \param strNewPassword String to preload into the keyboard accumulator. Overwritten with user input if return=true.
-// \return true if successful display and user input entry/re-entry. false if unsucessful display, no user input, or canceled editing.
+// \return true if successful display and user input entry/re-entry. false if unsuccessful display, no user input, or canceled editing.
 bool CGUIDialogNumeric::ShowAndVerifyNewPassword(CStdString& strNewPassword)
 {
   // Prompt user for password input
@@ -726,7 +726,7 @@ bool CGUIDialogNumeric::ShowAndVerifyNewPassword(CStdString& strNewPassword)
 // \param strPassword Value to compare against user input.
 // \param strHeading String shown on dialog title. Converts to localized string if contains a positive integer.
 // \param iRetries If greater than 0, shows "Incorrect password, %d retries left" on dialog line 2, else line 2 is blank.
-// \return 0 if successful display and user input. 1 if unsucessful input. -1 if no user input or canceled editing.
+// \return 0 if successful display and user input. 1 if unsuccessful input. -1 if no user input or canceled editing.
 int CGUIDialogNumeric::ShowAndVerifyPassword(CStdString& strPassword, const CStdString& strHeading, int iRetries)
 {
   CStdString strTempHeading = strHeading;
@@ -747,7 +747,7 @@ int CGUIDialogNumeric::ShowAndVerifyPassword(CStdString& strPassword, const CStd
 // \param strToVerify Value to compare against user input.
 // \param dlgHeading String shown on dialog title.
 // \param bVerifyInput If set as true we verify the users input versus strToVerify.
-// \return true if successful display and user input. false if unsucessful display, no user input, or canceled editing.
+// \return true if successful display and user input. false if unsuccessful display, no user input, or canceled editing.
 bool CGUIDialogNumeric::ShowAndVerifyInput(CStdString& strToVerify, const CStdString& dlgHeading, bool bVerifyInput)
 {
   // Prompt user for password input
index 20935ad..4620d92 100644 (file)
@@ -221,7 +221,7 @@ CAfpConnection::afpConnnectError CAfpConnection::Connect(const CURL& url)
     CLog::Log(LOGDEBUG, "AFP: Could not parse url: %s!\n", nonConstUrl.Get().c_str());
     return AfpFailed;
   }
-  else // parsed sucessfull
+  else // parsed successfull
   {
     // this is our current url object whe are connected to (at least we try)
     *m_pAfpUrl = tmpurl;
index 178d5c3..822f079 100644 (file)
@@ -70,7 +70,7 @@ void CGUIKeyboardFactory::keyTypedCB(CGUIKeyboard *ref, const std::string &typed
 
 // Show keyboard with initial value (aTextString) and replace with result string.
 // Returns: true  - successful display and input (empty result may return true or false depending on parameter)
-//          false - unsucessful display of the keyboard or cancelled editing
+//          false - unsuccessful display of the keyboard or cancelled editing
 bool CGUIKeyboardFactory::ShowAndGetInput(CStdString& aTextString, const CVariant &heading, bool allowEmptyResult, bool hiddenInput /* = false */, unsigned int autoCloseMs /* = 0 */)
 {
   bool confirmed = false;
@@ -142,7 +142,7 @@ bool CGUIKeyboardFactory::ShowAndGetFilter(CStdString &filter, bool searching, u
 // \param newPassword Overwritten with user input if return=true.
 // \param heading Heading to display
 // \param allowEmpty Whether a blank password is valid or not.
-// \return true if successful display and user input entry/re-entry. false if unsucessful display, no user input, or canceled editing.
+// \return true if successful display and user input entry/re-entry. false if unsuccessful display, no user input, or canceled editing.
 bool CGUIKeyboardFactory::ShowAndVerifyNewPassword(CStdString& newPassword, const CVariant &heading, bool allowEmpty, unsigned int autoCloseMs /* = 0 */)
 {
   // Prompt user for password input
@@ -172,7 +172,7 @@ bool CGUIKeyboardFactory::ShowAndVerifyNewPassword(CStdString& newPassword, cons
 
 // \brief Show keyboard twice to get and confirm a user-entered password string.
 // \param strNewPassword Overwritten with user input if return=true.
-// \return true if successful display and user input entry/re-entry. false if unsucessful display, no user input, or canceled editing.
+// \return true if successful display and user input entry/re-entry. false if unsuccessful display, no user input, or canceled editing.
 bool CGUIKeyboardFactory::ShowAndVerifyNewPassword(CStdString& newPassword, unsigned int autoCloseMs /* = 0 */)
 {
   CStdString heading = g_localizeStrings.Get(12340);
@@ -183,7 +183,7 @@ bool CGUIKeyboardFactory::ShowAndVerifyNewPassword(CStdString& newPassword, unsi
 // \param strPassword Value to compare against user input.
 // \param dlgHeading String shown on dialog title. Converts to localized string if contains a positive integer.
 // \param iRetries If greater than 0, shows "Incorrect password, %d retries left" on dialog line 2, else line 2 is blank.
-// \return 0 if successful display and user input. 1 if unsucessful input. -1 if no user input or canceled editing.
+// \return 0 if successful display and user input. 1 if unsuccessful input. -1 if no user input or canceled editing.
 int CGUIKeyboardFactory::ShowAndVerifyPassword(CStdString& strPassword, const CStdString& strHeading, int iRetries, unsigned int autoCloseMs /* = 0 */)
 {
   CStdString strHeadingTemp;
index 32881c7..b8e895c 100644 (file)
@@ -321,7 +321,7 @@ namespace JSONRPC
      \brief Parses the given json schema description and evaluates
      and stores the defined type
      \param jsonType json schema description to parse
-     \return True if the json schema description has been parsed sucessfully otherwise false
+     \return True if the json schema description has been parsed successfully otherwise false
      */
     static bool AddType(const std::string &jsonType);
 
@@ -330,7 +330,7 @@ namespace JSONRPC
      and stores the defined method
      \param jsonMethod json schema description to parse
      \param method pointer to the implementation
-     \return True if the json schema description has been parsed sucessfully otherwise false
+     \return True if the json schema description has been parsed successfully otherwise false
      */
     static bool AddMethod(const std::string &jsonMethod, MethodCall method);
 
@@ -338,7 +338,7 @@ namespace JSONRPC
      \brief Parses the given json schema description and evaluates
      and stores the defined builtin method
      \param jsonMethod json schema description to parse
-     \return True if the json schema description has been parsed sucessfully otherwise false
+     \return True if the json schema description has been parsed successfully otherwise false
      */
     static bool AddBuiltinMethod(const std::string &jsonMethod);
 
@@ -346,7 +346,7 @@ namespace JSONRPC
      \brief Parses the given json schema description and evaluates
      and stores the defined notification
      \param jsonNotification json schema description to parse
-     \return True if the json schema description has been parsed sucessfully otherwise false
+     \return True if the json schema description has been parsed successfully otherwise false
      */
     static bool AddNotification(const std::string &jsonNotification);
 
index db46c74..b4d73ee 100644 (file)
@@ -73,7 +73,7 @@ protected:
   /*! \brief Retrieves the items from the given path and updates the list
    \param strDirectory The path to the directory to get the items from
    \param updateFilterPath Whether to update the filter path in m_strFilterPath or not
-   \return true if the list was sucessfully updated otherwise false
+   \return true if the list was successfully updated otherwise false
    \sa GetDirectory
    \sa m_vecItems
    \sa m_strFilterPath