diff --git a/core/modules/block/lib/Drupal/block/BlockFormController.php b/core/modules/block/lib/Drupal/block/BlockFormController.php index e2692a4..b04e611 100644 --- a/core/modules/block/lib/Drupal/block/BlockFormController.php +++ b/core/modules/block/lib/Drupal/block/BlockFormController.php @@ -175,9 +175,7 @@ public function form(array $form, array &$form_state) { $languages = language_list(Language::STATE_ALL); $langcodes_options = array(); foreach ($languages as $language) { - // @todo $language->name is not wrapped with t(), it should be replaced - // by CMI translation implementation. - $langcodes_options[$language->id] = $language->name; + $langcodes_options[$language->id] = $this->t($language->name, array(), array('langcode' => $language->id)); } $form['visibility']['language'] = array( '#type' => 'details',