Skip to content

Commit

Permalink
Merge pull request #46 from Invertus/DGS-164
Browse files Browse the repository at this point in the history
DGS-164 Translatable string added when no option available, translations up…
  • Loading branch information
arturas-bes authored Dec 8, 2021
2 parents b1eedfd + 15cf02f commit 50053fe
Show file tree
Hide file tree
Showing 5 changed files with 2,709 additions and 4,108 deletions.
6 changes: 6 additions & 0 deletions dpdbaltics.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,12 @@ public function hookActionFrontControllerSetMedia()

if (in_array($currentController, $applicableControlelrs, true)) {

Media::addJsDef([
'select_an_option_translatable' => $this->l('Select an Option'),
'select_an_option_multiple_translatable' => $this->l('Select Some Options'),
'no_results_translatable' => $this->l('No results match'),

]);
$this->context->controller->addJS($this->getPathUri() . 'views/js/front/order.js');
$this->context->controller->addJS($this->getPathUri() . 'views/js/front/order-input.js');
$this->context->controller->addCSS($this->getPathUri() . 'views/css/front/order-input.css');
Expand Down
Loading

0 comments on commit 50053fe

Please sign in to comment.