Skip to content
Snippets Groups Projects
Commit 54b97f6d authored by Jeff Burnz's avatar Jeff Burnz
Browse files

Issue #2456959: Remove div tags from translatable strings

parent cd941d1c
No related branches found
Tags 8.x-1.0-beta5
No related merge requests found
......@@ -42,7 +42,7 @@ function at_core_filemanagement_form(&$form, $theme_name) {
),
);
$form['at-settings']['file-management']['files-path']['public_files_path']['message'] = array(
'#markup' => t('<div class="description">Files will be saved to: <code>@public_files</code></div>', array('@public_files' => $public_files)),
'#markup' => '<div class="description">' . t('Files will be saved to: <code>@public_files</code>', array('@public_files' => $public_files)) . '</div>',
);
// message for theme dir
$form['at-settings']['file-management']['files-path']['theme_directory_files_path'] = array(
......@@ -52,7 +52,7 @@ function at_core_filemanagement_form(&$form, $theme_name) {
),
);
$form['at-settings']['file-management']['files-path']['theme_directory_files_path']['message'] = array(
'#markup' => t('<div class="description">Files will be saved to: <code>@theme_directory</code></div>', array('@theme_directory' => $theme_directory)),
'#markup' => '<div class="description">' . t('Files will be saved to: <code>@theme_directory</code>', array('@theme_directory' => $theme_directory)) . '</div>',
);
// Text field for custom path
$form['at-settings']['file-management']['files-path']['custom_files_path'] = array(
......
......@@ -320,7 +320,7 @@ function at_core_page_layout_form(&$form, $theme_name) {
),
);
$form['at-settings']['tablet']['landscape']['tablet-landscape-sidebar-width-wrapper']['tablet-landscape-sidebar-message-wrapper']['message'] = array(
'#markup' => t('<div class="description">In this layout <em>Second sidebar</em> wraps below.</div>'),
'#markup' => '<div class="description">' . t('In this layout <em>Second sidebar</em> wraps below.') . '</div>',
);
// Page width
......@@ -465,7 +465,7 @@ function at_core_page_layout_form(&$form, $theme_name) {
),
);
$form['at-settings']['tablet']['portrait']['tablet-portrait-sidebar-width-wrapper']['tablet-portrait-sidebar-message-wrapper']['message'] = array(
'#markup' => t('<div class="description">In this layout <em>Second sidebar</em> wraps below.</div>'),
'#markup' => '<div class="description">' . t('In this layout <em>Second sidebar</em> wraps below.') . '</div>',
);
// Tablet portrait Page width
......
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