title: Yii 2. How to change text on button Reset
body: <p>Have a website and form to search. Dont know where to find file, where I can change text on my "Reset" button. For example change to "Erase all". </p>
  
  <p>Now i have this button with text:"Reset"
  I tried to search in "yii\widgets\ActiveForm" and "kartik\select2\Select2" files.
  But could not find.</p>
  
  <pre><code>    &lt;?php
  use kartik\select2\Select2;
  use yii\helpers\ArrayHelper;
  use yii\helpers\Html;
  use yii\helpers\Url;
  use yii\widgets\ActiveForm;
  
  /* @var $this yii\web\View */
  /* @var $model backend\models\search\ProductSearch */
  /* @var $form yii\widgets\ActiveForm */
  /* @var $dataProvider yii\data\ActiveDataProvider */      ?&gt;
  &lt;div class="col-sm-12"&gt;
      &lt;div class="gadget-search"&gt;
          &lt;?php $form = ActiveForm::begin([
              'action' =&gt; ['index'],
              'method' =&gt; 'get',
              'options' =&gt; [
                  'data-pjax' =&gt; true,
                  'id' =&gt; 'wow',
                  'class' =&gt; 'form-inline',
              ],
          ]); ?&gt;
  
          &lt;div class="form-group"&gt;
              &lt;?= Html::submitButton(Yii::t('app', 'Search'), ['class' =&gt; 'btn btn-primary']) ?&gt;
              &lt;?= Html::a(Yii::t('app', 'Reset'), Url::toRoute([]), ['class' =&gt; 'btn btn-default']) ?&gt;
          &lt;/div&gt;
          &lt;?php ActiveForm::end(); ?&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>