From 7f14f8b95fabc578e6c2072a019e34fda3c7b7e4 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Thu, 10 Jul 2008 10:32:08 +0000 Subject: [PATCH] * Added optional token insertion for comment notification (moderation) e-mails, which you can click without the need for authentication. This is a convenience feature, note that if someone can access your mails, he does not need to authenticate for deleting/approving a comment with the contained link. --- docs/NEWS | 7 ++ include/functions_comments.inc.php | 141 ++++++++++++++++++++-- index.php | 2 + lang/UTF-8/plugin_lang.php | 6 + lang/UTF-8/serendipity_lang_bg.inc.php | 6 + lang/UTF-8/serendipity_lang_cn.inc.php | 6 + lang/UTF-8/serendipity_lang_cs.inc.php | 6 + lang/UTF-8/serendipity_lang_cz.inc.php | 6 + lang/UTF-8/serendipity_lang_da.inc.php | 6 + lang/UTF-8/serendipity_lang_de.inc.php | 8 +- lang/UTF-8/serendipity_lang_en.inc.php | 6 + lang/UTF-8/serendipity_lang_es.inc.php | 8 +- lang/UTF-8/serendipity_lang_fa.inc.php | 6 + lang/UTF-8/serendipity_lang_fi.inc.php | 6 + lang/UTF-8/serendipity_lang_fr.inc.php | 6 + lang/UTF-8/serendipity_lang_hu.inc.php | 6 + lang/UTF-8/serendipity_lang_is.inc.php | 6 + lang/UTF-8/serendipity_lang_it.inc.php | 6 + lang/UTF-8/serendipity_lang_ja.inc.php | 6 + lang/UTF-8/serendipity_lang_ko.inc.php | 6 + lang/UTF-8/serendipity_lang_nl.inc.php | 6 + lang/UTF-8/serendipity_lang_no.inc.php | 6 + lang/UTF-8/serendipity_lang_pl.inc.php | 6 + lang/UTF-8/serendipity_lang_pt.inc.php | 6 + lang/UTF-8/serendipity_lang_pt_PT.inc.php | 6 + lang/UTF-8/serendipity_lang_ro.inc.php | 6 + lang/UTF-8/serendipity_lang_ru.inc.php | 6 + lang/UTF-8/serendipity_lang_sa.inc.php | 6 + lang/UTF-8/serendipity_lang_se.inc.php | 6 + lang/UTF-8/serendipity_lang_ta.inc.php | 6 + lang/UTF-8/serendipity_lang_tn.inc.php | 6 + lang/UTF-8/serendipity_lang_tr.inc.php | 6 + lang/UTF-8/serendipity_lang_tw.inc.php | 6 + lang/UTF-8/serendipity_lang_zh.inc.php | 6 + lang/addlang.txt | 7 +- lang/plugin_lang.php | 6 + lang/serendipity_lang_bg.inc.php | 6 + lang/serendipity_lang_cn.inc.php | 6 + lang/serendipity_lang_cs.inc.php | 6 + lang/serendipity_lang_cz.inc.php | 6 + lang/serendipity_lang_da.inc.php | 6 + lang/serendipity_lang_de.inc.php | 8 +- lang/serendipity_lang_en.inc.php | 6 + lang/serendipity_lang_es.inc.php | 6 + lang/serendipity_lang_fa.inc.php | 6 + lang/serendipity_lang_fi.inc.php | 6 + lang/serendipity_lang_fr.inc.php | 6 + lang/serendipity_lang_hu.inc.php | 6 + lang/serendipity_lang_is.inc.php | 6 + lang/serendipity_lang_it.inc.php | 6 + lang/serendipity_lang_ja.inc.php | 6 + lang/serendipity_lang_ko.inc.php | 6 + lang/serendipity_lang_nl.inc.php | 6 + lang/serendipity_lang_no.inc.php | 6 + lang/serendipity_lang_pl.inc.php | 6 + lang/serendipity_lang_pt.inc.php | 6 + lang/serendipity_lang_pt_PT.inc.php | 6 + lang/serendipity_lang_ro.inc.php | 6 + lang/serendipity_lang_ru.inc.php | 6 + lang/serendipity_lang_sa.inc.php | 6 + lang/serendipity_lang_se.inc.php | 6 + lang/serendipity_lang_ta.inc.php | 6 + lang/serendipity_lang_tn.inc.php | 6 + lang/serendipity_lang_tr.inc.php | 6 + lang/serendipity_lang_tw.inc.php | 6 + lang/serendipity_lang_zh.inc.php | 6 + 66 files changed, 521 insertions(+), 14 deletions(-) diff --git a/docs/NEWS b/docs/NEWS index d1516c08..1ef6fd5f 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,13 @@ Version 1.4 () ------------------------------------------------------------------------ + * Added optional token insertion for comment notification + (moderation) e-mails, which you can click without the need + for authentication. This is a convenience feature, note that + if someone can access your mails, he does not need to authenticate + for deleting/approving a comment with the contained link. + (Rob A) + * Fix showing wrong metadata (00:00:00" for uploaded metadata. (garvinhicking) diff --git a/include/functions_comments.inc.php b/include/functions_comments.inc.php index 200bd814..d3f51e6a 100644 --- a/include/functions_comments.inc.php +++ b/include/functions_comments.inc.php @@ -11,6 +11,106 @@ if (defined('S9Y_FRAMEWORK_COMMENTS')) { } @define('S9Y_FRAMEWORK_COMMENTS', true); +/** + * Check if a comment token (from comment notification email) is valid for a given comment id. + * + * @param string The Token + * @param int The comment id + * @access public + * @return bool + */ +function serendipity_checkCommentToken($token, $cid) { + global $serendipity; + + $goodtoken = false; + if ($serendipity['useCommentTokens']) { + // Delete any comment tokens older than 1 week. + serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}options + WHERE okey LIKE 'comment_%' AND name < " . (time() - 604800) ); + // Get the token for this comment id + $tokencheck =& serendipity_db_query("SELECT * FROM {$serendipity['dbPrefix']}options + WHERE okey = 'comment_" . $cid . "' LIMIT 1", true, 'assoc'); + // Verify it against the passed key + if (is_array($tokencheck)) { + if ($tokencheck['value'] == $token) { + $goodtoken = true; // use this to bypass security checks later + // if using tokens, delete this comment from that list no matter how we got here + serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}options + WHERE okey = 'comment_" . $cid . "'"); + + } + } + } + + return $goodtoken; +} + +/** + * Check if a comment token was submitted to the serendipity main framework. + * This function can kill the workflow completely, if moderation was wanted. + * + * @param string The current base URI + * @access public + * @return null + */ +function serendipity_checkCommentTokenModeration($uri) { + global $serendipity; + + // token based comment moderation starts here + if ($serendipity['useCommentTokens'] === true && preg_match(PAT_DELETE, $uri, $res)) { + $return_msg = "Error.\n"; + $tokenparse = explode("_",$res[1]); + // check that we got a 32 char token + if (is_array($tokenparse)) { + if (strlen($tokenparse[2]) == 32) { + if ($tokenparse[0] == 'comment') { + if (serendipity_deleteComment($res[2], $res[3], 'comments', $tokenparse[2])) { + $return_msg = sprintf (COMMENT_DELETED, $res[2])."\n"; + } else { + $return_msg = sprintf (COMMENT_NOTOKENMATCH, $res[2])."\n"; + } + } elseif ($tokenparse[0] == 'trackback') { + if (serendipity_deleteComment($res[2], $res[3], 'trackbacks', $tokenparse[2])) { + $return_msg = sprintf (TRACKBACK_DELETED, $res[2])."\n"; + } else { + $return_msg = sprintf (TRACKBACK_NOTOKENMATCH, $res[2])."\n"; + } + } + } else { + $return_msg = sprintf (BADTOKEN)."\n"; + } + header('Content-Type: text/plain; charset='. LANG_CHARSET); + die($return_msg); + } + } + if ($serendipity['useCommentTokens'] === true && preg_match(PAT_APPROVE, $uri, $res)) { + $return_msg = "Error.\n"; + $tokenparse = explode("_",$res[1]); + // check that we got a 32 char token + if (is_array($tokenparse)) { + if (strlen($tokenparse[2]) == 32) { + if ($tokenparse[0] == 'comment') { + if (serendipity_approveComment($res[2], $res[3], false, false, $tokenparse[2])) { + $return_msg = sprintf (COMMENT_APPROVED, $res[2])."\n"; + } else { + $return_msg = sprintf (COMMENT_NOTOKENMATCH, $res[2])."\n"; + } + } elseif ($tokenparse[0] == 'trackback') { + if (serendipity_approveComment($res[2], $res[3], false, false, $tokenparse[2])) { + $return_msg = sprintf (TRACKBACK_APPROVED, $res[2])."\n"; + } else { + $return_msg = sprintf (TRACKBACK_NOTOKENMATCH, $res[2])."\n"; + } + } + } else { + $return_msg = sprintf (BADTOKEN)."\n"; + } + header('Content-Type: text/plain; charset='. LANG_CHARSET); + die($return_msg); + } + } +} + /** * Store the personal details of a commenting user in a cookie (or delete that cookie) * @@ -401,9 +501,10 @@ function serendipity_printCommentsByAuthor() { * @param int The ID of the comment to delete * @param int The ID of the entry the comment belongs to [safety] * @param string The type of a comment (comments/trackback) + * @param string The 32 character token [if using token based moderation] * @return boolean Return whether the action was successful) */ -function serendipity_deleteComment($id, $entry_id, $type='comments') { +function serendipity_deleteComment($id, $entry_id, $type='comments', $token=false) { global $serendipity; $id = (int)$id; @@ -412,9 +513,11 @@ function serendipity_deleteComment($id, $entry_id, $type='comments') { return false; } - if ($_SESSION['serendipityAuthedUser'] === true) { + $goodtoken = serendipity_checkCommentToken($token, $id); + + if ($_SESSION['serendipityAuthedUser'] === true || $goodtoken) { $admin = ''; - if (!serendipity_checkPermission('adminEntriesMaintainOthers')) { + if (!$goodtoken && !serendipity_checkPermission('adminEntriesMaintainOthers')) { $admin = " AND authorid = " . (int)$_SESSION['serendipityAuthorid']; } @@ -498,15 +601,18 @@ function serendipity_allowCommentsToggle($entry_id, $switch = 'disable') { * LONG * * @access public - * @param int The ID of the comment to approve - * @param int The ID of the entry a comment belongs to - * @param boolean Whether to force approving a comment despite of its current status - * @param boolean If set to true, a comment will be moderated instead of approved. - * @return boolean Success or failure + * @param int The ID of the comment to approve + * @param int The ID of the entry a comment belongs to + * @param boolean Whether to force approving a comment despite of its current status + * @param boolean If set to true, a comment will be moderated instead of approved. ++ * @param string The 32 character token [if using token based moderation] + * @return boolean Success or failure */ -function serendipity_approveComment($cid, $entry_id, $force = false, $moderate = false) { +function serendipity_approveComment($cid, $entry_id, $force = false, $moderate = false, $token = false) { global $serendipity; + $goodtoken = serendipity_checkCommentToken($token, $cid); + /* Get data about the comment, we need this query because this function can be called from anywhere */ /* This also makes sure we are either the author of the comment, or a USERLEVEL_ADMIN */ $sql = "SELECT c.*, e.title, a.email as authoremail, a.mail_comments, e.timestamp AS entry_timestamp, e.last_modified AS entry_last_modified @@ -514,7 +620,7 @@ function serendipity_approveComment($cid, $entry_id, $force = false, $moderate = LEFT JOIN {$serendipity['dbPrefix']}entries e ON (e.id = c.entry_id) LEFT JOIN {$serendipity['dbPrefix']}authors a ON (e.authorid = a.authorid) WHERE c.id = '". (int)$cid ."' - ". ((!serendipity_checkPermission('adminEntriesMaintainOthers') && $force !== true) ? "AND e.authorid = '". (int)$serendipity['authorid'] ."'" : '') ." + ". ((!serendipity_checkPermission('adminEntriesMaintainOthers') && $force !== true && !$goodtoken) ? "AND e.authorid = '". (int)$serendipity['authorid'] ."'" : '') ." ". (($force === true) ? "" : "AND status = 'pending'"); $rs = serendipity_db_query($sql, true); @@ -750,6 +856,21 @@ function serendipity_sendComment($comment_id, $to, $fromName, $fromEmail, $fromU $entryURI = serendipity_archiveURL($id, $title, 'baseURL'); $path = ($type == 'TRACKBACK') ? 'trackback' : 'comment'; + + // Check for using Tokens + if ($serendipity['useCommentTokens']) { + $token = md5(uniqid(rand(),1)); + $path = $path . "_token_" . $token; + + //Delete any comment tokens older than 1 week. + serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}options + WHERE okey LIKE 'comment_%' AND name < " . (time() - 604800) ); + + // Issue new comment moderation hash + serendipity_db_query("INSERT INTO {$serendipity['dbPrefix']}options (name, value, okey) + VALUES ('" . time() . "', '" . $token . "', 'comment_" . $comment_id ."')"); + } + $deleteURI = serendipity_rewriteURL(PATH_DELETE . '/'. $path .'/' . $comment_id . '/' . $id . '-' . serendipity_makeFilename($title) . '.html', 'baseURL'); $approveURI = serendipity_rewriteURL(PATH_APPROVE . '/'. $path .'/' . $comment_id . '/' . $id . '-' . serendipity_makeFilename($title) . '.html', 'baseURL'); diff --git a/index.php b/index.php index 3d7dcfed..3bdfddc6 100644 --- a/index.php +++ b/index.php @@ -56,6 +56,8 @@ if (preg_match(PAT_UNSUBSCRIBE, $uri, $res)) { define('DATA_UNSUBSCRIBED', false); } +serendipity_checkCommentTokenModeration($uri); + if (preg_match(PAT_DELETE, $uri, $res) && $serendipity['serendipityAuthedUser'] === true) { if ($res[1] == 'comment' && serendipity_deleteComment($res[2], $res[3], 'comments')) { define('DATA_COMMENT_DELETED', sprintf(COMMENT_DELETED, $res[2])); diff --git a/lang/UTF-8/plugin_lang.php b/lang/UTF-8/plugin_lang.php index 712b86d2..00495877 100644 --- a/lang/UTF-8/plugin_lang.php +++ b/lang/UTF-8/plugin_lang.php @@ -104,3 +104,9 @@ foreach($const['missing'] AS $file => $constants) { @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_bg.inc.php b/lang/UTF-8/serendipity_lang_bg.inc.php index 2995f950..96027dc5 100644 --- a/lang/UTF-8/serendipity_lang_bg.inc.php +++ b/lang/UTF-8/serendipity_lang_bg.inc.php @@ -907,3 +907,9 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('COMMENT_MODERATED', 'Коментар #%s успешно е установен като модериран'); @define('CENTER', 'център'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_cn.inc.php b/lang/UTF-8/serendipity_lang_cn.inc.php index 3b07f314..5a23c06f 100644 --- a/lang/UTF-8/serendipity_lang_cn.inc.php +++ b/lang/UTF-8/serendipity_lang_cn.inc.php @@ -918,3 +918,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_cs.inc.php b/lang/UTF-8/serendipity_lang_cs.inc.php index 30eed52b..4d2a6c6a 100644 --- a/lang/UTF-8/serendipity_lang_cs.inc.php +++ b/lang/UTF-8/serendipity_lang_cs.inc.php @@ -926,3 +926,9 @@ $i18n_filename_to = array ( @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_cz.inc.php b/lang/UTF-8/serendipity_lang_cz.inc.php index fa2aa9c2..7304ff2a 100644 --- a/lang/UTF-8/serendipity_lang_cz.inc.php +++ b/lang/UTF-8/serendipity_lang_cz.inc.php @@ -926,3 +926,9 @@ $i18n_filename_to = array ( @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_da.inc.php b/lang/UTF-8/serendipity_lang_da.inc.php index ec1bcdf4..b7960b45 100644 --- a/lang/UTF-8/serendipity_lang_da.inc.php +++ b/lang/UTF-8/serendipity_lang_da.inc.php @@ -915,3 +915,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index ff2ddee9..b2622dc0 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -913,4 +913,10 @@ @define('SET_TO_MODERATED', 'Moderieren'); @define('COMMENT_MODERATED', 'Kommentar #%s wurde erfolgreich moderiert.'); @define('CENTER', 'mitte'); -@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); +@define('FULL_COMMENT_TEXT', 'Ja, mit vollständigen Kommentar-Texten.'); + +@define('COMMENT_TOKENS', 'Schnelle Kommentar-Moderation verwenden?'); +@define('COMMENT_TOKENS_DESC', 'Diese Methode setzt Tokens ein, damit Kommentare direkt aus der Hinweis-E-Mail heraus gelöscht oder akzeptiert werden können. Diese Funktion ist für höheren Komfort gedacht, geht aber zu Lasten der Sicherheit: Wenn jemand die E-Mail abfängt, kann diese Person entsprechende Kommentare ohne weitere Authentifikation löschen oder freischalten.'); +@define('COMMENT_NOTOKENMATCH', 'Der Kommentar-Link ist nicht mehr gültig, oder Kommentar #%s wurde bereits akzeptiert oder gelöscht.'); +@define('TRACKBACK_NOTOKENMATCH', 'Der Kommentar-Link ist nicht mehr gültig, oder Trackback #%s wurde bereits akzeptiert oder gelöscht.'); +@define('BADTOKEN', 'Ungültiger Kommentar-Link'); diff --git a/lang/UTF-8/serendipity_lang_en.inc.php b/lang/UTF-8/serendipity_lang_en.inc.php index 6b52be08..13097229 100644 --- a/lang/UTF-8/serendipity_lang_en.inc.php +++ b/lang/UTF-8/serendipity_lang_en.inc.php @@ -914,3 +914,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_es.inc.php b/lang/UTF-8/serendipity_lang_es.inc.php index 2d9a2f13..4326ee63 100644 --- a/lang/UTF-8/serendipity_lang_es.inc.php +++ b/lang/UTF-8/serendipity_lang_es.inc.php @@ -1,4 +1,4 @@ -, @@ -934,3 +934,9 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('COMMENT_MODERATED', 'El comentario #%s ha sido marcado como moderado exitosamente'); @define('CENTER', 'Centro'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_fa.inc.php b/lang/UTF-8/serendipity_lang_fa.inc.php index 75038d4b..0f8fa442 100644 --- a/lang/UTF-8/serendipity_lang_fa.inc.php +++ b/lang/UTF-8/serendipity_lang_fa.inc.php @@ -918,3 +918,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_fi.inc.php b/lang/UTF-8/serendipity_lang_fi.inc.php index 1c361ece..7bcbd8da 100644 --- a/lang/UTF-8/serendipity_lang_fi.inc.php +++ b/lang/UTF-8/serendipity_lang_fi.inc.php @@ -916,3 +916,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_fr.inc.php b/lang/UTF-8/serendipity_lang_fr.inc.php index dba72f4c..d340e263 100644 --- a/lang/UTF-8/serendipity_lang_fr.inc.php +++ b/lang/UTF-8/serendipity_lang_fr.inc.php @@ -923,3 +923,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_hu.inc.php b/lang/UTF-8/serendipity_lang_hu.inc.php index 9aee328f..8eff2208 100644 --- a/lang/UTF-8/serendipity_lang_hu.inc.php +++ b/lang/UTF-8/serendipity_lang_hu.inc.php @@ -914,3 +914,9 @@ @define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Az archívum hivatkozás elrejtése, ha nincs abban az időszakban bejegyzés (a bejegyzések számolása szükséges)'); @define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS importálása, PHP5 szükséges, és lehet hogy sok memóriát igényel'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index 20c572f0..852a8c34 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -917,3 +917,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_it.inc.php b/lang/UTF-8/serendipity_lang_it.inc.php index 0cd05bc7..0f0c6864 100644 --- a/lang/UTF-8/serendipity_lang_it.inc.php +++ b/lang/UTF-8/serendipity_lang_it.inc.php @@ -920,3 +920,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index 7519c2f9..946a6e4c 100644 --- a/lang/UTF-8/serendipity_lang_ja.inc.php +++ b/lang/UTF-8/serendipity_lang_ja.inc.php @@ -920,3 +920,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_ko.inc.php b/lang/UTF-8/serendipity_lang_ko.inc.php index 4f935c16..f55c7e7c 100644 --- a/lang/UTF-8/serendipity_lang_ko.inc.php +++ b/lang/UTF-8/serendipity_lang_ko.inc.php @@ -919,3 +919,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index 3262a3e1..48c7e7a4 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -918,3 +918,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index c78195e9..bdec42d4 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -919,3 +919,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_pl.inc.php b/lang/UTF-8/serendipity_lang_pl.inc.php index 47d2e906..4a28fca3 100644 --- a/lang/UTF-8/serendipity_lang_pl.inc.php +++ b/lang/UTF-8/serendipity_lang_pl.inc.php @@ -915,3 +915,9 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_pt.inc.php b/lang/UTF-8/serendipity_lang_pt.inc.php index 0cdf8606..f138988a 100644 --- a/lang/UTF-8/serendipity_lang_pt.inc.php +++ b/lang/UTF-8/serendipity_lang_pt.inc.php @@ -921,3 +921,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_pt_PT.inc.php b/lang/UTF-8/serendipity_lang_pt_PT.inc.php index 2df26737..4a6d1b7e 100644 --- a/lang/UTF-8/serendipity_lang_pt_PT.inc.php +++ b/lang/UTF-8/serendipity_lang_pt_PT.inc.php @@ -928,3 +928,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_ro.inc.php b/lang/UTF-8/serendipity_lang_ro.inc.php index 5af5f280..016ebcf9 100644 --- a/lang/UTF-8/serendipity_lang_ro.inc.php +++ b/lang/UTF-8/serendipity_lang_ro.inc.php @@ -917,3 +917,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_ru.inc.php b/lang/UTF-8/serendipity_lang_ru.inc.php index a7fed83d..a566be28 100644 --- a/lang/UTF-8/serendipity_lang_ru.inc.php +++ b/lang/UTF-8/serendipity_lang_ru.inc.php @@ -920,3 +920,9 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_sa.inc.php b/lang/UTF-8/serendipity_lang_sa.inc.php index 5960aa50..5925fb63 100644 --- a/lang/UTF-8/serendipity_lang_sa.inc.php +++ b/lang/UTF-8/serendipity_lang_sa.inc.php @@ -835,3 +835,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_se.inc.php b/lang/UTF-8/serendipity_lang_se.inc.php index 836f8220..76ef13cc 100644 --- a/lang/UTF-8/serendipity_lang_se.inc.php +++ b/lang/UTF-8/serendipity_lang_se.inc.php @@ -916,3 +916,9 @@ @define('COMMENT_MODERATED', 'Kommentar #%s har angetts som modererad'); @define('CENTER', 'centrera'); @define('FULL_COMMENT_TEXT', 'Ja, med komplett kommentarstext'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_ta.inc.php b/lang/UTF-8/serendipity_lang_ta.inc.php index ae1e7899..ba315166 100644 --- a/lang/UTF-8/serendipity_lang_ta.inc.php +++ b/lang/UTF-8/serendipity_lang_ta.inc.php @@ -916,3 +916,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_tn.inc.php b/lang/UTF-8/serendipity_lang_tn.inc.php index a7aaf7f7..b24b54eb 100644 --- a/lang/UTF-8/serendipity_lang_tn.inc.php +++ b/lang/UTF-8/serendipity_lang_tn.inc.php @@ -920,3 +920,9 @@ $i18n_unknown = 'tw'; @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_tr.inc.php b/lang/UTF-8/serendipity_lang_tr.inc.php index 95802c31..131dbc5c 100644 --- a/lang/UTF-8/serendipity_lang_tr.inc.php +++ b/lang/UTF-8/serendipity_lang_tr.inc.php @@ -920,3 +920,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_tw.inc.php b/lang/UTF-8/serendipity_lang_tw.inc.php index 2e11c353..ed4ea793 100644 --- a/lang/UTF-8/serendipity_lang_tw.inc.php +++ b/lang/UTF-8/serendipity_lang_tw.inc.php @@ -921,3 +921,9 @@ $i18n_unknown = 'tw'; @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/UTF-8/serendipity_lang_zh.inc.php b/lang/UTF-8/serendipity_lang_zh.inc.php index 05a16656..4fee0c6c 100644 --- a/lang/UTF-8/serendipity_lang_zh.inc.php +++ b/lang/UTF-8/serendipity_lang_zh.inc.php @@ -917,3 +917,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/addlang.txt b/lang/addlang.txt index ce9a61b5..4aa7c5c1 100644 --- a/lang/addlang.txt +++ b/lang/addlang.txt @@ -1 +1,6 @@ -@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/plugin_lang.php b/lang/plugin_lang.php index 712b86d2..00495877 100644 --- a/lang/plugin_lang.php +++ b/lang/plugin_lang.php @@ -104,3 +104,9 @@ foreach($const['missing'] AS $file => $constants) { @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_bg.inc.php b/lang/serendipity_lang_bg.inc.php index 99022f01..51500cea 100644 --- a/lang/serendipity_lang_bg.inc.php +++ b/lang/serendipity_lang_bg.inc.php @@ -907,3 +907,9 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('COMMENT_MODERATED', ' #%s '); @define('CENTER', ''); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_cn.inc.php b/lang/serendipity_lang_cn.inc.php index 9b602db9..1e0fa235 100644 --- a/lang/serendipity_lang_cn.inc.php +++ b/lang/serendipity_lang_cn.inc.php @@ -918,3 +918,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_cs.inc.php b/lang/serendipity_lang_cs.inc.php index 388f2d80..17c2fb62 100644 --- a/lang/serendipity_lang_cs.inc.php +++ b/lang/serendipity_lang_cs.inc.php @@ -926,3 +926,9 @@ $i18n_filename_to = array ( @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_cz.inc.php b/lang/serendipity_lang_cz.inc.php index d1524ba8..c107910b 100644 --- a/lang/serendipity_lang_cz.inc.php +++ b/lang/serendipity_lang_cz.inc.php @@ -926,3 +926,9 @@ $i18n_filename_to = array ( @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_da.inc.php b/lang/serendipity_lang_da.inc.php index 44c2b95f..7189590c 100644 --- a/lang/serendipity_lang_da.inc.php +++ b/lang/serendipity_lang_da.inc.php @@ -915,3 +915,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_de.inc.php b/lang/serendipity_lang_de.inc.php index 609c1fc3..f956e83f 100644 --- a/lang/serendipity_lang_de.inc.php +++ b/lang/serendipity_lang_de.inc.php @@ -913,4 +913,10 @@ @define('SET_TO_MODERATED', 'Moderieren'); @define('COMMENT_MODERATED', 'Kommentar #%s wurde erfolgreich moderiert.'); @define('CENTER', 'mitte'); -@define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); +@define('FULL_COMMENT_TEXT', 'Ja, mit vollstndigen Kommentar-Texten.'); + +@define('COMMENT_TOKENS', 'Schnelle Kommentar-Moderation verwenden?'); +@define('COMMENT_TOKENS_DESC', 'Diese Methode setzt Tokens ein, damit Kommentare direkt aus der Hinweis-E-Mail heraus gelscht oder akzeptiert werden knnen. Diese Funktion ist fr hheren Komfort gedacht, geht aber zu Lasten der Sicherheit: Wenn jemand die E-Mail abfngt, kann diese Person entsprechende Kommentare ohne weitere Authentifikation lschen oder freischalten.'); +@define('COMMENT_NOTOKENMATCH', 'Der Kommentar-Link ist nicht mehr gltig, oder Kommentar #%s wurde bereits akzeptiert oder gelscht.'); +@define('TRACKBACK_NOTOKENMATCH', 'Der Kommentar-Link ist nicht mehr gltig, oder Trackback #%s wurde bereits akzeptiert oder gelscht.'); +@define('BADTOKEN', 'Ungltiger Kommentar-Link'); diff --git a/lang/serendipity_lang_en.inc.php b/lang/serendipity_lang_en.inc.php index b59296d6..a2580dc3 100644 --- a/lang/serendipity_lang_en.inc.php +++ b/lang/serendipity_lang_en.inc.php @@ -914,3 +914,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_es.inc.php b/lang/serendipity_lang_es.inc.php index 91c0ad43..272bdecd 100644 --- a/lang/serendipity_lang_es.inc.php +++ b/lang/serendipity_lang_es.inc.php @@ -934,3 +934,9 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('COMMENT_MODERATED', 'El comentario #%s ha sido marcado como moderado exitosamente'); @define('CENTER', 'Centro'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_fa.inc.php b/lang/serendipity_lang_fa.inc.php index e288ef42..6aa3b020 100644 --- a/lang/serendipity_lang_fa.inc.php +++ b/lang/serendipity_lang_fa.inc.php @@ -918,3 +918,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_fi.inc.php b/lang/serendipity_lang_fi.inc.php index fbae1d70..de81098f 100644 --- a/lang/serendipity_lang_fi.inc.php +++ b/lang/serendipity_lang_fi.inc.php @@ -916,3 +916,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_fr.inc.php b/lang/serendipity_lang_fr.inc.php index 350740ca..0455727d 100644 --- a/lang/serendipity_lang_fr.inc.php +++ b/lang/serendipity_lang_fr.inc.php @@ -923,3 +923,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_hu.inc.php b/lang/serendipity_lang_hu.inc.php index 997d3cbc..53d5c00a 100644 --- a/lang/serendipity_lang_hu.inc.php +++ b/lang/serendipity_lang_hu.inc.php @@ -914,3 +914,9 @@ @define('CATEGORY_PLUGIN_HIDEZEROCOUNT', 'Az archvum hivatkozs elrejtse, ha nincs abban az idszakban bejegyzs (a bejegyzsek szmolsa szksges)'); @define('RSS_IMPORT_WPXRSS', 'WordPress eXtended RSS importlsa, PHP5 szksges, s lehet hogy sok memrit ignyel'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_is.inc.php b/lang/serendipity_lang_is.inc.php index 377c1f1d..7a6f2a9a 100644 --- a/lang/serendipity_lang_is.inc.php +++ b/lang/serendipity_lang_is.inc.php @@ -917,3 +917,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_it.inc.php b/lang/serendipity_lang_it.inc.php index 798b9d2b..b9b13ed6 100644 --- a/lang/serendipity_lang_it.inc.php +++ b/lang/serendipity_lang_it.inc.php @@ -920,3 +920,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_ja.inc.php b/lang/serendipity_lang_ja.inc.php index b1dc01ac..3e518fc1 100644 --- a/lang/serendipity_lang_ja.inc.php +++ b/lang/serendipity_lang_ja.inc.php @@ -920,3 +920,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_ko.inc.php b/lang/serendipity_lang_ko.inc.php index 7680bc3c..283641f1 100644 --- a/lang/serendipity_lang_ko.inc.php +++ b/lang/serendipity_lang_ko.inc.php @@ -919,3 +919,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_nl.inc.php b/lang/serendipity_lang_nl.inc.php index 7174ca62..a2d42515 100644 --- a/lang/serendipity_lang_nl.inc.php +++ b/lang/serendipity_lang_nl.inc.php @@ -918,3 +918,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_no.inc.php b/lang/serendipity_lang_no.inc.php index ae0c3269..93904bf7 100644 --- a/lang/serendipity_lang_no.inc.php +++ b/lang/serendipity_lang_no.inc.php @@ -919,3 +919,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_pl.inc.php b/lang/serendipity_lang_pl.inc.php index ba62c432..f68f3b47 100644 --- a/lang/serendipity_lang_pl.inc.php +++ b/lang/serendipity_lang_pl.inc.php @@ -915,3 +915,9 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_pt.inc.php b/lang/serendipity_lang_pt.inc.php index d4457d5c..42b153e1 100644 --- a/lang/serendipity_lang_pt.inc.php +++ b/lang/serendipity_lang_pt.inc.php @@ -921,3 +921,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_pt_PT.inc.php b/lang/serendipity_lang_pt_PT.inc.php index c68878ee..20134477 100644 --- a/lang/serendipity_lang_pt_PT.inc.php +++ b/lang/serendipity_lang_pt_PT.inc.php @@ -928,3 +928,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_ro.inc.php b/lang/serendipity_lang_ro.inc.php index 5af5f280..016ebcf9 100644 --- a/lang/serendipity_lang_ro.inc.php +++ b/lang/serendipity_lang_ro.inc.php @@ -917,3 +917,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_ru.inc.php b/lang/serendipity_lang_ru.inc.php index afea0555..9b9856e7 100644 --- a/lang/serendipity_lang_ru.inc.php +++ b/lang/serendipity_lang_ru.inc.php @@ -920,3 +920,9 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_sa.inc.php b/lang/serendipity_lang_sa.inc.php index bc54639c..8f318b3c 100644 --- a/lang/serendipity_lang_sa.inc.php +++ b/lang/serendipity_lang_sa.inc.php @@ -835,3 +835,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_se.inc.php b/lang/serendipity_lang_se.inc.php index 4f2ef830..56f61c6a 100644 --- a/lang/serendipity_lang_se.inc.php +++ b/lang/serendipity_lang_se.inc.php @@ -916,3 +916,9 @@ @define('COMMENT_MODERATED', 'Kommentar #%s har angetts som modererad'); @define('CENTER', 'centrera'); @define('FULL_COMMENT_TEXT', 'Ja, med komplett kommentarstext'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_ta.inc.php b/lang/serendipity_lang_ta.inc.php index ae1e7899..ba315166 100644 --- a/lang/serendipity_lang_ta.inc.php +++ b/lang/serendipity_lang_ta.inc.php @@ -916,3 +916,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_tn.inc.php b/lang/serendipity_lang_tn.inc.php index a96925c5..8d018c27 100644 --- a/lang/serendipity_lang_tn.inc.php +++ b/lang/serendipity_lang_tn.inc.php @@ -920,3 +920,9 @@ $i18n_unknown = 'tw'; @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_tr.inc.php b/lang/serendipity_lang_tr.inc.php index 95802c31..131dbc5c 100644 --- a/lang/serendipity_lang_tr.inc.php +++ b/lang/serendipity_lang_tr.inc.php @@ -920,3 +920,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_tw.inc.php b/lang/serendipity_lang_tw.inc.php index fd29c008..5c70be89 100644 --- a/lang/serendipity_lang_tw.inc.php +++ b/lang/serendipity_lang_tw.inc.php @@ -921,3 +921,9 @@ $i18n_unknown = 'tw'; @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link'); diff --git a/lang/serendipity_lang_zh.inc.php b/lang/serendipity_lang_zh.inc.php index ea77a453..55e1bc79 100644 --- a/lang/serendipity_lang_zh.inc.php +++ b/lang/serendipity_lang_zh.inc.php @@ -917,3 +917,9 @@ @define('COMMENT_MODERATED', 'Comment #%s has successfully been set as moderated'); @define('CENTER', 'center'); @define('FULL_COMMENT_TEXT', 'Yes, with full comment text'); + +@define('COMMENT_TOKENS', 'Use Tokens for Comment Moderation?'); +@define('COMMENT_TOKENS_DESC', 'If tokens are used, comments can be approved and deleted by clicking the email links without requiring login access to the blog. Note that this is a convenience feature, and if your mails get hijacked, those people can approve/delete the referenced comment without further authentication.'); +@define('COMMENT_NOTOKENMATCH', 'Moderation link has expired or comment #%s has already been approved or deleted'); +@define('TRACKBACK_NOTOKENMATCH', 'Moderation link has expired or trackback #%s has already been approved or deleted'); +@define('BADTOKEN', 'Invalid Moderation Link');