diff -u b/core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php b/core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php
--- b/core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php
+++ b/core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php
@@ -44,26 +44,26 @@
*/
public function settingsForm(array $form, FormStateInterface $form_state) {
$element['controls'] = array(
- '#title' => t('Show audio controls'),
+ '#title' => $this->t('Show audio controls'),
'#type' => 'checkbox',
'#default_value' => $this->getSetting('controls'),
);
$element['autoplay'] = array(
- '#title' => t('Autoplay'),
+ '#title' => $this->t('Autoplay'),
'#type' => 'checkbox',
'#default_value' => $this->getSetting('autoplay'),
);
$element['loop'] = array(
- '#title' => t('Loop'),
+ '#title' => $this->t('Loop'),
'#type' => 'checkbox',
'#default_value' => $this->getSetting('loop'),
);
$element['multiple_file_behavior'] = array(
- '#title' => t('Display of multiple files'),
+ '#title' => $this->t('Display of multiple files'),
'#type' => 'radios',
'#options' => array(
- 'tags' => t('Use multiple @tag tags, each with a single source.', array('@tag' => '
diff -u b/core/themes/classy/templates/field/file-video.html.twig b/core/themes/classy/templates/field/file-video.html.twig
--- b/core/themes/classy/templates/field/file-video.html.twig
+++ b/core/themes/classy/templates/field/file-video.html.twig
@@ -20,4 +20,4 @@
- {% for file in files %}
-
- {% endfor %}
-
\ No newline at end of file
+ {% for file in files %}
+
+ {% endfor %}
+
diff -u b/core/themes/stable/templates/field/file-audio.html.twig b/core/themes/stable/templates/field/file-audio.html.twig
--- b/core/themes/stable/templates/field/file-audio.html.twig
+++ b/core/themes/stable/templates/field/file-audio.html.twig
@@ -19,4 +19,4 @@
- {% for file in files %}
-
- {% endfor %}
-
\ No newline at end of file
+ {% for file in files %}
+
+ {% endfor %}
+
diff -u b/core/themes/stable/templates/field/file-video.html.twig b/core/themes/stable/templates/field/file-video.html.twig
--- b/core/themes/stable/templates/field/file-video.html.twig
+++ b/core/themes/stable/templates/field/file-video.html.twig
@@ -19,4 +19,4 @@
- {% for file in files %}
-
- {% endfor %}
-
\ No newline at end of file
+ {% for file in files %}
+
+ {% endfor %}
+