From fd69173a4b8335454caf62642c3c0665a1868c40 Mon Sep 17 00:00:00 2001 From: Thomas Hempel Date: Fri, 8 Jul 2016 17:30:32 +0200 Subject: [PATCH] [FIX] Fixes issue #28 Removes an error in gtset action where it was impossible to actually set anything. --- Google Translate.alfredworkflow | Bin 338835 -> 338878 bytes README.md | 2 +- src/GoogleTranslateSettingsWorkflow.php | 4 ---- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Google Translate.alfredworkflow b/Google Translate.alfredworkflow index 22ba2580e898f61d38f12e777dd38c52e0ff2c0d..96cac38072e8b09195be1ea23546919245e08492 100644 GIT binary patch delta 11457 zcmZX3cRW__|GzVCdlQ-2%FK?ejATo8sgyD^A|$$%nG_Nyk{ua|WMvb|E+Hc&GZZo+ z)bHHR{Vt#H?~nU&y`In4x?ZpAI_F&H+;IcUwFAsC#?Yr`e6gw6MOv-fGsiw(qm} zCX#XtG|r@l;w4!U#+%jKb*=6*@^s(0`|*IXhwQ~1^@F)^G)0R}#-WdbS+@=wU2SVf8oo_9kM4)(>7n=M?P5c2)uZrRWKHy%SbabE?c;UK*LU4v9Q+S&ado zk5gXYeKAtlteMk#f#mjJ^A8_oI-XPYs{w1g%5+_0&3-rLSXD>D+S>;^8Dq|=rbwtY z&Vwzz(TgsJRPaA}*SlAht;EjC3%^*L^=Bll;4q_ zVfA8WK85R@q{oeO!}~md+wDvC8t=&60)j7g=pH}x&=!wR4quQ&JQN=$lT~a;sBgC{ z2;GPc>wjd}G8RuaJ)Xa`sqWQDe~d%-{!zn<8fr%*>+aIDD_d8#efOa2%jEHQI$qQ5 zk(=_TVAZJUv75?XQmM91`fsXU%l006twcjjf3=p2M<9K*lkdsFG3C9+^t73B-$?J@ zRGwXhHy7^W&wuf6db^qNA%V00?oyY*JhG}YCc`7;SW?hUoBo)yKWN6chPh$TK9k$dGP4lg__LF^Lp$1jC;?W zNKKRQJ8L-*Yr;61F(NI_*#EPBIsHiFeb3kn-oB$60$MBhbzQd&o7IyfVMQa9W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Yu)A@gC zCZPBOE}pyyn@|F(7jYjX5~wV}>cVf)6MtYS%=%FrG%n#bXes^|BSymbfczSUrh!i=$rL`} zqA`*%FvdvR5nn=fMU`|x48h&d#aMwjPSQiy=@E<&2*gPysQ)e+=-7pEfHrQ}1pyKa zZn%d=8<9x+&`t2>CJc&5Bm=a`kOq{DFmAA(9{QU#qA_O17z?;TFul$ooq;3mV9Y?WKte$p1IZV84Y(LdC(tV=R`pI`yx|Kqc~V`s@D`|sG^fdQ%Ost1=B-y zZ_*e87Lqw?l}rQWEF=qbHk}3(SV>msSPl)OvcehDJR0C+Bbgzdz=e(EiDo~fabMVA zLCwoR3M0jRGz4@-Q3hs27a^Td<{c)&w4M>Zw$lKe1BMjW(`W8&ZmBQ8Ky zZ{;NkV|L7|bQLpB^J2gU>3-H#I*gBGg+1h2MN51nJ8T#KD$3`_`Kg|Y`JsuY;40lB zi1R{P55Aq~3y@A={t~MbeG)h~&=!W7vIs&0`gN;fI0};VuIC$m>uO_Pg0!#rlK0~87u7Nx9 zVh{~vuOT_0%NJ=tQUabYTX0GODr7{06LRp}%t^q+ktiBC9)+_44@sE#g;i!U3Rd?s z!SF}Zbd1-MjM0fzU=ssZ+O`g++#QSm_ghYSEKQ$14!#oXl!6`t6KKqRDd=G|kp`rs zNrtFlDh&W>cnBV>g7Y#YHozkT(-TgkO+)4&n)n|e1|-skhaKsupaGMoI3IW>4}0sF Vs6ZkkcHn{nX)C?QTO5AK{2%WSVoU%4 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();