diff --git a/Google Translate.alfredworkflow b/Google Translate.alfredworkflow index 22ba258..96cac38 100644 Binary files a/Google Translate.alfredworkflow and b/Google Translate.alfredworkflow differ diff --git a/README.md b/README.md index 7d3e955..0a369d5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Google Translate Alfred Workflow ============================= -# Version 3.1.1 +# Version 3.1.2 ## Changelog diff --git a/src/GoogleTranslateSettingsWorkflow.php b/src/GoogleTranslateSettingsWorkflow.php index 9b42db7..00b5cfc 100644 --- a/src/GoogleTranslateSettingsWorkflow.php +++ b/src/GoogleTranslateSettingsWorkflow.php @@ -38,10 +38,6 @@ public function process($request) $phrase = (count($requestParts) > 0) ? implode(' ', $requestParts) : $command; $result = ''; - if (strlen($phrase) < 3) { - return $this->getSimpleMessage('More input needed', 'The word has to be longer than 2 characters'); - } - if ($command == 'show') { $result = $this->showSettings();