Permalink
Browse files

MDL-29129 wiki: fix a hardcoded string

  • Loading branch information...
1 parent 3407c2f commit 8440c2c72c215316740752a48579c73c2ec988b9 @mackensen mackensen committed with stronk7 Jul 31, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 mod/wiki/lang/en/wiki.php
  2. +1 −1 mod/wiki/pagelib.php
@@ -157,6 +157,7 @@
$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';
View
@@ -2483,7 +2483,7 @@ protected function create_navbar() {
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) {

0 comments on commit 8440c2c

Please sign in to comment.