Skip to content
Snippets Groups Projects
Commit 27743bd8 authored by catch's avatar catch
Browse files

Issue #1788060 by BarisW, swentel: Fixed Translatable string <Hidden> cannot...

Issue #1788060 by BarisW, swentel: Fixed Translatable string <Hidden> cannot imported if translated.
parent 5225d82a
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -92,7 +92,7 @@ public function form(array $form, array &$form_state) {
$field_label_options = array(
'above' => t('Above'),
'inline' => t('Inline'),
'hidden' => t('<Hidden>'),
'hidden' => '<' . t('Hidden') . '>',
);
$extra_visibility_options = array(
'visible' => t('Visible'),
......@@ -149,7 +149,7 @@ public function form(array $form, array &$form_state) {
);
$formatter_options = field_ui_formatter_options($field['type']);
$formatter_options['hidden'] = t('<Hidden>');
$formatter_options['hidden'] = '<' . t('Hidden') . '>';
$table[$name]['format'] = array(
'type' => array(
'#type' => 'select',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment