public function MessageCatalogueInterface::add in Plug 7
Adds translations for a given domain.
@api
Parameters
array $messages An array of translations:
string $domain The domain name:
1 method overrides MessageCatalogueInterface::add()
- MessageCatalogue::add in lib/
Symfony/ translation/ MessageCatalogue.php - @api
File
- lib/
Symfony/ translation/ MessageCatalogueInterface.php, line 121
Class
- MessageCatalogueInterface
- MessageCatalogueInterface.
Namespace
Symfony\Component\TranslationCode
public function add($messages, $domain = 'messages');