| Conditions | 1 |
| Paths | 1 |
| Total Lines | 28 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function init() |
||
| 11 | { |
||
| 12 | parent::init(); |
||
| 13 | |||
| 14 | $this->actions[static::ACTION_RECOGNIZE][static::ACTION_FIELDS][static::ACTION_FIELD_INSTRUCTIONS][static::PARAM_SLUG_REQUIRE] = true; |
||
| 15 | |||
| 16 | $this->wiki->setText(['service', 'name'], [ |
||
| 17 | 'ru' => 'RuCaptcha Инструкция', |
||
| 18 | 'en' => 'RuCaptcha Manual', |
||
| 19 | ]); |
||
| 20 | $this->wiki->setText(['recognize', 'desc'], [ |
||
| 21 | 'ru' => 'Распознание что написанно на картинке с пояснительной инструкцией', |
||
| 22 | 'en' => 'Recognizing what is written on the picture with the explanatory statement', |
||
| 23 | ]); |
||
| 24 | $this->wiki->setText(['recognize', 'data'], [ |
||
| 25 | static::ACTION_FIELD_INSTRUCTIONS => 'What\'s in the picture?', |
||
| 26 | ]); |
||
| 27 | $this->wiki->setText(['menu', 'from_service'], [ |
||
| 28 | RuCaptcha::class, |
||
| 29 | RuCaptchaClick::class, |
||
| 30 | RuCaptchaGrid::class, |
||
| 31 | RuCaptchaReCaptcha::class, |
||
| 32 | RuCaptchaKeyCaptcha::class, |
||
| 33 | RuCaptchaFunCaptcha::class, |
||
| 34 | RuCaptchaReCaptchaV3::class, |
||
| 35 | RuCaptchaGeeTest::class, |
||
| 36 | ]); |
||
| 37 | } |
||
| 38 | } |
||
| 39 |