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('
'); ptln(''); - ptln($this->getLang('pm_movens')); + ptln($this->getLang('movens')); ptln(''); ptln('

'); - ptln(sprintf($this->getLang('pm_ns_move_in_progress'), $this->ns_opts['num_pages'], $this->ns_opts['num_media'], ':'.hsc($this->ns_opts['ns']), ':'.hsc($this->ns_opts['newns']))); + ptln(sprintf($this->getLang('ns_move_in_progress'), $this->ns_opts['num_pages'], $this->ns_opts['num_media'], ':'.hsc($this->ns_opts['ns']), ':'.hsc($this->ns_opts['newns']))); ptln('

'); ptln($this->helper->getNSMoveButton('continue')); ptln($this->helper->getNSMoveButton('abort')); @@ -144,11 +144,11 @@ function printForm() { $form->addHidden('page', $this->getPluginName()); $form->addHidden('id', $ID); $form->addHidden('move_type', 'namespace'); - $form->startFieldset($this->getLang('pm_movens')); - $form->addElement(form_makeMenuField('targetns', $ns_select_data, $this->opts['targetns'], $this->getLang('pm_targetns'), '', 'block')); - $form->addElement(form_makeTextField('newnsname', $this->opts['newnsname'], $this->getLang('pm_newnsname'), '', 'block')); - $form->addElement(form_makeMenuField('contenttomove', array('pages' => $this->getLang('pm_move_pages'), 'media' => $this->getLang('pm_move_media'), 'both' => $this->getLang('pm_move_media_and_pages')), $this->opts['contenttomove'], $this->getLang('pm_content_to_move'), '', 'block')); - $form->addElement(form_makeButton('submit', 'admin', $this->getLang('pm_submit'))); + $form->startFieldset($this->getLang('movens')); + $form->addElement(form_makeMenuField('targetns', $ns_select_data, $this->opts['targetns'], $this->getLang('targetns'), '', 'block')); + $form->addElement(form_makeTextField('newnsname', $this->opts['newnsname'], $this->getLang('newnsname'), '', 'block')); + $form->addElement(form_makeMenuField('contenttomove', array('pages' => $this->getLang('move_pages'), 'media' => $this->getLang('move_media'), 'both' => $this->getLang('move_media_and_pages')), $this->opts['contenttomove'], $this->getLang('content_to_move'), '', 'block')); + $form->addElement(form_makeButton('submit', 'admin', $this->getLang('submit'))); $form->endFieldset(); $form->printForm(); } @@ -160,7 +160,7 @@ function printForm() { * * @author Michael Hamann * @author Gary Owen - * @author Arno Puschmann (bin out of _pm_form) + * @author Arno Puschmann (bin out of _form) */ private function build_namespace_select_content($ns) { global $conf; @@ -173,8 +173,8 @@ private function build_namespace_select_content($ns) { foreach($namesp as $row) { if ( auth_quickaclcheck($row['id'].':*') >= AUTH_CREATE || $row['id'] == $ns ) { - $result[($row['id'] ? $row['id'] : ':')] = ($row['id'] ? $row['id'].':' : ": ".$this->getLang('pm_root')). - ($row['id'] == $ns ? ' '.$this->getLang('pm_current') : ''); + $result[($row['id'] ? $row['id'] : ':')] = ($row['id'] ? $row['id'].':' : ": ".$this->getLang('root')). + ($row['id'] == $ns ? ' '.$this->getLang('current') : ''); } } return $result; @@ -258,7 +258,7 @@ function handle() { } else { // check that the pagename is valid if ($this->opts['newname'] == '' ) { - msg($this->getLang('pm_badname'), -1); + msg($this->getLang('badname'), -1); return; } diff --git a/helper.php b/helper.php index ccb7359..b9d07a0 100644 --- a/helper.php +++ b/helper.php @@ -335,11 +335,11 @@ public function move_page(&$opts, $checkonly = false) { // Check we have rights to move this document if ( !page_exists($ID)) { - msg(sprintf($this->getLang('pm_notexist'), $ID), -1); + msg(sprintf($this->getLang('notexist'), $ID), -1); return false; } if ( auth_quickaclcheck($ID) < AUTH_EDIT ) { - msg(sprintf($this->getLang('pm_norights'), hsc($ID)), -1); + msg(sprintf($this->getLang('norights'), hsc($ID)), -1); return false; } @@ -348,7 +348,7 @@ public function move_page(&$opts, $checkonly = false) { // the file exists check checks if the page is reported unlocked if a lock exists which means that // the page is locked by the current user if (checklock($ID) !== false || @file_exists(wikiLockFN($ID))) { - msg( sprintf($this->getLang('pm_filelocked'), hsc($ID)), -1); + msg( sprintf($this->getLang('filelocked'), hsc($ID)), -1); return false; } @@ -358,18 +358,18 @@ public function move_page(&$opts, $checkonly = false) { // Has the document name and/or namespace changed? if ( $opts['newns'] == $opts['ns'] && $opts['newname'] == $opts['name'] ) { - msg($this->getLang('pm_nochange'), -1); + msg($this->getLang('nochange'), -1); return false; } // Check the page does not already exist if ( @file_exists($opts['new_path']) ) { - msg(sprintf($this->getLang('pm_existing'), $opts['newname'], ($opts['newns'] == '' ? $this->getLang('pm_root') : $opts['newns'])), -1); + msg(sprintf($this->getLang('existing'), $opts['newname'], ($opts['newns'] == '' ? $this->getLang('root') : $opts['newns'])), -1); return false; } // Check if the current user can create the new page if (auth_quickaclcheck($opts['new_id']) < AUTH_CREATE) { - msg(sprintf($this->getLang('pm_notargetperms'), $opts['new_id']), -1); + msg(sprintf($this->getLang('notargetperms'), $opts['new_id']), -1); return false; } @@ -419,13 +419,13 @@ public function move_page(&$opts, $checkonly = false) { // Save the updated document in its new location if ($opts['ns'] == $opts['newns']) { - $lang_key = 'pm_renamed'; + $lang_key = 'renamed'; } elseif ( $opts['name'] == $opts['newname'] ) { - $lang_key = 'pm_moved'; + $lang_key = 'moved'; } else { - $lang_key = 'pm_move_rename'; + $lang_key = 'move_rename'; } // Wait a second when the page has just been rewritten @@ -436,7 +436,7 @@ public function move_page(&$opts, $checkonly = false) { // Delete the orginal file if (@file_exists(wikiFN($opts['new_id']))) { - saveWikiText($ID, '', $this->getLang('pm_delete') ); + saveWikiText($ID, '', $this->getLang('delete') ); } // Move the old revisions @@ -481,12 +481,12 @@ public function move_media(&$opts, $checkonly = false) { // Check we have rights to move this document if ( !file_exists(mediaFN($opts['id']))) { - msg(sprintf($this->getLang('pm_medianotexist'), hsc($opts['id'])), -1); + msg(sprintf($this->getLang('medianotexist'), hsc($opts['id'])), -1); return false; } if ( auth_quickaclcheck($opts['ns'].':*') < AUTH_DELETE ) { - msg(sprintf($this->getLang('pm_nomediarights'), hsc($opts['id'])), -1); + msg(sprintf($this->getLang('nomediarights'), hsc($opts['id'])), -1); return false; } @@ -496,18 +496,18 @@ public function move_media(&$opts, $checkonly = false) { // Has the document name and/or namespace changed? if ( $opts['newns'] == $opts['ns'] && $opts['newname'] == $opts['name'] ) { - msg($this->getLang('pm_nomediachange'), -1); + msg($this->getLang('nomediachange'), -1); return false; } // Check the page does not already exist if ( @file_exists($opts['new_path']) ) { - msg(sprintf($this->getLang('pm_mediaexisting'), $opts['newname'], ($opts['newns'] == '' ? $this->getLang('pm_root') : $opts['newns'])), -1); + msg(sprintf($this->getLang('mediaexisting'), $opts['newname'], ($opts['newns'] == '' ? $this->getLang('root') : $opts['newns'])), -1); return false; } // Check if the current user can create the new page if (auth_quickaclcheck($opts['new_ns'].':*') < AUTH_UPLOAD) { - msg(sprintf($this->getLang('pm_nomediatargetperms'), $opts['new_id']), -1); + msg(sprintf($this->getLang('nomediatargetperms'), $opts['new_id']), -1); return false; } @@ -709,7 +709,7 @@ public function execute_rewrites($id, $text = null) { // Wait a second if page has just been saved $oldRev = getRevisions($id, -1, 1, 1024); // from changelog if ($oldRev == time()) sleep(1); - saveWikiText($id, $text, $this->getLang('pm_linkchange')); + saveWikiText($id, $text, $this->getLang('linkchange')); } unset($meta['moves']); unset($meta['media_moves']); @@ -839,18 +839,18 @@ public function getNSMoveButton($action, $id = NULL) { case 'tryagain': $form->addHidden('continue_namespace_move', true); if ($action == 'tryagain') { - $form->addElement(form_makeButton('submit', 'admin', $this->getLang('pm_ns_move_tryagain'))); + $form->addElement(form_makeButton('submit', 'admin', $this->getLang('ns_move_tryagain'))); } else { - $form->addElement(form_makeButton('submit', 'admin', $this->getLang('pm_ns_move_continue'))); + $form->addElement(form_makeButton('submit', 'admin', $this->getLang('ns_move_continue'))); } break; case 'skip': $form->addHidden('skip_continue_namespace_move', true); - $form->addElement(form_makeButton('submit', 'admin', $this->getLang('pm_ns_move_skip'))); + $form->addElement(form_makeButton('submit', 'admin', $this->getLang('ns_move_skip'))); break; case 'abort': $form->addHidden('abort_namespace_move', true); - $form->addElement(form_makeButton('submit', 'admin', $this->getLang('pm_ns_move_abort'))); + $form->addElement(form_makeButton('submit', 'admin', $this->getLang('ns_move_abort'))); break; default: return false; diff --git a/lang/cs/lang.php b/lang/cs/lang.php index 5995062..8ee528e 100644 --- a/lang/cs/lang.php +++ b/lang/cs/lang.php @@ -15,19 +15,19 @@ $lang['menu'] = 'Přesun/přejmenování stránky'; $lang['desc'] = 'Plugin pro přesun/přejmenování stránku'; -//$lang['pm_notexist'] = 'Toto téma ještě neexistuje'; -$lang['pm_notwrite'] = 'Nemáte dostatečná oprávnění pro úpravu stránky'; -$lang['pm_badns'] = 'Neplatný název jmenného prostoru'; -$lang['pm_badname'] = 'Neplatný název stránky'; -$lang['pm_nochange'] = 'Jméno stránky a jmenného prostoru se nezměnilo'; -$lang['pm_existing1'] = 'Stránka %s již existuje v %s'; -$lang['pm_root'] = '[Kořen]'; -$lang['pm_current'] = '(Současný)'; -//$lang['pm_norights'] = 'Nemáte právo editovat jednu nebo více odkazujících stránek'; -$lang['pm_filelocked'] = 'Tento soubor je uzamčen - zkuste prosím znovu později'; -$lang['pm_linkchange1'] = 'Odkazy na %s změněny na %s'; -$lang['pm_newname'] = 'Nový název stránky :'; -$lang['pm_targetns'] = 'Cílový jmenný prostor :'; -$lang['pm_submit'] = 'Potvrdit'; +//$lang['notexist'] = 'Toto téma ještě neexistuje'; +$lang['notwrite'] = 'Nemáte dostatečná oprávnění pro úpravu stránky'; +$lang['badns'] = 'Neplatný název jmenného prostoru'; +$lang['badname'] = 'Neplatný název stránky'; +$lang['nochange'] = 'Jméno stránky a jmenného prostoru se nezměnilo'; +$lang['existing1'] = 'Stránka %s již existuje v %s'; +$lang['root'] = '[Kořen]'; +$lang['current'] = '(Současný)'; +//$lang['norights'] = 'Nemáte právo editovat jednu nebo více odkazujících stránek'; +$lang['filelocked'] = 'Tento soubor je uzamčen - zkuste prosím znovu později'; +$lang['linkchange1'] = 'Odkazy na %s změněny na %s'; +$lang['newname'] = 'Nový název stránky :'; +$lang['targetns'] = 'Cílový jmenný prostor :'; +$lang['submit'] = 'Potvrdit'; diff --git a/lang/de/lang.php b/lang/de/lang.php index 15417d9..e2d2b30 100644 --- a/lang/de/lang.php +++ b/lang/de/lang.php @@ -15,44 +15,44 @@ $lang['menu'] = 'Seite/Namespace verschieben/umbenennen...'; $lang['desc'] = 'Seite/Namespace verschieben/umbenennen... Plugin'; -$lang['pm_notexist'] = 'Die Seite %s existiert nicht.'; -$lang['pm_medianotexist'] = 'Die Mediendatei %s existiert nicht'; -$lang['pm_notwrite'] = 'Sie haben unzureichende Rechte um diese Seite zu ändern'; -$lang['pm_badns'] = 'Ungültige Zeichen in der Namensraum-Bezeichnung.'; -$lang['pm_badname'] = 'Ungültiges Zeichen im Seitennamen.'; -$lang['pm_nochange'] = 'Name und Namensraum der Seite sind unverändert.'; -$lang['pm_nomediachange'] = 'Name und Namensraum der Mediendatei sind unverändert.'; -$lang['pm_existing'] = 'Eine Seite mit der Bezeichnung %s existiert bereits in %s'; -$lang['pm_mediaexisting'] = 'Eine Mediendatei mit der Bezeichnung %s existiert bereits in %s'; -$lang['pm_root'] = '[Wurzel des Namensraumes / Root namespace]'; -$lang['pm_current'] = '(Aktueller)'; -$lang['pm_renamed'] = 'Seitename wurde von %s auf %s geändert'; -$lang['pm_moved'] = 'Seite von %s nach %s verschoben'; -$lang['pm_move_rename'] = 'Seite von %s nach %s verschoben und umbenannt'; -$lang['pm_delete'] = 'Gelöscht durch das move Plugin'; -$lang['pm_norights'] = 'Sie haben unzureichende Rechte um %s zu bearbeiten.'; -$lang['pm_nomediarights'] = 'Sie haben unzureichende Rechte, um die Mediendatei %s zu löschen.'; -$lang['pm_notargetperms'] = 'Sie haben nicht die Berechtigung, die Seite %s anzulegen.'; -$lang['pm_nomediatargetperms'] = 'Sie haben nicht die Berechtigung, die Mediendatei %s anzulegen.'; -$lang['pm_filelocked'] = 'Die Seite %s ist gesperrt - versuchen Sie es später noch einmal.'; -$lang['pm_linkchange'] = 'Links angepasst weil Seiten im Wiki verschoben wurden'; +$lang['notexist'] = 'Die Seite %s existiert nicht.'; +$lang['medianotexist'] = 'Die Mediendatei %s existiert nicht'; +$lang['notwrite'] = 'Sie haben unzureichende Rechte um diese Seite zu ändern'; +$lang['badns'] = 'Ungültige Zeichen in der Namensraum-Bezeichnung.'; +$lang['badname'] = 'Ungültiges Zeichen im Seitennamen.'; +$lang['nochange'] = 'Name und Namensraum der Seite sind unverändert.'; +$lang['nomediachange'] = 'Name und Namensraum der Mediendatei sind unverändert.'; +$lang['existing'] = 'Eine Seite mit der Bezeichnung %s existiert bereits in %s'; +$lang['mediaexisting'] = 'Eine Mediendatei mit der Bezeichnung %s existiert bereits in %s'; +$lang['root'] = '[Wurzel des Namensraumes / Root namespace]'; +$lang['current'] = '(Aktueller)'; +$lang['renamed'] = 'Seitename wurde von %s auf %s geändert'; +$lang['moved'] = 'Seite von %s nach %s verschoben'; +$lang['move_rename'] = 'Seite von %s nach %s verschoben und umbenannt'; +$lang['delete'] = 'Gelöscht durch das move Plugin'; +$lang['norights'] = 'Sie haben unzureichende Rechte um %s zu bearbeiten.'; +$lang['nomediarights'] = 'Sie haben unzureichende Rechte, um die Mediendatei %s zu löschen.'; +$lang['notargetperms'] = 'Sie haben nicht die Berechtigung, die Seite %s anzulegen.'; +$lang['nomediatargetperms'] = 'Sie haben nicht die Berechtigung, die Mediendatei %s anzulegen.'; +$lang['filelocked'] = 'Die Seite %s ist gesperrt - versuchen Sie es später noch einmal.'; +$lang['linkchange'] = 'Links angepasst weil Seiten im Wiki verschoben wurden'; -$lang['pm_ns_move_in_progress'] = 'Das Verschieben von %s Seiten und %s Mediendateien vom Namensraum %s nach %s ist derzeit im Gange.'; -$lang['pm_ns_move_continue'] = 'Das Verschieben des Namensraumes fortsetzen'; -$lang['pm_ns_move_abort'] = 'Das Verschieben des Namensraumes abbrechen'; -$lang['pm_ns_move_continued'] = 'Das Verschieben des Namensraumes %s nach %s wurde fortgesetzt, %s Einträge müssen noch verschoben werden.'; -$lang['pm_ns_move_started'] = 'Das Verschieben des Namensraumes %s nach %s wurde begonnen, %s Seiten und %s Mediendateien werden verschoben werden.'; -$lang['pm_ns_move_error'] = 'Ein Fehler ist beim Verschieben des Namensraumes %s nach %s aufgetreten.'; -$lang['pm_ns_move_tryagain'] = 'Nochmal versuchen'; -$lang['pm_ns_move_skip'] = 'Den aktuellen Eintrag überspringen'; +$lang['ns_move_in_progress'] = 'Das Verschieben von %s Seiten und %s Mediendateien vom Namensraum %s nach %s ist derzeit im Gange.'; +$lang['ns_move_continue'] = 'Das Verschieben des Namensraumes fortsetzen'; +$lang['ns_move_abort'] = 'Das Verschieben des Namensraumes abbrechen'; +$lang['ns_move_continued'] = 'Das Verschieben des Namensraumes %s nach %s wurde fortgesetzt, %s Einträge müssen noch verschoben werden.'; +$lang['ns_move_started'] = 'Das Verschieben des Namensraumes %s nach %s wurde begonnen, %s Seiten und %s Mediendateien werden verschoben werden.'; +$lang['ns_move_error'] = 'Ein Fehler ist beim Verschieben des Namensraumes %s nach %s aufgetreten.'; +$lang['ns_move_tryagain'] = 'Nochmal versuchen'; +$lang['ns_move_skip'] = 'Den aktuellen Eintrag überspringen'; // Form labels -$lang['pm_newname'] = 'Neuer Seitenname:'; -$lang['pm_newnsname'] = 'Neuer Name für Namensraum:'; -$lang['pm_targetns'] = 'Wählen Sie einen neuen Namensraum: '; -$lang['pm_newtargetns'] = 'Erstellen Sie einen neuen Namensraum'; -$lang['pm_movepage'] = 'Seite verschieben'; -$lang['pm_movens'] = 'Namensraum verschieben'; -$lang['pm_submit'] = 'Übernehmen'; +$lang['newname'] = 'Neuer Seitenname:'; +$lang['newnsname'] = 'Neuer Name für Namensraum:'; +$lang['targetns'] = 'Wählen Sie einen neuen Namensraum: '; +$lang['newtargetns'] = 'Erstellen Sie einen neuen Namensraum'; +$lang['movepage'] = 'Seite verschieben'; +$lang['movens'] = 'Namensraum verschieben'; +$lang['submit'] = 'Übernehmen'; // JavaScript preview -$lang['js']['pm_previewpage'] = 'OLDPAGE wird in NEWPAGE umbenannt'; -$lang['js']['pm_previewns'] = 'Alle Seiten und Namensräume im Namensraum OLDNS werden in den Namensraum NEWNS verschoben'; +$lang['js']['previewpage'] = 'OLDPAGE wird in NEWPAGE umbenannt'; +$lang['js']['previewns'] = 'Alle Seiten und Namensräume im Namensraum OLDNS werden in den Namensraum NEWNS verschoben'; diff --git a/lang/en/lang.php b/lang/en/lang.php index 5549b05..0ed8aa5 100644 --- a/lang/en/lang.php +++ b/lang/en/lang.php @@ -15,48 +15,48 @@ $lang['menu'] = 'Page/Namespace Move/Rename...'; $lang['desc'] = 'Page/Namespace Move/Rename Plugin'; -$lang['pm_notexist'] = 'The page %s does not exist'; -$lang['pm_medianotexist'] = 'The media file %s does not exist'; -$lang['pm_notwrite'] = 'You do not have sufficient permissions to modify this page'; -$lang['pm_badns'] = 'Invalid characters in namespace.'; -$lang['pm_badname'] = 'Invalid characters in pagename.'; -$lang['pm_nochange'] = 'Page name and namespace are unchanged.'; -$lang['pm_nomediachange'] = 'Media file name and namespace are unchanged.'; -$lang['pm_existing'] = 'A page called %s already exists in %s'; -$lang['pm_mediaexisting'] = 'A media file called %s already exists in %s'; -$lang['pm_root'] = '[Root namespace]'; -$lang['pm_current'] = '(Current)'; -$lang['pm_renamed'] = 'Page name changed from %s to %s'; -$lang['pm_moved'] = 'Page moved from %s to %s'; -$lang['pm_move_rename'] = 'Page moved and renamed from %s to %s'; -$lang['pm_delete'] = 'Deleted by move plugin'; -$lang['pm_norights'] = 'You have insufficient permissions to edit %s.'; -$lang['pm_nomediarights'] = 'You have insufficient permissions to delete %s.'; -$lang['pm_notargetperms'] = 'You don\'t have the permission to create the page %s.'; -$lang['pm_nomediatargetperms'] = 'You don\'t have the permission to create the media file %s.'; -$lang['pm_filelocked'] = 'The page %s is locked. Try again later.'; -$lang['pm_linkchange'] = 'Links adapted because of a move operation'; +$lang['notexist'] = 'The page %s does not exist'; +$lang['medianotexist'] = 'The media file %s does not exist'; +$lang['notwrite'] = 'You do not have sufficient permissions to modify this page'; +$lang['badns'] = 'Invalid characters in namespace.'; +$lang['badname'] = 'Invalid characters in pagename.'; +$lang['nochange'] = 'Page name and namespace are unchanged.'; +$lang['nomediachange'] = 'Media file name and namespace are unchanged.'; +$lang['existing'] = 'A page called %s already exists in %s'; +$lang['mediaexisting'] = 'A media file called %s already exists in %s'; +$lang['root'] = '[Root namespace]'; +$lang['current'] = '(Current)'; +$lang['renamed'] = 'Page name changed from %s to %s'; +$lang['moved'] = 'Page moved from %s to %s'; +$lang['move_rename'] = 'Page moved and renamed from %s to %s'; +$lang['delete'] = 'Deleted by move plugin'; +$lang['norights'] = 'You have insufficient permissions to edit %s.'; +$lang['nomediarights'] = 'You have insufficient permissions to delete %s.'; +$lang['notargetperms'] = 'You don\'t have the permission to create the page %s.'; +$lang['nomediatargetperms'] = 'You don\'t have the permission to create the media file %s.'; +$lang['filelocked'] = 'The page %s is locked. Try again later.'; +$lang['linkchange'] = 'Links adapted because of a move operation'; -$lang['pm_ns_move_in_progress'] = 'There is currently a namespace move of %s page and %s media files from namespace %s to namespace %s in progress.'; -$lang['pm_ns_move_continue'] = 'Continue the namespace move'; -$lang['pm_ns_move_abort'] = 'Abort the namespace move'; -$lang['pm_ns_move_continued'] = 'The namespace move from namespace %s to namespace %s was continued, %s items are still remaining.'; -$lang['pm_ns_move_started'] = 'A namespace move from namespace %s to namespace %s was started, %s pages and %s media files will be moved.'; -$lang['pm_ns_move_error'] = 'An error occurred while continueing the namespace move from %s to %s.'; -$lang['pm_ns_move_tryagain'] = 'Try again'; -$lang['pm_ns_move_skip'] = 'Skip the current item'; +$lang['ns_move_in_progress'] = 'There is currently a namespace move of %s page and %s media files from namespace %s to namespace %s in progress.'; +$lang['ns_move_continue'] = 'Continue the namespace move'; +$lang['ns_move_abort'] = 'Abort the namespace move'; +$lang['ns_move_continued'] = 'The namespace move from namespace %s to namespace %s was continued, %s items are still remaining.'; +$lang['ns_move_started'] = 'A namespace move from namespace %s to namespace %s was started, %s pages and %s media files will be moved.'; +$lang['ns_move_error'] = 'An error occurred while continueing the namespace move from %s to %s.'; +$lang['ns_move_tryagain'] = 'Try again'; +$lang['ns_move_skip'] = 'Skip the current item'; // Form labels -$lang['pm_newname'] = 'New page name:'; -$lang['pm_newnsname'] = 'New namespace name:'; -$lang['pm_targetns'] = 'Select new namespace:'; -$lang['pm_newtargetns'] = 'Create a new namespace:'; -$lang['pm_movepage'] = 'Move page'; -$lang['pm_movens'] = 'Move namespace'; -$lang['pm_submit'] = 'Submit'; -$lang['pm_content_to_move'] = 'Content to move'; -$lang['pm_move_pages'] = 'Pages'; -$lang['pm_move_media'] = 'Media files'; -$lang['pm_move_media_and_pages'] = 'Pages and media files'; +$lang['newname'] = 'New page name:'; +$lang['newnsname'] = 'New namespace name:'; +$lang['targetns'] = 'Select new namespace:'; +$lang['newtargetns'] = 'Create a new namespace:'; +$lang['movepage'] = 'Move page'; +$lang['movens'] = 'Move namespace'; +$lang['submit'] = 'Submit'; +$lang['content_to_move'] = 'Content to move'; +$lang['move_pages'] = 'Pages'; +$lang['move_media'] = 'Media files'; +$lang['move_media_and_pages'] = 'Pages and media files'; // JavaScript preview -$lang['js']['pm_previewpage'] = 'OLDPAGE will be moved to NEWPAGE'; -$lang['js']['pm_previewns'] = 'All pages and namespaces in the namespace OLDNS will be moved in the namespace NEWNS'; +$lang['js']['previewpage'] = 'OLDPAGE will be moved to NEWPAGE'; +$lang['js']['previewns'] = 'All pages and namespaces in the namespace OLDNS will be moved in the namespace NEWNS'; diff --git a/lang/es/lang.php b/lang/es/lang.php index f97c31c..e94fe86 100644 --- a/lang/es/lang.php +++ b/lang/es/lang.php @@ -16,17 +16,17 @@ $lang['menu'] = 'Mover/Renombrar página...'; $lang['desc'] = 'Extensión para Mover/Renombrar páginas'; -//$lang['pm_notexist'] = 'Este tema no existe aún'; -$lang['pm_notwrite'] = 'No tiene suficientes derechos para modificar esta página'; -$lang['pm_badns'] = 'Caractéres inválidos en el Espacio de Nombres.'; -$lang['pm_badname'] = 'Caractéres inválidos en el nombre de la página.'; -$lang['pm_nochange'] = 'Los cambios en el nombre de la página y del espacio no fueron cambiados.'; -$lang['pm_existing'] = 'Un documento llamado %s ya existe en %s'; -$lang['pm_root'] = '[Espacio de Nombres Raiz]'; -$lang['pm_current'] = '(Actual)'; -//$lang['pm_norights'] = 'No tiene suficientes permisos para editar uno o mas de los punteros a este documento.'; -$lang['pm_filelocked'] = 'Este documento está bloqueado - trate de nuevo en unos minutos.'; -$lang['pm_linkchange1'] = 'Enlaces a %s cambiados a %s'; -$lang['pm_newname'] = 'Nombre del nuevo documento :'; -$lang['pm_targetns'] = 'Seleccione el Espacio de Nombres de Destino :'; -$lang['pm_submit'] = 'Enviar'; +//$lang['notexist'] = 'Este tema no existe aún'; +$lang['notwrite'] = 'No tiene suficientes derechos para modificar esta página'; +$lang['badns'] = 'Caractéres inválidos en el Espacio de Nombres.'; +$lang['badname'] = 'Caractéres inválidos en el nombre de la página.'; +$lang['nochange'] = 'Los cambios en el nombre de la página y del espacio no fueron cambiados.'; +$lang['existing'] = 'Un documento llamado %s ya existe en %s'; +$lang['root'] = '[Espacio de Nombres Raiz]'; +$lang['current'] = '(Actual)'; +//$lang['norights'] = 'No tiene suficientes permisos para editar uno o mas de los punteros a este documento.'; +$lang['filelocked'] = 'Este documento está bloqueado - trate de nuevo en unos minutos.'; +$lang['linkchange1'] = 'Enlaces a %s cambiados a %s'; +$lang['newname'] = 'Nombre del nuevo documento :'; +$lang['targetns'] = 'Seleccione el Espacio de Nombres de Destino :'; +$lang['submit'] = 'Enviar'; diff --git a/lang/fr/lang.php b/lang/fr/lang.php index b26452c..fb1fac7 100644 --- a/lang/fr/lang.php +++ b/lang/fr/lang.php @@ -16,17 +16,17 @@ $lang['menu'] = 'Déplacer/Renommer la page...'; $lang['desc'] = 'Plugin de Déplacement/Renommage'; -$lang['pm_notexist'] = 'Le sujet %s n\'existe pas encore'; -$lang['pm_notwrite'] = 'Vous ne disposez pas des droits suffisants pour modifier cette page'; -$lang['pm_badns'] = "Caractères invalides dans l'espace de nommage."; -$lang['pm_badname'] = 'Caractères invalides dans le nom de la page.'; -$lang['pm_nochange'] = "Le nom du document et l'espace de nomage sont inchangés."; -$lang['pm_existing'] = 'Un document appelé %s existe déjà dans %s'; -$lang['pm_root'] = '[Espace de nom racine]'; -$lang['pm_current'] = '(Courant)'; -$lang['pm_norights'] = 'Vos permissions sont insufisante pour éditer %s.'; -$lang['pm_filelocked'] = 'Ce fichier est verrouillé - réessayez plus tard.'; -$lang['pm_linkchange'] = 'Les liens vers %s ont été changés vers %s'; -$lang['pm_newname'] = 'Nouveau nom du document :'; -$lang['pm_targetns'] = 'Sélectionnez le nouvel espace de nommage :'; +$lang['notexist'] = 'Le sujet %s n\'existe pas encore'; +$lang['notwrite'] = 'Vous ne disposez pas des droits suffisants pour modifier cette page'; +$lang['badns'] = "Caractères invalides dans l'espace de nommage."; +$lang['badname'] = 'Caractères invalides dans le nom de la page.'; +$lang['nochange'] = "Le nom du document et l'espace de nomage sont inchangés."; +$lang['existing'] = 'Un document appelé %s existe déjà dans %s'; +$lang['root'] = '[Espace de nom racine]'; +$lang['current'] = '(Courant)'; +$lang['norights'] = 'Vos permissions sont insufisante pour éditer %s.'; +$lang['filelocked'] = 'Ce fichier est verrouillé - réessayez plus tard.'; +$lang['linkchange'] = 'Les liens vers %s ont été changés vers %s'; +$lang['newname'] = 'Nouveau nom du document :'; +$lang['targetns'] = 'Sélectionnez le nouvel espace de nommage :'; diff --git a/lang/lv/lang.php b/lang/lv/lang.php index b1f549f..6d7617b 100644 --- a/lang/lv/lang.php +++ b/lang/lv/lang.php @@ -15,17 +15,17 @@ $lang['menu'] = 'Lapas pārdēvēšana/pārvietošana...'; $lang['desc'] = 'Page Move/Rename Plugin'; -//$lang['pm_notexist'] = 'This topic does not exist yet'; -$lang['pm_notwrite'] = 'Tev nav tiesību labot šo lapu'; -$lang['pm_badns'] = 'Neatļautas rakstzīmes nodaļas vārdā.'; -$lang['pm_badname'] = 'Neatļautas rakstzīmes lapas vārdā.'; -$lang['pm_nochange'] = 'Vārds un nodaļa nav mainīti.'; -$lang['pm_existing1'] = 'Dokuments %s jau ir nodaļā %s'; -$lang['pm_root'] = '[Saknes direktorija]'; -$lang['pm_current'] = '(Tekošais)'; -//$lang['pm_norights'] = 'Tev nav tiesību labot kādu lapu, kas norāda uz šo dokumentu.'; -$lang['pm_filelocked'] = 'Bloķēts fails - mēģini vēlāk vēlreiz.'; -$lang['pm_linkchange1'] = 'Norādes uz %s nomainītas ar %s'; -$lang['pm_newname'] = 'Jaunais dokumenta vārds :'; -$lang['pm_targetns'] = 'Nodaļa, kurp pārvietot :'; -$lang['pm_submit'] = 'Darīt!'; +//$lang['notexist'] = 'This topic does not exist yet'; +$lang['notwrite'] = 'Tev nav tiesību labot šo lapu'; +$lang['badns'] = 'Neatļautas rakstzīmes nodaļas vārdā.'; +$lang['badname'] = 'Neatļautas rakstzīmes lapas vārdā.'; +$lang['nochange'] = 'Vārds un nodaļa nav mainīti.'; +$lang['existing1'] = 'Dokuments %s jau ir nodaļā %s'; +$lang['root'] = '[Saknes direktorija]'; +$lang['current'] = '(Tekošais)'; +//$lang['norights'] = 'Tev nav tiesību labot kādu lapu, kas norāda uz šo dokumentu.'; +$lang['filelocked'] = 'Bloķēts fails - mēģini vēlāk vēlreiz.'; +$lang['linkchange1'] = 'Norādes uz %s nomainītas ar %s'; +$lang['newname'] = 'Jaunais dokumenta vārds :'; +$lang['targetns'] = 'Nodaļa, kurp pārvietot :'; +$lang['submit'] = 'Darīt!'; diff --git a/lang/nl/lang.php b/lang/nl/lang.php index c917637..1e71d42 100644 --- a/lang/nl/lang.php +++ b/lang/nl/lang.php @@ -15,17 +15,17 @@ $lang['menu'] = 'Pagina Verplaatsen/Hernoemen...'; $lang['desc'] = 'Pagina Verplaatsen/Hernoemen Plugin'; -//$lang['pm_notexist'] = 'Dit onderwerp bestaat nog niet'; -$lang['pm_notwrite'] = 'U heeft niet voldoende rechten om deze pagina te wijzigen'; -$lang['pm_badns'] = 'De namespace bevat een niet-toegestaan teken.'; -$lang['pm_badname'] = 'De paginanaam bevat een niet-toegestaan teken.'; -$lang['pm_nochange'] = 'De paginanaam en -namespace zijn ongewijzigd.'; -$lang['pm_existing1'] = 'Het document met naam %s bestaat al in %s'; -$lang['pm_root'] = '[Hoofdnamespace]'; -$lang['pm_current'] = '(Huidig)'; -//$lang['pm_norights'] = 'U heeft niet voldoende rechten om een of meerdere referenties aan te passen.'; -$lang['pm_filelocked'] = 'Deze file is geblokkeerd - probeer later opnieuw.'; -$lang['pm_linkchange1'] = 'Gelinkt aan %s gewijzigd naar %s'; -$lang['pm_newname'] = 'Nieuwe naam document:'; -$lang['pm_targetns'] = 'Selecteer namespace van het doel:'; +//$lang['notexist'] = 'Dit onderwerp bestaat nog niet'; +$lang['notwrite'] = 'U heeft niet voldoende rechten om deze pagina te wijzigen'; +$lang['badns'] = 'De namespace bevat een niet-toegestaan teken.'; +$lang['badname'] = 'De paginanaam bevat een niet-toegestaan teken.'; +$lang['nochange'] = 'De paginanaam en -namespace zijn ongewijzigd.'; +$lang['existing1'] = 'Het document met naam %s bestaat al in %s'; +$lang['root'] = '[Hoofdnamespace]'; +$lang['current'] = '(Huidig)'; +//$lang['norights'] = 'U heeft niet voldoende rechten om een of meerdere referenties aan te passen.'; +$lang['filelocked'] = 'Deze file is geblokkeerd - probeer later opnieuw.'; +$lang['linkchange1'] = 'Gelinkt aan %s gewijzigd naar %s'; +$lang['newname'] = 'Nieuwe naam document:'; +$lang['targetns'] = 'Selecteer namespace van het doel:'; diff --git a/lang/pl/lang.php b/lang/pl/lang.php index c3c8213..07fbeb4 100644 --- a/lang/pl/lang.php +++ b/lang/pl/lang.php @@ -17,17 +17,17 @@ $lang['menu'] = 'Przenieś / Zmień nazwę strony'; $lang['desc'] = 'Wtyczka Przenieś/Zmień nazwę'; -//$lang['pm_notexist'] = 'Ten temat jeszcze nie istnieje'; -$lang['pm_notwrite'] = 'Niewystarczające uprawnienia by wykonać operację'; -$lang['pm_badns'] = 'Nieprawidłowy znak w nazwie katalogu'; -$lang['pm_badname'] = 'Nieprawidłowy znak w nazwie dokumentu'; -$lang['pm_nochange'] = 'Nazwa dokumentu i katalogu niezmieniona'; -$lang['pm_existing'] = 'Dokument o nazwie %s już istnieje %s'; -$lang['pm_root'] = '[katalog bazowy]'; -$lang['pm_current'] = '(Bieżący)'; -//$lang['pm_norights'] = 'Nie masz wystarczających uprawnień do zmiany co najmniej jednego z linków do tej strony'; -$lang['pm_filelocked'] = 'Ten plik jest zablokowany - spróbuj ponownie później'; -$lang['pm_linkchange1'] = 'Linki do %s zmienione na %s'; -$lang['pm_newname'] = 'Nowa nazwa dokumentu:'; -$lang['pm_targetns'] = 'Nazwa docelowego katalogu:'; -$lang['pm_submit'] = 'Zmień'; +//$lang['notexist'] = 'Ten temat jeszcze nie istnieje'; +$lang['notwrite'] = 'Niewystarczające uprawnienia by wykonać operację'; +$lang['badns'] = 'Nieprawidłowy znak w nazwie katalogu'; +$lang['badname'] = 'Nieprawidłowy znak w nazwie dokumentu'; +$lang['nochange'] = 'Nazwa dokumentu i katalogu niezmieniona'; +$lang['existing'] = 'Dokument o nazwie %s już istnieje %s'; +$lang['root'] = '[katalog bazowy]'; +$lang['current'] = '(Bieżący)'; +//$lang['norights'] = 'Nie masz wystarczających uprawnień do zmiany co najmniej jednego z linków do tej strony'; +$lang['filelocked'] = 'Ten plik jest zablokowany - spróbuj ponownie później'; +$lang['linkchange1'] = 'Linki do %s zmienione na %s'; +$lang['newname'] = 'Nowa nazwa dokumentu:'; +$lang['targetns'] = 'Nazwa docelowego katalogu:'; +$lang['submit'] = 'Zmień'; diff --git a/lang/ru/lang.php b/lang/ru/lang.php index a9d4db1..34f213c 100644 --- a/lang/ru/lang.php +++ b/lang/ru/lang.php @@ -15,17 +15,17 @@ $lang['menu'] = 'Перемещение/переименование страницы...'; $lang['desc'] = 'Page Move/Rename Plugin'; -//$lang['pm_notexist'] = 'Эта страница еще не существует'; -$lang['pm_notwrite'] = 'Ваши права доступа не позволяют Вам изменять эту страницу'; -$lang['pm_badns'] = 'В названии пространства имён присутствуют недопустимые символы.'; -$lang['pm_badname'] = 'Недопустимые символы в названии страниц.'; -$lang['pm_nochange'] = 'Параметры страницы не изменены.'; -$lang['pm_existing1'] = 'Страница с именем %s уже существует в %s'; -$lang['pm_root'] = '[Корневой каталог]'; -$lang['pm_current'] = '(Текущий)'; -//$lang['pm_norights'] = 'У Вас нет прав на редактирование одной из страниц, ссылающихся на данный документ.'; -$lang['pm_filelocked'] = 'Изменение данного файла запрещено - попробуйте позже.'; -$lang['pm_linkchange1'] = 'Ссылки на страницу %s изменены на %s'; -$lang['pm_newname'] = 'Новое название документа :'; -$lang['pm_targetns'] = 'Переместить в пространство :'; -$lang['pm_submit'] = 'Применить'; +//$lang['notexist'] = 'Эта страница еще не существует'; +$lang['notwrite'] = 'Ваши права доступа не позволяют Вам изменять эту страницу'; +$lang['badns'] = 'В названии пространства имён присутствуют недопустимые символы.'; +$lang['badname'] = 'Недопустимые символы в названии страниц.'; +$lang['nochange'] = 'Параметры страницы не изменены.'; +$lang['existing1'] = 'Страница с именем %s уже существует в %s'; +$lang['root'] = '[Корневой каталог]'; +$lang['current'] = '(Текущий)'; +//$lang['norights'] = 'У Вас нет прав на редактирование одной из страниц, ссылающихся на данный документ.'; +$lang['filelocked'] = 'Изменение данного файла запрещено - попробуйте позже.'; +$lang['linkchange1'] = 'Ссылки на страницу %s изменены на %s'; +$lang['newname'] = 'Новое название документа :'; +$lang['targetns'] = 'Переместить в пространство :'; +$lang['submit'] = 'Применить'; diff --git a/lang/sl/lang.php b/lang/sl/lang.php index b053228..64cfea5 100644 --- a/lang/sl/lang.php +++ b/lang/sl/lang.php @@ -15,17 +15,17 @@ $lang['menu'] = 'Premakni/preimenuj stran...'; $lang['desc'] = 'Plugin za premikanje/preimenovanje strani'; -//$lang['pm_notexist'] = 'Ta stran še ne obstaja'; -$lang['pm_notwrite'] = 'Nimate zadostnih pravic za urejanje te strani'; -$lang['pm_badns'] = 'Neveljavni znaki v imenskem prostoru.'; -$lang['pm_badname'] = 'Neveljavni znaki v imenu strani.'; -$lang['pm_nochange'] = 'Ime dokumenta in imenski prostor sta nespremenjena.'; -$lang['pm_existing1'] = 'Dokument imenovan %s že obstaja v %s'; -$lang['pm_root'] = '[Korenski imenski prostor/Root namespace]'; -$lang['pm_current'] = '(Trenutno)'; -//$lang['pm_norights'] = 'Nimate zadostnih pravic za urejanje enega ali več backlinkov za ta dokument.'; -$lang['pm_filelocked'] = 'Ta datoteka je zaklenjena - poskusite ponovno kasneje.'; -$lang['pm_linkchange1'] = 'Kaže na %s spremenjeno na %s'; -$lang['pm_newname'] = 'Novo ime dokumenta :'; -$lang['pm_targetns'] = 'Izberite ciljni imenski prostor :'; -$lang['pm_submit'] = 'Potrdi'; +//$lang['notexist'] = 'Ta stran še ne obstaja'; +$lang['notwrite'] = 'Nimate zadostnih pravic za urejanje te strani'; +$lang['badns'] = 'Neveljavni znaki v imenskem prostoru.'; +$lang['badname'] = 'Neveljavni znaki v imenu strani.'; +$lang['nochange'] = 'Ime dokumenta in imenski prostor sta nespremenjena.'; +$lang['existing1'] = 'Dokument imenovan %s že obstaja v %s'; +$lang['root'] = '[Korenski imenski prostor/Root namespace]'; +$lang['current'] = '(Trenutno)'; +//$lang['norights'] = 'Nimate zadostnih pravic za urejanje enega ali več backlinkov za ta dokument.'; +$lang['filelocked'] = 'Ta datoteka je zaklenjena - poskusite ponovno kasneje.'; +$lang['linkchange1'] = 'Kaže na %s spremenjeno na %s'; +$lang['newname'] = 'Novo ime dokumenta :'; +$lang['targetns'] = 'Izberite ciljni imenski prostor :'; +$lang['submit'] = 'Potrdi'; diff --git a/lang/zh/lang.php b/lang/zh/lang.php index 6e481eb..7e8cd61 100644 --- a/lang/zh/lang.php +++ b/lang/zh/lang.php @@ -15,17 +15,17 @@ $lang['menu'] = '页面移动/重命名……'; $lang['desc'] = '页面移动/重命名插件'; -//$lang['pm_notexist'] = '这个主题还不存在'; -$lang['pm_notwrite'] = '您无权修改这个页面'; -$lang['pm_badns'] = '分类名中存在无效字符'; -$lang['pm_badname'] = '页面名中存在无效字符'; -$lang['pm_nochange'] = '不能更改文件名和分类名'; -$lang['pm_existing1'] = '文件 %s 已经存在于 %s'; -$lang['pm_root'] = '[跟目录]'; -$lang['pm_current'] = '(当前)'; -//$lang['pm_norights'] = '您无权编辑此文件的 backlinks'; -$lang['pm_filelocked'] = '此文件被锁定 - 请稍后重试'; -$lang['pm_linkchange1'] = '链接到 %s 更改到 %s'; -$lang['pm_newname'] = '新的文件名 :'; -$lang['pm_targetns'] = '选择目标分类 :'; -$lang['pm_submit'] = '提交'; +//$lang['notexist'] = '这个主题还不存在'; +$lang['notwrite'] = '您无权修改这个页面'; +$lang['badns'] = '分类名中存在无效字符'; +$lang['badname'] = '页面名中存在无效字符'; +$lang['nochange'] = '不能更改文件名和分类名'; +$lang['existing1'] = '文件 %s 已经存在于 %s'; +$lang['root'] = '[跟目录]'; +$lang['current'] = '(当前)'; +//$lang['norights'] = '您无权编辑此文件的 backlinks'; +$lang['filelocked'] = '此文件被锁定 - 请稍后重试'; +$lang['linkchange1'] = '链接到 %s 更改到 %s'; +$lang['newname'] = '新的文件名 :'; +$lang['targetns'] = '选择目标分类 :'; +$lang['submit'] = '提交'; diff --git a/script.js b/script.js index de828b1..f2eebf1 100644 --- a/script.js +++ b/script.js @@ -19,7 +19,7 @@ jQuery(function() { } else { previewns = targetns + ':' + newnsname; } - $preview.text(LANG['plugins']['move']['pm_previewns'].replace('OLDNS', JSINFO['namespace']).replace('NEWNS', previewns)); + $preview.text(LANG['plugins']['move']['previewns'].replace('OLDNS', JSINFO['namespace']).replace('NEWNS', previewns)); } else { var ns_for_page = $this.find('select[name=ns_for_page]').val(); var newns = $this.find('input[name=newns]').val(); @@ -34,7 +34,7 @@ jQuery(function() { newid = ns_for_page + ':'; } newid += newname; - $preview.text(LANG['plugins']['move']['pm_previewpage'].replace('OLDPAGE', JSINFO['id']).replace('NEWPAGE', newid)); + $preview.text(LANG['plugins']['move']['previewpage'].replace('OLDPAGE', JSINFO['id']).replace('NEWPAGE', newid)); } };