Issue #1966514 by Sutharsan, ivansf: Fixed Do not use \' in translatable strings.
parent
434498c3db
commit
f77b7106da
|
@ -37,7 +37,7 @@ class ManyToOneHelper {
|
|||
$form['reduce_duplicates'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Reduce duplicates'),
|
||||
'#description' => t('This filter can cause items that have more than one of the selected options to appear as duplicate results. If this filter causes duplicate results to occur, this checkbox can reduce those duplicates; however, the more terms it has to search for, the less performant the query will be, so use this with caution. Shouldn\'t be set on single-value fields, as it may cause values to disappear from display, if used on an incompatible field.'),
|
||||
'#description' => t("This filter can cause items that have more than one of the selected options to appear as duplicate results. If this filter causes duplicate results to occur, this checkbox can reduce those duplicates; however, the more terms it has to search for, the less performant the query will be, so use this with caution. Shouldn't be set on single-value fields, as it may cause values to disappear from display, if used on an incompatible field."),
|
||||
'#default_value' => !empty($this->handler->options['reduce_duplicates']),
|
||||
'#weight' => 4,
|
||||
);
|
||||
|
|
|
@ -859,11 +859,10 @@ abstract class FieldPluginBase extends HandlerBase {
|
|||
$this->documentSelfTokens($options[t('Fields')]);
|
||||
|
||||
// Default text.
|
||||
$output = t('<p>You must add some additional fields to this display before using this field. These fields may be marked as <em>Exclude from display</em> if you prefer. Note that due to rendering order, you cannot use fields that come after this field; if you need a field not listed here, rearrange your fields.</p>');
|
||||
$output = '<p>' . t('You must add some additional fields to this display before using this field. These fields may be marked as <em>Exclude from display</em> if you prefer. Note that due to rendering order, you cannot use fields that come after this field; if you need a field not listed here, rearrange your fields.') . '</p>';
|
||||
// We have some options, so make a list.
|
||||
if (!empty($options)) {
|
||||
$output = t('<p>The following tokens are available for this field. Note that due to rendering order, you cannot use fields that come after this field; if you need a field not listed here, rearrange your fields.
|
||||
If you would like to have the characters \'[\' and \']\' use the html entity codes \'%5B\' or \'%5D\' or they will get replaced with empty space.</p>');
|
||||
$output = '<p>' . t("The following tokens are available for this field. Note that due to rendering order, you cannot use fields that come after this field; if you need a field not listed here, rearrange your fields. If you would like to have the characters '[' and ']' use the html entity codes '%5B' or '%5D' or they will get replaced with empty space.") . '</p>';
|
||||
foreach (array_keys($options) as $type) {
|
||||
if (!empty($options[$type])) {
|
||||
$items = array();
|
||||
|
|
|
@ -56,7 +56,7 @@ class BasicSettingsForm extends SystemConfigFormBase {
|
|||
$form['basic']['ui_show_display_embed'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Show the embed display in the ui.'),
|
||||
'#description' => t('Allow advanced user to use the embed view display. The plugin itself works if it\'s not visible in the ui'),
|
||||
'#description' => t("Allow advanced user to use the embed view display. The plugin itself works if it's not visible in the ui"),
|
||||
'#default_value' => $config->get('ui.show.display_embed'),
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue