Skip to content

Commit

Permalink
added translation for noty module to fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
eluhr committed Apr 21, 2021
1 parent 240386a commit 81b3a96
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,14 @@
'messageTable' => '{{%language_translate}}',
'cachingDuration' => 86400,
'enableCaching' => !YII_ENV_DEV
],
'noty' => [
'class' => DbMessageSource::class,
'sourceLanguage' => 'xx-XX',
'sourceMessageTable' => '{{%language_source}}',
'messageTable' => '{{%language_translate}}',
'cachingDuration' => 86400,
'enableCaching' => !YII_ENV_DEV
]
]
],
Expand Down

0 comments on commit 81b3a96

Please sign in to comment.