@@ -70,15 +70,15 @@ discard block |
||
70 | 70 | 'client' => 't', |
71 | 71 | 'hl' => 'en', |
72 | 72 | 'dt' => [ |
73 | - 't', // Translate |
|
74 | - 'bd', // Full translate with synonym ($bodyArray[1]) |
|
75 | - 'at', // Other translate ($bodyArray[5] - in google translate page this shows when click on translated word) |
|
76 | - 'ex', // Example part ($bodyArray[13]) |
|
77 | - 'ld', // I don't know ($bodyArray[8]) |
|
78 | - 'md', // Definition part with example ($bodyArray[12]) |
|
73 | + 't', // Translate |
|
74 | + 'bd', // Full translate with synonym ($bodyArray[1]) |
|
75 | + 'at', // Other translate ($bodyArray[5] - in google translate page this shows when click on translated word) |
|
76 | + 'ex', // Example part ($bodyArray[13]) |
|
77 | + 'ld', // I don't know ($bodyArray[8]) |
|
78 | + 'md', // Definition part with example ($bodyArray[12]) |
|
79 | 79 | 'qca', // I don't know ($bodyArray[8]) |
80 | - 'rw', // Read also part ($bodyArray[14]) |
|
81 | - 'rm', // I don't know |
|
80 | + 'rw', // Read also part ($bodyArray[14]) |
|
81 | + 'rm', // I don't know |
|
82 | 82 | 'ss' // Full synonym ($bodyArray[11]) |
83 | 83 | ], |
84 | 84 | 'sl' => null, // Source language |
@@ -431,7 +431,7 @@ discard block |
||
431 | 431 | return $responseArray; |
432 | 432 | } else { |
433 | 433 | if (is_array($responseArray[0])) { |
434 | - return array_reduce($responseArray[0], function ($carry, $item) { |
|
434 | + return array_reduce($responseArray[0], function($carry, $item) { |
|
435 | 435 | $carry .= $item[0]; |
436 | 436 | |
437 | 437 | return $carry; |