Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-29129 wiki: fix a hardcoded string

  • Loading branch information...
commit 9ff5e8690957f6d4012a09ed77d8c44847ca3015 1 parent 470d47f
Charles Fulton authored July 31, 2012
1  mod/wiki/lang/en/wiki.php
@@ -169,6 +169,7 @@
169 169
 $string['pageislocked'] = 'Someone is editing this page right now. Try to edit it in a few minutes.';
170 170
 $string['pagelist'] = 'Page list';
171 171
 $string['pagelist_help'] = 'Page list categorized by alphabetical order';
  172
+$string['pagename'] = 'Page name';
172 173
 $string['peerreview'] = 'Peer review';
173 174
 $string['pluginadministration'] = 'Wiki administration';
174 175
 $string['pluginname'] = 'Wiki';
2  mod/wiki/pagelib.php
@@ -2483,7 +2483,7 @@ protected function create_navbar() {
2483 2483
     protected function print_delete_content($showorphan = true) {
2484 2484
         $contents = array();
2485 2485
         $table = new html_table();
2486  
-        $table->head = array('','Page name');
  2486
+        $table->head = array('', get_string('pagename','wiki'));
2487 2487
         $table->attributes['class'] = 'generaltable mdl-align';
2488 2488
         $swid = $this->subwiki->id;
2489 2489
         if ($showorphan) {

0 notes on commit 9ff5e86

Please sign in to comment.
Something went wrong with that request. Please try again.