diff --git a/core/modules/file/file.module b/core/modules/file/file.module index 3f2d500..8890b2c 100644 --- a/core/modules/file/file.module +++ b/core/modules/file/file.module @@ -23,19 +23,19 @@ function file_help($path, $arg) { case 'admin/help#file': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The File module allows you to create fields that contain files. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them. For more information see the online documentation for the File module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => \Drupal::url('help.page', array('name' => 'field_ui')), '!file_documentation' => 'https://drupal.org/documentation/modules/file')) . '

'; + $output .= '

' . t('The File module allows you to create fields that contain files. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the File module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => \Drupal::url('help.page', array('name' => 'field_ui')), '!file_documentation' => 'https://drupal.org/documentation/modules/file')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; - $output .= '
' . t('Managing and displaying file fields') . '
'; + $output .= '
' . t('Managing and displaying file fields') . '
'; $output .= '
' . t('The settings and the display of the file field can be configured separately. See the Field UI help for more information on how to manage fields and their display.', array('!field_ui' => \Drupal::url('help.page', array('name' => 'field_ui')))) . '
'; $output .= '
' . t('Allowing file extensions') . '
'; - $output .= '
' . t('In the field settings you can define which are the allowed file extensions (e.g. pdf docx psd) for the files that will be uploaded with the file field.') . '
'; + $output .= '
' . t('In the field settings, you can define which are the allowed file extensions (e.g. pdf docx psd) for the files that will be uploaded with the file field.') . '
'; $output .= '
' . t('Storing files ') . '
'; - $output .= '
' . t('Files that are uploaded through a file field are stored in a directory that is publicly accessible over the web. When public files are listed, direct links to the files are used, and anyone who knows the URL of that file can download it. The public folder is defined in the settings.php file. Consult the File system settings for information about that directory. Files can be stored in a protected folder by setting a Private file system path in the File system settings. Files in the private directory are not accessible directly through the web server. This increases the server load and download time, since the site must resolve the path for each file download request', array('!file-system' => \Drupal::url('system.file_system_settings'))) . '
'; + $output .= '
' . t('Uploaded files can either be stored as public or private, depending on the File system settings. For more information, see the System help page.', array('!file-system' => \Drupal::url('system.file_system_settings'), '!system-help' => \Drupal::url('help.page', array('name' => 'system')))) . '
'; $output .= '
' . t('Restricting the maximum file size') . '
'; $output .= '
' . t('The maximum file size that users can upload is limited by PHP settings of the server, but you can restrict it by entering the appropriate value into the Maximum upload size field. The maximum file size is automatically displayed to users in the help text of the file field.') . '
'; $output .= '
' . t('Displaying files and descriptions') . '
'; - $output .= '
' . t('If the Display field in the Field settings is enabled, users can toggle whether individual files are displayed. Files can be referred to by their URI even if they are not displayed. You can choose a display format from the drop-down menu: ') . '
'; + $output .= '
' . t('In the field settings, you can allow users to toggle whether individual files are displayed. In the display settings, you can then choose one of the following formats: A file can still be linked to directly by its URI even if it is not displayed.') . '
'; $output .= '
'; return $output; }