From f4e4fc67d426ae24da9770f1ffb98855bf9f567b Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Mon, 28 Nov 2005 10:55:33 +0000 Subject: [PATCH] Add option to disable referrer tracking --- docs/NEWS | 12 ++++++++++++ include/functions.inc.php | 5 +++++ include/tpl/config_local.inc.php | 7 +++++++ lang/UTF-8/serendipity_lang_bg.inc.php | 4 +++- lang/UTF-8/serendipity_lang_cn.inc.php | 4 +++- lang/UTF-8/serendipity_lang_cs.inc.php | 4 +++- lang/UTF-8/serendipity_lang_cz.inc.php | 4 +++- lang/UTF-8/serendipity_lang_da.inc.php | 4 +++- lang/UTF-8/serendipity_lang_de.inc.php | 5 +++-- lang/UTF-8/serendipity_lang_en.inc.php | 4 +++- lang/UTF-8/serendipity_lang_es.inc.php | 4 +++- lang/UTF-8/serendipity_lang_fa.inc.php | 4 +++- lang/UTF-8/serendipity_lang_fi.inc.php | 4 +++- lang/UTF-8/serendipity_lang_fr.inc.php | 4 +++- lang/UTF-8/serendipity_lang_hu.inc.php | 2 ++ lang/UTF-8/serendipity_lang_is.inc.php | 4 +++- lang/UTF-8/serendipity_lang_it.inc.php | 4 +++- lang/UTF-8/serendipity_lang_ja.inc.php | 4 +++- lang/UTF-8/serendipity_lang_ko.inc.php | 4 +++- lang/UTF-8/serendipity_lang_nl.inc.php | 4 +++- lang/UTF-8/serendipity_lang_no.inc.php | 4 +++- lang/UTF-8/serendipity_lang_pt.inc.php | 4 +++- lang/UTF-8/serendipity_lang_pt_PT.inc.php | 10 ++++++---- lang/UTF-8/serendipity_lang_ro.inc.php | 2 ++ lang/UTF-8/serendipity_lang_ru.inc.php | 4 +++- lang/UTF-8/serendipity_lang_se.inc.php | 2 ++ lang/UTF-8/serendipity_lang_tn.inc.php | 4 +++- lang/UTF-8/serendipity_lang_tw.inc.php | 4 +++- lang/UTF-8/serendipity_lang_zh.inc.php | 4 +++- lang/addlang.txt | 4 ++-- lang/serendipity_lang_bg.inc.php | 2 ++ lang/serendipity_lang_cn.inc.php | 2 ++ lang/serendipity_lang_cs.inc.php | 2 ++ lang/serendipity_lang_cz.inc.php | 2 ++ lang/serendipity_lang_da.inc.php | 2 ++ lang/serendipity_lang_de.inc.php | 3 ++- lang/serendipity_lang_en.inc.php | 2 ++ lang/serendipity_lang_es.inc.php | 2 ++ lang/serendipity_lang_fa.inc.php | 2 ++ lang/serendipity_lang_fi.inc.php | 2 ++ lang/serendipity_lang_fr.inc.php | 2 ++ lang/serendipity_lang_hu.inc.php | 2 ++ lang/serendipity_lang_is.inc.php | 2 ++ lang/serendipity_lang_it.inc.php | 2 ++ lang/serendipity_lang_ja.inc.php | 2 ++ lang/serendipity_lang_ko.inc.php | 2 ++ lang/serendipity_lang_nl.inc.php | 2 ++ lang/serendipity_lang_no.inc.php | 2 ++ lang/serendipity_lang_pt.inc.php | 2 ++ lang/serendipity_lang_pt_PT.inc.php | 2 ++ lang/serendipity_lang_ro.inc.php | 2 ++ lang/serendipity_lang_ru.inc.php | 2 ++ lang/serendipity_lang_se.inc.php | 2 ++ lang/serendipity_lang_tn.inc.php | 2 ++ lang/serendipity_lang_tw.inc.php | 2 ++ lang/serendipity_lang_zh.inc.php | 2 ++ 56 files changed, 156 insertions(+), 30 deletions(-) diff --git a/docs/NEWS b/docs/NEWS index a679ae0..e5d82b5 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,18 @@ Version 1.0 () ------------------------------------------------------------------------ + * Added option to turn off referrer tracking (garvinhicking) + + * Improved Smarty Plugin API so that a new function + serendipity_fetchPrintEntries() can be used within a template to + print more entries, and abstracted _fetchEntries()/_printEntries() + calls a bit more so that future plugins can easier modify the + global $entries array and control smarty/plugin execution + (garvinhicking) + + * Inserted phpDoc code documentation for all Serendipity functions + (garvinhicking) + * Made remote RSS plugin be able to emit debug messages, enhance bbcode plugin with new [strike] command, thanks to comdoxx! diff --git a/include/functions.inc.php b/include/functions.inc.php index 2d8eeb9..6c37e28 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -544,6 +544,11 @@ function serendipity_parseFileName($file) { function serendipity_track_referrer($entry = 0) { global $serendipity; + // Tracking disabled. + if ($serendipity['trackReferrer'] === false) { + return; + } + if (isset($_SERVER['HTTP_REFERER'])) { if (stristr($_SERVER['HTTP_REFERER'], $serendipity['baseURL']) !== false) { return; diff --git a/include/tpl/config_local.inc.php b/include/tpl/config_local.inc.php index ce5d123..84d4497 100644 --- a/include/tpl/config_local.inc.php +++ b/include/tpl/config_local.inc.php @@ -417,6 +417,13 @@ 'permission' => 'siteConfiguration', 'default' => false), + array('var' => 'trackReferrer', + 'title' => INSTALL_TRACKREF, + 'description' => INSTALL_TRACKREF_DESC, + 'type' => 'bool', + 'default' => true, + 'permission' => 'blogConfiguration'), + array('var' => 'blockReferer', 'title' => INSTALL_BLOCKREF, 'description' => INSTALL_BLOCKREF_DESC, diff --git a/lang/UTF-8/serendipity_lang_bg.inc.php b/lang/UTF-8/serendipity_lang_bg.inc.php index 613e6da..adf7ec1 100644 --- a/lang/UTF-8/serendipity_lang_bg.inc.php +++ b/lang/UTF-8/serendipity_lang_bg.inc.php @@ -1,4 +1,4 @@ - @@ -785,3 +785,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', 'Не можете да добавите коментар, защото са забранени коментарите към тази статия.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_cn.inc.php b/lang/UTF-8/serendipity_lang_cn.inc.php index f6d5467..979d7fa 100644 --- a/lang/UTF-8/serendipity_lang_cn.inc.php +++ b/lang/UTF-8/serendipity_lang_cn.inc.php @@ -1,4 +1,4 @@ - @@ -800,3 +800,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', 'Váš komentář nebyl přidán, protože k tomuto záznamu nejsou komentáře umožněny. %sVraťte se%s zpět ke komentářům nebo %szavřete%s toto okno.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_cz.inc.php b/lang/UTF-8/serendipity_lang_cz.inc.php index 3d34cfa..ee0f369 100644 --- a/lang/UTF-8/serendipity_lang_cz.inc.php +++ b/lang/UTF-8/serendipity_lang_cz.inc.php @@ -1,4 +1,4 @@ - @@ -800,3 +800,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', 'Váš komentář nebyl přidán, protože k tomuto záznamu nejsou komentáře umožněny. %sVraťte se%s zpět ke komentářům nebo %szavřete%s toto okno.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_da.inc.php b/lang/UTF-8/serendipity_lang_da.inc.php index e3ecb16..88aff62 100644 --- a/lang/UTF-8/serendipity_lang_da.inc.php +++ b/lang/UTF-8/serendipity_lang_da.inc.php @@ -1,4 +1,4 @@ - @@ -799,3 +799,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', 'Din kommentar kunne ikke tilføjes fordi kommentarer til denne artikel er blevet deaktiveret.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index 3c62f3b..4b319b9 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -1,4 +1,4 @@ -, @@ -817,3 +817,5 @@ Next constants should be placed with its brothers, right? @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', 'Tu comentario no ha podido ser añadido, la posibilidad de añadir comentarios a esta entrada ha sido desactivada.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_fa.inc.php b/lang/UTF-8/serendipity_lang_fa.inc.php index 6c6e796..a037b06 100644 --- a/lang/UTF-8/serendipity_lang_fa.inc.php +++ b/lang/UTF-8/serendipity_lang_fa.inc.php @@ -1,4 +1,4 @@ - @@ -799,3 +799,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'توانایی مدیریت ظاهر بخش مدیریت وجود دارد'); @define('COMMENT_NOT_ADDED', 'به دلیل غیر فعال بودن توضیحات، یا وارد کردن اطلاعات نادرست و یا وارد کردن عبارت اشتباه نوشته شده در تصویر، توانایی افزودن نظر شما وجود ندارد.'); +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_fi.inc.php b/lang/UTF-8/serendipity_lang_fi.inc.php index 94f0cdf..d4cfc76 100644 --- a/lang/UTF-8/serendipity_lang_fi.inc.php +++ b/lang/UTF-8/serendipity_lang_fi.inc.php @@ -1,4 +1,4 @@ - @@ -798,3 +798,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', 'Tämän kirjauksen kommentointi ei ole sallittua. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_fr.inc.php b/lang/UTF-8/serendipity_lang_fr.inc.php index 1f9b8a6..1fdbdfa 100644 --- a/lang/UTF-8/serendipity_lang_fr.inc.php +++ b/lang/UTF-8/serendipity_lang_fr.inc.php @@ -1,4 +1,4 @@ - @@ -804,3 +804,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', 'Votre commentaire n\'a pas pû être ajouté, car les commentaires pour ce billet ont été désactivés. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_hu.inc.php b/lang/UTF-8/serendipity_lang_hu.inc.php index 65fffad..5e3ec92 100644 --- a/lang/UTF-8/serendipity_lang_hu.inc.php +++ b/lang/UTF-8/serendipity_lang_hu.inc.php @@ -798,3 +798,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', 'A megjegyzések hozzáfűzése le van tiltva, így nem tudom a tiedet sem hozzáadni. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index 76130ac..adce73b 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -1,4 +1,4 @@ - @@ -798,3 +798,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', 'Gat ekki bætt athugasemd þinni við, því athugasemdir hafa verið gerðar óvirkar fyrir þessa færslu. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_it.inc.php b/lang/UTF-8/serendipity_lang_it.inc.php index ff9b277..fdf2856 100644 --- a/lang/UTF-8/serendipity_lang_it.inc.php +++ b/lang/UTF-8/serendipity_lang_it.inc.php @@ -1,4 +1,4 @@ - @@ -799,3 +799,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', 'Il tuo commento non può essere aggiunto, perché i commenti per questa notizia sono stati disattivati. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index 86f51c9..eca2ae6 100644 --- a/lang/UTF-8/serendipity_lang_ja.inc.php +++ b/lang/UTF-8/serendipity_lang_ja.inc.php @@ -1,4 +1,4 @@ -, 2004-2005. @@ -801,3 +801,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'カスタム管理インターフェースが利用可能です'); @define('COMMENT_NOT_ADDED', 'このエントリへのコメントが無効になったのでコメントは追加できませんでした。'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_ko.inc.php b/lang/UTF-8/serendipity_lang_ko.inc.php index 9854088..a294413 100644 --- a/lang/UTF-8/serendipity_lang_ko.inc.php +++ b/lang/UTF-8/serendipity_lang_ko.inc.php @@ -1,4 +1,4 @@ - @@ -800,3 +800,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', '덧글 금지가 되어 있어 덧글을 추가하지 못했습니다. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index 2b4f949..0c8dcee 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -1,4 +1,4 @@ - @@ -800,3 +800,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', 'Uw reactie kon niet worden toegevoegd omdat deze functie voor deze inzending is uitgeschakeld. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index 29e0446..982159a 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -1,4 +1,4 @@ - @@ -800,3 +800,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', 'Din kommentar kunne ikke legges til fordi kommentarer til denne artikkelen er blitt deaktivert.'); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_pt.inc.php b/lang/UTF-8/serendipity_lang_pt.inc.php index e3f7cdf..6af1abb 100644 --- a/lang/UTF-8/serendipity_lang_pt.inc.php +++ b/lang/UTF-8/serendipity_lang_pt.inc.php @@ -1,4 +1,4 @@ - @@ -802,3 +802,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', 'Seus comentários não foram adicionados, porque comentários para este artigo foram desabilitadas. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_pt_PT.inc.php b/lang/UTF-8/serendipity_lang_pt_PT.inc.php index 7616426..ae1c719 100644 --- a/lang/UTF-8/serendipity_lang_pt_PT.inc.php +++ b/lang/UTF-8/serendipity_lang_pt_PT.inc.php @@ -431,8 +431,8 @@ @define('RSS_IMPORT_CATEGORY', 'Utilize essa categoria para artigos que não encontrem uma categoria no Serendipity'); @define('ERROR_UNKNOWN_NOUPLOAD', 'Ocorreu um erro desconhecido, o arquivo não foi transferido. Talvez o tamanho do arquivo seja maior que o permitido pelo seu servidor. Verifique com o seu servidor de internet, ou edite o php.ini para permitir transferência de arquivos de maior tamanho.'); @define('COMMENTS_WILL_BE_MODERATED', 'Comentários enviados estarão sujeitos a moderação antes de serem exibidos.'); -@define('YOU_HAVE_THESE_OPTIONS', 'Você possui as seguintes opções disponíveis'); -@define('THIS_COMMENT_NEEDS_REVIEW', 'Atenção: Esse comentário precisa de aprovação antes que seja exibido'); +@define('YOU_HAVE_THESE_OPTIONS', 'As seguintes opções estão disponíveis'); +@define('THIS_COMMENT_NEEDS_REVIEW', 'Atenção: Esse comentário precisa de aprovação antes de ser exibido'); @define('DELETE_COMMENT', 'Excluir comentário'); @define('APPROVE_COMMENT', 'Aprovar comentário'); @define('REQUIRES_REVIEW', 'Requer revisão'); @@ -668,7 +668,7 @@ @define('HOTLINK_DONE', 'Ficheiro hotlinked.
Feito.'); // Verify @define('ENTER_MEDIA_URL_METHOD', 'Método de obtenção:'); @define('ADD_MEDIA_BLAHBLAH_NOTE', 'Nota: Se escolher fazer um hotlink para o servidor, assegure-se que tem permissão para tal ou que o servidor é seu. Hotlinks permitem usar imagens sem as guardar localmente.'); // Verify -@define('MEDIA_HOTLINKED', 'hotlinked'); // Translate +@define('MEDIA_HOTLINKED', 'hotlinked'); // Translate? @define('FETCH_METHOD_IMAGE', 'Download da imagem para o seu servidor'); @define('FETCH_METHOD_HOTLINK', 'Hotlink para servidor'); // Verify @define('DELETE_HOTLINK_FILE', 'Apagado o ficheiro hotlinked intitulado %s'); // Verify @@ -805,4 +805,6 @@ @define('AUTHORS_SHOW_ARTICLE_COUNT_DESC', 'Se esta opção for activada, o número de artigos deste autor será mostrado entre parêntesis junto ao nome do autor.'); @define('CUSTOM_ADMIN_INTERFACE', 'Interface administrativa ad hoc disponível'); -@define('COMMENT_NOT_ADDED', 'Os seus comentários não foram adicionados, porque comentários para este artigo não estão autorizados. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('COMMENT_NOT_ADDED', 'Os seus comentários não foram adicionados, porque ou comentários para este artigo não estão autorizados, ou introduziu dados inválidos, ou os seus comentários foram interceptados por medidas anti-spam. '); // Retranslation done... +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_ro.inc.php b/lang/UTF-8/serendipity_lang_ro.inc.php index e29578b..384fdc1 100644 --- a/lang/UTF-8/serendipity_lang_ro.inc.php +++ b/lang/UTF-8/serendipity_lang_ro.inc.php @@ -798,3 +798,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', 'Comentariul tău nu a putut fi adăugat, deoarece autorul nu permite comentarii la această însemnare. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_ru.inc.php b/lang/UTF-8/serendipity_lang_ru.inc.php index 5f8655c..26f7462 100644 --- a/lang/UTF-8/serendipity_lang_ru.inc.php +++ b/lang/UTF-8/serendipity_lang_ru.inc.php @@ -1,4 +1,4 @@ - @@ -800,3 +800,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', '您的迴響不能增入因為此篇文章不允許迴響. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_tw.inc.php b/lang/UTF-8/serendipity_lang_tw.inc.php index 474a0b0..f97c243 100644 --- a/lang/UTF-8/serendipity_lang_tw.inc.php +++ b/lang/UTF-8/serendipity_lang_tw.inc.php @@ -1,4 +1,4 @@ - @@ -800,3 +800,5 @@ @define('CUSTOM_ADMIN_INTERFACE', 'Custom admin interface available'); @define('COMMENT_NOT_ADDED', '您的迴響不能增入因為此篇文章不允許迴響. '); // Retranslate: 'Your comment could not be added, because comments for this entry have either been disabled, you entered invalid data, or your comment was caught by anti-spam measurements.' +@define('INSTALL_TRACKREF', 'Enable referrer tracking?'); +@define('INSTALL_TRACKREF_DESC', 'Enabling the referrer tracking will show you which sites refer to your articles. Today this is often abused for spamming, so you can disable it if you want.'); diff --git a/lang/UTF-8/serendipity_lang_zh.inc.php b/lang/UTF-8/serendipity_lang_zh.inc.php index 09b6464..8856ca7 100644 --- a/lang/UTF-8/serendipity_lang_zh.inc.php +++ b/lang/UTF-8/serendipity_lang_zh.inc.php @@ -1,4 +1,4 @@ -