Skip to content

Commit

Permalink
Comment translations
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodeholic authored Dec 5, 2017
1 parent 41a1606 commit df17602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DatePicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ class DatePicker extends InputWidget
*/
private function registerTranslations()
{
Yii::$app->i18n->translations['datepicker'] = [
/*Yii::$app->i18n->translations['datepicker'] = [
'class' => 'yii\i18n\DbMessageSource',
'sourceMessageTable'=>'{{%i18n_source_message}}',
'messageTable'=>'{{%i18n_message}}',
];
];*/

$this->clientOptions['tooltips'] = [
'today' => Yii::t('datepicker', 'Go to today'),
Expand Down

0 comments on commit df17602

Please sign in to comment.