summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/lang/en/lang.php14
-rw-r--r--inc/template.php7
2 files changed, 13 insertions, 8 deletions
diff --git a/inc/lang/en/lang.php b/inc/lang/en/lang.php
index fbfd0e34f..b68ca4730 100644
--- a/inc/lang/en/lang.php
+++ b/inc/lang/en/lang.php
@@ -334,6 +334,7 @@ $lang['wordblock'] = 'Your change was not saved because it contains
$lang['media_uploadtab'] = 'Upload';
$lang['media_searchtab'] = 'Search';
+$lang['media_file'] = 'File';
$lang['media_viewtab'] = 'View';
$lang['media_edittab'] = 'Edit';
$lang['media_historytab'] = 'History';
@@ -341,12 +342,13 @@ $lang['media_list_thumbs'] = '<span>Show list as</span> thumbnails';
$lang['media_list_rows'] = '<span>Show list as</span> list';
$lang['media_sort_name'] = '<span>Sort by</span> name';
$lang['media_sort_date'] = '<span>Sort by</span> date';
-$lang['media_files'] = 'Media files in the <strong>%s</strong> namespace.';
-$lang['media_upload'] = 'Upload to the <strong>%s</strong> namespace.';
-$lang['media_search'] = 'Search in the <strong>%s</strong> namespace.';
-$lang['media_view'] = '<span class="%s">%s</span>';
-$lang['media_edit'] = 'Edit <span class="%s">%s</span>';
-$lang['media_history'] = 'History of <span class="%s">%s</span>';
+$lang['media_namespaces'] = 'Choose namespace';
+$lang['media_files'] = 'Media files in <strong>%s</strong>';
+$lang['media_upload'] = 'Upload to <strong>%s</strong>';
+$lang['media_search'] = 'Search in <strong>%s</strong>';
+$lang['media_view'] = '<strong class="%s">%s</strong>';
+$lang['media_edit'] = 'Edit <strong class="%s">%s</strong>';
+$lang['media_history'] = 'History of <strong class="%s">%s</strong>';
$lang['media_meta_edited'] = 'metadata edited';
$lang['media_perm_read'] = 'Sorry, you don\'t have enough rights to read files.';
$lang['media_perm_upload'] = 'Sorry, you don\'t have enough rights to upload files.';
diff --git a/inc/template.php b/inc/template.php
index e2549095c..aeb446b5b 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -1508,9 +1508,9 @@ function tpl_media() {
echo '<div class="panel namespaces">';
html_msgarea();
- echo '<h2>'.hsc($lang['namespaces']).'</h2>';
+ echo '<h2>'.$lang['namespaces'].'</h2>';
echo '<div class="panelHeader">';
- echo hsc($lang['namespaces']);
+ echo $lang['media_namespaces'];
echo '</div>';
echo '<div class="panelContent" id="media__tree">';
@@ -1519,12 +1519,15 @@ function tpl_media() {
echo '</div>';
echo '<div class="panel filelist">';
+ echo '<h2 class="a11y">'.$lang['mediaselect'].'</h2>';
tpl_mediaFileList();
echo '</div>';
echo '<div class="panel file">';
+ echo '<h2 class="a11y">'.$lang['media_file'].'</h2>';
tpl_mediaFileDetails($image, $rev);
echo '</div>';
+
echo '</div>';
}