diff --git a/action.php b/action.php
index f50166b..7e4fc06 100644
--- a/action.php
+++ b/action.php
@@ -194,12 +194,12 @@ public function handle_ajax_call(Doku_Event $event, $params) {
ob_start();
html_msgarea();
if ($remaining === false) {
- ptln('
'.sprintf($this->getLang('pm_ns_move_error'), $opts['ns'], $opts['newns']).'
');
+ ptln(''.sprintf($this->getLang('ns_move_error'), $opts['ns'], $opts['newns']).'
');
echo $helper->getNSMoveButton('tryagain', $id);
echo $helper->getNSMoveButton('skip', $id);
echo $helper->getNSMoveButton('abort', $id);
} else {
- ptln(''.sprintf($this->getLang('pm_ns_move_continued'), $opts['ns'], $opts['newns'], $remaining).'
');
+ ptln(''.sprintf($this->getLang('ns_move_continued'), $opts['ns'], $opts['newns'], $remaining).'
');
}
$result['html'] = ob_get_clean();
} else {
diff --git a/admin.php b/admin.php
index 5af8747..dcbf2be 100644
--- a/admin.php
+++ b/admin.php
@@ -51,9 +51,9 @@ function getMenuText() {
global $INFO;
if( !$INFO['exists'] )
- return $this->getLang('menu').' ('.sprintf($this->getLang('pm_notexist'), $INFO['id']).')';
+ return $this->getLang('menu').' ('.sprintf($this->getLang('notexist'), $INFO['id']).')';
elseif( !$INFO['writable'] )
- return $this->getLang('menu').' ('.$this->getLang('pm_notwrite').')';
+ return $this->getLang('menu').' ('.$this->getLang('notwrite').')';
else
return $this->getLang('menu');
}
@@ -75,14 +75,14 @@ function html() {
switch ($this->ns_move_state) {
case 'started':
ptln('');
- ptln(sprintf($this->getLang('pm_ns_move_started'), hsc($this->ns_opts['ns']), hsc($this->ns_opts['newns']), $this->ns_opts['num_pages'], $this->ns_opts['num_media']));
+ ptln(sprintf($this->getLang('ns_move_started'), hsc($this->ns_opts['ns']), hsc($this->ns_opts['newns']), $this->ns_opts['num_pages'], $this->ns_opts['num_media']));
ptln('
');
ptln($this->helper->getNSMoveButton('continue'));
ptln($this->helper->getNSMoveButton('abort'));
break;
case 'error':
ptln('');
- ptln(sprintf($this->getLang('pm_ns_move_error'), $this->ns_opts['ns'], $this->ns_opts['newns']));
+ ptln(sprintf($this->getLang('ns_move_error'), $this->ns_opts['ns'], $this->ns_opts['newns']));
ptln('
');
ptln($this->helper->getNSMoveButton('tryagain'));
ptln($this->helper->getNSMoveButton('skip'));
@@ -90,7 +90,7 @@ function html() {
break;
case 'continued':
ptln('');
- ptln(sprintf($this->getLang('pm_ns_move_continued'), $this->ns_opts['ns'], $this->ns_opts['newns'], $this->ns_opts['remaining']));
+ ptln(sprintf($this->getLang('ns_move_continued'), $this->ns_opts['ns'], $this->ns_opts['newns'], $this->ns_opts['remaining']));
ptln('
');
ptln($this->helper->getNSMoveButton('continue'));
@@ -120,21 +120,21 @@ function printForm() {
$form->addHidden('page', $this->getPluginName());
$form->addHidden('id', $ID);
$form->addHidden('move_type', 'page');
- $form->startFieldset($this->getLang('pm_movepage'));
- $form->addElement(form_makeMenuField('ns_for_page', $ns_select_data, $this->opts['ns_for_page'], $this->getLang('pm_targetns'), '', 'block'));
- $form->addElement(form_makeTextField('newns', $this->opts['newns'], $this->getLang('pm_newtargetns'), '', 'block'));
- $form->addElement(form_makeTextField('newname', $this->opts['newname'], $this->getLang('pm_newname'), '', 'block'));
- $form->addElement(form_makeButton('submit', 'admin', $this->getLang('pm_submit')));
+ $form->startFieldset($this->getLang('movepage'));
+ $form->addElement(form_makeMenuField('ns_for_page', $ns_select_data, $this->opts['ns_for_page'], $this->getLang('targetns'), '', 'block'));
+ $form->addElement(form_makeTextField('newns', $this->opts['newns'], $this->getLang('newtargetns'), '', 'block'));
+ $form->addElement(form_makeTextField('newname', $this->opts['newname'], $this->getLang('newname'), '', 'block'));
+ $form->addElement(form_makeButton('submit', 'admin', $this->getLang('submit')));
$form->endFieldset();
$form->printForm();
if ($this->ns_opts !== false) {
ptln('