Commit 90d5e41f authored by webchick's avatar webchick

Issue #1751410 by andypost: Fixed site name retrieval in Gettext code for CMI conversion.

parent 0295b682
......@@ -227,7 +227,7 @@ function locale_translate_export_form_submit($form, &$form_state) {
if (!empty($item)) {
$uri = tempnam('temporary://', 'po_');
$header = $reader->getHeader();
$header->setProjectName(variable_get('site_name', 'Drupal'));
$header->setProjectName(config('system.site')->get('name'));
$header->setLanguageName($languageName);
$writer = new PoStreamWriter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment