Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

Commit

Permalink
[FIX] Fixes issue #28
Browse files Browse the repository at this point in the history
Removes an error in gtset action where it was impossible to actually set anything.
  • Loading branch information
thomashempel committed Jul 8, 2016
1 parent 75e44ef commit fd69173
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Binary file modified Google Translate.alfredworkflow
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Google Translate Alfred Workflow
=============================

# Version 3.1.1
# Version 3.1.2

## Changelog

Expand Down
4 changes: 0 additions & 4 deletions src/GoogleTranslateSettingsWorkflow.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit fd69173

Please # to comment.