From 9ff5e8690957f6d4012a09ed77d8c44847ca3015 Mon Sep 17 00:00:00 2001 From: Charles Fulton Date: Tue, 31 Jul 2012 11:50:20 -0700 Subject: [PATCH] MDL-29129 wiki: fix a hardcoded string --- mod/wiki/lang/en/wiki.php | 1 + mod/wiki/pagelib.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/wiki/lang/en/wiki.php b/mod/wiki/lang/en/wiki.php index 9781d7b0b26..1c929d911dd 100644 --- a/mod/wiki/lang/en/wiki.php +++ b/mod/wiki/lang/en/wiki.php @@ -169,6 +169,7 @@ $string['pageindex_help'] = 'This wiki\'s page tree'; $string['pageislocked'] = 'Someone is editing this page right now. Try to edit it in a few minutes.'; $string['pagelist'] = 'Page list'; $string['pagelist_help'] = 'Page list categorized by alphabetical order'; +$string['pagename'] = 'Page name'; $string['peerreview'] = 'Peer review'; $string['pluginadministration'] = 'Wiki administration'; $string['pluginname'] = 'Wiki'; diff --git a/mod/wiki/pagelib.php b/mod/wiki/pagelib.php index 22f708a1db7..ca00a5bc592 100644 --- a/mod/wiki/pagelib.php +++ b/mod/wiki/pagelib.php @@ -2483,7 +2483,7 @@ class page_wiki_admin extends page_wiki { protected function print_delete_content($showorphan = true) { $contents = array(); $table = new html_table(); - $table->head = array('','Page name'); + $table->head = array('', get_string('pagename','wiki')); $table->attributes['class'] = 'generaltable mdl-align'; $swid = $this->subwiki->id; if ($showorphan) {